Skip to Content
API referencePulsar CoreSrcComponentsselectAllTransactionsByActiveWallet()

@tuwaio/pulsar-core-monorepo


selectAllTransactionsByActiveWallet()

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

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

Selects all transactions initiated by 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 transactions associated with the given wallet.

Last updated on