RepositoryParity.io
  • Preparing search index...
  • The search index is not available
txwrapper-core
  • txwrapper-core
  • txwrapper-substrate/src/methods/assetConversion/removeLiquidity
  • removeLiquidity

Function removeLiquidity

  • removeLiquidity(args, info, options): UnsignedTransaction
  • Allows you to remove liquidity by providing the lpTokenBurn tokens that will be burned in the process.

    With the usage of amount1MinReceive/amount2MinReceive it's possible to control the min amount of returned tokens you're happy with.

    Parameters

    • args: RemoveLiquidityArgs

      Arguments specific to this method.

    • info: BaseTxInfo

      Information required to construct the transaction.

    • options: OptionsWithMeta

      Registry and metadata used for constructing the method.

    Returns UnsignedTransaction

    • Defined in txwrapper-substrate/src/methods/assetConversion/removeLiquidity.ts:48

Settings

Member Visibility
RepositoryParity.io
txwrapper-core
  • Loading...