pub trait OfflineClientT<T: Config>: Clone + Send + Sync + 'static {
    fn metadata(&self) -> Metadata;
    fn genesis_hash(&self) -> T::Hash;
    fn runtime_version(&self) -> RuntimeVersion;

    fn tx(&self) -> TxClient<T, Self> { ... }
    fn events(&self) -> EventsClient<T, Self> { ... }
    fn storage(&self) -> StorageClient<T, Self> { ... }
    fn constants(&self) -> ConstantsClient<T, Self> { ... }
    fn blocks(&self) -> BlocksClient<T, Self> { ... }
    fn runtime_api(&self) -> RuntimeApiClient<T, Self> { ... }
}
Expand description

A trait representing a client that can perform offline-only actions.

Required Methods§

Return the provided Metadata.

Return the provided genesis hash.

Return the provided RuntimeVersion.

Provided Methods§

Work with transactions.

Work with events.

Work with storage.

Access constants.

Work with blocks.

Work with runtime API.

Implementors§