BNTswap
Returns DEX trades and transactions on Ethereum, where base currency is 0x1f57…ff1c, quote currency is 0x1f57…ff1c and exchange name is Bancor Network, sorted by date date: minute, base currency symbol, quote currency symbol, count, quote price, gas value, trade amount and 2 more fields.
What it returns
- minute
- base currency symbol
- quote currency symbol
- count
- quote price
- gas value
- trade amount
- start of interval
- gas price
Filters
- base currency is 0x1f57…ff1c
- quote currency is 0x1f57…ff1c
- exchange name is Bancor Network
- exchange name is Bancor 1
- date since 2021-07-01
- date till 2021-07-02
The query
query ($network: EthereumNetwork!, $since: ISO8601DateTime, $till: ISO8601DateTime, $baseCurrency: String!) {
ethereum(network: $network) {
BNTswap: dexTrades(
options: {asc: "timeInterval.minute"}
date: {since: $since, till: $till}
exchangeName: {is: "Bancor Network"}
baseCurrency: {is: $baseCurrency}
) {
timeInterval {
minute(count: 1)
}
baseCurrency {
symbol
}
quoteCurrency {
symbol
}
trades: count
quotePrice
gasValue
tradeAmount(in: USD, calculate: sum)
}
ETHswap: dexTrades(
options: {asc: "timeInterval.minute"}
date: {since: $since, till: $till}
exchangeName: {is: "Bancor 1"}
quoteCurrency: {is: $baseCurrency}
) {
timeInterval {
minute(count: 1)
}
baseCurrency {
symbol
}
quoteCurrency {
symbol
}
quotePrice
}
AvgGas: transactions(
options: {asc: "date.date"}
date: {since: $since, till: $till}
) {
date {
date: startOfInterval(unit: day)
}
avgGasPrice: gasPrice(calculate: average)
gasValueAvg: gasValue(calculate: average)
}
}
}
Variables
{
"network": "ethereum",
"since": "2021-07-01",
"till": "2021-07-02",
"baseCurrency": "0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c"
}
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