cURL
curl --request POST \ --url 'https://rpc-mainnet.solanatracker.io/?api_key=' \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "result": [ 5, 6, 7 ], "id": 1 } '
{ "jsonrpc": "2.0", "id": "db16f277-1a22-41ff-9f85-f37e2cd77900", "result": [ 5, 6, 7 ] }
The JSON-RPC protocol version.
2.0
"2.0"
A unique identifier for the request.
"1"
The name of the RPC method to invoke.
getBlocksWithLimit
"getBlocksWithLimit"
Request parameters for the method.
Show child attributes
Successfully retrieved confirmed blocks.
Identifier matching the request.
Ordered list of confirmed Solana block slot numbers in ascending sequence starting from the requested slot.
[5, 6, 7]
Was this page helpful?