Get First Buyers Of A Token

Returns 10 DEX trades on Ethereum, where buy currency smart contract is 0xdAC1…1ec7, sorted by block time: buy amount, buy buyer, buy currency name, buy smart contract and buy seller.

By Ashish Bhintade · saved 20 April 2024 · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      limit: {count: 10}
      limitBy: {by: Transaction_To, count: 1}
      orderBy: {ascending: Block_Time}
      where: {Trade: {Buy: {Currency: {SmartContract: {is: "0xdAC17F958D2ee523a2206206994597C13D831ec7"}}}}}
    ) {
      Trade {
        Buy {
          Amount
          Buyer
          Currency {
            Name
            SmartContract
          }
          Seller
        }
      }
    }
  }
}

Similar queries