Expand description
Substrate bitswap RPC API.
Provides methods for retrieving indexed transaction data by CID:
bitswap_unstable_get— single CID, returns the chunk or a top-level error.bitswap_v1_getis registered as an alias during the migration tounstable_.bitswap_unstable_stream— subscription that emits per-CID outcomes (taggedstreamItem/streamItemError) as they are looked up, followed by astreamDoneend-of-stream marker.bitswap_unstable_unstream— cancel an activebitswap_unstable_streamsubscription.
Re-exports§
pub use api::BitswapApiServer;pub use bitswap::Bitswap;