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

selectAllTransactionsByActiveWallet()

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

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

Returns the transactions sent by a wallet, oldest first. An EVM address matches in any case, a Solana address exactly.

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 transactions, sorted chronologically.

Last updated on