# Tollex Wallet Authorization State Checker

> Tollex Wallet Authorization State Checker is a paid API for AI agents from api.tollex.org, paid per call via x402, $0.0079/call, status unknown (last checked 2026-10-11).

Checks whether a specific EIP-3009 or EIP-2612 authorization (identified by nonce, token, and authorizer address) has been used, cancelled, or is still valid on-chain

## Facts

- Endpoint: POST https://api.tollex.org/tools/wallet_authorization_state?utm_source=zero.xyz
- Price: $0.0079/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tollex-wallet-authorization-state-checker-040a477f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RhUzxvlxaK_hOKyN14wXN

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tollex-wallet-authorization-state-checker-040a477f -d '<json body>'
```

Example prompt: Check if the USDC authorization nonce 0x3a1b2c... for authorizer 0xAbCd... on token contract 0x1234... has already been used or is still valid before we try to submit the payment.

## When to prefer this

Use this endpoint when an AI agent needs to verify the on-chain validity of a payment authorization before committing to an x402 transaction, or when reconciling whether a previously signed USDC permit was consumed. Prefer this over generic blockchain RPC calls when you need a structured, policy-checked, receipt-backed answer in the Tollex ecosystem.

## Known failure modes

- Invalid nonce format (not 0x-prefixed 32-byte hex) returns 400 validation error
- Invalid token or authorizer address (not a valid ERC-20 contract address) returns 400
- Nonce not found on-chain may return a default 'unused' state that could be ambiguous
- RPC connectivity issues to Base or Robinhood Chain may cause 503 or timeout
- Payment of 0.0078 USDC required per call; insufficient balance returns 402

## How this service works

Tollex lets software agents buy APIs and tools under rules you set: it finds a capability that fits, checks your policy before anything is signed, pays with x402 in USDC on Base or USDG on Robinhood Chain, reconciles uncertain payments and returns a signed receipt.

## Output

Returns the current on-chain authorization state for the given nonce/token/authorizer triple — indicating whether the authorization is unused and valid, already consumed, or cancelled — along with a signed receipt confirming the query result.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "nonce": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{64}$"
  },
  "token": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$"
  },
  "authorizer": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": {
   "id": "wallet_authorization_state",
   "version": "1.0.0",
   "provider": "tollex.robinhood-chain"
  },
  "result": {
   "used": false,
   "nonce": "0x7a3d7400b27830f4f91c2c16a082486d67c1befecaec2f53b33f1f35d5b62036",
   "token": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
   "authorizer": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168"
  },
  "evidence": [],
  "untrustedOutput": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tollex-wallet-authorization-state-checker-040a477f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tollex.org](https://www.zero.xyz/host/api.tollex.org/llms.txt)
