Skip to main content

ObjectIdLinkedTable

@iota/audit-trails API documentation


Class: ObjectIdLinkedTable

Linked-table metadata keyed by object IDs.

Properties

id

id: string

Linked-table object ID.


size

size: bigint

Declared number of entries in the table.

Accessors

Get Signature

get head(): string | undefined

Object ID of the first entry, if any.

Returns

string | undefined

Set Signature

set head(value): void

Object ID of the first entry, if any.

Parameters
value

string | null | undefined

Returns

void


tail

Get Signature

get tail(): string | undefined

Object ID of the last entry, if any.

Returns

string | undefined

Set Signature

set tail(value): void

Object ID of the last entry, if any.

Parameters
value

string | null | undefined

Returns

void

Methods

toJSON()

toJSON(): Object

  • Return copy of self without private attributes.

Returns

Object


toString()

toString(): string

Return stringified version of self.

Returns

string