Skip to content

gettxoutsetinfo JSON-RPC command


Returns statistics about the unspent transaction output set.
Note this call may take some time.


  "height":n,     (numeric) The current block height (index)
  "bestblock": "hex",   (string) the best block hash hex
  "transactions": n,      (numeric) The number of transactions
  "txouts": n,            (numeric) The number of output transactions
  "bogosize": n,          (numeric) A database-independent metric for UTXO set size
  "hash_serialized": "hash",   (string) The serialized hash
  "disk_size": n,         (numeric) The estimated size of the chainstate on disk
  "total_amount":          (numeric) The total amount


> bitcoin-cli gettxoutsetinfo
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxoutsetinfo", "params": [] }' -H 'content-type: text/plain;'

Bitcoin Cash Node Daemon version v27.1.1-c71eb4a

Documentation on reflects the current master branch in Git, and may include API changes that are not yet present in the latest release.