Price_Pepe_V1
Returns the latest DEX trade on Ethereum, where quote currency is 0xc02a…6cc2 and base currency is 0x6982…1933: quote price, expression, block height, trade index, address address, base amount, base currency address and 5 more fields.
What it returns
- quote price
- expression
- block height
- trade index
- address address
- base amount
- base currency address
- base currency symbol
- quote amount
- quote currency address
- quote currency symbol
- transaction hash
Filters
- quote currency is 0xc02a…6cc2
- base currency is 0x6982…1933
The query
{
ethereum(network: ethereum) {
dexTrades(
options: {desc: ["block.height", "tradeIndex"], limit: 1}
quoteCurrency: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}
baseCurrency: {is: "0x6982508145454ce325ddbe47a25d4ec3d2311933"}
) {
quotePrice
USDPrice: expression(get: "quoteAmountUSD / baseAmount")
block {
height
}
tradeIndex
smartContract {
address {
address
}
}
baseAmountUSD:baseAmount(in: USD)
baseAmount
baseCurrency {
address
symbol
}
quoteAmountUSD:quoteAmount(in: USD)
quoteAmount
quoteCurrency {
address
symbol
}
transaction {
hash
}
}
}
}
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