joshua subscription query

Streams DEX trades on Solana as they happen, where DEX program address is 6EF8rr…wF6P, 675kPX…1Mp8 or 5 more: method, buy amount, buy currency name, buy currency symbol, buy currency mint address, buy URI, buy price in USD and 13 more fields.

By Divyasshree · saved 17 March 2025 · Bitquery API v2

What it returns

Filters

The subscription

subscription MyQuery {
  Solana {
    DEXTrades(
      where: {Trade: {Dex: {ProgramAddress: {in: ["6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P", "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8", "CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C", "CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK", "Eo7WjKq67rjJQSZxS6z3YkapzY3eMj6Xy8X5EQVn5UaB", "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo", "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"]}}}, Transaction: {Result: {Success: true}}}
    ) {
      Instruction {
        Program {
          Method
        }
      }
      Trade {
        Buy {
          Amount
          Currency {
            Name
            Symbol
            MintAddress
            Uri
          }
          PriceInUSD
          Account {
            Owner
          }
        }
        Sell {
          Amount
          Currency {
            Name
            Symbol
            MintAddress
          }
          PriceInUSD
          Account {
            Owner
          }
        }
        Dex {
          ProgramAddress
        }
      }
      Transaction {
        Signature
        Signer
        Fee
      }
      Block {
        Time
        Slot
      }
    }
  }
}

Similar queries