Ethereum_v2_startsWith_No_Variable

Returns 5 DEX trades by token, where currency name starts with Wrapped Ether, sorted by block time: smart contract, currency name, currency symbol, price in USD and unique of trade currency smart contract.

By pablo · saved 2 July 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network) {
  EVM(network: $network, dataset: realtime) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {Name: {startsWith: "Wrapped Ether"}}}}
      limit: {count: 5}
      orderBy: {ascending: Block_Time}
      limitBy: {by: Trade_Currency_SmartContract, count: 1}
    ) {
      Trade {
        Dex {
          SmartContract
        }
        Currency {
          Name
          Symbol
          SmartContract
        }
        PriceInUSD
      }
      uniq(of: Trade_Currency_SmartContract)
    }
  }
}

Similar queries