PreciosGitHubPanel

Zcash

getmininginfo8 créditos

Devuelve información relacionada con la minería

Red: zcash

Parámetros

No se requieren parámetros (arreglo params vacío).

Valor devuelto

Tipo

Object

blocks, difficulty, networkhashps, pooledtx, chain, warnings, además de currentblockweight y currentblocktx (si alguna vez se ensambló un bloque). Las versiones más recientes de Core también devuelven bits, target, next (height, bits, difficulty, target) y signet_challenge en signet.

Ejemplos de código

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": []
}'