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
)