Skip to main content

Interface: ObjectDigestLike

The digest of an Object.

Methods​

isAlive()​

isAlive(): boolean;

Returns whether the digest represents an object that is neither deleted nor wrapped.

Returns​

boolean


isDeleted()​

isDeleted(): boolean;

Returns whether the digest represents a deleted object.

Returns​

boolean


isWrapped()​

isWrapped(): boolean;

Returns whether the digest represents an object wrapped in another object.

Returns​

boolean


nextLexicographical()​

nextLexicographical(): ObjectDigestLike;

Returns the next digest in byte-increasing order.

Returns​

ObjectDigestLike


nextLexicographicalOpt()​

nextLexicographicalOpt(): ObjectDigestLike | undefined;

Returns the next digest in byte-increasing order, or None if the result would overflow.

Returns​

ObjectDigestLike | undefined


toBase58()​

toBase58(): string;

Returns​

string


toBytes()​

toBytes(): ArrayBuffer;

Returns​

ArrayBuffer