Available on crate feature
rpc
only.Expand description
Re-exported rpc types
Modules§
- api
- Reth RPC interface definitions
- builder
- Configure reth RPC.
- engine
- Implements the Optimism engine API RPC methods.
- error
- RPC errors specific to OP.
- eth
- Reth RPC server types, used in server implementation of
eth
namespace API. - historical
- Client support for optimism historical RPC requests.
- miner
- Miner API extension for OP.
- sequencer
- Helpers for optimism specific RPC implementations.
- witness
- Support for optimism specific witness RPCs.
Structs§
- Admin
Api admin
API implementation.- Debug
Api debug
API implementation.- Engine
Api - The Engine API implementation that grants the Consensus layer access to data and functions in the Execution layer that are crucial for the consensus process.
- Engine
EthApi - A wrapper type for the
EthApi
andEthFilter
implementations that only expose the required subset for theeth_
namespace used in auth server alongside theengine_
namespace. - EthApi
Eth
API implementation.- EthApi
Builder - A helper to build the
EthApi
handler instance. - EthBundle
Eth
bundle implementation.- EthFilter
Eth
filter RPC implementation.- EthPub
Sub Eth
pubsub RPC implementation.- Miner
Api miner
API implementation.- NetApi
Net
API implementation.- OpEngine
Api - The Engine API implementation that grants the Consensus layer access to data and functions in the Execution layer that are crucial for the consensus process.
- OpEth
Api - OP-Reth
Eth
API implementation. - OpEth
ApiBuilder - Builds
OpEthApi
for Optimism. - OpReceipt
Builder - Builds an [
OpTransactionReceipt
]. - Otterscan
Api - Otterscan API.
- RPCApi
rpc
API implementation.- RethApi
reth
API implementation.- Sequencer
Client - A client to interact with a Sequencer
- Sync
Listener - This future resolves once the node is no longer syncing:
NetworkInfo::is_syncing
. - Trace
Api trace
API implementation.- TxPool
Api txpool
API implementation.- Validation
Api - The type that implements the
validation
rpc namespace trait - Validation
ApiConfig - Configuration for validation API.
- Web3Api
web3
API implementation.
Enums§
- OpEth
ApiError - Optimism specific errors, that extend
EthApiError
. - OpInvalid
Transaction Error - Optimism specific invalid transaction errors
- Sequencer
Client Error - Error type when interacting with the Sequencer
Constants§
- OP_
ENGINE_ CAPABILITIES - The list of all supported Engine capabilities available over the engine endpoint.
Traits§
- OpEngine
ApiClient - Client implementation for the
OpEngineApi
RPC API. - OpEngine
ApiServer - Server trait implementation for the
OpEngineApi
RPC API. - RpcTypes
- RPC types used by the
eth_
RPC API.