eth_zero_decemals_24h

Returns the latest DEX trades by token on Ethereum: block time, transaction hash, protocol name, currency symbol, currency name, smart contract, decimals and 9 more fields.

By alex · saved 28 November 2025 · run 1 time · Bitquery API v2

What it returns

The query

query pairs {
  EVM(network: eth) {
    DEXTradeByTokens(
      where: {TransactionStatus: {Success: true}, any: [{Trade: {Side: {Currency: {Decimals: {eq: 0}, Fungible: true, Name: {is: ""}}}}}, {Trade: {Currency: {Decimals: {eq: 0}, Fungible: true, Name: {is: ""}}}}], Block: {Time: {after_relative: {hours_ago: 24}}}}
      orderBy: {descending: Block_Time}
    ) {
      Block {
        Time(maximum: Block_Time)
      }
      Transaction {
        Hash
      }
      Trade {
        Dex {
          ProtocolName
        }
        Currency {
          Symbol
          Name
          SmartContract
          ProtocolName
          Decimals
        }
        Side {
          Currency {
            Symbol
            Name
            SmartContract
            ProtocolName
            Decimals
          }
        }
        price_last: PriceInUSD(maximum: Block_Number)
      }
      amount: sum(of: Trade_Side_Amount)
      usd: sum(of: Trade_Side_AmountInUSD)
      buy: count(if: {Trade: {Side: {Type: {is: sell}}}})
      sell: count(if: {Trade: {Side: {Type: {is: buy}}}})
    }
  }
}

Similar queries