Paid pre-approval check
check_approvalPaid 0.01 USDC (x402, USDC on Base). Call BEFORE approve/permit: is this spender (and token) safe? EOA/contract, upgradeable proxy, admin powers, Sourcify verification, verdict and reasons. Without a payment, returns x402 instructions.
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>",
"spender": "<spender>"
},
"name": "check_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | EVM chain (default base) | base |
| owner | No | Optional holder; if set, the current allowance is returned | |
| token | Yes | Token contract address | |
| spender | Yes | Spender about to be approved or permitted | |
| x402_payment | No | Optional x402 payment payload, identical to the PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1) header. If omitted, the tool returns payment instructions (url, price_usdc, payTo) instead of running the paid scan. |