historical-ohlc-for-solana

Returns 120 DEX trades by token on Solana, where currency mint address is 3NEx3h…pump, side currency mint address is So1111…1112 and trade price asymmetry is below 0.001, sorted by block timefield: block time and trade price.

By DM · saved 3 May 2025 · run 12 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset: archive) {
    DEXTradeByTokens(
      orderBy: {ascendingByField: "Block_Timefield"}
      where: {Trade: {Currency: {MintAddress: {is: "3NEx3hDtLMsTYH2LXqDoyF3N4zkhPTqbXjcWHTKLpump"}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}, PriceAsymmetry: {lt: 0.001}}}
      limit: {count: 120}
    ) {
      Block {
        Timefield: Time(interval: {in: minutes, count: 1})
      }
      Trade {
        high: Price(maximum: Trade_Price)
        low: Price(minimum: Trade_Price)
      }
    }
  }
}

Similar queries