Skip to main content

Interface: RemoveLiquidityArgs

gSwap SDK 2.0.0-rc.4


gSwap SDK 2.0.0-rc.4 / RemoveLiquidityArgs

Interface: RemoveLiquidityArgs

Defined in: packages/gswap-sdk/dist/index.d.ts:2773

Arguments of Positions.removeLiquidity and Positions.buildRemoveLiquidity.

Extends​

  • UniqueKeyArg

Properties​

amount0?​

optional amount0?: NumericAmount

Defined in: packages/gswap-sdk/dist/index.d.ts:2780

Withdraw this much of the caller's token0; give at most one of amount0 / amount1.


amount1?​

optional amount1?: NumericAmount

Defined in: packages/gswap-sdk/dist/index.d.ts:2781


fee​

fee: FEE_TIER

Defined in: packages/gswap-sdk/dist/index.d.ts:2776


tickLower​

tickLower: number

Defined in: packages/gswap-sdk/dist/index.d.ts:2777


tickUpper​

tickUpper: number

Defined in: packages/gswap-sdk/dist/index.d.ts:2778


token0​

token0: TokenRef

Defined in: packages/gswap-sdk/dist/index.d.ts:2774


token1​

token1: TokenRef

Defined in: packages/gswap-sdk/dist/index.d.ts:2775


uniqueKey?​

optional uniqueKey?: string

Defined in: packages/gswap-sdk/dist/index.d.ts:2759

The attempt's uniqueKey (1-128 characters of A-Za-z0-9._:-). Default: a fresh <uniqueKeyPrefix><uuid>. Supply one to know the key before signing, or to retry the SAME attempt after a lost response; never reuse it for another write.

Inherited from​

UniqueKeyArg.uniqueKey