Pool Trades
Get pool trades returns real-time or historical transactions for a pool.
Get Pool Trades
GET
https://api.abyiss.com/v1/dex/{exchange}/{blockchain}/pool/{pool}/trades
Returns an object of real-time or historical transactions for a pool on a decentralized exchange.
Path Parameters
Name | Type | Description |
---|---|---|
exchange* | string | Decentralized exchange Id |
blockchain* | string | Blockchain that supports the decentralized exchange. |
pool* | string | Pool contract address. |
Query Parameters
Name | Type | Description |
---|---|---|
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 |
orderDirection | string |
|
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. |
Copy & Paste Code
Response Object
Example URL: https://api.abyiss.com/v1/dex/uniswap/ethereum/pool/0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640/trades?apiKey=
Response Attributes
Attribute Name | Data Type | Description |
---|---|---|
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 |
Last updated