Pool Trades
Get pool trades returns real-time or historical transactions for a pool.
Last updated
Get pool trades returns real-time or historical transactions for a pool.
Last updated
GET
https://api.abyiss.com/v2/dex/{exchange}/{blockchain}/pool/{pool}/trades
Returns an object of real-time or historical transactions for a pool on a decentralized exchange.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Example URL: https://api.abyiss.com/v2/dex/uniswap/ethereum/pool/0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640/trades?apiKey=
Attribute Name | Data Type | Description |
---|---|---|
exchange*
string
Decentralized exchange Id
blockchain*
string
Blockchain that supports the decentralized exchange.
pool*
string
Pool contract address.
apiKey*
string
Your Abyiss API Key.
limit
int
Number of results per request. Maximum 1,0000 (default 100).
orderBy
string
Sort the returned data by any field in the API response, such as id
, name
, symbol
, volumeUSD
and more.
orderDirection
string
asc
or desc
return the results sorted by that field in either ascending or descending order.
skip
int
Number of results to skip per request.
swap
boolean
Set to false to not return swap array.
mint
boolean
Set to false to not return mint array.
burn
boolean
Set to false to not return burn array.
to
int
The end of the aggregate time window for historical data. Unix timestamp in milliseconds.
from
int
The start of the aggregate time window for historical data. Unix timestamp in milliseconds.
block
int
The blockchain block number for historical data.
poolAddress
string
Contract address of the pool.
burns
object
Transaction type where tokens where burned or destroyed.
mints
object
Transaction type where tokens where minted or created.
swaps
object
Transaction type where tokens where swaped or traded.
id
string
Transaction hash + "#" + index in Transaction array
amount0
string
Amount of token 0
amount1
string
Amount of token 1
amountUSD
string
Derived amount based on available prices of tokens
logIndex
string
Position within the transactions
origin
string
Transaction origin
timestamp
string
Timestamp of the transaction.
amount
string
amount of liquidity
owner
string
owner of the position
sender
string
Sender of the transaction
recipient
string
Recipient of the transaction
sqrtPriceX96
string
The sqrt(price) of the pool after the swap, as a Q64.96