solana stream test

Streams DEX trades on Solana as they happen: block time, slot, block height, method, market address, protocol family, protocol name and 24 more fields.

By gaurav · saved 6 February 2025 · run 10 times · Bitquery API v2

What it returns

The subscription

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

Similar queries