HLOC

Returns the latest 2 DEX trades by token on Solana, where currency mint address is DqTgBb…pump and trade price asymmetry is below 0.1: block time, sum of trade amount, price in USD and count.

By Jacob · saved 26 January 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  
  Solana {
    DEXTradeByTokens(
      limit: { count: 2 }
      orderBy: { descendingByField: "Block_Timefield" }
      where: {
        Trade: {
          Currency: {
            MintAddress: { is: "DqTgBbb527kT5PKPD6DQ4HRun1yXTkTYsEdGEbCgpump" }
          }
          PriceAsymmetry: { lt: 0.1 }
        }
      }
    ) {
      Block {
        Timefield: Time(interval: { in: minutes, count: 10 })
      }
      volume: sum(of: Trade_Amount)
      Trade {
        high: PriceInUSD(maximum: Trade_PriceInUSD)
        low: PriceInUSD(minimum: Trade_PriceInUSD)
        open: PriceInUSD(minimum: Block_Slot)
        close: PriceInUSD(maximum: Block_Slot)
      }
      count
    }
  }
}

Similar queries