Skip to content
Alchemy Logo

Retrieve and backfill blocks

This API is in private preview. Endpoint availability and response schemas may change before general availability.

Store a recent block-height cursor. Query hl_getLatestBlocks, identify the missing height range, call hl_getBatchBlocks in intended batches of at most 200, and process blocks in ascending height order.

Advance a durable cursor only after downstream storage succeeds. Treat a gap, correction, or finality change as a reason to backfill and reconcile.

For historical query and export choices, see HyperCore Data API historical data.

Was this page helpful?