Skip to content

Get swap transactions history

GET
/v2/liquidity/swaps

Retrieve a paginated list of swap transactions.

walletId
required
string
poolId
required
string
status
required
string
X-API-Key
string

API Key

X-API-Secret
string

API Secret

Paginated list of swap transactions

object
items
required

List of swap transactions

Array<object>
object
transactionId
required

UUID of the swap transaction

string
poolId
required

UUID of the pool where the swap occurred

string
walletId
required

UUID of the wallet that performed the swap

string
inputToken
required

Input token (token0 or token1)

string
outputToken
required

Output token (token0 or token1)

string
inputTokenSymbol
required

Symbol of the input token

string
outputTokenSymbol
required

Symbol of the output token

string
inputAmount
required

Amount of input token swapped

string
outputAmount
required

Amount of output token received

string
minimumOutputAmount
required

Minimum amount of output token expected

string
priceImpact
required

Price impact of the swap as a percentage

string
status
required

Status of the swap transaction

string
timestamp
required

Timestamp of the swap transaction

string
page
required

Pagination information

object
number
required

Page number (starts at 1)

number
1
size
required

Items per page

number
10
totalPages
required

Total number of items

number
100
totalCount
required

Total number of pages

number
10
hasNext
required

Whether there is a next page

boolean
true
hasPrev
required

Whether there is a previous page

boolean

Bad Request

Unauthorized

Forbidden

Not Found

Internal Server Error