Skip to Content
API referencePulsar CoreSrcComponentsselectPendingTransactionsByActiveWallet()

@tuwaio/pulsar-core-monorepo


selectPendingTransactionsByActiveWallet()

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

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

Selects all pending transactions for a specific wallet address, sorted chronologically.

Type Parameters

T

T extends Transaction

The transaction type.

Parameters

transactionsPool

TransactionPool<T>

The entire transaction pool from the store.

from

string

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

Returns

T[]

An array of pending transactions for the given wallet.

Last updated on