Parameters
- hash_typestring
It tells about which UTXO set hash should be calculated, with the possible values: "hash_serialized_3", "none" , "muhash". If not provided, default is set to be "hash_serialized_3"
- hash_or_heightstring/integer
The block hash or height of the target height. If not provided, default is set to be the current best block
- use_indexboolean
Use coinstatsindex if available. If not provided, default is set to be true
Returns
- result
The result is a JSON object with the following fields:
- height
The height of current block
- bestblock
The hash of the block at the tip of the chain
- txouts
The number of unspent transaction outputs
- bogosize
A meaningless metric for UTXO set siz
- hash_serialized_3
The serialized hash (only present if 'hash_serialized_3' hash_type is chosen)
- muhash
The muhash (only present if 'muhash' hash_type is chosen) value is used to compare with other nodes to verify the UTXO set's integrity
- total_amount
It's the value in BTC about all unspent outputs together
- transactions
The number of transactions with unspent outputs
- disk_size
The estimated size of the chainstate on disk
- total_unspendable_amount
The total amount of coins permanently excluded from the UTXO set (only available if coinstatsindex is used)
- block_infoobject
An object which gives information of amounts in the block at this block height (only available if coinstatsindex is used)
- prevout_spent
The total amount of all prevouts spent in this block
- coinbase
The coinbase subsidy amount of this block
- new_outputs_ex_coinbase
The total amount of new outputs created by this block
- unspendable
The total amount of unspendable outputs created in this block
- unspendables
An object which has detailed view of the unspendable categories
- genesis_block
The unspendable amount of the Genesis block subsidy
- bip30
The transactions overridden by duplicates (no longer possible with BIP30)
- scripts
The amounts sent to scripts that are unspendable
- unclaimed_rewards
The fee rewards that miners did not claim in their coinbase
- error
The error message, if any
1{2"result": {3"height": 894201,4"bestblock": "000000000000000000016a63eea2cd5e870e45cf49f59bcb26fb53dde180fa59",5"txouts": 174650130,6"bogosize": 13667355086,7"hash_serialized_3": "fd225dc9c1884cc4beedf388851ebfd5544cbfed600c1c247a76f25baf006b21",8"total_amount": 19856660.24412765,9"transactions": 121924370,10"disk_size": 1201521107811},12"error": null,13"id": 114}
1{2"result": {3"height": 894201,4"bestblock": "000000000000000000016a63eea2cd5e870e45cf49f59bcb26fb53dde180fa59",5"txouts": 174650130,6"bogosize": 13667355086,7"hash_serialized_3": "fd225dc9c1884cc4beedf388851ebfd5544cbfed600c1c247a76f25baf006b21",8"total_amount": 19856660.24412765,9"transactions": 121924370,10"disk_size": 1201521107811},12"error": null,13"id": 114}