get first buys of an address list of a specific token

Returns DEX trades by token on BNB Chain, where currency smart contract is 0x35a7…4444, trade buyer is 0x45f4…7957, 0x757e…6f85 or 1 more and DEX protocol family is FourMeme, sorted by block first buy, highest first: buyer, currency name, currency symbol, smart contract, side type, block time and sum of trade amount.

By Akshat · saved 26 November 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery($token: String!, $buyersList: [String!]) {
  EVM(network: bsc, dataset: combined) {
    DEXTradeByTokens(
      orderBy: {descendingByField: "Block_first_buy"}
      where: {Trade: {Currency: {SmartContract: {is: $token}}, Dex: {ProtocolFamily: {is: "FourMeme"}}, Side: {Type: {is: buy}}, Buyer: {in: $buyersList}}, TransactionStatus: {Success: true}}
    ) {
      Trade {
        Buyer
        Currency {
          Name
          Symbol
          SmartContract
        }
        Side {
          Type
        }
      }
      Block {
        first_buy: Time(minimum: Block_Time)
      }
      total_bought_amount: sum(of: Trade_Amount)
    }
  }
}

Variables

{
  "token": "0x35a7BB282d8CAAFe71617c9d52EE30F1adFe4444",
  "buyersList" : ["0x45f46fb71b70aa7a2911bb4e015b820b7c307957","0x757eba15a64468e6535532fcf093cef90e226f85","0x4866015cc5f98911757e4d63fdfd859f594aef42"]
}

Similar queries