Module rpc

Module rpc 

Source
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§

AdminApi
admin API implementation.
DebugApi
debug API implementation.
EngineApi
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.
EngineEthApi
A wrapper type for the EthApi and EthFilter implementations that only expose the required subset for the eth_ namespace used in auth server alongside the engine_ namespace.
EthApi
Eth API implementation.
EthApiBuilder
A helper to build the EthApi handler instance.
EthBundle
Eth bundle implementation.
EthFilter
Eth filter RPC implementation.
EthPubSub
Eth pubsub RPC implementation.
MinerApi
miner API implementation.
NetApi
Net API implementation.
OpEngineApi
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.
OpEthApi
OP-Reth Eth API implementation.
OpEthApiBuilder
Builds OpEthApi for Optimism.
OpReceiptBuilder
Builds an [OpTransactionReceipt].
OtterscanApi
Otterscan API.
RPCApi
rpc API implementation.
RethApi
reth API implementation.
SequencerClient
A client to interact with a Sequencer
SyncListener
This future resolves once the node is no longer syncing: NetworkInfo::is_syncing.
TraceApi
trace API implementation.
TxPoolApi
txpool API implementation.
ValidationApi
The type that implements the validation rpc namespace trait
ValidationApiConfig
Configuration for validation API.
Web3Api
web3 API implementation.

Enums§

OpEthApiError
Optimism specific errors, that extend EthApiError.
OpInvalidTransactionError
Optimism specific invalid transaction errors
SequencerClientError
Error type when interacting with the Sequencer

Constants§

OP_ENGINE_CAPABILITIES
The list of all supported Engine capabilities available over the engine endpoint.

Traits§

OpEngineApiClient
Client implementation for the OpEngineApi RPC API.
OpEngineApiServer
Server trait implementation for the OpEngineApi RPC API.
RpcTypes
RPC types used by the eth_ RPC API.