Struct solscan_api::structs::transaction::Transaction
source · [−]pub struct Transaction {Show 19 fields
pub block_time: Option<i64>,
pub slot: Option<i64>,
pub tx_hash: Option<String>,
pub fee: Option<i64>,
pub status: Option<String>,
pub lamport: Option<i64>,
pub signer: Option<Vec<String>>,
pub log_message: Option<Vec<String>>,
pub input_account: Option<Vec<InputAccount>>,
pub recent_blockhash: Option<String>,
pub inner_instructions: Option<Vec<InnerInstruction>>,
pub token_balanes: Option<Vec<Option<Value>>>,
pub parsed_instruction: Option<Vec<TransactionParsedInstruction>>,
pub confirmations: Option<i64>,
pub token_transfers: Option<Vec<Option<Value>>>,
pub sol_transfers: Option<Vec<Option<Value>>>,
pub serum_transactions: Option<Vec<Option<Value>>>,
pub raydium_transactions: Option<Vec<Option<Value>>>,
pub unknown_transfers: Option<Vec<UnknownTransfer>>,
}
Fields
block_time: Option<i64>
slot: Option<i64>
tx_hash: Option<String>
fee: Option<i64>
status: Option<String>
lamport: Option<i64>
signer: Option<Vec<String>>
log_message: Option<Vec<String>>
input_account: Option<Vec<InputAccount>>
recent_blockhash: Option<String>
inner_instructions: Option<Vec<InnerInstruction>>
token_balanes: Option<Vec<Option<Value>>>
parsed_instruction: Option<Vec<TransactionParsedInstruction>>
confirmations: Option<i64>
token_transfers: Option<Vec<Option<Value>>>
sol_transfers: Option<Vec<Option<Value>>>
serum_transactions: Option<Vec<Option<Value>>>
raydium_transactions: Option<Vec<Option<Value>>>
unknown_transfers: Option<Vec<UnknownTransfer>>
Trait Implementations
sourceimpl Debug for Transaction
impl Debug for Transaction
sourceimpl<'de> Deserialize<'de> for Transaction
impl<'de> Deserialize<'de> for Transaction
sourcefn 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
sourceimpl Serialize for Transaction
impl Serialize for Transaction
Auto Trait Implementations
impl RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl UnwindSafe for Transaction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more