Skip to main content

derivePendingSpentOutpoints

HardKAS SDK


HardKAS SDK / tx-builder/src / derivePendingSpentOutpoints

Function: derivePendingSpentOutpoints()

derivePendingSpentOutpoints(response, address): object

Defined in: packages/tx-builder/src/pending-spends.ts:67

The outpoints that address's SENDING mempool transactions spend, from a raw getMempoolEntriesByAddresses response (receiving entries never exclude anything).

Parameters​

response​

unknown

address​

string

Returns​

object

outpoints​

outpoints: Set<string>

sendingEntries​

sendingEntries: number