⚡ We welcome businesses to test our enterprise-grade service

bsv
Bitcoin-SV (BSV)

Method: POST getblockhash

dropdown

方法 RPC getblockhash 例如 Bitcoin-SV (BSV)

POST getblockhash

在高度的高度返回最佳块链中的块的哈希。

Parameters

height - 数字,必需

高度指数

Request

curl --location --request POST 'https://bsv.getblock.io/mainnet/' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "getblockhash",
"params": [1000],
"id": "getblock.io"}'


Response

{
    "error": null,
    "id": "getblock.io",
    "result": "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
}