ドキュメント
料金GitHubダッシュボード

Zcash

getnetworkhashps8クレジット

推定されるネットワークの毎秒のハッシュ数を返します

ネットワーク: zcash

パラメータ

名前型説明
nblocksnumber平均を取るブロック数。デフォルトは 120。-1 は最後の difficulty 変更以降を意味します。 (任意)
heightnumber推定する時点のブロック高。デフォルトは -1(現在の tip)。 (任意)

戻り値

型

number

推定されるネットワークの毎秒のハッシュ数。

コード例

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": "getnetworkhashps",
  "params": [
    120,
    -1
  ]
}'