Skip to content

Get Swap Transactions

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
Allowed values: pending completed failed

Filter by status

page
integer
default: 1 >= 1

Page number for pagination

pageSize
integer
default: 10 >= 1 <= 100

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
Allowed values: token0 token1
outputToken

Output token (token0 or token1)

string
Allowed values: token0 token1
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
Allowed values: pending completed failed
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