pub fn create_full<C, P>(deps: FullDeps<C, P>) -> jsonrpc_core::IoHandler<sc_rpc::Metadata>
where
	C: ProvideRuntimeApi<Block>,
	C: HeaderBackend<Block> + HeaderMetadata<Block, Error = BlockChainError> + 'static,
	C: Send + Sync + 'static,
	C::Api: frame_rpc_system::AccountNonceApi<Block, AccountId, Nonce>,
	C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi<Block, Balance>,
	C::Api: BlockBuilder<Block>,
	P: TransactionPool + 'static,
{
	use frame_rpc_system::{FullSystem, SystemApi};
	use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApi};

	let mut io = jsonrpc_core::IoHandler::default();
	let FullDeps { client, pool, deny_unsafe } = deps;

	io.extend_with(SystemApi::to_delegate(FullSystem::new(client.clone(), pool, deny_unsafe)));

	io.extend_with(TransactionPaymentApi::to_delegate(TransactionPayment::new(client.clone())));

	io
}
/// Instantiate all full RPC extensions.
Instantiate all full RPC extensions.
Instantiate all full RPC extensions .
pub fn create_full<C, P>(deps: FullDeps<C, P>) -> jsonrpc_core::IoHandler<sc_rpc::Metadata>
where
	C: ProvideRuntimeApi<Block>,
	C: HeaderBackend<Block> + HeaderMetadata<Block, Error = BlockChainError> + 'static,
	C: Send + Sync + 'static,
	C::Api: frame_rpc_system::AccountNonceApi<Block, AccountId, Nonce>,
	C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi<Block, Balance>,
	C::Api: BlockBuilder<Block>,
	P: TransactionPool + 'static,
{
	use frame_rpc_system::{FullSystem, SystemApi};
	use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApi};
	let mut io = jsonrpc_core::IoHandler::default();
	let FullDeps { client, pool, deny_unsafe } = deps;
	io.extend_with(SystemApi::to_delegate(FullSystem::new(client.clone(), pool, deny_unsafe)));
	io.extend_with(TransactionPaymentApi::to_delegate(TransactionPayment::new(client.clone())));
	io
}
pub fn create_full < C , P > ( deps : FullDeps < C , P > ) -> jsonrpc_core :: IoHandler < sc_rpc :: Metadata > where C : ProvideRuntimeApi < Block > , C : HeaderBackend < Block > + HeaderMetadata < Block , Error = BlockChainError > + ' static , C : Send + Sync + ' static , C :: Api : frame_rpc_system :: AccountNonceApi < Block , AccountId , Nonce > , C :: Api : pallet_transaction_payment_rpc :: TransactionPaymentRuntimeApi < Block , Balance > , C :: Api : BlockBuilder < Block > , P : TransactionPool + ' static , { use frame_rpc_system :: { FullSystem , SystemApi } ; use pallet_transaction_payment_rpc :: { TransactionPayment , TransactionPaymentApi } ; let mut io = jsonrpc_core :: IoHandler :: default ( ) ; let FullDeps { client , pool , deny_unsafe } = deps ; io . extend_with ( SystemApi :: to_delegate ( FullSystem :: new ( client . clone ( ) , pool , deny_unsafe ) ) ) ; io . extend_with ( TransactionPaymentApi :: to_delegate ( TransactionPayment :: new ( client . clone ( ) ) ) ) ; io }
Instantiate all full RPC extensions.
Instantiate all full RPC extensions .
deps
FullDeps<C, P>