get_token_allowance
Read the ERC-20 token allowance granted by an owner to a spender from the blockchain.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tokenAddress": "<tokenAddress>",
"owner": "<owner>",
"spender": "<spender>"
},
"name": "get_token_allowance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Token owner address (0x...) | |
| spender | Yes | Spender address (0x...) | |
| tokenAddress | Yes | ERC-20 token contract address (0x...) |