interface PeerId {
    multihash: MultihashDigest<number>;
    privateKey?: Uint8Array;
    publicKey?: Uint8Array;
    type: string;
    equals(other?): boolean;
    toBytes(): Uint8Array;
    toCID(): CID<unknown, number, number, Version>;
    toString(): string;
}

Hierarchy (view full)

Properties

multihash: MultihashDigest<number>
privateKey?: Uint8Array
publicKey?: Uint8Array
type: string

Methods