school learn 4

Returns transfers and DEX trades by token on Solana: currency name, currency symbol, currency mint address and count.

By gene · saved 23 January 2026 · Bitquery API v2

What it returns

The query

query VPSTokenAnalysis {
  Solana {
    Transfers(
      where: {
        any: [
          {
            Transfer: {
              Currency: { 
                Name: { includesCaseInsensitive: "S" }
                MintAddress: { notIncludes: "pump" }
              }
              Amount: { gt: "0" }
            }
            Transaction: { Result: { Success: true } }
          },
          {
            Transfer: {
              Currency: { 
                Name: { includesCaseInsensitive: "AI" }
                MintAddress: { notIncludes: "pump" }
              }
              Amount: { gt: "0" }
            }
            Transaction: { Result: { Success: true } }
          },
          {
            Transfer: {
              Currency: { 
                Symbol: { includesCaseInsensitive: "S" }
                MintAddress: { notIncludes: "pump" }
              }
              Amount: { gt: "0" }
            }
            Transaction: { Result: { Success: true } }
          }
        ]
      }
      limitBy: { by: Transfer_Currency_MintAddress, count: 1000 }
    ) {
      Transfer {
        Currency {
          Name
          Symbol
          MintAddress
        }
      }
      count
    }
    
    DEXTradeByTokens(
      where: {
        any: [
          {
            Trade: {
              Currency: { 
                Name: { includesCaseInsensitive: "S" }
                MintAddress: { notIncludes: "pump" }
              }
            }
          },
          {
            Trade: {
              Currency: { 
                Name: { includesCaseInsensitive: "AI" }
                MintAddress: { notIncludes: "pump" }
              }
            }
          },
          {
            Trade: {
              Currency: { 
                Symbol: { includesCaseInsensitive: "S" }
                MintAddress: { notIncludes: "pump" }
              }
            }
          }
        ]
      }
      limitBy: { by: Trade_Currency_MintAddress, count: 1000 }
    ) {
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
        }
      }
      count
    }
  }
}

Similar queries