본문으로 건너뛰기

getLatestBlockhash RPC Method

로딩 중...

업데이트 날짜:
2025년 4월 30일

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

매개변수

객체
객체
로딩 중...
헌신
문자열
로딩 중...
확정됨
문자열
로딩 중...
확인됨
문자열
로딩 중...
처리된
문자열
로딩 중...
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 엔드포인트를 생성하고 개발을 시작하세요
지금 무료로 시작하세요