FuzzySearchTokensByName

Returns 50 DEX trades by token on Solana, where block time since 2025-02-28: currency name, currency mint address, currency symbol, protocol name, market address, side currency name, side currency mint address and 3 more fields.

By Dong Bach Hoang · saved 30 April 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query TokenSearchByName($search: String, $since: DateTime, $orderBy: String) {
  Solana {
    DEXTradeByTokens(
      where: {
        Block: {
          Time: {since: $since}
        }, 
        Trade: {
          Currency: {
            Symbol: {likeCaseInsensitive: $search}
          }
        }, 
        Transaction: {Result: {Success: true}}}
      limit: {count: 50}
      orderBy:{descendingByField: $orderBy}
    ) {
      Trade {
        Currency {
          Name
          MintAddress
          Symbol
        }
        Dex {
          ProtocolName
        }
        Market {
          MarketAddress
        }
        Side {
          Currency {
            Name
            MintAddress
            Symbol
          }
        }
      }
      trade_volume: sum(of:Trade_Side_AmountInUSD)
      trades: count
    }
  }
}

Variables

{
  "search": "trum",
  "since": "2025-02-28T07:00:00Z",
  "order_by": "trade_volume"
}

Similar queries