Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add amount to nut05 #173

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
3 changes: 2 additions & 1 deletion 05.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ The wallet `Alice` includes the following `PostMeltQuoteBolt11Request` data in i
{
"request": <str>,
"unit": <str_enum["sat"]>
thesimplekid marked this conversation as resolved.
Show resolved Hide resolved
"amount": <int|null>
}
```

Here, `request` is the bolt11 Lightning invoice to be paid and `unit` is the unit the wallet would like to pay with.
Here, `request` is the bolt11 Lightning invoice to be paid and `unit` is the unit the wallet would like to pay with. `amount` is the amount to be paid if the invoice does not have a defined amount.

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

Expand Down