interface Ed25519PeerId {
    publicKey: Ed25519PublicKey;
    type: "Ed25519";
    equals(other?): boolean;
    toCID(): CID<Uint8Array, 114, 0, 1>;
    toMultihash(): MultihashDigest<0>;
    toString(): string;
}

Properties

publicKey: Ed25519PublicKey

This will always be defined as the public key is embedded in the multihash of this PeerId

type: "Ed25519"

Methods