Top Buy Tokens

Returns 20 DEX trades by token on Solana, where currency mint address is not So1111…1112 or EPjFWd…Dt1v, currency update authority is TSLvdd…eokM and block time after 2024-12-19, sorted by buy, highest first: currency symbol, currency name, currency mint address, update authority, URI, is mutable and sum of trade side amount in USD.

By ck · saved 19 December 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query ($time_ago: DateTime) {
  Solana {
    DEXTradeByTokens(
      orderBy: {descendingByField: "buy"}
      where: {Trade: {Currency: {MintAddress: {notIn: ["So11111111111111111111111111111111111111112", "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"]}, UpdateAuthority: {is: "TSLvdd1pWpHVjahSpsvCXUbgwsL3JAcvokwaKt1eokM"}, Uri: {not: ""}, IsMutable: false}, Dex: {ProtocolFamily: {}}}, Transaction: {Result: {Success: true}}, Block: {Time: {after: $time_ago}}}
      limit: {count: 20}
    ) {
      Trade {
        Currency {
          Symbol
          Name
          MintAddress
          UpdateAuthority
          Uri
          IsMutable
        }
      }
      buy: sum(of: Trade_Side_AmountInUSD, if: {Trade: {Side: {Type: {is: buy}}}})
      sell: sum(of: Trade_Side_AmountInUSD, if: {Trade: {Side: {Type: {is: sell}}}})
      volume: sum(of: Trade_Side_AmountInUSD)
    }
  }
}

Variables

{
  "time_ago": "2024-12-19T07:26:52Z"
}

Similar queries