The problem
A first sync reads every event since a contract was deployed, and every schema change means reading them again. On per-request pricing each re-sync is a new bill.
How archive RPC helps
- eth_getLogs over the full history, split into chunks and run in parallel up to your RPS cap.
- eth_getBlockReceipts to load whole blocks in one call when you index everything.
- Flat pricing: a re-sync costs nothing extra.
Methods you will call
- eth_getLogsReturns all logs (events) that match a filter over a block range.
- eth_getBlockReceiptsReturns the receipts of every transaction in a block in one call.
- eth_getBlockByNumberReturns a block by number.
- eth_blockNumberReturns the number of the most recent block.
Example
Ponder config
// ponder.config.ts
export default createConfig({
chains: {
mainnet: { id: 1, rpc: process.env.L0VD_URL }, // https://eth.l0vdinfra.com/<key>
},
// contracts: { ... }
});Which plan
Growth (75 RPS) for one heavy chain; Builder for a single small contract. See pricing or how it compares.