Expand description
§ethportal-api
ethportal_api
is a collection of Portal Network APIs and types.
Re-exports§
pub use discv5::Discv5ApiClient;
pub use discv5::Discv5ApiServer;
pub use types::consensus;
pub use types::consensus::light_client;
pub use types::content_key::beacon::BeaconContentKey;
pub use types::content_key::beacon::LightClientBootstrapKey;
pub use types::content_key::beacon::LightClientUpdatesByRangeKey;
pub use types::content_key::error::ContentKeyError;
pub use types::content_key::history::BlockBodyKey;
pub use types::content_key::history::BlockReceiptsKey;
pub use types::content_key::history::HistoryContentKey;
pub use types::content_key::overlay::IdentityContentKey;
pub use types::content_key::overlay::OverlayContentKey;
pub use types::content_key::state::StateContentKey;
pub use types::content_value::beacon::BeaconContentValue;
pub use types::content_value::error::ContentValueError;
pub use types::content_value::history::HistoryContentValue;
pub use types::content_value::state::StateContentValue;
pub use types::content_value::ContentValue;
pub use types::portal::RawContentKey;
pub use types::portal::RawContentValue;
pub use jsonrpsee;
pub use types::discv5::*;
pub use types::enr::*;
pub use types::execution::block_body::*;
pub use types::execution::receipts::*;
pub use types::node_id::*;
Modules§
Macros§
- map_
attestation - map_
attestation_ ref - map_
attestation_ ref_ mut - map_
attester_ slashing - map_
attester_ slashing_ ref - map_
attester_ slashing_ ref_ mut - map_
beacon_ block - map_
beacon_ block_ body - map_
beacon_ block_ body_ ref - map_
beacon_ block_ body_ ref_ mut - map_
beacon_ block_ ref - map_
beacon_ block_ ref_ mut - map_
beacon_ state - map_
beacon_ state_ ref - map_
beacon_ state_ ref_ mut - map_
execution_ payload - map_
execution_ payload_ header - map_
execution_ payload_ header_ ref - map_
execution_ payload_ header_ ref_ mut - map_
execution_ payload_ ref - map_
execution_ payload_ ref_ mut - map_
indexed_ attestation - map_
indexed_ attestation_ ref - map_
indexed_ attestation_ ref_ mut - map_
light_ client_ bootstrap - map_
light_ client_ bootstrap_ ref - map_
light_ client_ bootstrap_ ref_ mut - map_
light_ client_ finality_ update - map_
light_ client_ finality_ update_ ref - map_
light_ client_ finality_ update_ ref_ mut - map_
light_ client_ header - map_
light_ client_ header_ ref - map_
light_ client_ header_ ref_ mut - map_
light_ client_ optimistic_ update - map_
light_ client_ optimistic_ update_ ref - map_
light_ client_ optimistic_ update_ ref_ mut - map_
light_ client_ update - map_
light_ client_ update_ ref - map_
light_ client_ update_ ref_ mut - map_
signed_ beacon_ block - map_
signed_ beacon_ block_ ref - map_
signed_ beacon_ block_ ref_ mut
Traits§
- Beacon
Network ApiClient - Client implementation for the
BeaconNetworkApi
RPC API. - Beacon
Network ApiServer - Server trait implementation for the
BeaconNetworkApi
RPC API. - EthApi
Client - Client implementation for the
EthApi
RPC API. - EthApi
Server - Server trait implementation for the
EthApi
RPC API. - History
Network ApiClient - Client implementation for the
HistoryNetworkApi
RPC API. - History
Network ApiServer - Server trait implementation for the
HistoryNetworkApi
RPC API. - State
Network ApiClient - Client implementation for the
StateNetworkApi
RPC API. - State
Network ApiServer - Server trait implementation for the
StateNetworkApi
RPC API. - Web3
ApiClient - Client implementation for the
Web3Api
RPC API. - Web3
ApiServer - Server trait implementation for the
Web3Api
RPC API.