# Which wallet bought a token in the first 15 minutes?

**URL:** <https://community.bitquery.io/t/which-wallet-bought-a-token-in-the-first-15-minutes/123>\
**Category:** GraphQL API\
**Tags:** closed\
**Created:** [June 6, 2021, 3:04pm UTC](https://community.bitquery.io/t/which-wallet-bought-a-token-in-the-first-15-minutes/123 "2021-06-06T15:04:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NileshChauhan](https://avatars.discourse-cdn.com/v4/letter/n/a88e4f/32.png) [@NileshChauhan](https://community.bitquery.io/u/NileshChauhan)\
**Post date:** [June 6, 2021, 3:04pm UTC](https://community.bitquery.io/t/which-wallet-bought-a-token-in-the-first-15-minutes/123/1 "2021-06-06T15:04:55Z")

</div>

Hello, I want to know the wallet address that bought some token (e.g. SAFEMOON) in the first 15 minutes. Could you please provide me some ideas to create query on [bitquery.io](http://bitquery.io)?

---

<div class="post-metadata">

**Author:** ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://community.bitquery.io/u/gaurav)\
**Post date:** [June 6, 2021, 3:28pm UTC](https://community.bitquery.io/t/which-wallet-bought-a-token-in-the-first-15-minutes/123/2 "2021-06-06T15:28:14Z")

</div>

First 10 Trades of Safemoon

```auto
{
   ethereum (network: bsc) {
    dexTrades(options: {limit: 10
      asc: ["block.height","tradeIndex"]}
      buyCurrency: {is: "0x8076c74c5e3f5852037f31ff0093eeb8c8add8d3"}
    ) {
      transaction {
        hash
      }
      tradeIndex
      date{date}
      block{
        height
      }
      buyAmount
      buyAmountInUsd:buyAmount(in: USD)
      buyCurrency{symbol}
      
      sellAmount
      sellCurrency{symbol}
      sellAmountInUsd:sellAmount(in: USD)
      
      tradeAmount(in: USD)
    }
  }
}

```

First 10 transactions of Safemoon

```auto
{
  ethereum(network: bsc) {
    smartContractCalls(options: {asc: "block.timestamp.time", 
      limit: 10},
      smartContractAddress: {is: "0x8076c74c5e3f5852037f31ff0093eeb8c8add8d3"}) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      smartContractMethod {
        name
        signatureHash
      }
      address: caller {
        address
        annotation
      }
      transaction {
        hash
      }
      gasValue
      external
    }
  }
}

```

---

<div class="post-metadata">

**Author:** ![NileshChauhan](https://avatars.discourse-cdn.com/v4/letter/n/a88e4f/32.png) [@NileshChauhan](https://community.bitquery.io/u/NileshChauhan)\
**Post date:** [June 6, 2021, 3:32pm UTC](https://community.bitquery.io/t/which-wallet-bought-a-token-in-the-first-15-minutes/123/3 "2021-06-06T15:32:28Z")

</div>

Thank you, Gaurav  
Both queries are working!
