observePendingSpends
HardKAS SDK / tx-builder/src / observePendingSpends
Function: observePendingSpends()
observePendingSpends(
rpc,address,observedAtDaaScore?):Promise<{evidence:PendingSpendEvidence;outpoints:Set<string>; }>
Defined in: packages/tx-builder/src/pending-spends.ts:98
ONE mempool observation for address, or a fail-closed refusal
(PENDING_SPEND_EVIDENCE_UNAVAILABLE) when the node cannot answer or the client
cannot ask.
Parameters
rpc
address
string
observedAtDaaScore?
bigint
Returns
Promise<{ evidence: PendingSpendEvidence; outpoints: Set<string>; }>