Skip to main content
Helpful?

SwapOptions

@uniswap/v3-sdk / Exports / SwapOptions

Interface: SwapOptions

Options for producing the arguments to send calls to the router.

Table of contents

Properties

Properties

deadline

deadline: BigintIsh

When the transaction expires, in epoch seconds.

Defined in

swapRouter.ts:30


fee

Optional fee: FeeOptions

Optional information for taking a fee on output.

Defined in

swapRouter.ts:45


inputTokenPermit

Optional inputTokenPermit: PermitOptions

The optional permit parameters for spending the input.

Defined in

swapRouter.ts:35


recipient

recipient: string

The account that should receive the output.

Defined in

swapRouter.ts:25


slippageTolerance

slippageTolerance: Percent

How much the execution price is allowed to move unfavorably from the trade execution price.

Defined in

swapRouter.ts:20


sqrtPriceLimitX96

Optional sqrtPriceLimitX96: BigintIsh

The optional price limit for the trade.

Defined in

swapRouter.ts:40

Helpful?