gen_rpc_module

Function gen_rpc_module 

Source
pub fn gen_rpc_module<TBl, TBackend, TCl, TRpc, TExPool>(
    _: GenRpcModuleParams<'_, TBl, TBackend, TCl, TRpc, TExPool>,
) -> Result<RpcModule<()>, Error>
where TBl: BlockT, TCl: ProvideRuntimeApi<TBl> + BlockchainEvents<TBl> + HeaderBackend<TBl> + HeaderMetadata<TBl, Error = Error> + ExecutorProvider<TBl> + CallApiAt<TBl> + ProofProvider<TBl> + StorageProvider<TBl, TBackend> + BlockBackend<TBl> + Send + Sync + 'static, TBackend: Backend<TBl> + 'static, <TCl as ProvideRuntimeApi<TBl>>::Api: SessionKeys<TBl> + Metadata<TBl>, TExPool: MaintainedTransactionPool<Block = TBl, Hash = <TBl as BlockT>::Hash> + 'static, TBl::Hash: Unpin, TBl::Header: Unpin,
Expand description

Generate RPC module using provided configuration