latest-price-based-on-liquidity

Streams DEX pools on Solana as they happen, where base currency mint address is So1111…1112: block time, base change amount, base post amount, base price, base price in USD, program address, protocol family and 4 more fields.

By Kshitij Mahajan · saved 3 September 2024 · run 39 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXPools(
      where: {
        Pool: {
          Market: {
            BaseCurrency: {
              MintAddress: {
                is: "So11111111111111111111111111111111111111112"
              }
            }
          }
        },
        Transaction: {
          Result: {
            Success: true
          }
        }
      }
    ) {
      Block {
        Time
      }
      Pool {
        Base {
          ChangeAmount
          PostAmount
          Price
          PriceInUSD
        }
        Dex {
          ProgramAddress
          ProtocolFamily
        }
        Market {
          BaseCurrency {
            MintAddress
            Name
            Symbol
          }
          MarketAddress
        }
      }
    }
  }
}

Similar queries