GetBlocksApi
Methods
getBlocks()
Returns a list of confirmed blocks between two slots (inclusive).
Parameters
Parameter | Type | Description |
---|---|---|
startSlotInclusive | bigint | The first slot for which to return a confirmed block |
endSlotInclusive? | bigint | The last slot for which to return a confirmed block. Must be no more than 500,000 blocks higher than the start slot. |
config? | Readonly <{ commitment? : Exclude <Commitment , "processed" >; }> | - |
Returns
GetBlocksApiResponse