First X Buyers of a Token arbitrum network

Returns 10 DEX trades on Arbitrum, where buy currency smart contract is 0x912c…6548, sorted by block time: block number, block time, from, to, transaction hash, buy amount, buy buyer and 4 more fields.

By Maroti Patre · saved 19 February 2024 · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: archive, network: arbitrum) {
    buyside: DEXTrades(
      limit: {count: 10}
      limitBy: {by: Transaction_From, count: 1}
      orderBy: {ascending: Block_Time}
      where: {Trade: {Buy: {Currency: {SmartContract: {is: "0x912ce59144191c1204e64559fe8253a0e49e6548"}}}}}
    ) {
      Block {
        Number
        Time
      }
      Transaction {
        From
        To
        Hash
      }
      Trade {
        Buy {
          Amount
          Buyer
          Currency {
            Name
            Symbol
          }
          Seller
          Price
        }
      }
    }
  }
}

Similar queries