How It Works
Indexing Co pipelines have three stages:| Stage | Description |
|---|---|
| Filter | Select which blocks and transactions to process by contract address, event signature, or other criteria. |
| Transformation | Write JavaScript functions that extract and reshape the data you need from each block. |
| Destination | Deliver processed data to Postgres, HTTP webhooks, WebSockets, or other adapters. |
Key Features
- Celo support — Native support for Celo mainnet with real-time and historical data.
- Custom JavaScript transformations — Write
function main(block)handlers with full control over how data is extracted and shaped. - Multiple destinations — Deliver data to Postgres, HTTP endpoints, WebSockets, or Kafka.
- Backfills — Replay historical blocks through your pipeline to populate your database from any starting point.
- Cross-chain — Run the same pipeline logic across 100+ supported blockchains.
- Built-in helpers — Use
templates.tokenTransfers(block),utils.evmDecodeLog(), and other utilities to accelerate development.
Quick Start
All API requests use the base URLhttps://app.indexing.co/dw and require an X-API-KEY header for authentication. Sign up at indexing.co to get your API key.
Step 1: Create a Filter
Create a filter to select which Celo transactions to process. This example filters for a specific contract address:Step 2: Create a Transformation
Create a transformation with a JavaScriptfunction main(block) handler that processes each block:
Step 3: Test the Transformation
Test your transformation against a real Celo block to verify the output:Step 4: Create a Pipeline
Combine the filter, transformation, and a destination into a pipeline that delivers data to Postgres:Backfilling Historical Data
Once your pipeline is running, you can backfill historical data from any starting block:Claude Code Integration
Indexing Co provides first-class support for Claude Code through an MCP server and a pipeline skill, enabling you to build and query Celo data pipelines directly from your AI coding workflow.MCP Server
The Indexing Co MCP server streams real-time blockchain data from your pipelines into Claude Code. Events are stored in local SQLite and queryable with SQL — no external database needed for development.DIRECT adapter: