# AgentOracle Transaction Settlement Verifier

> AgentOracle Transaction Settlement Verifier is a paid API for AI agents from aiagentoracle.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Verifies a payment transaction recorded by AgentOracle and checks its on-chain confirmation state on Base, returning amount, payer, recipient, route, timestamp, and chain status.

## Facts

- Endpoint: GET https://aiagentoracle.ai/api/v1/settlement/:txHash
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentoracle-transaction-settlement-verifier-541e0786
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KCpXR34S7z8tIjliE_wSt

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 agentoracle-transaction-settlement-verifier-541e0786
```

Example prompt: Can you verify whether the Base transaction 0x3a4f...c91d was actually confirmed on-chain and tell me the amount, who paid, who received it, and how many block confirmations it has?

## When to prefer this

Use this endpoint when you need to verify a specific payment transaction that was processed through AgentOracle on the Base network — especially when you need both the recorded payment metadata (amount, payer, recipient, route) AND the live on-chain confirmation state in a single call. Prefer this over generic block explorers when the transaction was originally facilitated by AgentOracle and you need its internal record alongside chain state.

## Known failure modes

- Invalid txHash format (not 0x + 64 hex chars) returns validation error
- Transaction not found in AgentOracle records returns 404
- On-chain state temporarily unavailable returns state: unavailable with reason
- Reverted transactions return state: reverted with reason explaining failure
- Network congestion may delay on-chain state freshness

## How this service works

AgentOracle: verify a payment transaction recorded by AgentOracle and check its Base receipt confirmation state. Returns recorded amount, payer, recipient, route, timestamp, and confirmed, pending, reverted, or temporarily unavailable on-chain state.

## Output

Returns the transaction hash, payer address, recipient address, atomic and USD amount, asset type, network, payment route, recorded status, recorded timestamp, and an on-chain object containing state (confirmed/pending/reverted/unavailable), block number, confirmation count, check timestamp, and an optional reason string.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "txHash"
     ],
     "properties": {
      "txHash": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{64}$"
      }
     },
     "additionalProperties": false
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "txHash",
      "payer",
      "recipient",
      "amountAtomic",
      "amountUsd",
      "asset",
      "network",
      "route",
      "recordedStatus",
      "recordedAt",
      "onchain",
      "limitation"
     ],
     "properties": {
      "asset": {
       "type": "string"
      },
      "payer": {
       "type": [
        "string",
        "null"
       ]
      },
      "route": {
       "type": "string"
      },
      "txHash": {
       "type": "string"
      },
      "network": {
       "type": "string"
      },
      "onchain": {
       "type": "object",
       "required": [
        "state",
        "blockNumber",
        "confirmations",
        "checkedAt",
        "reason"
       ],
       "properties": {
        "state": {
         "enum": [
          "confirmed",
          "pending",
          "reverted",
          "unavailable"
         ],
         "type": "string"
        },
        "reason": {
         "type": [
          "string",
          "null"
         ]
        },
        "checkedAt": {
         "type": "string",
         "format": "date-time"
        },
        "blockNumber": {
         "type": [
          "string",
          "null"
         ]
        },
        "confirmations": {
         "type": [
          "integer",
          "null"
         ]
        }
       }
      },
      "amountUsd": {
       "type": "number"
      },
      "recipient": {
       "type": "string"
      },
      "limitation": {
       "type": "string"
      },
      "recordedAt": {
       "type": "string",
       "format": "date-time"
      
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentoracle-transaction-settlement-verifier-541e0786/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aiagentoracle.ai](https://www.zero.xyz/host/aiagentoracle.ai/llms.txt)
