Token Trades
Get token trades returns real-time or historical transactions for a token.
Last updated
Get token trades returns real-time or historical transactions for a token.
Last updated
GET
https://api.abyiss.com/v1/dex/{exchange}/{blockchain}/token/{token}/trades
Returns an object of real-time or historical transactions for a token on a decentralized exchange.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Example URL: https://api.abyiss.com/v1/dex/uniswap/ethereum/token/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2/trades?apiKey=
Attribute Name | Data Type | Description |
---|---|---|
exchange*
string
Decentralized exchange Id
blockchain*
string
Blockchain that supports the decentralized exchange.
token*
string
Token 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.
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.
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.