Build UNSIGNED refund (after the timelock)

post/v1/swaps/{id}/legs/{leg}/refund

Request

  • Base URL: https://api.hashlock.markets
  • URL: https://api.hashlock.markets/v1/swaps/{id}/legs/{leg}/refund
  • Auth: HTTP bearer

Path parameters

idstring required
leg'a' | 'b' required

Query parameters

escrowstring

bitcoin only: refund an escrow this leg moved OFF (after a pubkey correction) instead of its current one; refused for an address that was never this leg's escrow

Response

signing material

object required

Changes

No recorded changes to this operation across all 1 revision of this API.