Skip to main content

consumeExitReceipt

@totemsdk/omnia-vtxo


@totemsdk/omnia-vtxo / consumeExitReceipt

Function: consumeExitReceipt()

consumeExitReceipt(vtxo, receiptId, now?): OmniaVtxo

Consume a VTXO's exit receipt — the single-spend marker that prevents a second exit draft for the same VTXO. Returns the updated VTXO.

Parameters

vtxo

OmniaVtxo

receiptId

string

now?

number

Returns

OmniaVtxo