← Bitcoin Cash overview
Bitcoin Cash · bitcoin
getblockhash
Bitcoin Core RPC: getblockhash
Bitcoin Core / compatible node RPC. Reference: developer.bitcoin.org/reference/rpc/getblockhash.html
Result
Bitcoin Core JSON-RPC result
Schema
{
"type": "unknown"
}Example request
Endpoint: https://your-bch-node.azxa.io
JSON-RPC
{
"jsonrpc": "1.0",
"id": 1,
"method": "getblockhash",
"params": []
}Example response
{
"jsonrpc": "2.0",
"id": 1,
"result": null
}cURL
curl -X POST https://your-bch-node.azxa.io \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"1.0","id":1,"method":"getblockhash","params":[]}'