SwapCommonOptions
Defined in: protocols/swap.ts:14
Tokens of a same-chain swap and who receives.
Properties
Section titled “Properties”minAmountOut?
Section titled “minAmountOut?”
optionalminAmountOut?:number|bigint
Defined in: protocols/swap.ts:20
Minimum acceptable output amount, base units.
optionalto?:string
Defined in: protocols/swap.ts:18
Receiver of the output tokens. Defaults to the account itself.
tokenIn
Section titled “tokenIn”tokenIn:
string
Defined in: protocols/swap.ts:15
tokenOut
Section titled “tokenOut”tokenOut:
string
Defined in: protocols/swap.ts:16