Get ERC20 Allowance

The Get ERC20 Allowance node queries the allowance of an ERC-20 token for a specified spender by the owner.

Inputs

  • wallet:

    • description: The wallet instance containing the ERC-20 token.

    • allowed types: EVMWallet

    • default value: None

  • token:

    • description: The address of the ERC-20 token contract. It must be the token contract address, not its name.

    • allowed types: EVMAddress

    • default value: None

  • owner:

    • description: The EVM address of the token owner.

    • allowed types: EVMAddress

    • default value: None

  • spender:

    • description: The EVM address of the spender to check the allowance for.

    • allowed types: EVMAddress

    • default value: None

  • blockchain:

    • description: The name of the blockchain on which the allowance will be checked.

    • allowed types: BlockchainName

    • default value: None

Output

  • description: The amount of ERC-20 tokens the spender is allowed to spend from the owner's account.

  • type: decimal

Tags

  • crypto

  • EVM

  • ERC20

Last updated