libp2p
    Preparing search index...

    Interface URLPeerId

    interface URLPeerId {
        publicKey: undefined;
        type: "url";
        equals(other?: any): boolean;
        toCID(): CID<Uint8Array<ArrayBufferLike>, 2336, 0, 1>;
        toMultihash(): MultihashDigest<0>;
        toString(): string;
    }
    Index
    publicKey: undefined

    This will always be undefined as URL Peers do not have public keys

    type: "url"
    • Returns true if the passed argument is equivalent to this PeerId

      Parameters

      • Optionalother: any

      Returns boolean