ERC20 Approve

The ERC20 Approve node approves a specified amount of ERC20 tokens for a given spender from a wallet.

Inputs

  • wallet:

    • description: The wallet object for the EVM-compatible wallet.

    • allowed types: EVMWallet

    • default value: None

  • token:

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

    • allowed types: EVMAddress

    • default value: None

  • spender:

    • description: The EVM address or wallet instance of the spender.

    • allowed types: EVMAddress, EVMWallet

    • default value: None

  • amount:

    • description: The amount of ERC20 tokens to approve.

    • allowed types: decimal

    • default value: 0

  • blockchain:

    • description: The name of the blockchain on which the tokens will be approved.

    • allowed types: BlockchainName

    • default value: None

Output

  • description: The transaction object representing the approval.

Tags

  • crypto

  • EVM

  • ERC20

Last updated