getBlocks
Parameters
Returns
// Result
{
"jsonrpc": "2.0",
"result": [
319941846,
319941847,
319941848,
319941849,
319941850,
319941851
],
"id": 1
}Last updated
Was this helpful?
// Result
{
"jsonrpc": "2.0",
"result": [
319941846,
319941847,
319941848,
319941849,
319941850,
319941851
],
"id": 1
}Last updated
Was this helpful?
Was this helpful?
curl https://mainnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0","id": 1,"method": "getBlocks","params": [319941846,319941851]}'curl https://devnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0","id": 1,"method": "getBlocks","params": [319941846,319941851]}'