First deposit of token

Returns token holders, where balance amount is above 0: count.

By gaurav · saved 16 October 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query ($currency: String!, $date: String!) {
  EVM(dataset: archive) {
    TokenHolders(
      tokenSmartContract: $currency
      date: $date
      where: {Balance: {Amount: {gt: "0"}}}
    ) {
      firstDeposit: count(
        distinct: Holder_Address
        if: {BalanceUpdate: {FirstDate: {is: $date}}}
      )
    }
  }
}

Variables

{
  "currency": "0x514910771af9ca656af840dff83e8264ecf986ca",
  "date": "2023-10-04"
}

Similar queries