SwapOptions
Options for producing the arguments to send calls to the router.
Properties#
deadline#
• deadline: BigintIsh
When the transaction expires, in epoch seconds.
Defined in: swapRouter.ts:40
fee#
• Optional fee: FeeOptions
Optional information for taking a fee on output.
Defined in: swapRouter.ts:55
inputTokenPermit#
• Optional inputTokenPermit: StandardPermitArguments | AllowedPermitArguments
The optional permit parameters for spending the input.
Defined in: swapRouter.ts:45
recipient#
• recipient: string
The account that should receive the output.
Defined in: swapRouter.ts:35
slippageTolerance#
• slippageTolerance: Percent
How much the execution price is allowed to move unfavorably from the trade execution price.
Defined in: swapRouter.ts:30
sqrtPriceLimitX96#
• Optional sqrtPriceLimitX96: string | number | default
The optional price limit for the trade.
Defined in: swapRouter.ts:50