Copy of Copy of solana stream test

solana stream test

Streams DEX trades on Solana as they happen: block time, method, protocol family, protocol name, buy price, buy price in USD, buy amount and 18 more fields.

By Barbara Bueker · saved 16 May 2025 · Bitquery API v1

What it returns

The subscription

subscription {
  Solana {
    DEXTrades {
      Block {
        Time
      }
      Instruction {
        Program {
          Method
        }
      }
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
        }
        Buy {
          Price
          PriceInUSD
          Amount
          Account {
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
        Sell {
          Price
          PriceInUSD
          Amount
          Account {
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
      }
      Transaction {
        Signature
      }
    }
  }
}

Similar queries