pub struct OpTransactionReceipt {
pub inner: TransactionReceipt<OpReceiptEnvelope<Log>>,
pub l1_block_info: L1BlockInfo,
}
Expand description
OP Transaction Receipt type
Fields§
§inner: TransactionReceipt<OpReceiptEnvelope<Log>>
Regular eth transaction receipt including deposit receipts
l1_block_info: L1BlockInfo
L1 block info of the transaction.
Trait Implementations§
source§impl Clone for OpTransactionReceipt
impl Clone for OpTransactionReceipt
source§fn clone(&self) -> OpTransactionReceipt
fn clone(&self) -> OpTransactionReceipt
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 OpTransactionReceipt
impl Debug for OpTransactionReceipt
source§impl<'de> Deserialize<'de> for OpTransactionReceipt
impl<'de> Deserialize<'de> for OpTransactionReceipt
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 OpTransactionReceipt
impl PartialEq for OpTransactionReceipt
source§impl ReceiptResponse for OpTransactionReceipt
impl ReceiptResponse for OpTransactionReceipt
source§fn contract_address(&self) -> Option<Address>
fn contract_address(&self) -> Option<Address>
Address of the created contract, or
None
if the transaction was not a deployment.source§fn block_hash(&self) -> Option<BlockHash>
fn block_hash(&self) -> Option<BlockHash>
Hash of the block this transaction was included within.
source§fn block_number(&self) -> Option<u64>
fn block_number(&self) -> Option<u64>
Number of the block this transaction was included within.
source§fn transaction_hash(&self) -> TxHash
fn transaction_hash(&self) -> TxHash
Transaction Hash.
source§fn transaction_index(&self) -> Option<u64>
fn transaction_index(&self) -> Option<u64>
Index within the block.
source§fn effective_gas_price(&self) -> u128
fn effective_gas_price(&self) -> u128
Effective gas price.
source§fn blob_gas_used(&self) -> Option<u128>
fn blob_gas_used(&self) -> Option<u128>
Blob gas used by the eip-4844 transaction.
source§fn blob_gas_price(&self) -> Option<u128>
fn blob_gas_price(&self) -> Option<u128>
Blob gas price paid by the eip-4844 transaction.
EIP-7702 Authorization list.
source§fn cumulative_gas_used(&self) -> u128
fn cumulative_gas_used(&self) -> u128
Returns the cumulative gas used at this receipt.
source§fn state_root(&self) -> Option<B256>
fn state_root(&self) -> Option<B256>
The post-transaction state root (pre Byzantium) Read more
source§impl Serialize for OpTransactionReceipt
impl Serialize for OpTransactionReceipt
impl Eq for OpTransactionReceipt
impl StructuralPartialEq for OpTransactionReceipt
Auto Trait Implementations§
impl Freeze for OpTransactionReceipt
impl RefUnwindSafe for OpTransactionReceipt
impl Send for OpTransactionReceipt
impl Sync for OpTransactionReceipt
impl Unpin for OpTransactionReceipt
impl UnwindSafe for OpTransactionReceipt
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
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 moreimpl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 896 bytes