Set your receive (payout) / refund address for a leg
Set your receive (payout) / refund address for a leg. Bitcoin: the compressed pubkey (hex) — the P2WSH is derived once both sides are set. Required before funding. An address that RECEIVES money — the payout one, and on Bitcoin and Solana the refund one too — must be a wallet this account signed in with, one proven with the login wallet's authorisation (POST /v1/wallets/<chain> with authorization), or one proved from a signed-in wallet session on the web (for Bitcoin, the pubkey of such an address). A proof made with an API key alone widens what you can trade but does not count here, so a leaked key cannot redirect your money.
post/v1/swaps/{id}/address
Request
- Base URL: https://api.hashlock.markets
- URL: https://api.hashlock.markets/v1/swaps/{id}/address
- Auth: HTTP bearer
Path parameters
idstring required
Request body
Response
ok
Changes
No recorded changes to this operation across all 1 revision of this API.