Skip to content
docs

SwapCommonOptions

Defined in: protocols/swap.ts:14

Tokens of a same-chain swap and who receives.

optional minAmountOut?: number | bigint

Defined in: protocols/swap.ts:20

Minimum acceptable output amount, base units.


optional to?: string

Defined in: protocols/swap.ts:18

Receiver of the output tokens. Defaults to the account itself.


tokenIn: string

Defined in: protocols/swap.ts:15


tokenOut: string

Defined in: protocols/swap.ts:16