diff --git a/04.md b/04.md index edaf904..e3f7a28 100644 --- a/04.md +++ b/04.md @@ -23,11 +23,12 @@ The wallet of `Alice` includes the following `PostMintQuoteBolt11Request` data i ```json { "amount": , - "unit": + "unit": , + "description": } ``` -with the requested `amount` and the `unit`. +with the requested `amount` and the `unit`. An optional `description` can be passed if the mint signals support for it in `MintMethodSetting`. The mint `Bob` then responds with a `PostMintQuoteBolt11Response`: @@ -206,7 +207,8 @@ The settings for this nut indicate the supported method-unit pairs for minting a "method": , "unit": , "min_amount": , - "max_amount": + "max_amount": , + "description": } ``` @@ -219,7 +221,8 @@ Example `MintMethodSetting`: "method": "bolt11", "unit": "sat", "min_amount": 0, - "max_amount": 10000 + "max_amount": 10000, + "description": true } ```