Function node_template::rpc::create_full
source · pub fn create_full<C, P>(
deps: FullDeps<C, P>
) -> Result<RpcModule<()>, Box<dyn Error + Send + Sync>>where
C: ProvideRuntimeApi<Block> + HeaderBackend<Block> + HeaderMetadata<Block, Error = BlockChainError> + 'static + Send + Sync,
C::Api: AccountNonceApi<Block, AccountId, Nonce> + TransactionPaymentRuntimeApi<Block, Balance> + BlockBuilder<Block>,
P: TransactionPool + 'static,
Expand description
Instantiate all full RPC extensions.