HomeAPI Documentation
API Docs & Integration Guide
Integration docs for Query API and Webhook — signing, queries, push, reorgs, and recommended flow.
HMAC Auth
API Key identifies the caller; API Secret signs locally only.
Query + Webhook
Query on-chain data actively or receive real-time notifications via Webhook.
Reorg Friendly
pending vs stable layers; fix via chain.reorg / chain.removed on reorg.
Platform Overview
The platform continuously syncs on-chain data into an indexed database and exposes two capabilities: Query API for active lookups and Webhook for active push notifications.
Endpoint / Topic
Query API + WebhookNotes
- Query API is suited for querying transactions, address balances, internal transfers, NFT balances, and contract events.
- Webhook is suited for monitoring deposit confirmations, token transfers, contract events, and chain reorganizations.
- Use stable/finalized for fund settlement; use pending for arrival alerts (must handle reorg; coin events do not include internal transfers).
Response / Format
json
{
"query": "Actively query indexed on-chain data",
"webhook": "Push when on-chain changes match your watch config",
"consistency": ["stable", "pending", "finalized"]
}Example
bash
# 1. Create an API Key
# 2. Call Query API with HMAC signing
# 3. Configure Webhook URL and watch targets
# 4. Verify signatures and handle idempotency on your side