getFirstAvailableBlock RPC Method
Returns the slot of the lowest confirmed block that has not been purged from the ledger
params
Noneresult
u64
Slot
Request
$ curl https://api.devnet.solana.com -s -X \> POST -H "Content-Type: application/json" -d '> {> "jsonrpc": "2.0",> "id": 1,> "method": "getFirstAvailableBlock"> }> '
Response
{"jsonrpc": "2.0","result": 250000,"id": 1}
Request
$ curl https://api.devnet.solana.com -s -X \> POST -H "Content-Type: application/json" -d '> {> "jsonrpc": "2.0",> "id": 1,> "method": "getFirstAvailableBlock"> }> '
params
Noneresult
Response
{"jsonrpc": "2.0","result": 250000,"id": 1}
u64
Slot
Is this page helpful?