pub struct TransactionStatusMeta {Show 13 fields
pub status: Result<(), TransactionError>,
pub fee: u64,
pub pre_balances: Vec<u64>,
pub post_balances: Vec<u64>,
pub inner_instructions: Option<Vec<InnerInstructions>>,
pub log_messages: Option<Vec<String>>,
pub pre_token_balances: Option<Vec<TransactionTokenBalance>>,
pub post_token_balances: Option<Vec<TransactionTokenBalance>>,
pub rewards: Option<Vec<Reward>>,
pub loaded_addresses: Option<LoadedAddresses>,
pub return_data: Option<TransactionReturnData>,
pub compute_units_consumed: Option<u64>,
pub cost_units: Option<u64>,
}Expand description
Transaction status metadata object.
Fields§
§status: Result<(), TransactionError>§fee: u64Fee this transaction was charged.
pre_balances: Vec<u64>Array of account balances from before the transaction was processed.
post_balances: Vec<u64>Array of account balances after the transaction was processed.
inner_instructions: Option<Vec<InnerInstructions>>List of inner instructions
or None if inner instruction recording was not enabled during this transaction.
log_messages: Option<Vec<String>>Array of log messages or None if log message recording was not enabled during this
transaction.
pre_token_balances: Option<Vec<TransactionTokenBalance>>List of token balances from
before the transaction was processed or None if token balance recording was not yet
enabled during this transaction.
post_token_balances: Option<Vec<TransactionTokenBalance>>List of token balances from
after the transaction was processed or None if token balance recording was not yet
enabled during this transaction.
rewards: Option<Vec<Reward>>Array of transaction-level rewards.
loaded_addresses: Option<LoadedAddresses>Transaction addresses loaded from address lookup tables. Undefined if maxSupportedTransactionVersion
is not set in request params, or if jsonParsed encoding is set in request params.
return_data: Option<TransactionReturnData>The most-recent return data generated by an instruction in the transaction.
compute_units_consumed: Option<u64>Number of execution compute units consumed by the transaction, excluding overhead (such as account loading).
cost_units: Option<u64>Total compute units consumed by the transaction, including both execution and overhead (such as account loading).
Trait Implementations§
Source§impl CandidType for TransactionStatusMeta
impl CandidType for TransactionStatusMeta
Source§impl Clone for TransactionStatusMeta
impl Clone for TransactionStatusMeta
Source§fn clone(&self) -> TransactionStatusMeta
fn clone(&self) -> TransactionStatusMeta
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TransactionStatusMeta
impl Debug for TransactionStatusMeta
Source§impl<'de> Deserialize<'de> for TransactionStatusMeta
impl<'de> Deserialize<'de> for TransactionStatusMeta
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>,
Source§impl From<TransactionStatusMeta> for UiTransactionStatusMeta
impl From<TransactionStatusMeta> for UiTransactionStatusMeta
Source§fn from(meta: TransactionStatusMeta) -> Self
fn from(meta: TransactionStatusMeta) -> Self
Source§impl PartialEq for TransactionStatusMeta
impl PartialEq for TransactionStatusMeta
Source§impl Serialize for TransactionStatusMeta
impl Serialize for TransactionStatusMeta
impl StructuralPartialEq for TransactionStatusMeta
Auto Trait Implementations§
impl Freeze for TransactionStatusMeta
impl RefUnwindSafe for TransactionStatusMeta
impl Send for TransactionStatusMeta
impl Sync for TransactionStatusMeta
impl Unpin for TransactionStatusMeta
impl UnwindSafe for TransactionStatusMeta
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more