alloy-transport

Crates.ioalloy-transport
lib.rsalloy-transport
version0.1.4
sourcesrc
created_at2023-11-15 21:28:58.944095
updated_at2024-07-08 13:14:18.999018
descriptionLow-level Ethereum JSON-RPC transport abstraction
homepagehttps://github.com/alloy-rs/alloy
repositoryhttps://github.com/alloy-rs/alloy
max_upload_size
id1036855
size40,664
core (github:alloy-rs:core)

documentation

README

alloy-transport

Low-level Ethereum JSON-RPC transport abstraction.

This crate handles RPC connection and request management. It builds an RpcClient on top of the tower Service abstraction, and provides futures for simple and batch RPC requests as well as a unified TransportError type.

Typically, this crate should not be used directly. Most EVM users will want to use the alloy-provider crate, which provides a high-level API for interacting with JSON-RPC servers that provide the standard Ethereum RPC endpoints, or the [alloy-rpc-client] crate, which provides a low-level JSON-RPC API without the specific Ethereum endpoints.

Transports

Alloy maintains the following transports:

Commit count: 793

cargo fmt