historical-ohlc

Returns DEX trades by token on Solana, where currency mint address is 8zyVGQ…pump, side currency mint address is So1111…1112 and DEX protocol family is Raydium, sorted by block time: block time, account address, account owner, currency name, currency mint address, side currency name, side currency mint address and side type.

By qsdsdds · saved 10 February 2025 · run 6 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset:archive) {
    DEXTradeByTokens(
      orderBy: {
        ascending: Block_Time
      }
      where: {Trade: {Dex: {ProtocolFamily: {is: "Raydium"}}, Currency: {MintAddress: {is: "8zyVGQxWmPVDqnf1wKBCHRV84qNPH9wiMMjVp9xypump"}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}}
    ) {
      Block {
        Time
      }
      Trade {
        Account {
          Address
          Owner
        }
        Currency {
          Name
          MintAddress
        }
        Side {
          Currency {
            Name
            MintAddress
          }
          Type
        }
      }
    }
  }
}

Similar queries