Bitcoin
Bitcoin
Bitcoin
免费套餐涵盖个人项目。按量付费,无需绑卡即可扩展。
getdifficulty returns the current Bitcoin Proof-of-Work difficulty as a single floating-point number — how much harder it is to mine a block now than at the network's easiest setting. Bitcoin retargets this value about every 2,016 blocks so that, regardless of how much hashpower is chasing the BTC block reward, blocks keep landing roughly every ten minutes. Call it at https://bitcoin.therpc.io/YOUR_API_KEY with no parameters to read the figure.
此方法不需要任何参数,传入空数组 [] 即可。
| 类型 | 描述 |
|---|---|
| number | Current difficulty as a floating-point multiple of the minimum. |
getnetworkhashps instead.