K

Kairostamp · Verify

by Kairostamp

GETBase

$0.001

per call · USD Coin on Base

Receipt verification: read-only hash-chain verification of one existing Kairostamp receipt id. Recomputes the canonical SHA-256 digest, compares it with the stored chain hash, checks linkage to the preceding entry and reports whether the entry is covered by an on-chain checkpoint. Performs no outbound fetch. Single GET query parameter (receipt_id).

Endpoint

GET https://kairostamp.com/api/v1/verify

1

Calls / 30d

1

Unique payers / 30d

Aug 23

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://kairostamp.com/api/v1/verify", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://kairostamp.com/api/v1/verify?receipt_id=85cd424c-b68b-440e-8f4f-e02147799f30" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "anchor": {
    "chain_seq": 14,
    "covered": true,
    "network": "eip155:84532",
    "note": "Checkpoints record a chain hash only; anchoring is not a guarantee of availability, accuracy or legal effect.",
    "status": "confirmed"
  },
  "chain": {
    "chain_hash": "d084fff3e5d852089814f7d4d3ffe9d04d1a39ce9d2e0573a95f24cf78fb584d",
    "chain_seq": 12,
    "linked": true,
    "previous_chain_hash": "da27fe24efc04330962d1b95c7929a9de901ad0ea49a7997edf9f2731bf88def"
  },
  "codes": [],
  "exists": true,
  "method": "recomputed_digest",
  "receipt_id": "85cd424c-b68b-440e-8f4f-e02147799f30",
  "verdict": "valid"
}

Payment details

Pay to0xdb6f694ae695c632c82677a50593b46137808453
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

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

Get featured →

More from Kairostamp & similar services