Oracle System
The Oracle is Checkpoint’s verification layer. It queries offchain points APIs, generates cryptographic signatures to prove the data is legitimate, and the blockchain verifies these signatures trustlessly. This approach makes onboarding new projects easy and simple.The Problem It Solves
How do we know users really have the points they claim without requiring projects to set up special infrastructure?- Option 1: Require database access - Projects expose their database, risky and requires extra work for them
- Option 2: Require special APIs - Projects must build custom endpoints just for Checkpoint
- Option 3: Query existing APIs - Oracle uses projects’ existing APIs and cryptographically signs the response (Checkpoint’s approach)
How It Works
Easy Project Integration
Anyone can integrate their project into Checkpoint To get your project’s points integrated into Checkpoint’s Oracle system and the Points Aggregator simply create an adapter in the points-adapters repository.How It Works
An adapter is a simple piece of code that:- Takes a user’s wallet address as input
- Queries your project’s existing points API
- Returns the points data in a standardized format
What You Need to Do
- Create an adapter for your project (using web standard APIs)
- Define key exports:
fetch,data,total, and optionalrankanddeprecated - Submit a pull request to the points-adapters repository.
Types of Verifications
1. Deposit
- Verify a user’s points and get a signature for a deposit transaction
Example Request
Example Response
2. Settlement
POST /claim/settlement- Verify that a trade was properly settled onchain and get a signature for a crosschain settlement transaction
- Full documentation →
Example Request
Example Response
Tracking Historical Changes
When your points balance changes, the oracle records this onchain viachangePoints().
This usually happens every 24 hours but there is no strong guarantee.
API Reference
The Oracle provides endpoints for interacting with claim verificationTry it now! Visit the Oracle API playground to test the endpoints
interactively. Fill in your parameters and click “Try it Now” to see live responses from the
Oracle.