dexpools stream example 1keeper

solana dex pools update stream

Streams DEX pools on Solana as they happen: block time, base change amount, base post amount, base price, base price in USD, quote change amount, quote post amount and 14 more fields.

By Divyasshree · saved 11 December 2024 · run 4 times · Bitquery API v2

What it returns

The subscription

subscription {
  Solana(network: solana) {
    DEXPools {
      Block {
        Time
      }
      Pool {
        Base {
          ChangeAmount
          PostAmount
          Price
          PriceInUSD
        }
        Quote {
          ChangeAmount
          PostAmount
          Price
          PriceInUSD
        }
        Dex {
          ProgramAddress
          ProtocolFamily
        }
        Market {
          BaseCurrency {
            MintAddress
            Name
            Symbol
          }
          QuoteCurrency {
            MintAddress
            Name
            Symbol
          }
          MarketAddress
        }
      }
      Instruction {
        Accounts {
          Address
        }
        Program {
          AccountNames
          Address
          Name
        }
      }
    }
  }
}

Similar queries