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
整數
載入中...
退貨
結果
載入中...
context
載入中...
apiVersion
載入中...
插槽
載入中...
值
載入中...
blockhash
載入中...
lastValidBlockHeight
載入中...
請求
回應
1{2"jsonrpc": "2.0",3"result": {4"context": {5"slot": 27926},7"value": {8"blockhash": "EkSnNWid2cvwEVnVx9aBqawnmiCNiDgp3gUdkDPTKN1N",9"lastValidBlockHeight": 309010}11},12"id": 113}
1{2"jsonrpc": "2.0",3"result": {4"context": {5"slot": 27926},7"value": {8"blockhash": "EkSnNWid2cvwEVnVx9aBqawnmiCNiDgp3gUdkDPTKN1N",9"lastValidBlockHeight": 309010}11},12"id": 113}