Get Swap Transactions
GET /liquidity/swaps
GET
/liquidity/swaps
Get paginated list of swap transactions.
Authorizations
Parameters
Query Parameters
walletId
string format: uuid
Filter by wallet ID
poolId
string format: uuid
Filter by pool ID
status
string
Filter by status
page
integer
Page number for pagination
pageSize
integer
Number of items per page
Responses
200
List of swap transactions
object
swapTransactions
Array<object>
object
transactionId
UUID of the swap transaction
string format: uuid
poolId
UUID of the pool where the swap occurred
string format: uuid
walletId
UUID of the wallet that performed the swap
string format: uuid
inputToken
Input token (token0 or token1)
string
outputToken
Output token (token0 or token1)
string
inputTokenSymbol
Symbol of the input token
string
outputTokenSymbol
Symbol of the output token
string
inputAmount
Amount of input token swapped
string
outputAmount
Amount of output token received
string
minimumOutputAmount
Minimum amount of output token expected
string
priceImpact
Price impact of the swap as a percentage
string
status
Status of the swap transaction
string
timestamp
Timestamp of the swap transaction
string format: date-time
meta
object
page
Current page number
integer
pageSize
Number of items per page
integer
totalPages
Total number of pages
integer
totalCount
Total number of items
integer
400
Bad Request
object
code
integer
400
message
string
Bad Request
details
string
Invalid input parameters