selectTxByKey()
selectTxByKey<
T>(transactionsPool,key):T|undefined
Defined in: store/transactionsSelectors.ts:38
Returns the transaction stored under a txKey.
Type Parameters
T
T extends Transaction
The application transaction type.
Parameters
transactionsPool
The transaction pool of the store.
key
string
The txKey of the transaction.
Returns
T | undefined
The transaction, or undefined if the pool has no such key.
Last updated on