pub struct RawExecutionV3 { /* private fields */ }Expand description
ExecutionV3 but with nonce and other transaction fee options already determined.
Implementations§
Source§impl RawExecutionV3
impl RawExecutionV3
Sourcepub fn transaction_hash<E>(
&self,
chain_id: Felt,
address: Felt,
query_only: bool,
encoder: E,
) -> Feltwhere
E: ExecutionEncoder,
pub fn transaction_hash<E>(
&self,
chain_id: Felt,
address: Felt,
query_only: bool,
encoder: E,
) -> Feltwhere
E: ExecutionEncoder,
Calculates transaction hash given chain_id, address, query_only, and encoder.
Sourcepub fn calls(&self) -> &[Call]
pub fn calls(&self) -> &[Call]
Gets a reference to the list of contract calls included in the execution.
Sourcepub const fn l1_gas_price(&self) -> u128
pub const fn l1_gas_price(&self) -> u128
Gets the l1_gas_price of the execution request.
Sourcepub const fn l2_gas_price(&self) -> u128
pub const fn l2_gas_price(&self) -> u128
Gets the l2_gas_price of the execution request.
Sourcepub const fn l1_data_gas(&self) -> u64
pub const fn l1_data_gas(&self) -> u64
Gets the l1_data_gas of the execution request.
Sourcepub const fn l1_data_gas_price(&self) -> u128
pub const fn l1_data_gas_price(&self) -> u128
Gets the l1_data_gas_price of the execution request.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RawExecutionV3
impl RefUnwindSafe for RawExecutionV3
impl Send for RawExecutionV3
impl Sync for RawExecutionV3
impl Unpin for RawExecutionV3
impl UnwindSafe for RawExecutionV3
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