Trait sc_rpc_spec_v2::chain_spec::api::ChainSpecApiClient
source · pub trait ChainSpecApiClient: ClientT {
// Provided methods
fn chain_spec_unstable_chain_name<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = RpcResult<String>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn chain_spec_unstable_genesis_hash<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = RpcResult<String>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn chain_spec_unstable_properties<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = RpcResult<Properties>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
}
Expand description
Client implementation for the ChainSpecApi
RPC API.
Provided Methods§
sourcefn chain_spec_unstable_chain_name<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = RpcResult<String>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn chain_spec_unstable_chain_name<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = RpcResult<String>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,
Get the chain name, as present in the chain specification.
Unstable
This method is unstable and subject to change in the future.