libp2p
    Preparing search index...

    Interface Provider

    A PeerInfo is a lightweight object that represents a remote peer, it can be obtained from peer discovery mechanisms, HTTP RPC endpoints, etc.

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

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    id: PeerId

    The identifier of the remote peer

    multiaddrs: Multiaddr[]

    The multiaddrs a peer is listening on

    routing: string

    Which routing subsystem found the provider