Skip to content

Commit

Permalink
feat: add that amount must be in msat
Browse files Browse the repository at this point in the history
  • Loading branch information
thesimplekid committed Dec 3, 2024
1 parent 623971c commit 1a976ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 05.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The wallet `Alice` includes the following `PostMeltQuoteBolt11Request` data in i
}
```

Here, `request` is the bolt11 Lightning invoice to be paid and `unit` is the unit the wallet would like to pay with. `amount` **MAY** be passed to pay amountless bolt11 invoices. For bolt11 invoices with an amount, the `amount` field **MUST** be equal to the amount of the bolt11 invoice if included. The request **MAY** be an amountless invoice only if support for amountless invoices is signaled in the `MeltMethodSettings`.
Here, `request` is the bolt11 Lightning invoice to be paid and `unit` is the unit the wallet would like to pay with. `amount` **MAY** be passed to pay amountless bolt11 invoices. The `amount` **MUST** be in msat and if the bolt11 invoice has an amount, the `amount` field **MUST** be equal to the amount of the bolt11 invoice. The request **MAY** be an amountless invoice only if support for amountless invoices is signaled in the `MeltMethodSettings`.

The mint `Bob` then responds with a `PostMeltQuoteBolt11Response`:

Expand Down

0 comments on commit 1a976ca

Please sign in to comment.