Expand description
§op-alloy-network
Optimism blockchain RPC behavior abstraction.
This crate contains a simple abstraction of the RPC behavior of an Op-stack blockchain. It is intended to be used by the Alloy client to provide a consistent interface to the rest of the library, regardless of changes the underlying blockchain makes to the RPC interface.
Modules§
- EIP-2718 traits.
- alloy-network-primitives
Structs§
- Types for a catch-all network.
- Transaction type for a catch-all network.
- Types for a mainnet-like Ethereum network.
- A wallet capable of signing any transaction for the Ethereum network.
- Types for an Op-stack network.
- An unbuilt transaction, along with some error.
Enums§
- Error type for transaction builders.
Traits§
- Block JSON-RPC response.
- Header JSON-RPC response.
- Captures type info for network-specific RPC requests/responses.
- A wallet capable of signing any transaction for the given network.
- Receipt JSON-RPC response.
- A Transaction builder for a network.
- Transaction builder type supporting EIP-4844 transaction fields.
- Transaction builder type supporting EIP-7702 transaction fields.
- Transaction JSON-RPC response. Aggregates transaction data with its block and signer context.
- Asynchronous transaction signer, capable of signing any [
SignableTransaction
] for the givenSignature
type. - Synchronous transaction signer, capable of signing any [
SignableTransaction
] for the givenSignature
type.
Type Aliases§
- Result type for transaction builders