Changeset View
Changeset View
Standalone View
Standalone View
chronik/chronik-proto/proto/chronik.proto
Show All 34 Lines | message BlockInfo { | ||||
// Height in the chain | // Height in the chain | ||||
int32 height = 3; | int32 height = 3; | ||||
// nBits field encoding the target | // nBits field encoding the target | ||||
uint32 n_bits = 4; | uint32 n_bits = 4; | ||||
// Timestamp field of the block | // Timestamp field of the block | ||||
int64 timestamp = 5; | int64 timestamp = 5; | ||||
// Whether the block has been finalized by Avalanche | // Whether the block has been finalized by Avalanche | ||||
bool is_final = 14; | bool is_final = 14; | ||||
// Block size of this block in bytes (including headers etc.) | |||||
uint64 block_size = 6; | |||||
// Number of txs in this block | |||||
uint64 num_txs = 7; | |||||
// Total number of tx inputs in block (including coinbase) | |||||
uint64 num_inputs = 8; | |||||
// Total number of tx output in block (including coinbase) | |||||
uint64 num_outputs = 9; | |||||
// Total number of satoshis spent by tx inputs | |||||
int64 sum_input_sats = 10; | |||||
// Block reward for this block | |||||
int64 sum_coinbase_output_sats = 11; | |||||
// Total number of satoshis in non-coinbase tx outputs | |||||
int64 sum_normal_output_sats = 12; | |||||
// Total number of satoshis burned using OP_RETURN | |||||
int64 sum_burned_sats = 13; | |||||
} | } | ||||
// Details about a transaction | // Details about a transaction | ||||
message Tx { | message Tx { | ||||
// TxId (little-endian) of the tx | // TxId (little-endian) of the tx | ||||
bytes txid = 1; | bytes txid = 1; | ||||
// nVersion | // nVersion | ||||
int32 version = 2; | int32 version = 2; | ||||
▲ Show 20 Lines • Show All 192 Lines • Show Last 20 Lines |