bitcoind.app
CommandsGuidesContact ↗
Home/Blockchain/gettxoutsetinfo
Blockchain

gettxoutsetinfo

Returns statistics about the unspent transaction output set. Note: may take a long time.

Parameters

hash_typestringoptional
"hash_serialized_2", "muhash", or "none". Default: "hash_serialized_2"

Returns

objectUTXO set statistics

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"gettxoutsetinfo","params":[]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

{
  "height": 840000,
  "bestblock": "00000000000000000002...",
  "txouts": 94523182,
  "total_amount": 19687500.00000000,
  "disk_size": 5432198765
}
← Previous
gettxoutproof
Next →
preciousblock

More Blockchain Commands

getbestblockhashgetblockgetblockchaininfogetblockcountgetblockfiltergetblockhash

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗