ERC4337 Data Libs
SentinelList
SentinelList4337Lib
getEntriesPaginated

getEntriesPaginated

Get all entries in the list, paginated.

Usage

(address[] memory array, address next) = list.getEntriesPaginated(account, address(3), 4);

Parameters

self

  • Type: SentinelList

The storage pointer of the list.

account

  • Type: address

The account address.

start

  • Type: address

The address to start the query from.

pageSize

  • Type: uint256

The number of entries to return.

Returns

array

  • Type: address[]

The array of entries.

next

  • Type: address

The next entry in the list.