From 069748240c7946eff78b9ebd45eda3d72fa7805f Mon Sep 17 00:00:00 2001 From: Gaurav Agarwal Date: Thu, 27 Aug 2026 19:54:26 +0530 Subject: [PATCH] docs: add Phoenix collateral deposits and withdrawals Solana.PerpetualCollateralMovements is newly deployed -- it was not in the schema when I introspected the Solana cubes earlier today. CollateralMovement .Type is Deposit or Withdraw, denominated in PhUsd, so this is the money-in and money-out view of Phoenix that nothing in the panel covered. Adds it as a query and as a stream, both under Perpetuals / Phoenix. The query as originally written returned 892 unbounded rows in no defined order. The saved version takes 25 newest-first and carries Block.Time and the transaction signature, so a reader can see when each movement happened and follow it on chain. Trader, Signer, Amount, Currency and Fee are unchanged. Both were executed before saving and re-executed from the stored text afterwards: 25 rows for the query, and the subscription delivers on connect. Also fixes the injection helper. It placed authored entries into whichever tab it was pointed at, so pointing it at a file containing both a query and a subscription put each of them in the wrong tab as well as the right one. It now matches the entry kind to the tab, which is what caught this before it shipped. 734 query entries across 32 groups, 413 stream entries across 17. Co-Authored-By: Claude Opus 5 --- docs/start/starter-queries.md | 6 + docs/start/starter-subscriptions.md | 194 ++++++++++++++-------------- 2 files changed, 106 insertions(+), 94 deletions(-) diff --git a/docs/start/starter-queries.md b/docs/start/starter-queries.md index 0425bdae..96a7cb57 100644 --- a/docs/start/starter-queries.md +++ b/docs/start/starter-queries.md @@ -1341,6 +1341,12 @@ As a `query`, add `orderBy: { descending: Block_Time }` and a `limit` for the re ▶️ [Solana Perps OHLC Candles from Mark Price](https://ide.bitquery.io/solana-perps-ohlc-candles) +#### Collateral deposits and withdrawals + +Deposits and withdrawals of collateral on Phoenix perpetuals, newest first, with trader, signer and fee. Filter by Type for one side only. + +▶️ [Collateral deposits and withdrawals](https://ide.bitquery.io/Solana---Phoenix-collateral-deposits-and-withdrawals) + ## TRON ### Trades diff --git a/docs/start/starter-subscriptions.md b/docs/start/starter-subscriptions.md index d16dac22..e9c06456 100644 --- a/docs/start/starter-subscriptions.md +++ b/docs/start/starter-subscriptions.md @@ -326,80 +326,6 @@ We will use this subscription to listen to `consumeEvents` transactions on OpenB ▶️ [ConsumeEvents instruction on OpenBook V2](https://ide.bitquery.io/consumeEvents-instruction-on-OpenBook-V2_3) -### Raydium - -#### Latest Pools Created on Raydium - -This query returns the latest created pools on Raydium. You can set the limit here also. - -▶️ [Latest Pools Created on Raydium](https://ide.bitquery.io/Latest-Radiyum-V4-pools-created_1) - -#### Latest Trades on Raydium - -This stream gives info about the real time trades on Raydium exchange. You can modify this query to monitor trades on Raydium for a particular token or by a particular trader. - -▶️ [Latest Trades on Raydium](https://ide.bitquery.io/Updated-Real-time-trades-on-Raydium-DEX-on-Solana_1) - -#### New Pool Creation on Raydium CLMM - -This stream gives info about the real time liquidity pool creation on Raydium CLMM. - -▶️ [New Pool Creation on Raydium CLMM](https://ide.bitquery.io/Raydium-CLMM-Pool-Creation-stream) - -#### New Pool Creation on Raydium CPMM - -This stream gives info about the real time liquidity pool creation on Raydium CPMM. - -▶️ [New Pool Creation on Raydium CPMM](https://ide.bitquery.io/CPMM-pools-creation-stream) - -#### New Pool Creation on Raydium Launchpad - -This stream gives info about the real time liquidity pool creation on Raydium Launchpad. - -▶️ [New Pool Creation on Raydium Launchpad](https://ide.bitquery.io/Raydium-Launchpad-pool-creations_1) - -#### New Pool Creation on Raydium v4 - -This stream gives info about the real time liquidity pool creation on Raydium exchange. - -▶️ [New Pool Creation on Raydium v4](https://ide.bitquery.io/Latest-Radiyum-V4-pools-created_5) - -#### Track Raydium Launchpad tokens above 95% Bonding Curve Progress in realtime - -Returns Raydium Launchpad tokens which have more than 95% bonding curve progress. - -▶️ [Track Raydium Launchpad tokens above 95% Bonding Curve Progress in realtime](https://ide.bitquery.io/LetsBonkfun-Tokens-between-95-and-100-bonding-curve-progress_2) - -#### Newly launched token on PumpFun, Raydium Launchpad, Meteora DBC, Heaven DEX, Bags , Jupiter studio, Moonit - -Subscribe to newly launched tokens across multiple Solana launchpads and DEXs in a single subscription. - -▶️ [Newly launched token on PumpFun, Raydium Launchpad, Meteora DBC, Heaven DEX, Bags , Jupiter studio, Moonit](https://ide.bitquery.io/newly-launched-token-on-PumpFun-Raydium-Launchpad-Meteora-DBC-Heaven-DEX-Bags--Jupiter-studio-Moonit) - -#### Raydium CLMM DEX Trades with AccountNames - -In this section we will see how to get data on Raydium CLMM trades in real-time. According to the official docs available here. - -▶️ [Raydium CLMM DEX Trades with AccountNames](https://ide.bitquery.io/Raydium-CLMM-DEX-Trades-with-AccountNames) - -#### Raydium dextrades through OpenBook order book - -If you want to track latest Raydium DEXTrades enabled by OpenBook order book Protocol, you can use. - -▶️ [Raydium dextrades through OpenBook order book](https://ide.bitquery.io/Raydium-dextrades-through-OpenBook-order-book) - -#### Realtime stream raydium launchpad tokens with marketcap above 10k marketcap - -Subscribe when the token is on Solana, `Market.Protocol` is `raydium_launchpad`, `Supply.MarketCap` > 10,000 (USD), and interval duration > 1 second. Adjust `gt` to change the threshold. - -▶️ [Realtime stream raydium launchpad tokens with marketcap above 10k marketcap](https://ide.bitquery.io/realtime-stream-raydium-launchpad-tokens-with-marketcap-above-10k-marketcap) - -#### Track Add Liquidity Transactions on Solana Raydium DEX - -If you want to track latest liquidity additions in Raydium pools, you can use. - -▶️ [Track Add Liquidity Transactions on Solana Raydium DEX](https://ide.bitquery.io/Track-Add-Liquidity-Transactions-on-Solana-Raydium-DEX) - ### Pump.fun #### PumpFun Token Creation @@ -492,6 +418,80 @@ Subscribe to `InstructionBalanceUpdates` with the same `collect_coin_creator_fee ▶️ [Track creator fee transfers on pumpfun amm](https://ide.bitquery.io/track-creator-fee-transfers-on-pumpfun-amm) +### Raydium + +#### Latest Pools Created on Raydium + +This query returns the latest created pools on Raydium. You can set the limit here also. + +▶️ [Latest Pools Created on Raydium](https://ide.bitquery.io/Latest-Radiyum-V4-pools-created_1) + +#### Latest Trades on Raydium + +This stream gives info about the real time trades on Raydium exchange. You can modify this query to monitor trades on Raydium for a particular token or by a particular trader. + +▶️ [Latest Trades on Raydium](https://ide.bitquery.io/Updated-Real-time-trades-on-Raydium-DEX-on-Solana_1) + +#### New Pool Creation on Raydium CLMM + +This stream gives info about the real time liquidity pool creation on Raydium CLMM. + +▶️ [New Pool Creation on Raydium CLMM](https://ide.bitquery.io/Raydium-CLMM-Pool-Creation-stream) + +#### New Pool Creation on Raydium CPMM + +This stream gives info about the real time liquidity pool creation on Raydium CPMM. + +▶️ [New Pool Creation on Raydium CPMM](https://ide.bitquery.io/CPMM-pools-creation-stream) + +#### New Pool Creation on Raydium Launchpad + +This stream gives info about the real time liquidity pool creation on Raydium Launchpad. + +▶️ [New Pool Creation on Raydium Launchpad](https://ide.bitquery.io/Raydium-Launchpad-pool-creations_1) + +#### New Pool Creation on Raydium v4 + +This stream gives info about the real time liquidity pool creation on Raydium exchange. + +▶️ [New Pool Creation on Raydium v4](https://ide.bitquery.io/Latest-Radiyum-V4-pools-created_5) + +#### Track Raydium Launchpad tokens above 95% Bonding Curve Progress in realtime + +Returns Raydium Launchpad tokens which have more than 95% bonding curve progress. + +▶️ [Track Raydium Launchpad tokens above 95% Bonding Curve Progress in realtime](https://ide.bitquery.io/LetsBonkfun-Tokens-between-95-and-100-bonding-curve-progress_2) + +#### Newly launched token on PumpFun, Raydium Launchpad, Meteora DBC, Heaven DEX, Bags , Jupiter studio, Moonit + +Subscribe to newly launched tokens across multiple Solana launchpads and DEXs in a single subscription. + +▶️ [Newly launched token on PumpFun, Raydium Launchpad, Meteora DBC, Heaven DEX, Bags , Jupiter studio, Moonit](https://ide.bitquery.io/newly-launched-token-on-PumpFun-Raydium-Launchpad-Meteora-DBC-Heaven-DEX-Bags--Jupiter-studio-Moonit) + +#### Raydium CLMM DEX Trades with AccountNames + +In this section we will see how to get data on Raydium CLMM trades in real-time. According to the official docs available here. + +▶️ [Raydium CLMM DEX Trades with AccountNames](https://ide.bitquery.io/Raydium-CLMM-DEX-Trades-with-AccountNames) + +#### Raydium dextrades through OpenBook order book + +If you want to track latest Raydium DEXTrades enabled by OpenBook order book Protocol, you can use. + +▶️ [Raydium dextrades through OpenBook order book](https://ide.bitquery.io/Raydium-dextrades-through-OpenBook-order-book) + +#### Realtime stream raydium launchpad tokens with marketcap above 10k marketcap + +Subscribe when the token is on Solana, `Market.Protocol` is `raydium_launchpad`, `Supply.MarketCap` > 10,000 (USD), and interval duration > 1 second. Adjust `gt` to change the threshold. + +▶️ [Realtime stream raydium launchpad tokens with marketcap above 10k marketcap](https://ide.bitquery.io/realtime-stream-raydium-launchpad-tokens-with-marketcap-above-10k-marketcap) + +#### Track Add Liquidity Transactions on Solana Raydium DEX + +If you want to track latest liquidity additions in Raydium pools, you can use. + +▶️ [Track Add Liquidity Transactions on Solana Raydium DEX](https://ide.bitquery.io/Track-Add-Liquidity-Transactions-on-Solana-Raydium-DEX) + ### Meteora #### Jup studio token migrations from Meteora DBC to Meteors DEX @@ -854,6 +854,12 @@ Solana Perpetuals Mark Price Stream (Phoenix). ▶️ [Solana Perpetuals Mark Price Stream (Phoenix)](https://ide.bitquery.io/solana-perpetuals-mark-price-stream) +#### Collateral deposits and withdrawals + +Live collateral deposits and withdrawals on Phoenix perpetuals - the money-in and money-out feed for the venue. + +▶️ [Collateral deposits and withdrawals](https://ide.bitquery.io/Solana---Phoenix-collateral-deposits-and-withdrawals-live) + ## TRON ### Trades @@ -2418,25 +2424,25 @@ Use the same Raydium program filter with negative `ChangeAmount` on the base sid ▶️ [Liquidity removal for radium](https://ide.bitquery.io/liquidity-removal-for-radium_1) -### Uniswap +### Pump.fun -#### 1-second price, OHLC, volume, SMA and EMA — Uniswap v3 +#### All Pumpswap Trade Stream -One-second candles with moving averages for Uniswap v3 tokens, built for trading front-ends. +All Pumpswap Trade Stream. Uses the `Trades` cube. -▶️ [1-second price, OHLC, volume, SMA and EMA — Uniswap v3](https://ide.bitquery.io/Uniswap-v3-DEX-tokens-1-second-price-stream-with-OHLC) +▶️ [All Pumpswap Trade Stream](https://ide.bitquery.io/All-Pumpswap-Trade-Stream) -#### Stream all Uniswap Seconds OHLC Kline +#### All pumpfun Trade Stream -Subscribe to `Trading.Pairs` filtered by Uniswap protocols and 1s interval to power sub-minute charts and HFT analytics. +All pumpfun Trade Stream. Uses the `Trades` cube. -▶️ [Stream all Uniswap Seconds OHLC Kline](https://ide.bitquery.io/Stream-all-Uniswap-Seconds-OHLC-Kline) +▶️ [All pumpfun Trade Stream](https://ide.bitquery.io/All-pumpfun-Trade-Stream_2) -#### Uniswap all versions trades stream +#### Pump fun token live prices using trades api -Filter `DEXTrades` with `ProtocolName` in `uniswap_v3`, `uniswap_v2`, `uniswap_v1` to stream only Uniswap family pools on mainnet. +Pump fun token live prices using trades api. Uses the `Trades` cube. -▶️ [Uniswap all versions trades stream](https://ide.bitquery.io/uniswap-all-versions-trades-stream) +▶️ [Pump fun token live prices using trades api](https://ide.bitquery.io/pump-fun-token-live-prices-using-trades-api_1) ### PancakeSwap @@ -2452,25 +2458,25 @@ PancakeSwap v3 DEX tokens 1 second price stream with OHLC. Uses the `Pairs` cube ▶️ [PancakeSwap v3 DEX tokens 1 second price stream with OHLC](https://ide.bitquery.io/PancakeSwap-v3-DEX-tokens-1-second-price-stream-with-OHLC) -### Pump.fun +### Uniswap -#### All Pumpswap Trade Stream +#### 1-second price, OHLC, volume, SMA and EMA — Uniswap v3 -All Pumpswap Trade Stream. Uses the `Trades` cube. +One-second candles with moving averages for Uniswap v3 tokens, built for trading front-ends. -▶️ [All Pumpswap Trade Stream](https://ide.bitquery.io/All-Pumpswap-Trade-Stream) +▶️ [1-second price, OHLC, volume, SMA and EMA — Uniswap v3](https://ide.bitquery.io/Uniswap-v3-DEX-tokens-1-second-price-stream-with-OHLC) -#### All pumpfun Trade Stream +#### Stream all Uniswap Seconds OHLC Kline -All pumpfun Trade Stream. Uses the `Trades` cube. +Subscribe to `Trading.Pairs` filtered by Uniswap protocols and 1s interval to power sub-minute charts and HFT analytics. -▶️ [All pumpfun Trade Stream](https://ide.bitquery.io/All-pumpfun-Trade-Stream_2) +▶️ [Stream all Uniswap Seconds OHLC Kline](https://ide.bitquery.io/Stream-all-Uniswap-Seconds-OHLC-Kline) -#### Pump fun token live prices using trades api +#### Uniswap all versions trades stream -Pump fun token live prices using trades api. Uses the `Trades` cube. +Filter `DEXTrades` with `ProtocolName` in `uniswap_v3`, `uniswap_v2`, `uniswap_v1` to stream only Uniswap family pools on mainnet. -▶️ [Pump fun token live prices using trades api](https://ide.bitquery.io/pump-fun-token-live-prices-using-trades-api_1) +▶️ [Uniswap all versions trades stream](https://ide.bitquery.io/uniswap-all-versions-trades-stream) ## Stablecoins