matic-trades-for-a-specific-token
Returns the latest 10 DEX trades on Ethereum and Polygon, where base currency is 0x8a95…e472: transaction hash, address address, contract type, currency name, trade index, date date, block height and 10 more fields.
What it returns
- transaction hash
- address address
- contract type
- currency name
- trade index
- date date
- block height
- buy amount
- buy currency symbol
- buy currency address
- sell amount
- sell currency symbol
- sell currency address
- trade amount
- gas value
- gas price
- gas
Filters
- base currency is 0x8a95…e472
The query
{
ethereum(network: matic) {
dexTrades(options: {limit: 10, desc: "block.height"}, baseCurrency: {is: "0x8a953cfe442c5e8855cc6c61b1293fa648bae472"}) {
transaction {
hash
}
smartContract {
address {
address
}
contractType
currency {
name
}
}
tradeIndex
date {
date
}
block {
height
}
buyAmount
buyAmountInUsd: buyAmount(in: USD)
buyCurrency {
symbol
address
}
sellAmount
sellAmountInUsd: sellAmount(in: USD)
sellCurrency {
symbol
address
}
sellAmountInUsd: sellAmount(in: USD)
tradeAmount(in: USD)
transaction {
gasValue
gasPrice
gas
}
}
}
}
Similar queries
- trades · Ethereum · DEXTrades
- matic_DEXTrades · Polygon · DEXTrades
- prediction_dextrades · Polygon · DEXTrades
- matic MAPU trades · Polygon · DEXTrades
- List of DEX supported · Polygon · DEXTrades