Skip to Content

TxInMemoryPagination

TxInMemoryPagination = object

Defined in: types.ts:624 

The pagination state and action of the in-memory history store, as consumed by UI components.

Properties

currentPage

currentPage: number

Defined in: types.ts:632 

The last loaded page number.


fetchNextPage

fetchNextPage: (walletAddress) => Promise<void>

Defined in: types.ts:638 

Loads the page after currentPage and merges it into the pool. Does nothing while loading, when hasMore is false, or without getHistory.

Parameters

walletAddress

string

The wallet whose history is loaded.

Returns

Promise<void>


hasMore

hasMore: boolean

Defined in: types.ts:630 

true when the last loaded page reported a next page.


isError

isError: boolean

Defined in: types.ts:628 

true when the last history request failed.


isLoading

isLoading: boolean

Defined in: types.ts:626 

true while a history page is loading.

Last updated on