Single query

Returns DEX trades by token on Solana, where currency mint address is So1111…1112 and DEX program address is whirLb…tyCc: block time, trade amount, trade price, currency name, currency mint address, currency symbol and market address.

By Ikenna Ogbuanu · saved 13 February 2025 · run 6 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}, Dex: {ProgramAddress: {is: "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"}}}}
    ) {
      Block {
        Time
      }
      Trade {
        Amount
        PriceAgainstSellCurrency: Price
        Currency {
          Name
          MintAddress
          Symbol
        }
        Market {
          MarketAddress
        }
      }
    }
  }
}

Similar queries