trade_volume_evm

Returns DEX trades by token, where currency smart contract is 0xB8c7…DD52 and block time since 2025-02-12: currency name, currency symbol, smart contract and sum of trade side amount in USD.

By Akshat · saved 12 February 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM {
    DEXTradeByTokens(
      where: {Trade: {Currency: {SmartContract: {is: "0xB8c77482e45F1F44dE1745F52C74426C631bDD52"}}}, TransactionStatus: {Success: true}, Block: {Time: {since: "2025-02-12T00:00:00Z"}}}
    ) {
      Trade {
        Currency {
          Name
          Symbol
          SmartContract
        }
      }
      traded_volume_in_usd: sum(of: Trade_Side_AmountInUSD)
    }
  }
}

Similar queries