getFirstAvailableBlock RPC 메소드

원장에서 제거되지 않은 가장 낮은 확인된 블록의 slot을 반환합니다

$ curl https://api.devnet.solana.com -s -X \
> POST -H "Content-Type: application/json" -d '
> {
> "jsonrpc": "2.0",
> "id": 1,
> "method": "getFirstAvailableBlock"
> }
> '

params

None

result

Response
{
"jsonrpc": "2.0",
"result": 250000,
"id": 1
}
u64

Slot

Is this page helpful?