pub struct EthCallBundleTransactionResult {
pub coinbase_diff: U256,
pub eth_sent_to_coinbase: U256,
pub from_address: Address,
pub gas_fees: U256,
pub gas_price: U256,
pub gas_used: u64,
pub to_address: Option<Address>,
pub tx_hash: B256,
pub value: Option<Bytes>,
pub revert: Option<Bytes>,
}
Expand description
Result of a single transaction in a bundle for eth_callBundle
Fields§
§coinbase_diff: U256
The difference in Ether sent to the coinbase after the transaction
eth_sent_to_coinbase: U256
The amount of Ether sent to the coinbase after the transaction
from_address: Address
The address from which the transaction originated
gas_fees: U256
The gas fees paid for the transaction
gas_price: U256
The gas price used for the transaction
gas_used: u64
The amount of gas used by the transaction
to_address: Option<Address>
The address to which the transaction is sent (optional)
tx_hash: B256
The transaction hash
value: Option<Bytes>
Contains the return data if the transaction succeeded
Note: this is mutually exclusive with revert
revert: Option<Bytes>
Contains the return data if the transaction reverted
Trait Implementations§
source§impl Clone for EthCallBundleTransactionResult
impl Clone for EthCallBundleTransactionResult
source§fn clone(&self) -> EthCallBundleTransactionResult
fn clone(&self) -> EthCallBundleTransactionResult
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 Default for EthCallBundleTransactionResult
impl Default for EthCallBundleTransactionResult
source§fn default() -> EthCallBundleTransactionResult
fn default() -> EthCallBundleTransactionResult
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EthCallBundleTransactionResult
impl<'de> Deserialize<'de> for EthCallBundleTransactionResult
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 EthCallBundleTransactionResult
impl PartialEq for EthCallBundleTransactionResult
source§fn eq(&self, other: &EthCallBundleTransactionResult) -> bool
fn eq(&self, other: &EthCallBundleTransactionResult) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for EthCallBundleTransactionResult
impl StructuralPartialEq for EthCallBundleTransactionResult
Auto Trait Implementations§
impl !Freeze for EthCallBundleTransactionResult
impl RefUnwindSafe for EthCallBundleTransactionResult
impl Send for EthCallBundleTransactionResult
impl Sync for EthCallBundleTransactionResult
impl Unpin for EthCallBundleTransactionResult
impl UnwindSafe for EthCallBundleTransactionResult
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
)