Function centrifuge_chain::rpc::create_full
source · pub fn create_full<C, P>(
client: Arc<C>,
pool: Arc<P>,
deny_unsafe: DenyUnsafe
) -> Result<RpcModule<()>, Box<dyn Error + Send + Sync>>where
C: ProvideRuntimeApi<Block> + HeaderBackend<Block> + HeaderMetadata<Block, Error = Error> + Send + Sync + 'static,
C::Api: TransactionPaymentRuntimeApi<Block, Balance> + AccountNonceApi<Block, AccountId, Nonce> + BlockBuilder<Block> + AnchorApi<Block, Hash, BlockNumber>,
P: TransactionPool + Sync + Send + 'static,
Expand description
Instantiate all Full RPC extensions.