@@ -608,23 +608,30 @@ The payload for a call follows this format:
608
608
609
609
``` json
610
610
{
611
- "onion_message" : {
612
- "pathsecret" : " 0000000000000000000000000000000000000000000000000000000000000000" ,
613
- "reply_first_node" : " 02df5ffe895c778e10f7742a6c5b8a0cefbe9465df58b92fadeb883752c8107c8f" ,
614
- "reply_blinding" : " 02df5ffe895c778e10f7742a6c5b8a0cefbe9465df58b92fadeb883752c8107c8f" ,
615
- "reply_path" : [ {"id" : " 02df5ffe895c778e10f7742a6c5b8a0cefbe9465df58b92fadeb883752c8107c8f" ,
616
- "encrypted_recipient_data" : " 0a020d0d" ,
617
- "blinding" : " 02df5ffe895c778e10f7742a6c5b8a0cefbe9465df58b92fadeb883752c8107c8f" } ],
618
- "invoice_request" : " 0a020d0d" ,
619
- "invoice" : " 0a020d0d" ,
620
- "invoice_error" : " 0a020d0d" ,
621
- "unknown_fields" : [ {"number" : 12345 , "value" : " 0a020d0d" } ]
622
- }
611
+ "onion_message" : {
612
+ "pathsecret" : " 0000000000000000000000000000000000000000000000000000000000000000" ,
613
+ "reply_first_node" : " 02df5ffe895c778e10f7742a6c5b8a0cefbe9465df58b92fadeb883752c8107c8f" ,
614
+ "reply_blinding" : " 02df5ffe895c778e10f7742a6c5b8a0cefbe9465df58b92fadeb883752c8107c8f" ,
615
+ "reply_path" : [
616
+ {
617
+ "id" : " 02df5ffe895c778e10f7742a6c5b8a0cefbe9465df58b92fadeb883752c8107c8f" ,
618
+ "encrypted_recipient_data" : " 0a020d0d" ,
619
+ "blinding" : " 02df5ffe895c778e10f7742a6c5b8a0cefbe9465df58b92fadeb883752c8107c8f"
620
+ }
621
+ ],
622
+ "invoice_request" : " 0a020d0d" ,
623
+ "invoice" : " 0a020d0d" ,
624
+ "invoice_error" : " 0a020d0d" ,
625
+ "unknown_fields" : [
626
+ {
627
+ "number" : 12345 ,
628
+ "value" : " 0a020d0d"
629
+ }
630
+ ]
631
+ }
623
632
}
624
633
```
625
634
626
-
627
-
628
635
All fields shown here are optional.
629
636
630
637
We suggest just returning ` {'result': 'continue'} ` ; any other result will cause the message not to be handed to any other hooks.
0 commit comments