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
]
}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
Starting Solana slot number from which to begin retrieving the sequential block list.
5
Maximum number of sequential blocks to return (up to 500,000 blocks per request).
3
Finality level to query blocks at - either confirmed (optimistic confirmation) or finalized (full confirmation).
confirmed, finalized "finalized"
Successfully retrieved confirmed blocks.
Was this page helpful?