ExpectedSwap
Defined in: protocol-swap2-fynd/src/router.ts:63
Properties
Section titled “Properties”amountIn
Section titled “amountIn”amountIn:
bigint
Defined in: protocol-swap2-fynd/src/router.ts:68
chainId
Section titled “chainId”chainId:
number
Defined in: protocol-swap2-fynd/src/router.ts:64
expectedAmountOut
Section titled “expectedAmountOut”expectedAmountOut:
bigint
Defined in: protocol-swap2-fynd/src/router.ts:71
Fynd’s gross amount_out (before the router fee and slippage).
minAmountOut
Section titled “minAmountOut”minAmountOut:
bigint
Defined in: protocol-swap2-fynd/src/router.ts:73
Fynd’s min_amount_received — what the router enforces on-chain.
receiver
Section titled “receiver”receiver:
string
Defined in: protocol-swap2-fynd/src/router.ts:69
tokenIn
Section titled “tokenIn”tokenIn:
string
Defined in: protocol-swap2-fynd/src/router.ts:66
ERC-20 address, or the zero address for the native coin.
tokenOut
Section titled “tokenOut”tokenOut:
string
Defined in: protocol-swap2-fynd/src/router.ts:67