Skip to content
docs

ExpectedSwap

Defined in: protocol-swap2-fynd/src/router.ts:63

amountIn: bigint

Defined in: protocol-swap2-fynd/src/router.ts:68


chainId: number

Defined in: protocol-swap2-fynd/src/router.ts:64


expectedAmountOut: bigint

Defined in: protocol-swap2-fynd/src/router.ts:71

Fynd’s gross amount_out (before the router fee and slippage).


minAmountOut: bigint

Defined in: protocol-swap2-fynd/src/router.ts:73

Fynd’s min_amount_received — what the router enforces on-chain.


receiver: string

Defined in: protocol-swap2-fynd/src/router.ts:69


tokenIn: string

Defined in: protocol-swap2-fynd/src/router.ts:66

ERC-20 address, or the zero address for the native coin.


tokenOut: string

Defined in: protocol-swap2-fynd/src/router.ts:67