Skip to main content

PaginatedRecord

@iota/audit-trails API documentation


Class: PaginatedRecord

One page of records returned by TrailRecords.listPage.

Properties​

hasNextPage​

hasNextPage: boolean

Indicates whether another page may be available.


records​

records: Record[]

Records included in the current page, ordered by sequence number.

Accessors​

nextCursor​

Get Signature​

get nextCursor(): bigint | undefined

Cursor to pass to the next TrailRecords.listPage call.

Returns​

bigint | undefined

Set Signature​

set nextCursor(value): void

Cursor to pass to the next TrailRecords.listPage call.

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