Skip to main content
GET
/
api
/
v1
/
auth
/
swaps
List Stablecoin Swaps
curl --request GET \
  --url https://crypto.westminister.tech/api/v1/auth/swaps \
  --header 'Authorization: Bearer <token>'
{
  "swaps": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "wallet_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "network": "<string>",
      "from_asset": "<string>",
      "to_asset": "<string>",
      "from_amount": "<string>",
      "to_amount": "<string>",
      "fee_amount": "<string>",
      "fee_bps": 123,
      "status": "<string>",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.crypto.westminister.tech/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Query Parameters

limit
integer
default:20
Required range: x <= 100
offset
integer
default:0
Required range: x >= 0

Response

200 - application/json

Swap history

swaps
object[]