case class Bolt11Invoice(prefix: String, amount_opt: Option[MilliSatoshi], createdAt: TimestampSecond, nodeId: PublicKey, tags: List[TaggedField], signature: ByteVector)
Lightning Bolt 11 invoice see https://github.com/lightning/bolts/blob/master/11-payment-encoding.md
- Value parameters:
- amount_opt
amount to pay (empty string means no amount is specified)
- createdAt
invoice timestamp (UNIX format)
- nodeId
id of the node emitting the invoice
- prefix
currency prefix; lnbc for bitcoin, lntb for bitcoin testnet
- signature
invoice signature that will be checked against node id
- tags
payment tags; must include a single PaymentHash tag and a single PaymentSecret tag.
- Companion:
- object
- Source:
- Bolt11Invoice.scala
Value members
Concrete methods
- Returns:
the fallback address if any. It could be a script address, pubkey address, ..
- Source:
- Bolt11Invoice.scala