文档
定价GitHub控制台

Zcash

getmininginfo8 额度

返回与挖矿相关的信息

网络: zcash

参数

无需参数(params 数组为空)。

返回值

类型

Object

blocks、difficulty、networkhashps、pooledtx、chain、warnings,以及 currentblockweight 和 currentblocktx(如果曾组装过区块)。较新的 Core 版本还返回 bits、target、next(height、bits、difficulty、target),以及 signet 上的 signet_challenge。

代码示例

curl https://holy-burned-sky-zcash-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
  -X POST \
  -H 'content-type: application/json' \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getmininginfo",
  "params": []
}'