Solana DEXTradeByTokens

Returns DEX trades by token on Solana, where currency mint address is 6DPQjM…1o4W, side currency mint address is So1111…1112 and block time since 2024-11-25: price in USD.

By gaurav · saved 6 July 2026 · run 13 times · Bitquery API v2

What it returns

Filters

The query

query ($token: String!, $from: DateTime, $till: DateTime) {
  Solana(dataset: combined) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: $token}}, PriceAsymmetry: {le: 0.1}, Side: {AmountInUSD: {gt: "10"}, Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}, Block: {Time: {since: $from, till: $till}}}
    ) {
      Trade {
        price: PriceInUSD(minimum: Block_Slot)
      }
    }
  }
}

Variables

{
  "token": "6DPQjMYHi5kHprCyyAguuvnutMeeNtXeEiddW8mD1o4W",
  "from": "2024-11-25T16:08:55Z",
  "till": "2024-11-25T16:09:55Z"
}

Similar queries