Skip to Content
API referencePulsar CoreSrcComponentsselectPendingTransactionsByActiveWallet()

@tuwaio/pulsar-core-monorepo


selectPendingTransactionsByActiveWallet()

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

Defined in: packages/pulsar-core/src/store/transactionsSelectors.ts:72 

Selects all pending transactions initiated by a specific wallet address.

Type Parameters

TR

TR

The type of the tracker identifier.

T

T extends Transaction<TR>

The transaction type.

Parameters

transactionsPool

TransactionPool<TR, T>

The entire pool of transactions from the store.

from

string

The wallet address (from address) to filter transactions by.

Returns

T[]

An array of pending transactions associated with the given wallet.

Last updated on