pub struct GetBlockStatsResponse {Show 31 fields
pub avgfee: Option<u64>,
pub avgfeerate: Option<u64>,
pub avgtxsize: Option<u64>,
pub blockhash: Option<BlockHash>,
pub feerate_percentiles: Option<Value>,
pub height: Option<u64>,
pub ins: Option<u64>,
pub maxfee: Option<u64>,
pub maxfeerate: Option<f64>,
pub maxtxsize: Option<u64>,
pub medianfee: Option<u64>,
pub mediantime: Option<u64>,
pub mediantxsize: Option<u64>,
pub minfee: Option<u64>,
pub minfeerate: Option<u64>,
pub mintxsize: Option<u64>,
pub outs: Option<u64>,
pub subsidy: Option<u64>,
pub swtotal_size: Option<u64>,
pub swtotal_weight: Option<u64>,
pub swtxs: Option<u64>,
pub time: Option<u64>,
pub total_out: Option<u64>,
pub total_size: Option<u64>,
pub total_weight: Option<u64>,
pub totalfee: Option<u64>,
pub txs: Option<u64>,
pub utxo_increase: Option<u64>,
pub utxo_increase_actual: Option<u64>,
pub utxo_size_inc: Option<u64>,
pub utxo_size_inc_actual: Option<u64>,
}Expand description
Response for the GetBlockStats RPC method
Fields§
§avgfee: Option<u64>Average fee in the block
avgfeerate: Option<u64>Average feerate (in satoshis per virtual byte)
avgtxsize: Option<u64>Average transaction size
blockhash: Option<BlockHash>The block hash (to check for potential reorgs)
feerate_percentiles: Option<Value>Feerates at the 10th, 25th, 50th, 75th, and 90th percentile weight unit (in satoshis per virtual byte)
height: Option<u64>The height of the block
ins: Option<u64>The number of inputs (excluding coinbase)
maxfee: Option<u64>Maximum fee in the block
maxfeerate: Option<f64>Maximum feerate (in satoshis per virtual byte)
maxtxsize: Option<u64>Maximum transaction size
medianfee: Option<u64>Truncated median fee in the block
mediantime: Option<u64>The block median time past
mediantxsize: Option<u64>Truncated median transaction size
minfee: Option<u64>Minimum fee in the block
minfeerate: Option<u64>Minimum feerate (in satoshis per virtual byte)
mintxsize: Option<u64>Minimum transaction size
outs: Option<u64>The number of outputs
subsidy: Option<u64>The block subsidy
swtotal_size: Option<u64>Total size of all segwit transactions
swtotal_weight: Option<u64>Total weight of all segwit transactions
swtxs: Option<u64>The number of segwit transactions
time: Option<u64>The block time
total_out: Option<u64>Total amount in all outputs (excluding coinbase and thus reward [ie subsidy + totalfee])
total_size: Option<u64>Total size of all non-coinbase transactions
total_weight: Option<u64>Total weight of all non-coinbase transactions
totalfee: Option<u64>The fee total
txs: Option<u64>The number of transactions (including coinbase)
utxo_increase: Option<u64>The increase/decrease in the number of unspent outputs (not discounting op_return and similar)
utxo_increase_actual: Option<u64>The increase/decrease in the number of unspent outputs, not counting unspendables
utxo_size_inc: Option<u64>The increase/decrease in size for the utxo index (not discounting op_return and similar)
utxo_size_inc_actual: Option<u64>The increase/decrease in size for the utxo index, not counting unspendables
Trait Implementations§
Source§impl Clone for GetBlockStatsResponse
impl Clone for GetBlockStatsResponse
Source§fn clone(&self) -> GetBlockStatsResponse
fn clone(&self) -> GetBlockStatsResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more