search for trading wallets for a token between time

Returns the latest DEX trades by token on Solana, where currency mint address is EiNTZF…pump, block time since 2024-11-20 and block time till 2024-11-20: account owner and currency mint address.

By hicham · saved 20 November 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query WalletsBuyingGivenTokens($mintAddresses: String!, $fromdate: DateTime, $todate: DateTime) {
  Solana(dataset: archive) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: $mintAddresses}}}, Block: {Time: {since: $fromdate, till: $todate}}}
      orderBy: {descending: Block_Time}
    ) {
      Trade {
        Account {
          Owner
        }
        Currency {
          MintAddress
        }
      }
    }
  }
}

Variables

{"mintAddresses": "EiNTZFbmFRorvw4Se6VXpguEP6yjUxajfMsmuxqbpump",
        "fromdate": "2024-11-20T14:00:00Z",
        "todate": "2024-11-20T14:15:00Z"}

Similar queries