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

Properties

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

type: "secp256k1"

Methods