Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions 17.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,8 @@ Here, `subId` is a unique uuid generated by the wallet and allows the client to

```ts
enum SubscriptionKind {
bolt11_melt_quote = "bolt11_melt_quote",
bolt11_mint_quote = "bolt11_mint_quote",

bolt12_melt_quote = "bolt12_melt_quote",
bolt12_mint_quote = "bolt12_mint_quote",
melt_quote = "melt_quote",
mint_quote = "mint_quote",

proof_state = "proof_state",
}
Expand Down Expand Up @@ -251,7 +248,7 @@ Mints signal websocket support via [NUT-06][06] using the following setting:
}
```

Here, `commands` is an array of the commands that the mint supports. A mint that supports all commands would return `["bolt11_mint_quote", "bolt11_melt_quote", "bolt12_mint_quote", "bolt12_melt_quote", "proof_state"]`. Supported commands are given for each method-unit pair.
Here, `commands` is an array of the commands that the mint supports. A mint that supports all commands for a given method-unit pair would return `["mint_quote", "melt_quote", "proof_state"]`. Supported commands are given for each method-unit pair.

Example:

Expand All @@ -263,8 +260,8 @@ Example:
"method": "bolt11",
"unit": "sat",
"commands": [
"bolt11_mint_quote",
"bolt11_melt_quote",
"mint_quote",
"melt_quote",
"proof_state"
]
},
Expand Down
Loading