cURL
curl --request POST \ --url https://api.staging.kaleidoswap.com/api/v1/swaps/atomic/status \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "payment_hash": "9d342c6ba006e24abee84a2e034a22d5e30c1f2599fb9c3574d46d3cde3d65a2" } '
{ "swap": { "qty_from": 30, "qty_to": 10, "payment_hash": "7c2c95b9c2aa0a7d140495b664de7973b76561de833f0dd84def3efa08941664", "status": "Waiting", "requested_at": 1691160765, "expires_at": 1691172703, "from_asset": "rgb:2dkSTbr-jFhznbPmo-TQafzswCN-av4gTsJjX-ttx6CNou5-M98k8Zd", "to_asset": "rgb:2eVw8uw-8G88LQ2tQ-kexM12SoD-nCX8DmQrw-yLMu6JDfK-xx1SCfc", "initiated_at": 1691168512, "completed_at": 1691171075 } }
Check the current status of an atomic swap
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"9d342c6ba006e24abee84a2e034a22d5e30c1f2599fb9c3574d46d3cde3d65a2"
Successful Response
Show child attributes