curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "getFirstAvailableBlock",
"params": []
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": 123
}
curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "getFirstAvailableBlock",
"params": []
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": 123
}
getFirstAvailableBlock
methodgetFirstAvailableBlock
method returns the slot of the lowest confirmed block that has not been purged from the ledger.
This method provides the earliest block that is still available for retrieval from the ledger. It is useful for determining the range of historical data that is available.
value
— the slot of the lowest confirmed block that has not been purged from the ledger.getFirstAvailableBlock
is to determine the range of historical data that is available. This can be useful for block explorers, wallets, or other applications that need to display or make use of this information.First available block details
The response is of type object
.
Was this page helpful?