Crates.io | alloy-transport |
lib.rs | alloy-transport |
version | 0.1.4 |
source | src |
created_at | 2023-11-15 21:28:58.944095 |
updated_at | 2024-07-08 13:14:18.999018 |
description | Low-level Ethereum JSON-RPC transport abstraction |
homepage | https://github.com/alloy-rs/alloy |
repository | https://github.com/alloy-rs/alloy |
max_upload_size | |
id | 1036855 |
size | 40,664 |
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.
Alloy maintains the following transports: