⚡ We welcome businesses to test our enterprise-grade service

dgb
DigiByte (DGB)

Method: POST getblockhash

dropdown

方法 RPC getblockhash 例如 DigiByte (DGB)

POST getblockhash

在提供的高度时,最佳块链的回报哈希。

Parameters

height - 数字,需要

高度指数

Request

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


Response

{
    "error": null,
    "id": "getblock.io",
    "result": "8aef53e812659444b72dfa021ccbfddfb795e04889788c8dee802113e186acf3"
}