pub trait ExtendRpcModules<Node, EthApi>: Sendwhere
Node: FullNodeComponents,
EthApi: EthApiTypes,{
// Required method
fn extend_rpc_modules(
self: Box<Self>,
ctx: RpcContext<'_, Node, EthApi>,
) -> Result<(), Report>;
}
Expand description
Event hook that is called when the rpc server is started.
Required Methods§
Sourcefn extend_rpc_modules(
self: Box<Self>,
ctx: RpcContext<'_, Node, EthApi>,
) -> Result<(), Report>
fn extend_rpc_modules( self: Box<Self>, ctx: RpcContext<'_, Node, EthApi>, ) -> Result<(), Report>
The hook that is called once the rpc server is started.