UniV2 - Add LP Token

The UniV2 - Add LP Token node adds liquidity to a Uniswap V2 token pair pool.

Inputs

  • wallet:

    • description: The wallet to be used for the transaction.

    • allowed types: EVMWallet

    • default value: None

  • token_a:

    • description: The address of the first ERC20 token in the pair. It must be the token contract address, not its name.

    • allowed types: EVMAddress

    • default value: None

  • token_b:

    • description: The address of the second ERC20 token in the pair. It must be the token contract address, not its name.

    • allowed types: EVMAddress

    • default value: None

  • amount_a:

    • description: The amount of the first token to add to the pool.

    • allowed types: decimal

    • default value: 0

  • amount_b:

    • description: The amount of the second token to add to the pool.

    • allowed types: decimal

    • default value: 0

  • slippage:

    • description: The slippage tolerance for the transaction.

    • allowed types: decimal

    • default value: 0

  • blockchain:

    • description: The name of the blockchain where the transaction will occur.

    • allowed types: BlockchainName

    • default value: None

Output

  • description: The transaction object representing the liquidity addition.

  • type: EVMTransaction

Tags

  • crypto

  • EVM

  • ERC20

  • uniswap

  • DEX

Last updated