FiyatlandırmaGitHubKontrol paneli

Dogecoin

gettxoutsetinfo80 kredi

Returns statistics about the unspent transaction output set

Ağ: doge

Parametreler

AdTürAçıklama
hash_typestringUTXO set hash to compute: hash_serialized_3 (default), muhash or none. Older versions use hash_serialized_2. (isteğe bağlı)
hash_or_heightstring | numberBlock hash or height to report on. Default is the chain tip. Works only for other blocks when coinstatsindex is enabled. (isteğe bağlı)
use_indexbooleanUse coinstatsindex when available. Default is true. (isteğe bağlı)

Dönüş değeri

Tür

Object

height, bestblock, txouts, bogosize, the requested hash (hash_serialized_3 or muhash), total_amount, and, when not served from coinstatsindex, transactions and disk_size. With coinstatsindex also total_unspendable_amount and block_info. This call scans the whole UTXO set and can take minutes.

Kod örnekleri

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