Top buyers of a four meme token

Returns 100 DEX trades on BNB Chain, where buy currency smart contract is 0x9b48…0d40 and DEX protocol name is fourmeme_v1: buy buyer, count and sum of trade buy amount.

By Kshitij Mahajan · saved 24 March 2025 · Bitquery API v2

What it returns

Filters

The query

query MyQuery($currency: String) {
  EVM(network: bsc, dataset: combined) {
    DEXTrades(
      where: {
        Trade: {
          Buy: {Currency: {SmartContract: {is: $currency}}},
          Success: true,
          Dex: {ProtocolName: {is: "fourmeme_v1"}}
        }
      }
      limit: {count: 100}
    ) {
      Trade {
        Buy {
          Buyer
        }
      }
      trades: count
      bought: sum(of: Trade_Buy_Amount)
    }
	}
}

Variables

{
  "currency": "0x9b48a54bcce09e59b0479060e9328ab7dbdb0d40"
}

Similar queries