Crate op_alloy_network

source
Expand description

§op-alloy-network

op-alloy-network crate

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§

Structs§

Enums§

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 given Signature type.
  • Synchronous transaction signer, capable of signing any [SignableTransaction] for the given Signature type.

Type Aliases§