Skip to main content

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.
The On-Chain API provides programmatic access to Mnemom’s on-chain verification system — anchoring Merkle roots, publishing reputation scores, and verifying agent trust data on Base L2. All on-chain operations are submitted via Mnemom’s relayer; you do not need to hold ETH or interact with smart contracts directly. Base URL: 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:
API keys can be created in your dashboard under Settings or via 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
Response fields: 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
Response fields: 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
Response fields: Error responses:

Error codes

All error responses follow the standard envelope:

SDK usage

TypeScript

Python


See also