Function frontier_template_node::rpc::eth::create_eth
source · pub fn create_eth<B, C, BE, P, A, CT, CIDP, EC>(
io: RpcModule<()>,
deps: EthDeps<B, C, P, A, CT, CIDP>,
subscription_task_executor: SubscriptionTaskExecutor,
pubsub_notification_sinks: Arc<EthereumBlockNotificationSinks<EthereumBlockNotification<B>>>
) -> Result<RpcModule<()>, Box<dyn Error + Send + Sync>>where
B: BlockT<Hash = H256>,
C: CallApiAt<B> + ProvideRuntimeApi<B> + HeaderBackend<B> + HeaderMetadata<B, Error = Error> + BlockchainEvents<B> + AuxStore + UsageProvider<B> + StorageProvider<B, BE> + 'static,
C::Api: AuraApi<B, AuthorityId> + BlockBuilderApi<B> + ConvertTransactionRuntimeApi<B> + EthereumRuntimeRPCApi<B>,
BE: Backend<B> + 'static,
P: TransactionPool<Block = B> + 'static,
A: ChainApi<Block = B> + 'static,
CT: ConvertTransaction<<B as BlockT>::Extrinsic> + Send + Sync + 'static,
CIDP: CreateInherentDataProviders<B, ()> + Send + 'static,
EC: EthConfig<B, C>,
Expand description
Instantiate Ethereum-compatible RPC extensions.