tv weth saitama
trading view chart
Returns DEX trades on Ethereum, where base currency is 0xc02a…6cc2, quote currency is 0x8b31…f73f and protocol is Uniswap v2: minute, base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, quote amount and 4 more fields.
What it returns
- minute
- base currency symbol
- base currency address
- base amount
- quote currency symbol
- quote currency address
- quote amount
- count
- quote price
- minimum of block
- maximum of block
Filters
- base currency is 0xc02a…6cc2
- quote currency is 0x8b31…f73f
- protocol is Uniswap v2
- exchange name is Uniswap
- price asymmetry is below 0.7
The query
query(
$baseAddress: String
$quoteAddress: String
$from: ISO8601DateTime!
$to: ISO8601DateTime!
$interval: Int
$protocol: String
$exchangeName: String
) {
ethereum(network: ethereum) {
dexTrades(
protocol: { is: $protocol }
baseCurrency: { is: $baseAddress }
quoteCurrency: { is: $quoteAddress }
date: { between: [$from, $to] }
exchangeName: { is: $exchangeName }
priceAsymmetry: { lt: 0.7 }
any: [
{tradeAmountUsd: { gt: 0.00001 }},
{tradeAmountUsd: { is: 0 }}
]
) {
timeInterval {
minute(format:"%FT%TZ", count: $interval)
}
buyCurrency: baseCurrency {
symbol
address
}
buyAmount: baseAmount
sellCurrency: quoteCurrency {
symbol
address
}
volume: quoteAmount
trades: count
high: quotePrice(calculate: maximum)
low: quotePrice(calculate: minimum)
open: minimum(of: block, get: quote_price)
close: maximum(of: block, get: quote_price)
}
}
}
Variables
{
"from": "2021-10-03T00:15:33+03:00",
"to": "2021-11-16T00:00:00+02:00",
"interval": 30,
"baseAddress": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"quoteAddress": "0x8b3192f5eebd8579568a2ed41e6feb402f93f73f",
"protocol": "Uniswap v2",
"exchangeName": "Uniswap"
}
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