Skip to main content

AddLiquidityAndRegisterParams

The AddLiquidityAndRegisterParams interface defines the parameters required to add liquidity and register using an ERC20 Token.

Properties

  • marketplaceId: bigint | number | string The ID of the marketplace.

  • inputToken: Address The address of the input token.

  • inputAmount: bigint | number | string The amount of the input token.

  • metadata: string The metadata for the provider.

  • publicKey: string The public key of the provider.

  • minOut: bigint[] | number[] | string[] The minimum amounts of MEDIA and WETH to receive.

  • paths: string[] The preferred Uniswap paths. Used to swap half of the input token to MEDIA and the other half to ETH.

  • slippage: bigint | number | string The slippage tolerance.

  • poolFee: bigint | number | string The pair fee of the pool where your liquidity will be added.