Trait sc_rpc_api::offchain::OffchainApiClient  
source · pub trait OffchainApiClient: ClientT {
    fn set_local_storage<'life0, 'async_trait>(
        &'life0 self,
        kind: StorageKind,
        key: Bytes,
        value: Bytes
    ) -> Pin<Box<dyn Future<Output = RpcResult<()>> + Send + 'async_trait>>
    where
        Self: Sync + 'async_trait,
        'life0: 'async_trait,
    { ... }
    fn get_local_storage<'life0, 'async_trait>(
        &'life0 self,
        kind: StorageKind,
        key: Bytes
    ) -> Pin<Box<dyn Future<Output = RpcResult<Option<Bytes>>> + Send + 'async_trait>>
    where
        Self: Sync + 'async_trait,
        'life0: 'async_trait,
    { ... }
}Expand description
Client implementation for the OffchainApi RPC API.