Parameters
- hash_or_heightstring | integerREQUIRED
The block hash or height of the target block
- statsJSON Array
JSON array of values to filter from
Returns
- resultobject
The block statistics object
- avgfeeratenumber
Average fee rate
- minfeeratenumber
Minimum feerate in the block
- avgfeestring
Average fee in the block
- avgtxsizestring
Average transaction size
- blockhashstring
The hash of the block
- feerate_percentilesstring
A JSON array containing Feerates at the 10th, 25th, 50th, 75th, and 90th percentile weight unit
- heightinteger
The height of the block
- insstring
The number of inputs
- maxfeestring
Maximum fee in the block
- maxfeeratestring
Maximum feerate in the block
- maxtxsizestring
Maximum transaction size in the block
- medianfeestring
Truncated median fee in the block
- mediantimeinteger
The block median time past
- mediantxsizestring
Truncated median transaction size
- minfeestring
Minimum fee in the block
- mintxsizestring
Minimum transaction size
- outsstring
The number of outputs
- subsidystring
The block subsidy
- swtotal_sizestring
Total size of all segwit transactions
- swtotal_weightstring
Total weight of all segwit transactions
- swtxsstring
The number of segwit transactions
- timeinteger
The block time
- total_outstring
Total amount in all outputs (excluding coinbase thus reward [i.e subsidy + totalfee])
- total_sizestring
Total size of all non-coinbase transactions
- total_weightstring
Total weight of all non-coinbase transactions
- totalfeestring
The fee total
- txsstring
The number of transactions
- utxo_increasestring
The increase/decrease in the number of unspent outputs
- utxo_size_incstring
The increase/decrease in size for the utxo index
- errorobject | null
(Optional) JSON-RPC error when the request failed; omitted or null on success
- codeinteger
Error code
- messagestring
Error message
1{2"jsonrpc": "2.0",3"result": {4"avgfeerate": 0,5"minfeerate": 06},7"id": 18}
1{2"jsonrpc": "2.0",3"result": {4"avgfeerate": 0,5"minfeerate": 06},7"id": 18}