Buy / sell price spread

Returns DEX trades on Ethereum, where base currency is 0xdac1…1ec7, quote currency is 0xc02a…6cc2 and exchange name is Uniswap: base currency symbol, base currency address, base amount, quote currency symbol, quote currency address, quote amount, count and 2 more fields.

By Jesus@2022 · saved 9 February 2022 · run 2 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      date: {is: "2020-11-01"}
      exchangeName: {is: "Uniswap"}
      baseCurrency: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}
      quoteCurrency: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}
    ) {
      baseCurrency {
        symbol
        address
      }
      baseAmount
      quoteCurrency {
        symbol
        address
      }
      quoteAmount
      trades: count
      quotePrice
      side
    }
  }
}

Similar queries