Actions53
- Account Actions
- Block Actions
- Transaction Actions
- Contract Actions
- ERC20 Actions
- ERC721 Actions
- ERC1155 Actions
- Gas Actions
- Signature Actions
- Utils Actions
- Custom RPC Actions
ERC20 → Get Allowance
AI-generatedSummary
Returns the ERC20 allowance of an owner for a spender.
Inputs
- tokenAddress (required) — Address of the ERC20 token contract
- spender (required) — Address of the spender account
- owner (required) — Address of the token owner
Output shape
a single allowance value (uint256) returned as a string
The allowance may be large; returned as a string to preserve full precision
Examples
Example 1: Check token allowance before approving a transfer
tokenAddress: 0xToken123..., spender: 0xSpender456..., owner: 0xOwner789...