top buyers for a token

Returns the latest transfers on BNB Chain, where transaction to is 0x5c95…762b, currency smart contract is 0x8863…b87c and transfer sender is 0x5c95…762b: transfer amount, amount in USD, currency name, currency symbol, smart contract, decimals, receiver and sum of transfer amount.

By Kshitij Mahajan · saved 20 February 2025 · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: bsc) {
    Transfers(
      orderBy: {descending: Block_Time, descendingByField: "total"}
      where: {Transaction: {To: {is: "0x5c952063c7fc8610ffdb798152d69f0b9550762b"}}, Transfer: {Currency: {SmartContract: {is: "0x8863de06c617e75e7bbb453934bc04d0835eb87c"}}, Sender: {is: "0x5c952063c7fc8610ffdb798152d69f0b9550762b"}}, TransactionStatus: {Success: true}}
    ) {
      Transfer {
        Amount
        AmountInUSD
        Currency {
          Name
          Symbol
          SmartContract
          Decimals
        }
        Buyer:Receiver
      }
      total: sum(of: Transfer_Amount)
    }
  }
}

Similar queries