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

Function addLiquidity

  • addLiquidity(args, info, options): UnsignedTransaction
  • Provide liquidity into the pool of asset1 and asset2.

    NOTE: an optimal amount of asset1 and asset2 will be calculated and might be different than the provided amount1Desired/amount2Desired, limited by amount1Min/amount2Min.

    Parameters

    • args: AddLiquidityArgs

      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/addLiquidity.ts:52

Settings

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