getBlocks RPC Method
Returns a list of confirmed blocks between two slots.Parameters
u64 requiredStart slot, as
u64 integeru64 optionalEnd slot, as
u64 integer- Must be no more than 500,000 blocks higher than the
start_slot
object optionalConfiguration object containing the following fields:commitment
string optionalDefault:
finalized- “processed” is not supported
Result Details
The result field will be:- An array of
u64integers listing confirmed blocks - Includes blocks between
start_slotandend_slot(or latest confirmed block ifend_slotis not provided) - Inclusive range
- Maximum allowed range is 500,000 slots