UniV2 - Add LP ETH

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

Inputs

  • wallet:

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

    • allowed types: EVMWallet

    • default value: None

  • token:

    • description: The address of the ERC20 token to pair with ETH. It must be the token contract address, not its name.

    • allowed types: EVMAddress

    • default value: None

  • amount_token:

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

    • allowed types: decimal

    • default value: 0

  • amount_eth:

    • description: The amount of ETH 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.

Tags

  • crypto

  • EVM

  • ERC20

  • uniswap

  • DEX

Last updated