public interface RpcEndpointService
extends BesuService

This service allows you to add functions exposed via RPC endpoints.

This service will be available during the registration callback and must be used during the registration callback. RPC endpoints are configured prior to the start callback and all endpoints connected. No endpoint will actually be called prior to the start callback so initialization unrelated to the callback registration can also be done at that time.


Method Summary


Modifier and TypeMethodDescription
<T> voidregisterRPCEndpoint​(java.lang.String namespace, java.lang.String functionName, java.util.function.Function<PluginRpcRequest,​T> function)

Register a function as an RPC endpoint exposed via JSON-RPC.



Method Details