Returns a list of confirmed blocks between two slots
Start slot (inclusive)
End slot (inclusive)
Configuration object containing the following optional fields:
Array of block slots in ascending order
processed
for latest blocksconfirmed
for high probability finalityfinalized
for guaranteed finalitygetBlocksWithLimit
for paginationCode | Message | Solution |
---|---|---|
-32602 | Invalid param: startSlot must be less than endSlot | Ensure startSlot is less than endSlot |
-32602 | Invalid param: slot range too large | Reduce the slot range size |
-32601 | Method not found | Verify you’re connected to a Solana RPC node |
-32007 | Block information unavailable | Node may be bootstrapping or range is too old |
Block Range Analysis
Block History Tracking
Block Gap Detection
Returns a list of confirmed blocks between two slots
Start slot (inclusive)
End slot (inclusive)
Configuration object containing the following optional fields:
Array of block slots in ascending order
processed
for latest blocksconfirmed
for high probability finalityfinalized
for guaranteed finalitygetBlocksWithLimit
for paginationCode | Message | Solution |
---|---|---|
-32602 | Invalid param: startSlot must be less than endSlot | Ensure startSlot is less than endSlot |
-32602 | Invalid param: slot range too large | Reduce the slot range size |
-32601 | Method not found | Verify you’re connected to a Solana RPC node |
-32007 | Block information unavailable | Node may be bootstrapping or range is too old |
Block Range Analysis
Block History Tracking
Block Gap Detection