Zum Hauptinhalt springen

getLatestBlockhash RPC Method

Wird geladen...

Aktualisiert am
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

Parameter

Objekt
Objekt
Wird geladen...
commitment
Zeichenkette
Wird geladen...
finalized
Zeichenkette
Wird geladen...
confirmed
Zeichenkette
Wird geladen...
processed
Zeichenkette
Wird geladen...
minContextSlot
Ganzzahl
Wird geladen...

Rücksendungen

Ergebnis
Wird geladen...
context
Wird geladen...
apiVersion
Wird geladen...
Steckplatz
Wird geladen...
Wert
Wird geladen...
Block-Hash
Wird geladen...
lastValidBlockHeight
Wird geladen...
Anfrage
Antwort
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
}
Haben Sie noch kein Konto?
Erstellen Sie Ihren Quicknode-Endpunkt in Sekundenschnelle und legen Sie los
Kostenlos loslegen