V2_First_Txn

latest trades for a token - both buy and sell

Returns one DEX trade by token on Ethereum, where currency smart contract is 0xbC55…5F7A, sorted by block number: buyer, currency name, transaction hash, transaction index and block number.

By Omkar_BQ · saved 28 November 2023 · run 7 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: eth) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {SmartContract: {is: "0xbC55cB1217B214E8bFD17449Ba371cd1fDdF5F7A"}}}}
      orderBy: {ascending: Block_Number, ascendingByField: "Transaction_Index"}
      limit: {count: 1}
    ) {
      Trade {
        Buyer
        Currency {
          Name
        }
      }
      Transaction {
        Hash
        Index
      }
      Block {
        Number
      }
    }
  }
}

Similar queries