Crates.io | linera-alloy-transport |
lib.rs | linera-alloy-transport |
version | 0.1.0 |
source | src |
created_at | 2024-06-01 08:20:27.91151 |
updated_at | 2024-06-01 08:20:27.91151 |
description | Low-level Ethereum JSON-RPC transport abstraction |
homepage | https://github.com/MathieuDutSik/alloy |
repository | https://github.com/MathieuDutSik/alloy |
max_upload_size | |
id | 1258560 |
size | 18,748 |
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 linera-alloy-provider crate, which provides a high-level API for interacting with JSON-RPC servers that provide the standard Ethereum RPC endpoints, or the [linera-alloy-rpc-client] crate, which provides a low-level JSON-RPC API without the specific Ethereum endpoints.
Alloy maintains the following transports: