DexFundingSource.decode
Decodes native DEX funding data, returning the concrete input cap.
Imports
Named
import { DexFundingSource } from 'ox/tempo'Examples
import { DexFundingSource } from 'ox/tempo'
const token = '0x20c0000000000000000000000000000000000001' as const
DexFundingSource.decode(DexFundingSource.encode({ tokenIn: token }))Definition
function decode(
data: Hex.Hex,
): Required<Request>Source: src/tempo/DexFundingSource.ts
Parameters
data
- Type:
Hex.Hex
Return Type
Required<Request>

