A

Aiagentoracle · Settlement

by Aiagentoracle

GETBase

$0.01

per call · USD Coin on Base

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.

Endpoint

GET https://aiagentoracle.ai/api/v1/settlement/:txHash

1

Calls / 30d

1

Unique payers / 30d

Sep 6

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://aiagentoracle.ai/api/v1/settlement/:txHash", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://aiagentoracle.ai/api/v1/settlement/:txHash" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "amountAtomic": "10000",
  "amountUsd": 0.01,
  "asset": "USDC",
  "limitation": "Verification is limited to AgentOracle-recorded settlements.",
  "network": "eip155:8453",
  "onchain": {
    "blockNumber": "40000000",
    "checkedAt": "2025-12-31T23:59:40Z",
    "confirmations": 12,
    "reason": null,
    "state": "confirmed"
  },
  "payer": "0x2222222222222222222222222222222222222222",
  "recipient": "0x3333333333333333333333333333333333333333",
  "recordedAt": "2025-12-31T23:59:30Z",
  "recordedStatus": "settled",
  "route": "/api/v1/asset/ETH/assessment",
  "txHash": "0x1111111111111111111111111111111111111111111111111111111111111111"
}

Payment details

Pay to0x2fecabdfc849c76fdc28ca13aa0ab392753ef35c
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from Aiagentoracle & similar services