@arkade-os/sdk Documentation - v0.4.54
    Preparing search index...

    Function hasTerminalSpend

    • Whether a virtual output has been consumed and can never be spent again.

      Parameters

      Returns boolean

      Unions all three spend facts rather than trusting any one of them. The wire contract permits isSpent: true with an empty spentBy (settlement inputs needing no forfeit are written that way), so a spentBy || settledBy definition would classify a spent VTXO as spendable — inflating balance and selecting it for a send that must fail.