Trait polymesh_api_client::transaction::ChainApi
source · [−]pub trait ChainApi {
type RuntimeCall: CodecSerde;
type RuntimeEvent: CodecSerde;
fn get_nonce<'life0, 'async_trait>(
&'life0 self,
account: AccountId
) -> Pin<Box<dyn Future<Output = Result<u32>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn block_events<'life0, 'async_trait>(
&'life0 self,
block: Option<BlockHash>
) -> Pin<Box<dyn Future<Output = Result<Vec<EventRecord<Self::RuntimeEvent>>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn client(&self) -> &Client;
}