FiyatlandırmaGitHubKontrol paneli

Dash

getchaintxstats25 kredi

Computes statistics about total number and rate of transactions in the chain

Ağ: dash

Parametreler

AdTürAçıklama
nblocksnumberSize of the window in blocks. Default is one month of blocks. (isteğe bağlı)
blockhashstringHash of the block that ends the window. Default is the chain tip. (isteğe bağlı)

Dönüş değeri

Tür

Object

time, txcount, window_final_block_hash, window_final_block_height, window_block_count, and, when the window has blocks, window_tx_count, window_interval and txrate (average transactions per second).

Kod örnekleri

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