solana stream test

Streams DEX trades on Solana as they happen: block time, method, protocol family, protocol name, buy amount, buy account address, buy currency name and 14 more fields.

By gaurav · saved 27 November 2024 · run 156 times · Bitquery API v2

What it returns

The subscription

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

Similar queries