Coin Ticker API pricce

Returns the latest DEX trades by token, where side currency smart contract is 0x2260…C599 and currency smart contract is 0xdac1…1ec7: block time, sum of trade amount, smart contract, trade price, side currency name, side currency symbol and side amount.

By Nitin Jakhar · saved 4 December 2023 · run 21 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: realtime) {
    DEXTradeByTokens(
      orderBy: {descendingByField: "Block_Time"}
      where: {Trade: {Side: {Currency: {SmartContract: {is: "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599"}}}, Currency: {SmartContract: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}}}}
    ) {
      Block {
        Time(interval: {in: minutes, count: 10})
      }
      volume: sum(of: Trade_Amount)
      Trade {
        Dex {
          Pair {
            SmartContract
          }
        }
        Price
        Side {
          Currency {
            Name
            Symbol
          }
          Amount
        }
      }
    }
  }
}

Similar queries