pub struct PreparedExecutionV3<'a, A> { /* private fields */ }Expand description
RawExecutionV3 but with an account associated.
Implementations§
Source§impl<A> PreparedExecutionV3<'_, A>where
A: Account,
impl<A> PreparedExecutionV3<'_, A>where
A: Account,
Sourcepub fn transaction_hash(&self, query_only: bool) -> Felt
pub fn transaction_hash(&self, query_only: bool) -> Felt
Locally calculates the hash of the transaction to be sent from this execution given the parameters.
Source§impl<A> PreparedExecutionV3<'_, A>where
A: ConnectedAccount,
impl<A> PreparedExecutionV3<'_, A>where
A: ConnectedAccount,
Sourcepub async fn send(
&self,
) -> Result<InvokeTransactionResult, AccountError<A::SignError>>
pub async fn send( &self, ) -> Result<InvokeTransactionResult, AccountError<A::SignError>>
Signs and broadcasts the transaction to the network.
Sourcepub async fn get_invoke_request(
&self,
query_only: bool,
skip_signature: bool,
) -> Result<BroadcastedInvokeTransactionV3, A::SignError>
pub async fn get_invoke_request( &self, query_only: bool, skip_signature: bool, ) -> Result<BroadcastedInvokeTransactionV3, A::SignError>
Get the broadcasted invoke transaction request.
Trait Implementations§
Auto Trait Implementations§
impl<'a, A> Freeze for PreparedExecutionV3<'a, A>
impl<'a, A> RefUnwindSafe for PreparedExecutionV3<'a, A>where
A: RefUnwindSafe,
impl<'a, A> Send for PreparedExecutionV3<'a, A>where
A: Sync,
impl<'a, A> Sync for PreparedExecutionV3<'a, A>where
A: Sync,
impl<'a, A> Unpin for PreparedExecutionV3<'a, A>
impl<'a, A> UnwindSafe for PreparedExecutionV3<'a, A>where
A: RefUnwindSafe,
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