# Grey Ridge Signals — x402 Receipt Verifier

> Grey Ridge Signals — x402 Receipt Verifier is a paid API for AI agents from x402-data-api.sigrunner.workers.dev, paid per call via x402, $0.004/call, status unknown (last checked 2026-11-29).

Verifies that a Base-mainnet USDC payment transaction has settled on-chain against an x402 endpoint's advertised payTo address and amount, returning a SETTLED/UNSETTLED verdict with full transfer proof.

## Facts

- Endpoint: GET https://x402-data-api.sigrunner.workers.dev/x402/receipt-verify?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/grey-ridge-signals-x402-receipt-verifier-78c8b909
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X2BOD7MIFPDF3EFx2MzjG

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 grey-ridge-signals-x402-receipt-verifier-78c8b909
```

Example prompt: Can you verify that the Base transaction 0x65484d...48ba actually settled 0.004 USDC to the Grey Ridge Signals receipt-verify endpoint and get the on-chain proof?

## When to prefer this

Use this endpoint when an AI agent needs cryptographic, on-chain proof that a USDC payment for an x402 API call actually settled to the correct address and amount on Base mainnet. Prefer this over off-chain receipts or trust-based confirmations when auditability, dispute resolution, or agent accounting is required. It is especially useful for autonomous agents running reconciliation loops after pay-per-call API purchases, or for debugging payment failures without needing an API key or account.

## Known failure modes

- Transaction hash not found or not yet indexed on Base mainnet — returns unresolved or error
- Transaction succeeded but USDC amount was below the advertised threshold — verdict UNSETTLED
- payTo address mismatch between the transaction and the advertised endpoint — verdict UNSETTLED
- The x402 resource URL is unreachable and no explicit payto param provided — cannot fetch live 402 challenge to reconcile against
- Invalid or malformed tx hash (not 0x-prefixed 32-byte hex) — returns validation error
- Network congestion causes RPC lookup to time out

## How this service works

Pay-per-call market & on-chain data for Base trading agents over x402: live DeFi yields, cross-venue funding rates, token prices, Polymarket and RPC data — plus a pre-trade token-safety gate (GO/HOLD/BLOCK). No account, no API key; agents pay inline in USDC from $0.001/call.

## Output

A JSON object with a SETTLED or UNSETTLED verdict, boolean settled flag, the matched USDC transfer (from/to/amount), the full list of USDC transfers in the transaction, advertised payTo and amount (sourced from the live 402 challenge or provided directly), block number, transaction status, and a Basescan URL for the transaction. Includes a scope_note clarifying this is read-only on-chain proof of payment, not delivery confirmation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "tx"
     ],
     "properties": {
      "tx": {
       "type": "string",
       "description": "0x-prefixed 32-byte Base-mainnet settlement transaction hash"
      },
      "url": {
       "type": "string",
       "description": "the x402 resource URL you paid; its live 402 challenge supplies the advertised payTo + amount to reconcile against"
      },
      "payto": {
       "type": "string",
       "description": "optional 0x payTo to reconcile against directly (binds the check without fetching the endpoint — useful if it is unreachable)"
      },
      "expect": {
       "type": "string",
       "description": "optional advertised amount in USDC dollars (e.g. 0.004) to verify the settled amount against"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "tx",
      "url",
      "verdict",
      "settled",
      "network",
      "tx_status",
      "advertised",
      "matched_transfer",
      "usdc_transfers",
      "block",
      "basescan",
      "note",
      "scope_note"
     ],
     "properties": {
      "tx": {
       "type": "string"
      },
      "url": {
       "type": "string"
      },
      "note": {
       "type": "string"
      },
      "block": {
       "type": "integer"
      },
      "network": {
       "type": "string"
      },
      "settled": {
       "type": "boolean"
      },
      "verdict": {
       "type": "string"
      },
      "basescan": {
       "type": "string"
      },
      "tx_status": {
       "type": "string"
      },
      "advertised": {
       "type": "object",
       "required": [
        "payTo",
        "amount_atomic",
        "amount_usdc",
        "source"
       ],
       "properties": {
        "payTo": {
         "type": "string"
        },
        "source": {
         "type": "string"
        },
        "amount_usdc": {
         "type": "string"
        },
        "a
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tx": "0x65484d…48ba",
  "url": "https://api.greyridgesignals.ai/crypto/prices",
  "note": "confirmed on-chain: 0.004 USDC settled to the advertised payTo 0x… (>= the advertised 0.004 USDC) in this tx",
  "block": 50830000,
  "network": "eip155:8453",
  "settled": true,
  "verdict": "SETTLED",
  "basescan": "https://basescan.org/tx/0x65484d…48ba",
  "tx_status": "success",
  "advertised": {
   "payTo": "0x…",
   "source": "live-402",
   "amount_usdc": "0.004",
   "amount_atomic": 4000
  },
  "scope_note": "reconciles a Base settlement tx against an x402 endpoint's advertised payTo + amount (on-chain USDC Transfer proof); read-only, confirms what settled, not off-chain delivery.",
  "usdc_transfers": [
   {
    "to": "0x…",
    "from": "0x…",
    "token": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
    "amount_usdc": "0.004",
    "amount_atomic": 4000
   }
  ],
  "matched_transfer": {
   "to": "0x…",
   "from": "0x…",
   "token": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
   "amount_usdc": "0.004",
   "amount_atomic": 4000
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/grey-ridge-signals-x402-receipt-verifier-78c8b909/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-data-api.sigrunner.workers.dev](https://www.zero.xyz/host/x402-data-api.sigrunner.workers.dev/llms.txt)
