Skip to Content
Packages@tuwaio/pulsar-coreFunctionsselectPendingTransactionsByActiveWallet()

selectPendingTransactionsByActiveWallet()

selectPendingTransactionsByActiveWallet<T>(transactionsPool, from): T[]

Defined in: store/transactionsSelectors.ts:69 

Returns the pending transactions sent by a wallet, oldest first. Addresses are compared case-insensitively.

Type Parameters

T

T extends Transaction

The application transaction type.

Parameters

transactionsPool

TransactionPool<T>

The transaction pool of the store.

from

string

The wallet address to match against the from field.

Returns

T[]

A new array of the wallet’s pending transactions, sorted chronologically.

Last updated on