Function framenode::rpc::create_full
source · pub fn create_full<C, P, B>(
deps: FullDeps<C, P, B>
) -> Result<RpcModule<()>, Box<dyn Error + Send + Sync>>where
C: ProvideRuntimeApi<Block> + HeaderBackend<Block> + HeaderMetadata<Block, Error = BlockChainError> + Send + Sync + 'static,
C::Api: MmrRuntimeApi<Block, <Block as Block>::Hash, <<Block as Block>::Header as Header>::Number> + BeefyApi<Block> + AccountNonceApi<Block, AccountId, Index> + TransactionPaymentRuntimeApi<Block, Balance> + DEXRuntimeAPI<Block, AssetId, DEXId, Balance, LiquiditySourceType, SwapVariant> + OracleProxyRuntimeApi<Block, Symbol, ResolveTime> + DEXManagerRuntimeAPI<Block, DEXId> + TradingPairRuntimeAPI<Block, DEXId, TradingPair<AssetId>, AssetId, LiquiditySourceType> + AssetsRuntimeAPI<Block, AccountId, AssetId, Balance, AssetSymbol, AssetName, BalancePrecision, ContentSource, Description> + LiquidityProxyRuntimeAPI<Block, DEXId, AssetId, Balance, SwapVariant, LiquiditySourceType, FilterMode> + EthBridgeRuntimeApi<Block, H256, SignatureParams, AccountId, AssetKind, AssetId, H160, OffchainRequest<Runtime>, RequestStatus, OutgoingRequestEncoded, NetworkId, BalancePrecision> + IrohaMigrationRuntimeAPI<Block> + PswapDistributionRuntimeAPI<Block, AccountId, Balance> + RewardsRuntimeAPI<Block, H160, Balance> + VestedRewardsRuntimeApi<Block, AccountId, AssetId, Balance, CrowdloanTag> + FarmingRuntimeApi<Block, AssetId> + BlockBuilder<Block> + LeafProviderRuntimeAPI<Block> + BridgeProxyRuntimeAPI<Block, AssetId>,
P: TransactionPool + Send + Sync + 'static,
B: Backend<Block> + Send + Sync + 'static,
B::State: StateBackend<HashFor<Block>>,
Expand description
Instantiate full RPC extensions.