Helia
    Preparing search index...

    Interface Provider

    A provider can supply the content for a CID

    interface Provider {
        id: PeerId;
        multiaddrs: Multiaddr[];
        protocols?: string[];
    }

    Hierarchy

    Index

    Properties

    id: PeerId

    The identifier of the remote peer

    multiaddrs: Multiaddr[]

    The multiaddrs a peer is listening on

    protocols?: string[]

    If present these are the methods that the peer can supply the content via.

    If not present the caller should attempt to dial the remote peer and run the identify protocol to discover how to retrieve the content.

    Example values are (but not limited to):

    • transport-graphsync-filecoinv1
    • transport-ipfs-gateway-http
    • transport-bitswap