trades_of_multiple_tokens

latest trades for a token - both buy and sell

Returns the latest 10 DEX trades on Ethereum, where sell currency smart contract is 0x864e…E608, 0x370a…1955 or 1 more: block number, block time, from, to, transaction hash, buy amount, buy currency symbol and 4 more fields.

By Omkar_BQ · saved 10 November 2023 · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: eth) {
    buyside: DEXTrades(
      limit: {count: 10}
      orderBy: {descending: Block_Time}
      where: {Trade: {Sell: {Currency: {SmartContract: {in: ["0x864eBf04678568E8630271cA899CcDF6Af04E608", "0x370a366f402e2e41CDBbE54EcEC12aaE0cce1955","0x55C71BB3D8B5aD74693Fb5a52c66e2396Be68B21"]}}}}}
    ) {
      Block {
        Number
        Time
      }
      Transaction {
        From
        To
        Hash
      }
      Trade {
        Buy {
          Amount
          Currency {
            Symbol
          }
        }
        Sell {
          Amount
          Currency {
            Name
            SmartContract
            Symbol
          }
        }
      }
    }
  }
}

Similar queries