Latest WETH/DAI trades
Returns the latest 100 DEX trades on Ethereum, where base currency is 0xc02a…6cc2 and quote currency is 0x6b17…1d0f: transaction hash, address address, contract type, currency name, trade index, date date, block height and 12 more fields.
What it returns
- transaction hash
- address address
- contract type
- currency name
- trade index
- date date
- block height
- base amount
- buy amount
- base currency symbol
- base currency address
- quote amount
- sell amount
- quote currency symbol
- quote currency address
- trade amount
- gas value
- gas price
- gas
Filters
- base currency is 0xc02a…6cc2
- quote currency is 0x6b17…1d0f
The query
{
ethereum(network: ethereum) {
dexTrades(
options: {limit: 100, desc: "block.height"}
baseCurrency: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}
quoteCurrency: {is: "0x6b175474e89094c44da98b954eedeac495271d0f"}
) {
transaction {
hash
}
smartContract {
address {
address
}
contractType
currency {
name
}
}
tradeIndex
date {
date
}
block {
height
}
baseAmount
baseAmountInUsd: buyAmount(in: USD)
baseCurrency {
symbol
address
}
quoteAmount
quoteAmountInUsd: sellAmount(in: USD)
quoteCurrency {
symbol
address
}
tradeAmount(in: USD)
transaction {
gasValue
gasPrice
gas
}
}
}
}
Similar queries
- Latest Curve DEX swaps on Ethereum · Ethereum · DEXTrades
- Top Curve liquidity pools by 24h volume on Ethereum · Ethereum · DEXTrades
- STRN_TOKEN_MULTIPLE_DECIMALS_DEX_TRADES · Ethereum · DEXTrades
- USDT DECIMAL SHOWING 0 · Ethereum · DEXTrades
- Trades - 0xEE61159E8A72A08371c52D62c19Efd0C7914f917 · Ethereum · DEXTrades