Skip to main content
GET
/
swaps
/
{id}
Retrieve Swap
curl --request GET \
  --url https://{defaultHost}/swaps/{id} \
  --header 'Authorization: Bearer <token>'
{
  "object": "swap",
  "id": "<string>",
  "account_id": "<string>",
  "status": "<string>",
  "tx_hashes": [
    "<string>"
  ],
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

A company API key, company scoped JWT, app API key, or user OAuth token.

Path Parameters

id
string
required

Swap ID returned from POST /swaps.

Response

swap status retrieved

object
enum<string>
required
Available options:
swap
id
string
required
account_id
string
required
status
string
required
tx_hashes
string[]
required
error
string | null