Fetch latest price on Uniswap
Returns the latest 100 DEX trades on Ethereum, where base currency is 0x2b59…eb39, quote currency is 0xdac1…1ec7 and exchange name is Uniswap: timestamp time, block height, base amount, quote amount, count and quote price.
What it returns
- timestamp time
- block height
- base amount
- quote amount
- count
- quote price
Filters
- base currency is 0x2b59…eb39
- quote currency is 0xdac1…1ec7
- exchange name is Uniswap
The query
{
ethereum(network: ethereum) {
dexTrades(
options: {limit: 100, desc: "block.timestamp.time"}
exchangeName: {is: "Uniswap"}
baseCurrency: {is: "0x2b591e99afE9f32eAA6214f7B7629768c40Eeb39"}
quoteCurrency: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
# baseCurrency {
# symbol
# address
# }
baseAmount
# quoteCurrency {
# symbol
# address
# }
quoteAmount
trades: count
quotePrice
}
}
}
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