You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -807,6 +818,8 @@ Besides you can query all payments that you sent or received.
807
818
:reqjson string amount: Amount to be sent to the target
808
819
:reqjson string identifier: Identifier of the payment (optional)
809
820
:reqjson string lock_timeout: lock timeout, in blocks, to be used with the payment. Default is 2 * channel's reveal_timeout, Value must be greater than channel's reveal_timeout (optional)
821
+
:reqjson string secret: secret for the HTL, if this should not be randomly generated (optional)
822
+
:reqjson string secret_hash: The hash of the provided secret (``sha256(secret)``) this feature currently only works if ``secret`` is provided. If ``secret`` is provided, but ``secret_hash`` is omitted the hash will be calculated by the client automatically (optional)
810
823
:reqjson string path: static route to the target node (optional)
811
824
812
825
@@ -868,7 +881,7 @@ This endpoint can be used to deposit to and withdraw from the UDC.
868
881
"total_deposit": "200000"
869
882
}
870
883
871
-
:reqjson string total_deposit: The total deposit token amount. Should be the sum of the current value and the desired deposit.
884
+
:reqjson string total_deposit: The total deposit token amount. Should be the sum of the current total value and the desired (relative) deposit.
872
885
873
886
**Example Response**:
874
887
@@ -1021,7 +1034,7 @@ The connections endpoints allow you to query details about all joined token netw
1021
1034
1022
1035
The request might take some time because it will only return once all blockchain calls for closing and settling a channel have been completed.
1023
1036
1024
-
The response is a list with the addresses of all closed channels.
1037
+
The response is a list of all the channel state objects of the channels that have been closed.
1025
1038
1026
1039
**Example Request**:
1027
1040
@@ -1038,11 +1051,35 @@ The connections endpoints allow you to query details about all joined token netw
0 commit comments