XDC のオラクルデータと証明
API reference / DocAnchor API

DocAnchor API

Coming soon: anchoring on XDC (Apothem testnet first) and receipts after 5 confirmations. Submit a SHA-256 hash; hashes are designed to be batched hourly into one Merkle root. Verification is free and open now.

Workspace プランProduct: DocAnchor (Tamper-evident document time stamps) · Get started
Base pathhttps://feedplumb.jp/notary
AuthenticationNone today (keys and plan limits planned)
Limits30 requests/min per IP. Submissions are not open yet (503).
Health/notary/health · status page

GET /notary/health

Store, anchoring state and counters.

curl
curl -s https://feedplumb.jp/notary/health
GET /notary/health on this site

POST /notary/v1/hash

Submit {"hash":"<64 hex>"} or a raw file body (hashed while streaming, bytes discarded). 202 new, 200 known.

curl
curl -s -X POST https://feedplumb.jp/notary/v1/hash -H 'content-type: application/json' \
  -d "{\"hash\":\"(sha256sum invoice.pdf | cut -d' ' -f1)\"}"

GET /notary/v1/receipt/{hash}

Receipt v2 (OpenZeppelin StandardMerkleTree proof, root, tx, block). 202 while confirming.

GET /notary/v1/bundle/{hash}

Self-contained portable proof bundle JSON (docanchor-proof-bundle-v1) for offline or on-chain verification.

GET /notary/v1/verify/{hash}

pending / unknown / anchored, plus a live on-chain check.

curl
curl -s https://feedplumb.jp/notary/v1/verify/<sha256>

POST /notary/v1/verify-bundle

Verify a portable proof bundle JSON against its Merkle root and (when configured) the anchor contract.