Avalanche Data: Index the C-Chain and Avalanche L1s
Index Avalanche's C-Chain and custom Avalanche L1s in one pipeline, decoded into a unified schema and delivered to your own database. Real-time and complete historical data, no node to run.
Avalanche calls itself technology built for business, with near-instant finality from its Snowman consensus and the ability to spin up a fully customizable Layer 1 in production. The C-Chain is the EVM-compatible execution layer where most DeFi, tokens, and contracts live, while a growing portfolio of Avalanche L1s (formerly subnets) lets institutions, payment networks, and game studios run purpose-built chains with their own gas token, validator rules, and congestion isolation. You can read their own framing at avalanche.com.
That many-chain design is exactly what makes the data hard. Indexing Co indexes the C-Chain and your Avalanche L1s in a single pipeline, decodes everything into the schema you define, and delivers it to your own PostgreSQL, warehouse, or webhook. Real-time and full history, with no node to operate.
Why Avalanche data is hard
What Indexing Co delivers for Avalanche
Stand up and operate the stack across every chain yourself.
- Run or rent C-Chain archive access plus a node per Avalanche L1.
- Decode each L1's custom gas token, fees, and precompiles separately.
- Reconcile Interchain Messaging transfers across chains by hand.
- Build backfill, reorg handling, and real-time delivery from scratch.
One pipeline covers the C-Chain and your L1s, in one schema.
- C-Chain and any EVM-based Avalanche L1 in a single pipeline.
- Decoded data unified across chains, shaped by your JavaScript transform.
- Lands in your PostgreSQL, BigQuery, warehouse, or webhook.
- Real-time delivery plus complete backfilled history. No node, no per-L1 plumbing.
What you can index
| C-Chain (EVM) | Avalanche L1s |
|---|---|
| Contract events and logs | Custom L1 events and logs |
| Token transfers (ERC-20, ERC-721, ERC-1155) | Game and app-specific contract state |
| Decoded transactions and traces | Custom gas token activity |
| DeFi protocol state (DEX, lending, RWA) | Interchain Messaging transfers |
A transform, not a subgraph
You write the transform in JavaScript, not AssemblyScript, and change it without re-indexing from block zero. Indexing Co runs your function over each block server-side: decode the logs you care about and return rows for your destination.
// Indexing Co transform: reshape each block into rows for your database
function transform(block) {
const results = [];
const signatures = [
'event Transfer(address indexed from, address indexed to, uint256 value)'
];
for (const tx of block.transactions || []) {
for (const log of tx.receipt?.logs || []) {
const event = utils.evmDecodeLogWithMetadata(log, signatures);
if (!event) continue;
results.push({
chain: block._network,
block: Number(block.number),
tx_hash: tx.hash,
contract_address: log.address?.toLowerCase(),
from: event.decoded.from,
to: event.decoded.to,
value: event.decoded.value,
});
}
}
return results;
}
Avalanche with Indexing Co
You only need the C-Chain, have the team to run archive nodes and a node per L1, and want full control of the infrastructure across every chain you touch.
You want the C-Chain and your Avalanche L1s decoded into one schema and delivered to your own database, with real-time plus complete history and no infrastructure to run.
Related Reading
- DeFi Data Infrastructure
- Gaming Data Infrastructure
- Subgraph Migration: Moving Off The Graph's Hosted Service
- Indexing Co vs Subgraphs
FAQ
Does Indexing Co index Avalanche L1s, or only the C-Chain?
Both. The C-Chain and any EVM-based Avalanche L1 can be indexed in the same pipeline and delivered into one unified schema, so you can join activity across chains instead of querying each one separately.
How do you handle a custom L1's gas token and validator rules?
We source and decode each EVM-based L1 on its own terms, including custom gas tokens, fee logic, and precompiles set at genesis.
Can I get complete historical Avalanche data?
Yes. We backfill history from your chosen start block and merge it with real-time data so the C-Chain and each L1 are gap-free.
Where does the Avalanche data go?
Into your own destination: PostgreSQL, BigQuery, a warehouse, or a webhook. You define the output schema and own the storage.
Do I need to run an Avalanche node?
No. Indexing Co handles sourcing the C-Chain and your Avalanche L1s, including history, so you do not run or maintain any nodes.
Get Started
Index Avalanche in minutes. Set up your first C-Chain or Avalanche L1 pipeline without running a node.