chain_authorization_state
EIP-3009 authorization nonce check (x402 / USDC) — Has this EIP-3009 transferWithAuthorization nonce already been used or cancelled? Reads authorizationState(authorizer, nonce) on USDC (or any EIP-3009 token) for up to 20 nonces in one call, plus the payer's balance, token symbol/decimals and EIP-712 version. Verdict READY, NONCE_USED, SOME_NONCES_USED or INSUFFICIENT_BALANCE. Built for x402 sellers, facilitators and agent wallets checking a payment authorization before or after settlement (a used nonce can never be replayed). Required: authorizer (0x payer address), nonce (bytes32: 0x + 64 hex; comma-separate up to 20). Optional: chain (base default, ethereum, arbitrum, optimism, polygon), token (usdc default, or a 0x token address), amount (plain decimal like 0.01: checks the balance covers it). 422 (not charged) if the token has no EIP-3009. Price: $0.002 USDC (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": {
"authorizer": "<authorizer>",
"nonce": "<nonce>"
},
"name": "chain_authorization_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | Yes | 0x0000000000000000000000000000000000000000000000000000000000000001 | |
| authorizer | Yes | 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |