solana trades subscription

Streams DEX trades by token on Solana as they happen: block height, signer, transaction signature, trade price, trade amount, amount in USD, price in USD and 14 more fields.

By Maximiliano Malvido · saved 27 February 2025 · run 18 times · Bitquery API v2

What it returns

The subscription

subscription{
  Solana{
    DEXTradeByTokens {
      Block {
        Height
      }
      Transaction {
        Signer
        Signature
      }
      Trade {
        Price
        Amount
        AmountInUSD
        PriceInUSD
        Currency {
          Symbol
          Name
          Decimals
          MintAddress
          ProgramAddress
        }
        Dex {
          ProtocolFamily
          ProtocolName
          ProgramAddress
        }
        Side {
          AmountInUSD
          Type
          Amount
          Currency {
            MintAddress
            Name
            Symbol
            Decimals
          }
        }
        high: Price(maximum: Trade_Price)
        low: Price(minimum: Trade_Price)
        open: Price(minimum: Block_Slot)
        close: Price(maximum: Block_Slot)
      }
    }
  }
}

Similar queries