Token Trades
Get token trades returns real-time or historical transactions for a token.
Get Token Trades
GET
https://api.abyiss.com/v2/dex/{exchange}/{blockchain}/token/{token}/trades
Returns an object of real-time or historical transactions for a token on a decentralized exchange.
Path Parameters
Name | Type | Description |
---|---|---|
exchange* | string | Decentralized exchange Id |
blockchain* | string | Blockchain that supports the decentralized exchange. |
token* | string | Token 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. |
base | boolean | Set to false to not return any arrays with key 'As0' appended. |
quote | boolean | Set to false to not return any arrays with key 'As1' appended. |
Copy & Paste Code
Response Object
Example URL: https://api.abyiss.com/v2/dex/uniswap/ethereum/token/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2/trades?apiKey=
Response Attributes
Attribute Name | Data Type | Description |
---|---|---|
token | string | Contract address of the token. |
burnsAs0 | object | Transaction where the token was burned as token 0. |
burnsAs1 | object | Transaction where the token was burned as token 1. |
mintsAs0 | object | Transaction where the token was minted as token 0. |
mintsAs1 | object | Transaction where the token was minted as token 1. |
swapsAs0 | object | Transaction where the token was swaped as token 0. |
swapsAs1 | object | Transaction where the token was swaped as token 1. |
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. |
pool | string | Liquidity pool that the transaction occurred in. |
token0 | string | Token 0 in the pool. |
token1 | string | Token 1 in the pool. |
name | string | Name of the token. |
id | string | Contract address of the token. |
symbol | string | Symbol of the token. |
transactionId | string | The transaction id. |
amount | string | Amount of liquidity. |
owner | string | Owner of position. |
Last updated