Raydium OHLC for specific pair

Returns 3 DEX trades by token on Solana, where currency mint address is G1mXQu…pump, side currency mint address is So1111…1112 and DEX program address is 675kPX…1Mp8, sorted by block timefield: block time, sum of trade amount, trade price and count.

By Jay · saved 16 January 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTradeByTokens(
      orderBy: { ascendingByField: "Block_Timefield"}
      where: {Trade: {Currency: {MintAddress: {is: "G1mXQufbS92XLDmZcekdcVhG5wFKSWjuEraARAtepump"}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}, Dex: {ProgramAddress: {is: "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8"}}, PriceAsymmetry: {lt: 0.1}}}
      limit: {count: 3}
    ) {
      Block {
        Timefield: Time(interval: {in: minutes, count: 1})
      }
      volume: sum(of: Trade_Amount)
      Trade {
        high: Price(maximum: Trade_Price)
        low: Price(minimum: Trade_Price)
        open: Price(minimum: Block_Slot)
        close: Price(maximum: Block_Slot)
      }
      count
    }
  }
}

Similar queries