pub struct OpTransactionReceipt {
pub inner: TransactionReceipt<OpReceiptEnvelope<Log>>,
pub l1_block_info: L1BlockInfo,
}
Available on crate feature
rpc-types
only.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<OpTransactionReceipt, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OpTransactionReceipt, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<OpTransactionReceipt> for OpReceiptEnvelope
impl From<OpTransactionReceipt> for OpReceiptEnvelope
Source§fn from(value: OpTransactionReceipt) -> OpReceiptEnvelope
fn from(value: OpTransactionReceipt) -> OpReceiptEnvelope
Converts to this type from the input type.
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<FixedBytes<32>>
fn block_hash(&self) -> Option<FixedBytes<32>>
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) -> FixedBytes<32>
fn transaction_hash(&self) -> FixedBytes<32>
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<u64>
fn blob_gas_used(&self) -> Option<u64>
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) -> u64
fn cumulative_gas_used(&self) -> u64
Returns the cumulative gas used at this receipt.
Source§fn state_root(&self) -> Option<FixedBytes<32>>
fn state_root(&self) -> Option<FixedBytes<32>>
The post-transaction state root (pre Byzantium) Read more
Source§impl Serialize for OpTransactionReceipt
impl Serialize for OpTransactionReceipt
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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