Token Price and market info (Nazim)

Returns one DEX trade by token on Solana, where currency mint address is 51WUqX…pump and block time after 2025-05-07, sorted by USD, highest first: currency symbol, currency name, currency mint address, fungible, market address, side currency symbol, side currency name and 5 more fields.

By DeAura · saved 16 June 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query  {
  Solana {
  DEXTradeByTokens(
    orderBy: {descendingByField: "usd"}
    where: {
      Trade: {
        Currency: {MintAddress: {is: "51WUqXNPS5CpdJYRtt6CNUa1DdsAL6hrmrq5h8Gypump"}}, 
        Side: {Currency: {Symbol: {includesCaseInsensitive: "WSOL"}}}
      }, 
      Transaction: {Result: {Success: true}}, 
      Block: {Time: {after: "2025-05-07T00:00:00Z"}}
    }
    limit: {count: 1}
  ) {
    Trade {
      Currency {
        Symbol
        Name
        MintAddress
        Fungible
      }
      Market {
        MarketAddress
      }
      Side {
        Currency {
          Symbol
          Name
          MintAddress
        }
      }
      PriceInUSD
      price_usd: PriceInUSD(maximum: Block_Slot)
      price_last: Price(maximum: Block_Slot)
    }
    usd: sum(of: Trade_AmountInUSD)
    count
  }
}
}

Similar queries