Expand description
axum RPC server implementations This module provides the infrastructure to launch an Ethereum JSON-RPC server (via HTTP, WebSocket, and IPC) and Beacon Node REST API.
Modulesยง
- beacon ๐
- Beacon Node REST API implementation for Anvil.
- rpc_
handlers ๐ - Contains RPC handlers
Functionsยง
- router
- Configures an [
axum::Router] that handlesEthApirelated JSON-RPC calls via HTTP and WS, and Beacon REST API calls. - serve
- Configures a server that handles
EthApirelated JSON-RPC calls via HTTP and WS. - serve_
on - Configures a server that handles
EthApirelated JSON-RPC calls via HTTP and WS. - spawn_
ipc - Launches an ipc server at the given path in a new task
- try_
spawn_ ipc - Launches an ipc server at the given path in a new task.