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