New: Try Gatekeeper (Beta) for significantly lower latency. Learn More
New: Try Gatekeeper (Beta) for significantly lower latency. Learn More
Returns the slot of the lowest confirmed block that has not been purged from the ledger.
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "getFirstAvailableBlock"
}
'{
"jsonrpc": "2.0",
"id": "1",
"result": 250000
}Documentation Index
Fetch the complete documentation index at: https://www.helius.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
The JSON-RPC protocol version.
2.0 "2.0"
A unique identifier for the request.
"1"
The name of the RPC method to invoke.
getFirstAvailableBlock "getFirstAvailableBlock"
Successfully retrieved the slot of the lowest confirmed block.
The JSON-RPC protocol version.
2.0 "2.0"
Identifier matching the request.
"1"
Earliest Solana block slot number still available in this node's storage history, indicating the lower boundary of accessible blockchain data.
250000
Was this page helpful?
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "getFirstAvailableBlock"
}
'{
"jsonrpc": "2.0",
"id": "1",
"result": 250000
}