Trait sc_sync_state_rpc::SyncStateRpcApi[][src]

pub trait SyncStateRpcApi: Sized + Send + Sync + 'static {
    fn system_gen_sync_spec(&self, raw: bool) -> Result<Value>;

    fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M> { ... }
}
Expand description

An api for sync state RPC calls.

Required methods

Returns the json-serialized chainspec running the node, with a sync state.

Provided methods

Create an IoDelegate, wiring rpc calls to the trait methods.

Implementors