UniV2 - Get Price

The UniV2 - Get Price node determines the current price of swapping tokens on Uniswap V2.

Inputs

  • token_in:

    • Description: The address of the input ERC20 token for the swap. It must be the token contract address, not its name.

    • Allowed types: EVMAddress

    • Default value: None

  • token_out:

    • Description: The address of the output ERC20 token for the swap. It must be the token contract address, not its name.

    • Allowed types: EVMAddress

    • Default value: None

  • blockchain:

    • Description: The name of the blockchain where the price will be fetched.

    • Allowed types: BlockchainName

    • Default value: None

Output

  • Description: The current price of the token swap.

  • Type: decimal

Tags

  • crypto

  • EVM

  • ERC20

  • uniswap

  • DEX

Last updated