Get Latest Solana DEX Trades in Realtime

Solana DEX Trades in realtime

Streams DEX trades by token on Solana as they happen, where currency mint address is HXUQvW…xVbk and side currency mint address is So1111…1112: block time, trade amount, trade price, currency symbol, currency name, currency mint address, side amount and 10 more fields.

By Steve · saved 20 April 2024 · run 2 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: "HXUQvWPWs7BJgzTeX3PyHb8fvFmxvi9Q9hHYzcMVxVbk"}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}}
    ) {
      Block {
        Time
      }
      Trade {
        Amount
        Price
        Currency {
          Symbol
          Name
          MintAddress
        }
        Side {
          Amount
          Currency {
            Symbol
            Name
            MetadataAddress
          }
        }
        Dex {
          ProgramAddress
          ProtocolFamily
          ProtocolName
        }
        Market {
          MarketAddress
        }
        Order {
          LimitAmount
          LimitPrice
          OrderId
        }
      }
    }
  }
}

Similar queries