mirror of
https://github.com/edufeed-org/nips.git
synced 2025-12-09 16:24:32 +00:00
format(all): json formatting
This commit is contained in:
parent
b4a2561df7
commit
e6552476aa
36 changed files with 206 additions and 194 deletions
10
47.md
10
47.md
|
|
@ -173,7 +173,7 @@ Request:
|
|||
"amount": 123, // invoice amount in msats, required
|
||||
"pubkey": "03...", // payee pubkey, required
|
||||
"preimage": "0123456789abcdef...", // preimage of the payment, optional
|
||||
"tlv_records: [ // tlv records, optional
|
||||
"tlv_records": [ // tlv records, optional
|
||||
{
|
||||
"type": 5482373484, // tlv type
|
||||
"value": "0123456789abcdef" // hex encoded tlv value
|
||||
|
|
@ -208,7 +208,7 @@ Request:
|
|||
"method": "multi_pay_keysend",
|
||||
"params": {
|
||||
"keysends": [
|
||||
{"id": "4c5b24a351", pubkey": "03...", "amount": 123},
|
||||
{"id": "4c5b24a351", "pubkey": "03...", "amount": 123},
|
||||
{"id": "3da52c32a1", "pubkey": "02...", "amount": 567, "preimage": "abc123..", "tlv_records": [{"type": 696969, "value": "77616c5f6872444873305242454d353736"}]},
|
||||
],
|
||||
}
|
||||
|
|
@ -358,8 +358,7 @@ Request:
|
|||
```jsonc
|
||||
{
|
||||
"method": "get_balance",
|
||||
"params": {
|
||||
}
|
||||
"params": {}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
@ -379,8 +378,7 @@ Request:
|
|||
```jsonc
|
||||
{
|
||||
"method": "get_info",
|
||||
"params": {
|
||||
}
|
||||
"params": {}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue