pub struct GetRawTransactionVerbose {Show 15 fields
pub in_active_chain: Option<bool>,
pub hex: String,
pub txid: String,
pub hash: String,
pub size: u64,
pub vsize: u64,
pub weight: u64,
pub version: i32,
pub lock_time: u32,
pub inputs: Vec<RawTransactionInput>,
pub outputs: Vec<RawTransactionOutput>,
pub block_hash: Option<String>,
pub confirmations: Option<u64>,
pub transaction_time: Option<u64>,
pub block_time: Option<u64>,
}Expand description
Result of JSON-RPC method getrawtransaction with verbose set to true.
Fields§
§in_active_chain: Option<bool>Whether specified block is in the active chain or not (only present with explicit “blockhash” argument).
hex: StringThe serialized, hex-encoded data for ‘txid’.
txid: StringThe transaction id (same as provided).
hash: StringThe transaction hash (differs from txid for witness transactions).
size: u64The serialized transaction size.
vsize: u64The virtual transaction size (differs from size for witness transactions).
weight: u64The transaction’s weight (between vsize4-3 and vsize4).
version: i32The version.
lock_time: u32The lock time.
inputs: Vec<RawTransactionInput>Array of transaction inputs.
outputs: Vec<RawTransactionOutput>Array of transaction outputs.
block_hash: Option<String>The block hash.
confirmations: Option<u64>The confirmations.
transaction_time: Option<u64>The transaction time in seconds since epoch (Jan 1 1970 GMT).
block_time: Option<u64>The block time in seconds since epoch (Jan 1 1970 GMT).
Implementations§
Source§impl GetRawTransactionVerbose
impl GetRawTransactionVerbose
Sourcepub fn into_model(
self,
) -> Result<GetRawTransactionVerbose, GetRawTransactionVerboseError>
pub fn into_model( self, ) -> Result<GetRawTransactionVerbose, GetRawTransactionVerboseError>
Converts version specific type to a version nonspecific, more strongly typed type.
Trait Implementations§
Source§impl Clone for GetRawTransactionVerbose
impl Clone for GetRawTransactionVerbose
Source§fn clone(&self) -> GetRawTransactionVerbose
fn clone(&self) -> GetRawTransactionVerbose
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more