not price in usd test

Returns DEX trades by token on Ethereum, where currency smart contract is 0xED5A…C544: price in USD, trade price, sum of trade amount and sum of trade amount in USD.

By Kshitij Mahajan · saved 15 November 2024 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query TokenSalesVolume {
  EVM(network: eth, dataset: combined) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {SmartContract: {is: "0xED5AF388653567Af2F388E6224dC7C4b3241C544"}}}}
    ) {
      Trade {
        PriceInUSD
        Price
      }
      total: sum(of: Trade_Amount)
      totalAmountInUSD: sum(of: Trade_AmountInUSD)
    }
  }
}

Similar queries