Struct floresta_cli::rpc_types::RawTx
source · 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: bool
Whether this tx is in our best known chain
hex: String
The hex-encoded tx
txid: String
Tha sha256d of the serialized transaction without witness
hash: String
The sha256d of the serialized transaction including witness
size: u32
The size this transaction occupies on disk
vsize: u32
The virtual size of this transaction, as define by the segwit soft-fork
weight: u32
The weight of this transacion, as defined by the segwit soft-fork
version: u32
This transaction’s version. The current bigger version is 2
locktime: u32
This 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: String
The hash of the block that included this tx, if any
confirmations: u32
How 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: u32
The timestamp for the block confirming this tx, if confirmed
time: u32
Same as blocktime