Skip to main content
POST
Recover swapAuth

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Swap ID

Body

application/json
challenge
string
required
signature
string
required

BIP340 Schnorr signature (64 bytes hex) over SHA256(domain || canonical 26-byte uppercase swap ID || decoded 72-byte challenge). Domain is kaleidoswap/swap-auth-recovery/v1 followed by one zero byte.

Response

Existing swap credential recovered after verifying taker key ownership

swapAuth
string
required