pub struct RawTx {Show 15 fields
pub in_active_chain: bool,
pub hex: String,
pub txid: String,
pub hash: String,
pub size: u32,
pub vsize: u32,
pub weight: u32,
pub version: u32,
pub locktime: u32,
pub vin: Vec<TxIn>,
pub vout: Vec<TxOut>,
pub blockhash: String,
pub confirmations: u32,
pub blocktime: u32,
pub time: u32,
}Expand description
The information returned by a get_raw_tx
Fields§
§in_active_chain: boolWhether this tx is in our best known chain
hex: StringThe hex-encoded tx
txid: StringTha sha256d of the serialized transaction without witness
hash: StringThe sha256d of the serialized transaction including witness
size: u32The size this transaction occupies on disk
vsize: u32The virtual size of this transaction, as define by the segwit soft-fork
weight: u32The weight of this transaction, as defined by the segwit soft-fork
version: u32This transaction’s version. The current bigger version is 2
locktime: u32This transaction’s locktime
vin: Vec<TxIn>A list of inputs being spent by this transaction
See TxIn for more information about the contents of this
vout: Vec<TxOut>A list of outputs being created by this tx
Se TxOut for more information
blockhash: StringThe hash of the block that included this tx, if any
confirmations: u32How many blocks have been mined after this transaction’s confirmation including the block that confirms it. A zero value means this tx is unconfirmed
blocktime: u32The timestamp for the block confirming this tx, if confirmed
time: u32Same as blocktime