1s_allowance_live
Check ERC20 token allowance approved for a spender by an owner. Verify approvals before executing transferFrom.
Instructions
Check ERC20 token allowance (approved spending amount) via the allowance(owner,spender) RPC call. Use this before executing transferFrom or to verify approvals. Returns the allowance amount in raw token units.
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": {
"owner": "<owner>",
"spender": "<spender>",
"token": "<token>"
},
"name": "1s_allowance_live"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Token owner address | |
| spender | Yes | Approved spender address | |
| token | Yes | ERC20 token contract address | |
| network | No | Blockchain network: "ethereum" (default), "sepolia", "avax" |