メインコンテンツへスキップ

getLatestBlockhash RPC Method

読み込み中...

更新日:
Apr 30, 2025

getLatestBlockhash RPC Method

Please note that this method is only available in solana-core v1.9 or newer. Please use getRecentBlockhash for solana-core v1.8

パラメータ

オブジェクト
オブジェクト
読み込み中...
commitment
文字列
読み込み中...
finalized
文字列
読み込み中...
confirmed
文字列
読み込み中...
processed
文字列
読み込み中...
minContextSlot
整数
読み込み中...

返品

結果
読み込み中...
文脈
読み込み中...
apiVersion
読み込み中...
スロット
読み込み中...
読み込み中...
blockhash
読み込み中...
lastValidBlockHeight
読み込み中...
リクエスト
回答
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"context": {
5
"slot": 2792
6
},
7
"value": {
8
"blockhash": "EkSnNWid2cvwEVnVx9aBqawnmiCNiDgp3gUdkDPTKN1N",
9
"lastValidBlockHeight": 3090
10
}
11
},
12
"id": 1
13
}
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"context": {
5
"slot": 2792
6
},
7
"value": {
8
"blockhash": "EkSnNWid2cvwEVnVx9aBqawnmiCNiDgp3gUdkDPTKN1N",
9
"lastValidBlockHeight": 3090
10
}
11
},
12
"id": 1
13
}
まだアカウントをお持ちではありませんか?
わずか数秒でQuicknodeのエンドポイントを作成し、開発を始めましょう
今すぐ無料で始めましょう