testing

Returns one DEX trade on Ethereum, where base currency is 0xC02a…6Cc2, quote currency is 0xD686…3Cf7 and exchange name is Uniswap, sorted by time interval minute: minute, base currency symbol, base currency address, quote currency symbol, quote currency address and count.

By Ben · saved 26 November 2023 · Bitquery API v1

What it returns

Filters

The query

	 {
        ethereum(network: ethereum) {
        dexTrades(
            options: {limit: 1, asc: "timeInterval.minute"}
            exchangeName: {is: "Uniswap"}
            baseCurrency: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}
            quoteCurrency: {is: "0xD6866576437529850B8322df60C16aAeEb3E3Cf7"}
        ) {
            timeInterval {
            	minute(count: 3)
            }
            baseCurrency {
				symbol
				address
            }
            quoteCurrency {
				symbol
				address
            }
            trades: count
        }
        }
    }

Similar queries