pub fn router(api: EthApi<FoundryNetwork>, config: ServerConfig) -> Router
Configures an [axum::Router] that handles EthApi related JSON-RPC calls via HTTP and WS, and Beacon REST API calls.
axum::Router
EthApi