swaps wired
This commit is contained in:
parent
ec2d48664a
commit
f20d40e44f
21 changed files with 679 additions and 137 deletions
|
|
@ -198,6 +198,11 @@ The nostr server will send back a message response, and inside the body there wi
|
|||
- input: [SingleMetricReq](#SingleMetricReq)
|
||||
- output: [UsageMetricTlv](#UsageMetricTlv)
|
||||
|
||||
- GetTransactionSwapQuote
|
||||
- auth type: __User__
|
||||
- input: [TransactionSwapRequest](#TransactionSwapRequest)
|
||||
- output: [TransactionSwapQuote](#TransactionSwapQuote)
|
||||
|
||||
- GetUsageMetrics
|
||||
- auth type: __Metrics__
|
||||
- input: [LatestUsageMetricReq](#LatestUsageMetricReq)
|
||||
|
|
@ -708,6 +713,13 @@ The nostr server will send back a message response, and inside the body there wi
|
|||
- input: [SingleMetricReq](#SingleMetricReq)
|
||||
- output: [UsageMetricTlv](#UsageMetricTlv)
|
||||
|
||||
- GetTransactionSwapQuote
|
||||
- auth type: __User__
|
||||
- http method: __post__
|
||||
- http route: __/api/user/swap/quote__
|
||||
- input: [TransactionSwapRequest](#TransactionSwapRequest)
|
||||
- output: [TransactionSwapQuote](#TransactionSwapQuote)
|
||||
|
||||
- GetUsageMetrics
|
||||
- auth type: __Metrics__
|
||||
- http method: __post__
|
||||
|
|
@ -1450,6 +1462,7 @@ The nostr server will send back a message response, and inside the body there wi
|
|||
- __address__: _string_
|
||||
- __amoutSats__: _number_
|
||||
- __satsPerVByte__: _number_
|
||||
- __swap_operation_id__: _string_ *this field is optional
|
||||
|
||||
### PayAddressResponse
|
||||
- __network_fee__: _number_
|
||||
|
|
@ -1554,6 +1567,16 @@ The nostr server will send back a message response, and inside the body there wi
|
|||
- __page__: _number_
|
||||
- __request_id__: _number_ *this field is optional
|
||||
|
||||
### TransactionSwapQuote
|
||||
- __chain_fee_sats__: _number_
|
||||
- __invoice_amount_sats__: _number_
|
||||
- __swap_fee_sats__: _number_
|
||||
- __swap_operation_id__: _string_
|
||||
- __transaction_amount_sats__: _number_
|
||||
|
||||
### TransactionSwapRequest
|
||||
- __transaction_amount_sats__: _number_
|
||||
|
||||
### UpdateChannelPolicyRequest
|
||||
- __policy__: _[ChannelPolicy](#ChannelPolicy)_
|
||||
- __update__: _[UpdateChannelPolicyRequest_update](#UpdateChannelPolicyRequest_update)_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue