token details

Returns DEX trades by token on Solana, where currency mint address is E6dFXt…pump: currency name, currency symbol, currency mint address, side currency name, side currency symbol, side currency mint address, sum of trade side amount in USD and 3 more fields.

By gaurav · saved 13 August 2025 · run 5 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset: realtime) {
    DEXTradeByTokens(
      where: {Block: {Time: {since_relative: {minutes_ago: 60}}}, Trade: {Currency: {MintAddress: {is: "E6dFXtqaK7Gzq7sRRVk5WetFpnxY3Z2ZGdNBhU3apump"}}}, Transaction: {Result: {Success: true}}}
    ) {
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
        }
        Side {
          Currency {
            Name
            Symbol
            MintAddress
          }
        }
      }
      buyVolumeUSD: sum(
        of: Trade_Side_AmountInUSD
        if: {Trade: {Side: {Type: {is: buy}}}}
      )
      sellVolumeUSD: sum(
        of: Trade_Side_AmountInUSD
        if: {Trade: {Side: {Type: {is: sell}}}}
      )
      buyVolumeToken: sum(of: Trade_Amount, if: {Trade: {Side: {Type: {is: buy}}}})
      sellVolumeToken: sum(of: Trade_Amount, if: {Trade: {Side: {Type: {is: sell}}}})
      totalVolumeUSD: sum(of: Trade_Side_AmountInUSD)
      totalVolumeToken: sum(of: Trade_Amount)
      totalBuys: count(if: {Trade: {Side: {Type: {is: buy}}}})
      totalSells: count(if: {Trade: {Side: {Type: {is: sell}}}})
      totalTrades: count
      uniqueBuyers: uniq(
        of: Transaction_Signer
        if: {Trade: {Side: {Type: {is: buy}}}}
      )
      uniqueSellers: uniq(
        of: Transaction_Signer
        if: {Trade: {Side: {Type: {is: sell}}}}
      )
    }
  }
}

Similar queries