⚡ We welcome businesses to test our enterprise-grade service

bch
Bitcoin Cash (BCH)

Method: POST getdifficulty

dropdown

方法 RPC getdifficulty 例如 Bitcoin Cash (BCH)

POST getdifficulty

将工作量证明难度作为最小难度的倍数返回。

Parameters

-

Request

curl --location --request POST 'https://bch.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": 303127737690.0432
}