Struct everscale_types::models::transaction::Transaction
source · pub struct Transaction<'a, C: CellFamily> {Show 13 fields
pub account: CellHash,
pub lt: u64,
pub prev_trans_hash: CellHash,
pub prev_trans_lt: u64,
pub now: u32,
pub out_msg_count: Uint15,
pub orig_status: AccountStatus,
pub end_status: AccountStatus,
pub in_msg: Option<Lazy<C, Message<'a, C>>>,
pub out_msgs: Option<CellContainer<C>>,
pub total_fees: CurrencyCollection<C>,
pub state_update: Lazy<C, HashUpdate>,
pub info: Lazy<C, TxInfo<C>>,
}Expand description
Blockchain transaction.
Fields§
§account: CellHashAccount on which this transaction was produced.
lt: u64Logical time when the transaction was created.
prev_trans_hash: CellHashThe hash of the previous transaction on the same account.
prev_trans_lt: u64The logical time of the previous transaction on the same account.
now: u32Unix timestamp when the transaction was created.
out_msg_count: Uint15The number of outgoing messages.
orig_status: AccountStatusAccount status before this transaction.
end_status: AccountStatusAccount status after this transaction.
in_msg: Option<Lazy<C, Message<'a, C>>>Optional incoming message.
out_msgs: Option<CellContainer<C>>Outgoing messages.
total_fees: CurrencyCollection<C>Total transaction fees (including extra fwd fees).
state_update: Lazy<C, HashUpdate>Account state hashes.
info: Lazy<C, TxInfo<C>>Detailed transaction info.
Implementations§
source§impl<'a, C: CellFamily> Transaction<'a, C>
impl<'a, C: CellFamily> Transaction<'a, C>
Trait Implementations§
source§impl<'a, C: Clone + CellFamily> Clone for Transaction<'a, C>
impl<'a, C: Clone + CellFamily> Clone for Transaction<'a, C>
source§fn clone(&self) -> Transaction<'a, C>
fn clone(&self) -> Transaction<'a, C>
Returns a copy 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<'a, C: CellFamily> Debug for Transaction<'a, C>
impl<'a, C: CellFamily> Debug for Transaction<'a, C>
source§impl<'a, C: CellFamily> Load<'a, C> for Transaction<'a, C>
impl<'a, C: CellFamily> Load<'a, C> for Transaction<'a, C>
source§impl<'a, C: PartialEq + CellFamily> PartialEq<Transaction<'a, C>> for Transaction<'a, C>
impl<'a, C: PartialEq + CellFamily> PartialEq<Transaction<'a, C>> for Transaction<'a, C>
source§fn eq(&self, other: &Transaction<'a, C>) -> bool
fn eq(&self, other: &Transaction<'a, C>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<'a, C: CellFamily> Store<C> for Transaction<'a, C>
impl<'a, C: CellFamily> Store<C> for Transaction<'a, C>
source§fn store_into(
&self,
builder: &mut CellBuilder<C>,
finalizer: &mut dyn Finalizer<C>
) -> bool
fn store_into(
&self,
builder: &mut CellBuilder<C>,
finalizer: &mut dyn Finalizer<C>
) -> bool
Tries to store itself into the cell builder.