Ethereum_price
Returns one DEX trade on Ethereum, where quote currency is 0xdAC1…1ec7 and base currency is 0xC02a…6Cc2, sorted by block height transaction index, highest first: quote price, expression, block height, address address, base amount, base currency address, base currency symbol and 5 more fields.
What it returns
- quote price
- expression
- block height
- address address
- base amount
- base currency address
- base currency symbol
- quote amount
- quote currency address
- quote currency symbol
- transaction hash
- transaction index
Filters
- quote currency is 0xdAC1…1ec7
- base currency is 0xC02a…6Cc2
The query
{
ethereum(network: ethereum) {
dexTrades(
options: {desc: ["block.height", "transaction.index"], limit: 1}
quoteCurrency: {is: "0xdAC17F958D2ee523a2206206994597C13D831ec7"}
baseCurrency: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}
) {
quotePrice
USDPrice: expression(get: "quoteAmountUSD / baseAmount")
block {
height
}
smartContract {
address {
address
}
}
baseAmountUSD:baseAmount(in: USD)
baseAmount
baseCurrency {
address
symbol
}
quoteAmountUSD:quoteAmount(in: USD)
quoteAmount
quoteCurrency {
address
symbol
}
transaction {
hash
index
}
}
}
}
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