Polygon erc20 allowance
polygon_erc20_allowanceERC-20 allowance on Polygon PoS: how much a spender may transfer from an owner, whether the approval is effectively unlimited, the owner's balance, and the amount the spender could move right now. Costs $0.005 USDC on Base via x402.
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": {
"token": "<token>",
"owner": "<owner>",
"spender": "<spender>"
},
"name": "polygon_erc20_allowance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Address that granted the approval | |
| token | Yes | ERC-20 contract on Polygon PoS | |
| spender | Yes | Address allowed to spend |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | string, e.g. "11579208923731619542357098500868790785326998466564056403945 | |
| chain | No | string, e.g. "polygon" | |
| owner | No | string, e.g. "0x357542d88744DB4BFfE8F90008138dDc4a10cdC3" | |
| token | No | string, e.g. "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359" | |
| symbol | No | string, e.g. "USDC" | |
| spender | No | string, e.g. "0x429eba38eF16A42C62b497C22A4662C45b37f848" | |
| allowance | No | string, e.g. "11579208923731619542357098500868790785326998466564056403945 | |
| unlimited | No | boolean, e.g. true | |
| ownerBalance | No | string, e.g. "0" | |
| spendableNow | No | string, e.g. "0" |