getBlockhash
Ruft den neuesten Blockhash vom Solana RPC ab, mit dem der Kora-Server verbunden ist.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Ruft den neuesten Blockhash vom Solana RPC ab, mit dem der Kora-Server verbunden ist.
{
"jsonrpc": "2.0",
"id": 1,
"method": "getBlockhash",
"params": []
}
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockhash": "base58Blockhash"
}
}
curl -X POST http://localhost:8080 \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"getBlockhash","params":[]}'
const { blockhash } = await client.getBlockhash();
console.log("Current blockhash:", blockhash);