Solana · Arazzo Workflow
Solana Discover the Available Ledger Range and Backfill Blocks
Version 1.0.0
Find the node's earliest available block and minimum retained slot, then walk a page of blocks.
Provider
Workflows
ledger-backfill-range
Establish the retained ledger window and page confirmed slots from its floor.
Resolves what history a node actually holds, then walks the first page of blocks inside that window.
1
firstAvailableBlock
getFirstAvailableBlock
Find the lowest slot for which the node can still serve a confirmed block. This is the true floor for any backfill against this endpoint.
2
minimumLedgerSlot
minimumLedgerSlot
Read the lowest slot the node still retains in its ledger. This can differ from the first available block, and the higher of the two is the safe starting point.
3
pageSlotsFromFloor
getBlocksWithLimit
List a bounded page of confirmed slots starting at the floor. Using a limit rather than an open-ended range is what keeps a backfill from requesting more than the node will return.
4
listSlotsInRange
getBlocks
List the confirmed slots between an explicit start and end slot. Skipped slots simply do not appear, which is how an indexer learns which slots produced no block.
5
fetchFloorBlock
getBlock
Fetch the block at the first paged slot with signatures only, the cheapest form that still proves the block is retrievable before a full backfill is launched against it.