Struct Invoice

struct Invoice ;

Fields

NameTypeDescription
amount AmountThe amount to pay for this invoice.
description stringInvoice description. Useful for user-facing UIs (kiosks), may be empty.
destination agora.crypto.ECC.PointPayment destination
expiry longThe expiry time of this invoice. A node will (?) reject payments to an invoice if the payment is received after the expiry time.
payment_hash geod24.bitblob.BitBlob!(64L)Hash of the secret. Also known as the payment hash.