btg

Bitcoin Gold (BTG)

Method: POST getdifficulty

dropdown
POST

getdifficulty

Returns the proof-of-work difficulty as a multiple of the minimum difficulty.

Parameters

-

Request

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


Response

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