82trust / 100

Seal

by gblin.digital in Other

x402 APIPassing, checked 3 h ago

Call after your agent completes an action it may later have to prove: seal the hashes of its input and output (only your action label and meta are published) into GBLIN's signed append-only transparency log and get a portable receipt: Ed25519 signature, RFC 6962 inclusion proof, C2SP signed checkpoint; root anchored daily on Base (EAS). Proves existence and time, not correctness. Free reads and demo: gblin-mcp.gblin-mcp-worker.workers.dev/log

POST https://gblin.digital/api/x402/seal

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
143 ms typical, 143 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://gblin.digital/api/x402/seal" \
  -H "content-type: application/json" \
  -d '{"action":"summarise-contract","input_hash":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fgblin.digital%2Fapi%2Fx402%2Fseal
const res = await pay("https://gblin.digital/api/x402/seal", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"action":"summarise-contract","input_hash":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}),
});
console.log(await res.json());

Example input

{
  "action": "summarise-contract",
  "input_hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
}

Example output

{
  "checkpoint": "<C2SP signed note>",
  "format": "gblin-receipt/v1",
  "inclusion_proof": [
    "<base64 node>",
    "<base64 node>"
  ],
  "index": 42,
  "leaf": "<base64 sha256(0x00 || canonical)>",
  "payload": {
    "action": "summarise-contract",
    "index": 42,
    "input_hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "log": "gblin.digital/receipts-log",
    "output_hash": null,
    "ts": "2026-08-30T09:00:00.000Z",
    "v": 1
  },
  "root": "<base64 Merkle root>",
  "signature": "<base64 Ed25519 over the canonical record>",
  "tree_size": 43,
  "verifier_key": "gblin.digital/receipts-log+00c6e18c+...",
  "verify": "offline: see verify-receipt.mjs in github.com/gblinproject/gblin-treasury-risk-regime (zero deps)"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402328 ms$0.0045
8 h agoPassed402143 ms$0.0045