Skip to main content

LinkedTable

@iota/audit-trails API documentation


Class: LinkedTable

Linked-table metadata for record storage.

Properties​

id​

id: string

Linked-table object ID.


size​

size: bigint

Declared number of entries in the table.

Accessors​

Get Signature​

get head(): bigint | undefined

Sequence number of the first entry, if any.

Returns​

bigint | undefined

Set Signature​

set head(value): void

Sequence number of the first entry, if any.

Parameters​
value​

bigint | null | undefined

Returns​

void


tail​

Get Signature​

get tail(): bigint | undefined

Sequence number of the last entry, if any.

Returns​

bigint | undefined

Set Signature​

set tail(value): void

Sequence number of the last entry, if any.

Parameters​
value​

bigint | 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