diff options
Diffstat (limited to '47.md')
| -rw-r--r-- | 47.md | 10 |
1 files changed, 4 insertions, 6 deletions
| @@ -173,7 +173,7 @@ Request: | |||
| 173 | "amount": 123, // invoice amount in msats, required | 173 | "amount": 123, // invoice amount in msats, required |
| 174 | "pubkey": "03...", // payee pubkey, required | 174 | "pubkey": "03...", // payee pubkey, required |
| 175 | "preimage": "0123456789abcdef...", // preimage of the payment, optional | 175 | "preimage": "0123456789abcdef...", // preimage of the payment, optional |
| 176 | "tlv_records: [ // tlv records, optional | 176 | "tlv_records": [ // tlv records, optional |
| 177 | { | 177 | { |
| 178 | "type": 5482373484, // tlv type | 178 | "type": 5482373484, // tlv type |
| 179 | "value": "0123456789abcdef" // hex encoded tlv value | 179 | "value": "0123456789abcdef" // hex encoded tlv value |
| @@ -208,7 +208,7 @@ Request: | |||
| 208 | "method": "multi_pay_keysend", | 208 | "method": "multi_pay_keysend", |
| 209 | "params": { | 209 | "params": { |
| 210 | "keysends": [ | 210 | "keysends": [ |
| 211 | {"id": "4c5b24a351", pubkey": "03...", "amount": 123}, | 211 | {"id": "4c5b24a351", "pubkey": "03...", "amount": 123}, |
| 212 | {"id": "3da52c32a1", "pubkey": "02...", "amount": 567, "preimage": "abc123..", "tlv_records": [{"type": 696969, "value": "77616c5f6872444873305242454d353736"}]}, | 212 | {"id": "3da52c32a1", "pubkey": "02...", "amount": 567, "preimage": "abc123..", "tlv_records": [{"type": 696969, "value": "77616c5f6872444873305242454d353736"}]}, |
| 213 | ], | 213 | ], |
| 214 | } | 214 | } |
| @@ -358,8 +358,7 @@ Request: | |||
| 358 | ```jsonc | 358 | ```jsonc |
| 359 | { | 359 | { |
| 360 | "method": "get_balance", | 360 | "method": "get_balance", |
| 361 | "params": { | 361 | "params": {} |
| 362 | } | ||
| 363 | } | 362 | } |
| 364 | ``` | 363 | ``` |
| 365 | 364 | ||
| @@ -379,8 +378,7 @@ Request: | |||
| 379 | ```jsonc | 378 | ```jsonc |
| 380 | { | 379 | { |
| 381 | "method": "get_info", | 380 | "method": "get_info", |
| 382 | "params": { | 381 | "params": {} |
| 383 | } | ||
| 384 | } | 382 | } |
| 385 | ``` | 383 | ``` |
| 386 | 384 | ||