Buy And Send ERC20 USD value

The Buy And Send ERC20 USD value node buys a specific USD amount of an ERC20 token using the native coin and sends it to another account.

Inputs

  • wallet:

    • description: The EVM wallet used for buying and sending the tokens. Requires an EVMWallet instance.

    • allowed types: EVMWallet

    • default value: None

  • from_address:

    • description: The address of the wallet used for buying and sending the tokens.

    • allowed types: EVMAddress

    • default value: None

  • to_address:

    • description: The address to which the tokens will be sent.

    • allowed types: EVMAddress

    • default value: None

  • token_to_send:

    • description: The token that will be bought and sent. It must be the token contract address, not its name.

    • allowed types: EVMAddress

    • default value: None

  • amount_eth_to_sell:

    • description: The amount of the native coin to be sold for the ERC20 token.

    • allowed types: decimal

    • default value: 0

  • amount_usd:

    • description: The amount of the ERC20 token in USD value.

    • allowed types: decimal

    • default value: 0

  • blockchain:

    • description: The name of the blockchain on which the transactions will occur.

    • allowed types: BlockchainName

    • default value: None

Output

  • No output.

Tags

  • crypto

  • EVM

  • uniswap

  • DEX

Last updated