Skip to Content

selectAllTransactions()

selectAllTransactions<T>(transactionsPool): T[]

Defined in: store/transactionsSelectors.ts:15 

Returns every transaction of the pool, oldest first (by localTimestamp).

Type Parameters

T

T extends Transaction

The application transaction type.

Parameters

transactionsPool

TransactionPool<T>

The transaction pool of the store.

Returns

T[]

A new array of all transactions, sorted chronologically.

Last updated on