P2PInfo contains information for connecting to this node via P2P transport.

interface NodeP2PInfo {
    addresses: NodeAddress[];
    id: Uint8Array;
}

Properties

Properties

addresses: NodeAddress[]

Addresses is the list of addresses at which the node can be reached.

id: Uint8Array

ID is the unique identifier of the node on the P2P transport.