pub struct GetRawTransactionResponse {Show 19 fields
pub blockhash: Option<BlockHash>,
pub blocktime: Option<u64>,
pub confirmations: Option<i64>,
pub data: String,
pub fee: Option<f64>,
pub field_16: Option<Value>,
pub hash: Option<String>,
pub hex: Option<String>,
pub in_active_chain: Option<bool>,
pub locktime: Option<u64>,
pub size: Option<u64>,
pub time: Option<u64>,
pub txid: Option<Txid>,
pub version: Option<u32>,
pub vin: Option<Value>,
pub vin_1: Option<Value>,
pub vout: Option<Value>,
pub vsize: Option<u64>,
pub weight: Option<u64>,
}Expand description
Response for the GetRawTransaction RPC method
Fields§
§blockhash: Option<BlockHash>the block hash
blocktime: Option<u64>The block time expressed in UNIX epoch time
confirmations: Option<i64>The confirmations
data: StringThe serialized transaction as a hex-encoded string for ‘txid’
fee: Option<f64>transaction fee in BTC, omitted if block undo data is not available
field_16: Option<Value>Same output as verbosity = 1
hash: Option<String>The transaction hash (differs from txid for witness transactions)
hex: Option<String>The serialized, hex-encoded data for ‘txid’
in_active_chain: Option<bool>Whether specified block is in the active chain or not (only present with explicit “blockhash” argument)
locktime: Option<u64>The lock time
size: Option<u64>The serialized transaction size
time: Option<u64>Same as “blocktime”
txid: Option<Txid>The transaction id (same as provided)
version: Option<u32>The version
vin: Option<Value>§vin_1: Option<Value>§vout: Option<Value>§vsize: Option<u64>The virtual transaction size (differs from size for witness transactions)
weight: Option<u64>The transaction’s weight (between vsize4-3 and vsize4)
Trait Implementations§
Source§impl Clone for GetRawTransactionResponse
impl Clone for GetRawTransactionResponse
Source§fn clone(&self) -> GetRawTransactionResponse
fn clone(&self) -> GetRawTransactionResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetRawTransactionResponse
impl Debug for GetRawTransactionResponse
Source§impl<'de> Deserialize<'de> for GetRawTransactionResponse
impl<'de> Deserialize<'de> for GetRawTransactionResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for GetRawTransactionResponse
Auto Trait Implementations§
impl Freeze for GetRawTransactionResponse
impl RefUnwindSafe for GetRawTransactionResponse
impl Send for GetRawTransactionResponse
impl Sync for GetRawTransactionResponse
impl Unpin for GetRawTransactionResponse
impl UnwindSafe for GetRawTransactionResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more