solana pool trades

Streams DEX trades on Solana as they happen, where market market address is 8sLbNZ…Lwxj: signer, transaction signature, block height, buy account address, buy account owner, buy amount, buy amount in USD and 14 more fields.

By gaurav · saved 14 November 2024 · run 3 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTrades(
      where: {Trade: {Market: {MarketAddress: {is: "8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj"}}}}
    ) {
      Transaction {
        Signer
        Signature
      }
      Block {
        Height
      }
      Trade {
        Buy {
          Account {
            Address
            Owner
          }
          Amount
          AmountInUSD
          Currency {
            Name
            MintAddress
            Symbol
          }
          Price
          PriceInUSD
        }
        Sell {
          Account {
            Address
            Owner
          }
          Amount
          AmountInUSD
          Currency {
            Name
            MintAddress
            Symbol
          }
          Price
          PriceInUSD
        }
      }
    }
  }
}

Similar queries