List Swap Transactions
GET /swap/transactions
GET
/swap/transactions
Get a list of swap transactions with filtering options.
Authorizations
Parameters
Query Parameters
walletId
string format: uuid
Filter by wallet ID
organisationId
string format: uuid
Filter by organisation ID
status
string
Filter by transaction status
page
integer
Page number for pagination
pageSize
integer
Number of items per page
Responses
200
List of swap transactions
object
transactions
Array<object>
object
id
Unique identifier of the swap transaction
string format: uuid
123e4567-e89b-12d3-a456-426614174000
sourceCurrency
Source currency code
string
USDC
destinationCurrency
Destination currency code
string
ETH
sourceAmount
Amount in source currency
string
1000.00
destinationAmount
Amount in destination currency
string
0.54
rate
Exchange rate used
string
1850.75
status
Current status of the swap
string
walletId
Wallet ID that initiated the swap
string format: uuid
organisationId
Organisation ID associated with the swap
string format: uuid
createdAt
When the swap was initiated
string format: date-time
completedAt
When the swap was completed
string format: date-time
errorMessage
Error message if the swap failed
string
meta
object
page
Current page number
integer
1
pageSize
Items per page
integer
10
totalPages
Total number of pages
integer
5
totalCount
Total number of items
integer
47
400
Bad Request
object
code
integer
400
message
string
Bad Request
details
string
Source currency and destination currency are required.