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
ethnamespace API. - historical
- Client support for optimism historical RPC requests.
- metrics
- RPC metrics unique for OP-stack.
- miner
- Miner API extension for OP.
- sequencer
- Helpers for optimism specific RPC implementations.
- witness
- Support for optimism specific witness RPCs.
Structs§
- Admin
Api adminAPI implementation.- Debug
Api debugAPI 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
EthApiandEthFilterimplementations that only expose the required subset for theeth_namespace used in auth server alongside theengine_namespace. - EthApi
EthAPI implementation.- EthApi
Builder - A helper to build the
EthApihandler instance. - EthBundle
Ethbundle implementation.- EthFilter
Ethfilter RPC implementation.- EthPub
Sub Ethpubsub RPC implementation.- Miner
Api minerAPI implementation.- NetApi
NetAPI 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
EthAPI implementation. - OpEth
ApiBuilder - Builds
OpEthApifor Optimism. - OpReceipt
Builder - Builds an [
OpTransactionReceipt]. - Otterscan
Api - Otterscan API.
- RPCApi
rpcAPI implementation.- RethApi
rethAPI implementation.- Sequencer
Client - A client to interact with a Sequencer
- Sequencer
Metrics - Optimism sequencer metrics
- Sync
Listener - This future resolves once the node is no longer syncing:
NetworkInfo::is_syncing. - Trace
Api traceAPI implementation.- TxPool
Api txpoolAPI implementation.- Validation
Api - The type that implements the
validationrpc namespace trait - Validation
ApiConfig - Configuration for validation API.
- Web3Api
web3API 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
OpEngineApiRPC API. - OpEngine
ApiServer - Server trait implementation for the
OpEngineApiRPC API. - RpcTypes
- RPC types used by the
eth_RPC API.
Type Aliases§
- DynRpc
Converter - Boxed RPC converter.