getBlocks - Solana
Example code for the getBlocks json-rpc method. Сomplete guide on how to use getBlocks json-rpc in GetBlock.io Web3 documentation.
Parameters
start_slot
- u64
first slot, as u64 integer
end_slot
- u64
Optional.
last slot, as u64 integer
commitment
- object
Optional.
"processed" is not supported. If parameter not provided, the default is "finalized".
Request
Response
Last updated