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