matic-all-trades-of-a-matic-pool
Returns the latest DEX trade on Ethereum and Polygon, where smart contract address is 0x001a…0b08: 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
- smart contract address is 0x001a…0b08
The query
{
ethereum(network: matic) {
dexTrades(
options: {limit: 1, desc: "block.height"}
smartContractAddress: {is: "0x001a5201fd46f2c77eff4f5bed1382e500e20b08"}
) {
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