⚡ We welcome businesses to test our enterprise-grade service

dgb
DigiByte (DGB)

Method: POST getbestblockhash

dropdown

方法 RPC getbestblockhash 例如 DigiByte (DGB)

POST getbestblockhash

返回最完整验证的链中最佳(尖端)块的哈希。

Parameters

-

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": "getbestblockhash",
"params": [],
"id": "getblock.io"}'


Response

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