OpenAPI 3.1.02026-08-143874115.7 MB

a84d4905fdbb

Swaps

List Swaps

Retrieve the account's completed or pending swaps — currently just the latest one.

get/swaps

Query parameters

account_idstring required

Business or user account ID (biz_* / user_*).

Response

swaps listed

Example response

{
  "data": [
    {
      "account_id": "biz_xxxxxxxxxxxxxx",
      "error": "Swap reverted: quoted price moved beyond the slippage tolerance",
      "id": "vault-swap-cwal_xxxxxxxxxxxxxx",
      "object": "swap",
      "status": "working",
      "tx_hashes": [
        "0xabc"
      ]
    }
  ]
}