Trait starknet_accounts::ConnectedAccount
source · pub trait ConnectedAccount: Account {
type Provider: Provider + Sync;
// Required method
fn provider(&self) -> &Self::Provider;
// Provided methods
fn block_id(&self) -> BlockId { ... }
fn get_nonce<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<FieldElement, ProviderError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
}Expand description
Required Associated Types§
Required Methods§
Provided Methods§
fn get_nonce<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<FieldElement, ProviderError>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
Object Safety§
This trait is not object safe.