check_token_allowance
Verify token spending permissions by checking the approved allowance amount between an owner and spender address on supported EVM chains.
Instructions
Check token allowance for a specific owner and spender.
Args:
chain_id: Chain ID (1, 10, 56, 100, 137, 8453, 42161)
token_address: Address of the token
owner_address: Address of the token owner
spender_address: Address of the spender (typically Trader contract)
Returns:
JSON string with allowance information.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain_id | Yes | ||
| token_address | Yes | ||
| owner_address | Yes | ||
| spender_address | Yes |
Input Schema (JSON Schema)
{
"properties": {
"chain_id": {
"title": "Chain Id",
"type": "string"
},
"owner_address": {
"title": "Owner Address",
"type": "string"
},
"spender_address": {
"title": "Spender Address",
"type": "string"
},
"token_address": {
"title": "Token Address",
"type": "string"
}
},
"required": [
"chain_id",
"token_address",
"owner_address",
"spender_address"
],
"type": "object"
}