Base Argument object for methods.

interface RemoveLiquidityArgs {
    amount1MinReceive: string | number;
    amount2MinReceive: string | number;
    asset1: AnyJson;
    asset2: AnyJson;
    lpTokenBurn: string | number;
    withdrawTo: string;
}

Hierarchy (view full)

  • Args
    • RemoveLiquidityArgs

Properties

amount1MinReceive: string | number

Minimum amount of returned asset1 tokens you're happy with.

amount2MinReceive: string | number

Minimum amount of returned asset2 tokens you're happy with.

asset1: AnyJson

The identifier of the first asset of the pool.

asset2: AnyJson

The identifier of the second asset of the pool.

lpTokenBurn: string | number

Amount of tokens of this liquidity pool that will be burned in the process.

withdrawTo: string

Destination of the tokens returned after burning lpTokenBurn amount of liquidity pool tokens.