pub struct FullTransactionDetails {
pub hash: B256,
pub blobs: Vec<BlobInfo>,
pub from: Address,
pub to: Address,
pub category: Option<String>,
pub rollup: Option<String>,
pub max_fee_per_blob_gas: u128,
pub blob_as_calldata_gas_used: u128,
pub blob_as_calldata_gas_fee: u128,
pub blob_gas_base_fee: u128,
pub blob_gas_max_fee: u128,
pub blob_gas_used: u128,
}
Expand description
The transaction object with all requested data.
Fields§
§hash: B256
Transaction hash.
blobs: Vec<BlobInfo>
Blobs in the transaction.
from: Address
Sender address.
to: Address
Receiver address,
category: Option<String>
The category of this tx, if any.
rollup: Option<String>
The rollup this tx corresponds to, if any.
max_fee_per_blob_gas: u128
The max fee per blob gas for EIP-4844 blob transactions.
blob_as_calldata_gas_used: u128
§blob_as_calldata_gas_fee: u128
§blob_gas_base_fee: u128
§blob_gas_max_fee: u128
§blob_gas_used: u128
Implementations§
Source§impl FullTransactionDetails
impl FullTransactionDetails
Sourcepub fn blob_sidecar(&self) -> BlobTransactionSidecar
pub fn blob_sidecar(&self) -> BlobTransactionSidecar
Returns the sidecar for the transaction.
Trait Implementations§
Source§impl Clone for FullTransactionDetails
impl Clone for FullTransactionDetails
Source§fn clone(&self) -> FullTransactionDetails
fn clone(&self) -> FullTransactionDetails
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 Debug for FullTransactionDetails
impl Debug for FullTransactionDetails
Source§impl Default for FullTransactionDetails
impl Default for FullTransactionDetails
Source§fn default() -> FullTransactionDetails
fn default() -> FullTransactionDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FullTransactionDetails
impl<'de> Deserialize<'de> for FullTransactionDetails
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
Source§impl PartialEq for FullTransactionDetails
impl PartialEq for FullTransactionDetails
Source§impl Serialize for FullTransactionDetails
impl Serialize for FullTransactionDetails
impl Eq for FullTransactionDetails
impl StructuralPartialEq for FullTransactionDetails
Auto Trait Implementations§
impl Freeze for FullTransactionDetails
impl RefUnwindSafe for FullTransactionDetails
impl Send for FullTransactionDetails
impl Sync for FullTransactionDetails
impl Unpin for FullTransactionDetails
impl UnwindSafe for FullTransactionDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
Converts
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>
Converts
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