On-Chain API
Part of CLPI Phase 4: On-Chain Verification. The On-Chain API anchors reputation data to Base L2 for immutable, third-party-verifiable trust records.
https://api.mnemom.ai/v1/on-chain
Anchoring and score publishing are Mnemom-operated cron jobs, not customer-callable endpoints. Customers consume on-chain data through the three read endpoints below, or by querying the smart contracts on Base L2 directly. See the On-Chain Verification guide for the operational details.
Authentication
API key authentication: Pass in the
Authorization header:
POST /v1/api-keys.
Rate limits
Rate-limited responses return HTTP
429 with a Retry-After header.
Endpoints
GET /v1/on-chain/verify-proof/
Verify an agent’s on-chain reputation score and retrieve the cryptographic proof linking the on-chain record to the underlying integrity data. Parameters:
Response:
200 OK
Error responses:
GET /v1/on-chain/status/
Check whether an agent has an on-chain score and retrieve the current on-chain state, including the latest score and anchor information. Parameters:
Response:
200 OK
Error responses:
GET /v1/on-chain/history
Retrieve the paginated history of on-chain anchoring and score publishing events for your account. Query parameters:
Response:
200 OK
Error responses:
Error codes
All error responses follow the standard envelope:
SDK usage
TypeScript
Python
See also
- On-Chain Verification Concepts — How on-chain anchoring and publishing work
- On-Chain Verification Guide — Step-by-step usage guide
- Mnemom Trust Rating — Understanding reputation scores
- Trust Rating API — API reference for off-chain reputation endpoints
- Integrity Checkpoints — The data source for Merkle trees