Blockchain Data Indexing for Apps, Warehouses and Reports
Protofire compares indexing engines against the queries your app, warehouse or reports must answer from onchain history. Then we build the pipeline after the indexer, with reorg handling and a check against a finalized block. Protofire was a top-3 Graph indexer by indexing rewards, 2020 to 2024.

Reviewed by Arsenii Petrovich, Offer Owner at ProtofireLast reviewed: November 2026
On this page
Work shipped for 60+ networks and 95+ protocols, including
Blockchain data indexing and the pipeline after the indexer
A dashboard and a finance report built on blockchain data indexing read the same blocks, yet their numbers can disagree. The numbers diverge after the indexer, in how rows are keyed, written and checked. For example, your dashboard shows a swap that finance cannot find on the chain, or finance finds a transfer your dashboard missed.
Protofire tests candidate indexing approaches against the queries your data must answer, and your team picks one. Then we build what comes after the indexer: the API or warehouse load, reorg handling and backfills. We also build the check against the chain. Subgraph development on The Graph covers subgraphs built and published from your own wallet.
Layers of an indexing pipeline and who builds or runs them
Your staff open each account in this stack. Protofire runs the indexer where the scope says so.
Chain data and indexing engine
Store and sinks
Writes keyed by event
API and dashboards
Reconciliation
Operation
Why indexed data goes wrong after the indexer
Indexed data usually goes wrong at the point where rows are written to a database and trigger other systems.Goldsky's Turbo pipelines deliver at least once. Goldsky's docs say "Records may be written more than once", so the sink has to be idempotent (Goldsky).
Envio's docs say that calls to external APIs are not rolled back after a reorg. On Arbitrum and OP Mainnet, Envio's default is 0, which means "a reorg there is not detected" unless the default is changed (Envio). Ponder's reorg window is 180 seconds by default (Ponder).
Indexing hosts also change or close their services. On 8 October 2026 The Graph moved Studio staging queries for Polygon and BNB Smart Chain subgraphs to Network Indexers. The Graph also said that Studio support for other chains winds down chain by chain (The Graph). Alchemy closed its Alchemy Subgraphs endpoints on 8 December 2025 (Alchemy).
Left uncorrected, a doubled row or a webhook sent from a block that then left the chain reaches whoever acts on the number. You learn of the error when someone questions a report. Each engine's docs state what that engine handles. You decide where rows are written and the key each row is written under. You also decide the reorg window you accept and the check against the chain.
Database rollback does not undo external side effects such as Kafka messages or HTTP requests. Make those effects idempotent and reconcile provisional records by block height and hash, or delay irreversible actions until finality.
What Protofire delivers for blockchain data indexing
A decision record for the indexing engine
The engine choice depends on the queries the data must answer, each chain's finality and volume, and the freshness each reader needs. Protofire tries candidate engines on one contract's history. We then write a decision record that names the engine and the store. The record also names each chain's reorg window and a fallback host. Your team picks from the decision record.
One row per event after a retry or a reorg
A retry rewrites the existing row instead of adding a second one, and a reorg deletes the rows of the dropped block. Protofire keys each event by transaction hash, log index and chain ID. We write the sinks under that key and propagate the deletes to PostgreSQL, ClickHouse, Kafka or S3. Alerts and webhooks fire once the block is at or below the "finalized" tag.
Checks for missing block ranges and proxy upgrades
A missing block range stops the run instead of leaving a hole in a report. Providers cap eth_getLogs, and Alchemy's free tier takes 10 blocks per call (Alchemy). So a backfill logs each range. An upgraded proxy can emit events that the old ABI does not decode. ERC-1967 says implementation changes "SHOULD be notified by the event" Upgraded (ERC-1967). The indexer watches the Upgraded event, along with BeaconUpgraded and AdminChanged.
An API or warehouse that your apps query instead of the node
Each response from the GraphQL, REST or SQL views includes the indexed block, and dashboards show their lag. Protofire versions the schema. We measure database indexes and query plans against your slowest calls and record latency before and after.
A daily check of index totals against the chain
A daily job compares the index's totals with contract state, read through eth_call at a finalized block. The job also counts rows per block range to expose gaps. You get a dated report with the block number, hash and UTC cut-off. The report lists each difference for your team to clear. Where finance needs it, the report is also matched against your ledger export. Matching reserve figures to token supply is proof of reserve work.
Indexer operation, upgrades and alerts
Under a written scope, Protofire runs a self-hosted engine with its database and API inside your cloud. We handle upgrades, alerts and backfills after contract releases. The scope can also cover an indexer or subgraph that your team already runs. The scope names who answers each alert: your team, Protofire or both.
Which indexing approach fits which data need?
The approach follows from the queries, the chains and where the data is delivered.Our comparison of blockchain indexers covers vendor features and benchmarks.
Subgraph on The Graph Network
Fits when: A dapp reads entities over GraphQL. For that case, The Graph writes that "a Subgraph is likely what you'll need" (The Graph)
Left to your team: API keys, billing, and a fallback host if the chain leaves Subgraph Studio
Substreams with an SQL sink
Fits when: The chain is busy, or the data is loaded into PostgreSQL or ClickHouse
Left to your team: The database, which StreamingFast's hosted sink "does not create, host, or manage" (StreamingFast)
Hosted platform: Goldsky Turbo, Envio Cloud, SQD Cloud
Fits when: You want no indexer servers to run
Left to your team: Deduplication where delivery is at least once, and a written exit route
Ponder, self-hosted
Fits when: A TypeScript team wants the indexer next to its backend
Left to your team: PostgreSQL, hosting, RPC limits and the reorg window
Custom indexer on JSON-RPC
Fits when: No framework covers the chain, the store or the delivery target
Left to your team: Range paging, dropped logs, retries, backfills and monitoring
Warehouse dataset: Dune, Allium, BigQuery
Fits when: Analysts need SQL on chains that the vendor already decodes
Left to your team: Freshness that the vendor sets, and the vendor's decoding of your contracts
Our Graph record: running an indexer and writing subgraphs
A top-3 Graph indexer, 2020 to 2024
Protofire was a top-3 Graph indexer by indexing rewards, 2020 to 2024. The ranking is a past record. Our Graph indexer and subgraphs case describes the work.
Grant funding and a forum profile from The Graph
In July 2021 The Graph Foundation's second grant wave funded Protofire for subgraph development and support. On 1 September 2021 The Graph's forum introduced Protofire as an indexer in its Know Your Indexer series.
Indexer operator and subgraph author on The Graph
Protofire's public record on The Graph covers two roles: running an indexer and writing subgraphs.
How an indexing build with Protofire runs
- Step 1
Queries, chains and freshness needs
Protofire lists the queries and each chain's finality, volume and freshness need. That list decides which approaches are worth a trial. - Step 2
Engine trials on one contract's history
Each candidate engine indexes one contract's history. Protofire compares the engines on your queries. Your team reads the decision record and picks an engine. - Step 3
Build in a repository your team owns
The indexer and the API are built in code your team owns, and so are the sinks keyed by event and the reorg deletes. The code includes a CI job that replays a fixed block range. Your staff open the cloud account, its databases and each vendor account, such as Goldsky, SQD Cloud or Envio. Your staff also issue the keys that the engines read with. A hosted engine keeps its servers, and the stores behind them, under its own terms. - Step 4
Reconciliation against the chain
The reconciliation job runs on a finalized block. Each panel shows the last indexed block and its lag. When the lag exceeds your limit, the panel shows as stale. - Step 5
Accounts and credentials after launch
After launch, Protofire holds no credential or account in this pipeline beyond the role on your host that a scope names. Once that scope ends, Protofire holds none. An indexer only reads chain data. A payment, mint or release triggered by indexed data runs in your systems, under your keys.
How work with Protofire starts
You send the contracts and chains, the queries or reports the data has to answer, and the indexer and host you use today.Rows from your current store help too. You send them under NDA once customer fields are dropped. The first written proposal compares candidate engines against your queries. How we work covers the process.
- Proposal
- In writing, one business day after the discovery call: findings, a plan in phases and the first step we recommend.
- Price
- Fixed per phase when you commission it, against written acceptance criteria. Overruns inside them are ours to absorb, invoices follow delivered milestones, and you can stop at any phase boundary. Anything we operate after launch is priced in the proposal as its own recurring line, with the notice to end it.
- Ownership
- Code we write for you, contracts, the keys and credentials this work creates and the accounts your infrastructure runs in are yours by contract, within the license of any third-party software involved. Keys that a custody platform or a staking provider holds under its own key model stay with it under your contract; every other custody key stays with you or the custodian you appoint. Where the scope places something on servers we rent, it says what moves to you and when. An NDA is available from your first message, and we sign a data processing agreement (DPA) together with it.
- After launch
- Delivery closes with a hypercare window and a defect warranty, with their terms written into the proposal. A service we operate continues under its written scope until that scope ends.
- Access
- Read-only by default. A role that can start requests only if your written scope names one; never a signer, approver, administrator, key holder or recovery role on your contracts, wallets or custody platform. Services we build call each platform on credentials your staff issue and keep in your vault. Anything that approves or moves funds runs in your environment, and a scope under which we operate a service lists every write call it makes. Where the scope has us operate nodes, validators, monitors, explorers or indexers, it names the role and any key we hold on those servers, and in your own cloud account you can remove it.
- Licenses
- Protofire is an engineering firm and holds no financial or crypto-asset license; licensed activity stays with you and your providers.
How we work shows a worked proposal.
When an indexing build with Protofire does not fit
Ready-made vendor data, a subgraph, an explorer or node hosting fits some needs better than an indexing build.
- Your product reads balances, transfers or prices, or your analysts need SQL on chains that a vendor already decodes. Data vendors sell this data ready-made, for example through Allium's REST APIs (Allium). Dune or Google's BigQuery datasets answer the analysts' need without an indexer of your own.
- The Graph is the chosen engine, or a subgraph needs a new host. Subgraph development on The Graph covers the build and the move to a new host.
- People need to browse blocks and addresses, which is the job of an explorer. Blockscout development covers explorers.
- The chain lacks archive or trace endpoints. RPC node hosting provides those endpoints, and node infrastructure covers a chain's whole node estate.
FAQ
What is blockchain data indexing?
Who can build a reorg-safe indexing pipeline for our product?
Our subgraph can't keep up with our chain's volume. Do we need a custom indexer?
Has Protofire run an indexer?
Can one API serve several chains?
Which block does a report or dashboard read from?
What happens if our indexing host shuts down?
Get a proposal
Tell us what you are building. An engineer reads it, we have a short call, and the written proposal follows within one business day.
