HTTP Methods
getBlocks
Returns a list of confirmed blocks between two slots.
POST
getBlocks
Request Parameters
Start slot (required).
End slot (optional, must be ≤ 500,000 blocks from start slot).
The commitment level for the request.
confirmedfinalized
Authorizations
Body
application/json
The JSON-RPC protocol version.
Available options:
2.0 Example:
"2.0"
A unique identifier for the request.
Example:
"1"
The name of the RPC method to invoke.
Available options:
getBlocks Example:
"getBlocks"
Request parameters for the method.
Start slot (required).
Example:
5
getBlocks