getFirstAvailableBlock - Solana
The getFirstAvailableBlock method retrieves the earliest available block in the Solana blockchain. This block represents the oldest historical data that can be accessed via the node.
Supported Networks
Parameters
Request
Endpoint URL:
https://go.getblock.io/<ACCESS-TOKEN>/Example Request (cURL):
curl --location "https://go.getblock.io/<ACCESS-TOKEN>/" -XPOST \
--header "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "getFirstAvailableBlock",
"params": []
}'Response
Example Response:
Response Parameters:
Use Cases
Error Handling
Code getFirstAvailableBlock Example – Web3 Integration
Integration with Web3
Last updated
Was this helpful?