Skip to content
Русский

​Parameters

​start slot
u64
required
Start slot
​end slot
u64 | object
Inclusive end slot. For backwards compatibility, this parameter position may also be used for a configuration object.
  • If this parameter is a number, it is the inclusive end slot and must be no more than 500,000 slots higher than start slot.
  • If this parameter is an object, it has the same shape as config and the request omits end slot.
When this parameter is an object, it contains:
FieldTypeDescription
commitmentstringCommitment level used to select which slot the node reads from for this request. processed is not supported.
minContextSlotnumberMinimum slot at which the request may be evaluated.
​config
object
Configuration object. This parameter is only used when end slot is provided as a number.

​Result

​result
array
An array of u64 integers listing confirmed blocks between start_slot and either end_slot - if provided, or the highest slot available at the requested commitment, inclusive. Max range allowed is 500,000 slots. If end_slot is lower than start_slot, the result is an empty array.