getBlocksWithLimit
Parameters
Returns
// Result
{
"jsonrpc": "2.0",
"result": [
319942456,
319942457,
319942458,
319942459,
319942460
],
"id": 1
}Last updated
Was this helpful?
// Result
{
"jsonrpc": "2.0",
"result": [
319942456,
319942457,
319942458,
319942459,
319942460
],
"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": "getBlocksWithLimit","params": [319942456,5]}'
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": "getBlocksWithLimit","params": [319942456,5]}'