Qortal Project

The future of blockchain platforms

User Tools

Site Tools


trade_portal_coin_recovery

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
trade_portal_coin_recovery [02/26/2022 13:20] – Rewritten as previous methods were out of date caldescenttrade_portal_coin_recovery [02/26/2022 15:49] caldescent
Line 13: Line 13:
 [[http://localhost:12391/api-documentation/#/Cross-Chain%20(Hash%20time-locked%20contracts)/refundAllHtlc|http://localhost:12391/api-documentation/#/Cross-Chain%20(Hash%20time-locked%20contracts)/refundAllHtlc]] [[http://localhost:12391/api-documentation/#/Cross-Chain%20(Hash%20time-locked%20contracts)/refundAllHtlc|http://localhost:12391/api-documentation/#/Cross-Chain%20(Hash%20time-locked%20contracts)/refundAllHtlc]]
  
-Expand "POST /crosschain/htlc/refundAll", click "Try it out", paste the API key, then click "Execute".+Under "POST /crosschain/htlc/refundAll", click "Try it out", paste the API key, then click "Execute".
  
 `true` will be returned if anything was able to be refunded. `false` will be returned if there is nothing to refund. Alternatively, an error will be returned if it's unable to run the refund process. `true` will be returned if anything was able to be refunded. `false` will be returned if there is nothing to refund. Alternatively, an error will be returned if it's unable to run the refund process.
  
 As an alternative to the link above, you can use the command line (replace `apiKeyGoesHere` with your API key): As an alternative to the link above, you can use the command line (replace `apiKeyGoesHere` with your API key):
-```curl -X POST "http://localhost:62391/crosschain/htlc/refundAll" -H  "accept: text/plain" -H  "X-API-KEY: apiKeyGoesHere"```+ 
 +''curl -X POST "http://localhost:12391/crosschain/htlc/refundAll" -H  "accept: text/plain" -H  "X-API-KEY: apiKeyGoesHere"''
  
 Either method is fine and they both achieve the same result. Either method is fine and they both achieve the same result.
trade_portal_coin_recovery.txt · Last modified: 10/06/2022 14:50 by caldescent