pub fn create_full<C, P, M>(deps: FullDeps<C, P>) -> jsonrpc_core::IoHandler<M>
    where
        C: ProvideRuntimeApi<Block>,
        C: HeaderBackend<Block> + HeaderMetadata<Block, Error = BlockChainError> + 'static,
        C: Send + Sync + 'static,
        C::Api: AccountNonceApi<Block, AccountId, Index>,
        C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi<Block, Balance, UncheckedExtrinsic>,
        <C::Api as sp_api::ApiErrorExt>::Error: fmt::Debug,
        P: TransactionPool + 'static,
        M: jsonrpc_core::Metadata + Default,
{
    use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApi};
    use substrate_frame_rpc_system::{FullSystem, SystemApi};

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

    io.extend_with(SystemApi::to_delegate(FullSystem::new(client.clone(), pool)));
    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, M>(deps: FullDeps<C, P>) -> jsonrpc_core::IoHandler<M>
    where
        C: ProvideRuntimeApi<Block>,
        C: HeaderBackend<Block> + HeaderMetadata<Block, Error = BlockChainError> + 'static,
        C: Send + Sync + 'static,
        C::Api: AccountNonceApi<Block, AccountId, Index>,
        C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi<Block, Balance, UncheckedExtrinsic>,
        <C::Api as sp_api::ApiErrorExt>::Error: fmt::Debug,
        P: TransactionPool + 'static,
        M: jsonrpc_core::Metadata + Default,
{
    use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApi};
    use substrate_frame_rpc_system::{FullSystem, SystemApi};
    let mut io = jsonrpc_core::IoHandler::default();
    let FullDeps {
        client,
        pool,
    } = deps;
    io.extend_with(SystemApi::to_delegate(FullSystem::new(client.clone(), pool)));
    io.extend_with(TransactionPaymentApi::to_delegate(TransactionPayment::new(
        client.clone(),
    )));
    io
}
pub fn create_full < C , P , M > ( deps : FullDeps < C , P > ) -> jsonrpc_core :: IoHandler < M > where C : ProvideRuntimeApi < Block > , C : HeaderBackend < Block > + HeaderMetadata < Block , Error = BlockChainError > + ' static , C : Send + Sync + ' static , C :: Api : AccountNonceApi < Block , AccountId , Index > , C :: Api : pallet_transaction_payment_rpc :: TransactionPaymentRuntimeApi < Block , Balance , UncheckedExtrinsic > , < C :: Api as sp_api :: ApiErrorExt > :: Error : fmt :: Debug , P : TransactionPool + ' static , M : jsonrpc_core :: Metadata + Default , { use pallet_transaction_payment_rpc :: { TransactionPayment , TransactionPaymentApi } ; use substrate_frame_rpc_system :: { FullSystem , SystemApi } ; let mut io = jsonrpc_core :: IoHandler :: default ( ) ; let FullDeps { client , pool , } = deps ; io . extend_with ( SystemApi :: to_delegate ( FullSystem :: new ( client . clone ( ) , pool ) ) ) ; 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>
deps
FullDeps<C, P>