Struct starknet_accounts::PreparedExecution
source · pub struct PreparedExecution<'a, A> { /* private fields */ }Expand description
RawExecution but with an account associated.
Implementations§
source§impl<'a, A> PreparedExecution<'a, A>where
A: Account,
impl<'a, A> PreparedExecution<'a, A>where
A: Account,
sourcepub fn transaction_hash(&self, query_only: bool) -> FieldElement
pub fn transaction_hash(&self, query_only: bool) -> FieldElement
Locally calculates the hash of the transaction to be sent from this execution given the parameters.
source§impl<'a, A> PreparedExecution<'a, A>where
A: ConnectedAccount,
impl<'a, A> PreparedExecution<'a, A>where
A: ConnectedAccount,
pub async fn send( &self ) -> Result<InvokeTransactionResult, AccountError<A::SignError>>
pub async fn get_invoke_request( &self, query_only: bool ) -> Result<BroadcastedInvokeTransaction, A::SignError>
Trait Implementations§
Auto Trait Implementations§
impl<'a, A> RefUnwindSafe for PreparedExecution<'a, A>where
A: RefUnwindSafe,
impl<'a, A> Send for PreparedExecution<'a, A>where
A: Sync,
impl<'a, A> Sync for PreparedExecution<'a, A>where
A: Sync,
impl<'a, A> Unpin for PreparedExecution<'a, A>
impl<'a, A> UnwindSafe for PreparedExecution<'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