getFirstAvailableBlock - Solana
getFirstAvailableBlock. Returns the slot of the first available block in the ledger
getFirstAvailableBlock - solana [Value: 33CU]
Returns the slot of the first available block in the ledger
Use cases
- Identify the earliest block available in Solana's history
- Determine the starting point for historical data analysis
- Validate blockchain data integrity from the first block
Constraints
- Limited to the first available block data
- Subject to API call rate limitations
- Potential latency in retrieving the first block information
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl https://solana.drpc.org \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","id":1, "method":"getFirstAvailableBlock"}'
Response
200
{
"jsonrpc": "2.0",
"result": 1,
"id": 1
}
Request params
idinteger
jsonrpcstring
methodstring
Response
200
Represents the slot number of the lowest confirmed block, given as a 64-bit unsigned integer (u64).Response params
object
idinteger
jsonrpcstring
resultinteger