Crate ethportal_api

Source
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§

discv5
types
utils
version

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§

BeaconNetworkApiClient
Client implementation for the BeaconNetworkApi RPC API.
BeaconNetworkApiServer
Server trait implementation for the BeaconNetworkApi RPC API.
EthApiClient
Client implementation for the EthApi RPC API.
EthApiServer
Server trait implementation for the EthApi RPC API.
HistoryNetworkApiClient
Client implementation for the HistoryNetworkApi RPC API.
HistoryNetworkApiServer
Server trait implementation for the HistoryNetworkApi RPC API.
StateNetworkApiClient
Client implementation for the StateNetworkApi RPC API.
StateNetworkApiServer
Server trait implementation for the StateNetworkApi RPC API.
Web3ApiClient
Client implementation for the Web3Api RPC API.
Web3ApiServer
Server trait implementation for the Web3Api RPC API.