subscribing to solana address

Streams DEX trades on Solana as they happen, where transaction signer is add1 or add2: signer, market address, buy account address, buy account owner, buy amount, buy amount in USD, buy currency name and 13 more fields.

By gaurav · saved 30 October 2024 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTrades(where: {Transaction: {Signer: {in: ["add1", "add2"]}}}) {
      Transaction {
        Signer
      }
      Trade {
        Market {
          MarketAddress
        }
        Buy {
          Account {
            Address
            Owner
          }
          Amount
          AmountInUSD
          Currency {
            Name
            Symbol
            MintAddress
          }
          Price
          PriceInUSD
        }
        Sell {
          Account {
            Address
            Owner
          }
          Amount
          AmountInUSD
          Currency {
            Name
            Symbol
            MintAddress
          }
          Price
          PriceInUSD
        }
      }
    }
  }
}

Similar queries