purpose property

String? get purpose

What this payment is for, as the wallet recorded it (bead libspiffy-fzjv; see DeferredPayment.purpose).

The values the wallet sets itself are in DeferredPaymentPurpose: a reclaim's self-spend carries reclaim:<txid of the payment it reclaims>, and reclaimsTxid reads that txid off it.

Implementation

String? get purpose => payment.purpose;