From 7be3fccefb73e3dce7e2bb76078e037abfe9d585 Mon Sep 17 00:00:00 2001 From: Gaurav Agarwal Date: Thu, 27 Aug 2026 12:30:55 +0530 Subject: [PATCH 1/3] docs: lead with the Trading cube, reorder groups, fill balance gaps Trading cube first. The docs already say Trading.Pairs / Tokens / Currencies are the primary source for real-time and the last ~30 days, with DEXTrades and DEXTradeByTokens for history beyond that -- but the panel did the opposite: 225 of 367 trade and price entries led with a DEX cube, and on Ethereum, Base, Arbitrum, BSC and TRON a DEX-cube query was the first thing under Price & OHLC. Trading-cube entries now sort first, 92 DEX-cube entries are relabelled "historical (beyond 30 days)", and 195 tooltips say which side they are on. Pairs + rank 1. Zero of the 31 shipped Pairs queries used `Ranking: {Position: {eq: 1}}`, so we shipped none of the pattern the docs recommend for pricing one token -- the Tokens price is volume-blended across every pool. Added the three documented rank-1 queries and authored one per chain for Ethereum, Base, BSC, Arbitrum, Optimism and Solana, each now the first entry in its Price & OHLC section. Two traps found while authoring these, both now in the query comments: Trading.Token.Address is stored lowercase and the filter is case-sensitive, so a checksummed address returns zero rows and no error; and picking the example token by "top volume" surfaced obscure tokens and, on Solana, a homoglyph spoof of SOL -- the examples are canonical addresses instead. Balances. Balance is the question every chain gets asked, current and historical. 16 chains were missing one or both; authored and verified 11 new queries (current balance on Base, Arbitrum, Optimism, Polygon; balance at a past date on Bitcoin, Dogecoin, Litecoin, Bitcoin Cash, Dash, Zcash, Celo), taking the gap from 16 chains to 7. Group order now leads with Bitcoin, Solana, Robinhood, Polymarket, Perpetuals, TRON, Cross-Chain, Ethereum, BSC. Perpetuals is split by venue -- Hyperliquid and Phoenix -- since that is how people browse it. 663 query entries across 28 groups, 383 stream entries across 17. All audit gates pass and the site builds with no warnings. Co-Authored-By: Claude Opus 5 --- docs/start/starter-queries.md | 4308 ++++++++++++++------------- docs/start/starter-subscriptions.md | 1892 ++++++------ 2 files changed, 3165 insertions(+), 3035 deletions(-) diff --git a/docs/start/starter-queries.md b/docs/start/starter-queries.md index 596eed9e..b0ba02cc 100644 --- a/docs/start/starter-queries.md +++ b/docs/start/starter-queries.md @@ -16,18 +16,21 @@ Every query below is saved in the [Bitquery IDE](https://ide.bitquery.io) and wa ## Table of Contents -- [Ethereum](#ethereum) +- [Bitcoin](#bitcoin) - [Solana](#solana) +- [Robinhood Chain](#robinhood-chain) +- [Polymarket](#polymarket) +- [Perpetuals](#perpetuals) +- [TRON](#tron) +- [Cross-Chain](#cross-chain) +- [Ethereum](#ethereum) - [BSC](#bsc) - [Base](#base) - [Arbitrum](#arbitrum) - [Optimism](#optimism) - [Polygon](#polygon) -- [TRON](#tron) -- [Robinhood Chain](#robinhood-chain) - [Avalanche](#avalanche) - [Celo](#celo) -- [Bitcoin](#bitcoin) - [Litecoin](#litecoin) - [Bitcoin Cash](#bitcoin-cash) - [Dogecoin](#dogecoin) @@ -38,4120 +41,4283 @@ Every query below is saved in the [Bitquery IDE](https://ide.bitquery.io) and wa - [Algorand](#algorand) - [Trading API](#trading-api) - [Stablecoins](#stablecoins) -- [Perpetuals](#perpetuals) - [NFTs](#nfts) -- [Polymarket](#polymarket) - [Futures DEXs](#futures-dexs) - [x402](#x402) -- [Cross-Chain](#cross-chain) -## Ethereum +## Bitcoin -### Trades +### Transfers -#### Latest DEX trades for a token +#### Inflows and Outflows of a wallet -Most recent swaps for one token across every Ethereum DEX. Change the token address in the `Currency: {SmartContract:}` filter. +This API returns all incoming and outgoing transactions for a specific Bitcoin wallet address. -▶️ [Latest DEX trades for a token](https://ide.bitquery.io/Ethereum-Trades-of-a-Token_1) +▶️ [Inflows and Outflows of a wallet](https://ide.bitquery.io/Inflows-and-Outflow-of-a-bitcoin-wallet) -#### Realised PnL, buy and sell volume +### Balances & Holders -Profit and loss for a wallet on one token, from its own trade history. Needs the historical data add-on — see the comment at the top of the query. +#### Balance of an address at a past date -▶️ [Realised PnL, buy and sell volume](https://ide.bitquery.io/Realised-Pnl-Buy-volume-Sell-Volume-Ethereum_1) +What one Bitcoin address held as of a chosen date. Move the date in the Variables pane. -#### Trades by a wallet +▶️ [Balance of an address at a past date](https://ide.bitquery.io/Bitcoin-Balance-of-an-address-at-a-past-date) -Every buy and sell made by one address. Replace the wallet in `Transaction: {From:}`. +#### Bitcoin Balance for multiple addresses -▶️ [Trades by a wallet](https://ide.bitquery.io/Ethereum-Trades-of-a-Trader_1) +This query calculates the combined balance of multiple Bitcoin wallet addresses by summing their total inflows and outflows: Balance = Total Output - Total Input. You can also set a date to get balances as of a specific point in time. -#### Address is Buyer or Seller V2 +▶️ [Bitcoin Balance for multiple addresses](https://ide.bitquery.io/BTC-balance-api-for-multiple-addresses) -Returns trades where the specified address is either as a buyer or a seller. This is achieved by utilizing the `any` filter, which acts as an OR condition to encompass both buyer and seller roles in the results. +#### BTC balance api for multiple addresses -▶️ [Address is Buyer or Seller V2](https://ide.bitquery.io/Address-is-Buyer-or-Seller-V2) +Pass an array of addresses to `inputAddress` and `outputAddress` with `{in: [...]}` to get per-wallet totals in a single request. Useful for exchanges, custodians, and portfolio dashboards that monitor many wallets at once. -#### All events on fluid DEX VaultFactory +▶️ [BTC balance api for multiple addresses](https://ide.bitquery.io/BTC-balance-API-for-multiple-addresses) -Get a comprehensive list of all events emitted by the Fluid DEX Vault Factory contract. This query aggregates event counts by signature to identify which events are most frequently emitted, helping you understand the contract's activity patterns. +#### Bitcoin balance -▶️ [All events on fluid DEX VaultFactory](https://ide.bitquery.io/all-events-on-fluid-DEX-VaultFactory) +Returns total BTC sent (inputs) and received (outputs) for an address, along with USD-equivalent values and first / last activity dates. Subtract `inputs.value` from `outputs.value` to get the current balance. -#### Buys, Sells, BuyVolume, SellVolume, Makers, TotalTradedVolume, PriceinUSD for a eth pair +▶️ [Bitcoin balance](https://ide.bitquery.io/Bitcoin-balance_5) -Will fetch the buys, sells, buy volume, sell volume and also the number of makers for a particular token just like how DEXScreener shows in its UI. +#### Bitcoin balance at a given height -▶️ [Buys, Sells, BuyVolume, SellVolume, Makers, TotalTradedVolume, PriceinUSD for a eth pair](https://ide.bitquery.io/Buys-Sells-BuyVolume-SellVolume-Makers-TotalTradedVolume-PriceinUSD-for-a-eth-pair) +Need to know what a wallet held at a particular point in time? The `height` filter caps inputs and outputs at a given block number, which is exactly what you need for audits, tax reporting, and point-in-time portfolio snapshots. -#### Coin ticker api +▶️ [Bitcoin balance at a given height](https://ide.bitquery.io/bitcoin-balance-at-a-given-height) -Coin ticker api. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. +#### Bitcoin balance on a given block height -▶️ [Coin ticker api](https://ide.bitquery.io/Coin-ticker-api_4) +Sum outputs and subtract inputs with a `height: {lteq: N}` cap to get the wallet's balance at a specific point on-chain. Useful for audits, tax snapshots, and point-in-time portfolio reporting. -#### Dex info +▶️ [Bitcoin balance on a given block height](https://ide.bitquery.io/bitcoin-balance-on-a-given-block-height) -Will fetch a specific DEX stats for the selected network. +### Price & OHLC -▶️ [Dex info](https://ide.bitquery.io/dex-info) +#### Btc price in 2016 -#### Dex markets +Pulls the BTC/USD price implied by any output on a given date — Bitquery stores the spot value at the time of each transaction, so you can derive a historical price by dividing USD value by BTC value. -Will fetch all the DEXs info for the selected network. +▶️ [Btc price in 2016](https://ide.bitquery.io/btc-price-in-2016) -▶️ [Dex markets](https://ide.bitquery.io/dex-markets) +### Transactions -#### First 500 buyers of a token +#### Details of Bitcoin Transaction -Earliest buyers of a token in order, useful for launch and insider analysis. Needs the historical data add-on — see the comment at the top of the query. +This API provides comprehensive details of a specific Bitcoin transaction in a single query. -▶️ [First 500 buyers of a token](https://ide.bitquery.io/first-500-buyers-of-a-ERC20-token_1) +▶️ [Details of Bitcoin Transaction](https://ide.bitquery.io/Details-of-Bitcoin-Transaction) -### Transfers +### Blocks & Validators -#### ERC-20 transfers by wallet +#### Bitcoin miners rewards -Recent token transfers in and out of one address. Replace the address in the `where` clause. +Mining rewards live in coinbase outputs (the first transaction in every block, `txIndex: 0`) with `outputDirection: mining`. -▶️ [ERC-20 transfers by wallet](https://ide.bitquery.io/Get-ERC20-token-transfers-by-wallet_7) +▶️ [Bitcoin miners rewards](https://ide.bitquery.io/bitcoin-miners-rewards) -#### ERC-20 transfers over a past period +#### Get miners activity in a specific timeframe -Token transfers for a wallet between two dates. Change `since` and `till`. Needs the historical data add-on — see the comment at the top of the query. +Pulls the activity count per miner address inside a date range. Drop or extend the date window to size the cohort however you need. -▶️ [ERC-20 transfers over a past period](https://ide.bitquery.io/Get-historical-ERC20-token-transfers-by-wallet_1) +▶️ [Get miners activity in a specific timeframe](https://ide.bitquery.io/get-miners-activity-in-a-specific-timeframe) -#### Array_intersect example for 2 addresses +#### Get miners first activity -Find addresses that have interacted with multiple addresses from a given list. This query uses the `array_intersect` function to identify addresses that have sent or received funds to/from every address in your list. +For a specific set of miner addresses, this query returns the first block each one mined. Useful for cohort analysis, miner onboarding studies, or building "first seen" timelines. -▶️ [Array_intersect example for 2 addresses](https://ide.bitquery.io/array_intersect-example-for-2-addresses_2) +▶️ [Get miners first activity](https://ide.bitquery.io/get-miners-first-activity) -#### Binance:hot wallet transfers with transaction fees +## Solana -Track wallet token transfers and get the fees paid for each by the address. `SenderFee` and `SenderFeeInUSD` fields in query are the transaction fees in ETH and transaction fees in USD respectively. +### Trades -▶️ [Binance:hot wallet transfers with transaction fees](https://ide.bitquery.io/binancehot-wallet-transfers-with-transaction-fees) +#### Get Swaps by Pair Address -#### Find earliest transfer to an account +Get all trades related transactions for a specific pair address. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -Find the first transfer ever received by a specific wallet address. This is useful for wallet age analysis, first transaction tracking, and onboarding analytics. +▶️ [Get Swaps by Pair Address](https://ide.bitquery.io/swaps-for-a-market-address-on-Solana) -▶️ [Find earliest transfer to an account](https://ide.bitquery.io/Copy-of-find-earliest-transfer-to-an-account) +#### Get Trades by Wallet Address -#### Get Contract Type in v2 +Get all trades related transactions (buy, sell) for a specific wallet address. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -To determine the type of a contract and its details, we can use the Transfer API. By fetching the earliest transfer to the contract, we can get relevant details that indicate the contract type. +▶️ [Get Trades by Wallet Address](https://ide.bitquery.io/Solana-dextrades-by-a-trader_2) -▶️ [Get Contract Type in v2](https://ide.bitquery.io/Get-Contract-Type-in-v2) +#### Get Volume Stats for Solana Chain — historical (beyond 30 days) -#### Get Minted Address of the ICO Token +Returns volume statistics, active wallets, and total transactions for Solana. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -In most of the ICOs, the token is minted to a smart contract that contains various methods for distributing the token whenever the conditions set by project owners are satisfied. +▶️ [Get Volume Stats for Solana Chain — historical (beyond 30 days)](https://ide.bitquery.io/Chain-stats-like-total-volume-traded-total-transactions-active-wallets_1) -▶️ [Get Minted Address of the ICO Token](https://ide.bitquery.io/Get-Minted-Address-of-the-ICO-Token) +#### Get Multiple Token Analytics — historical (beyond 30 days) -#### Number of Purchasers in ICO +Returns analytics data for multiple token addresses. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Number of Purchasers in ICO. Uses the `Transfers` cube. Change the token address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. +▶️ [Get Multiple Token Analytics — historical (beyond 30 days)](https://ide.bitquery.io/Buys-Sells-BuyVolume-SellVolume-Makers-TotalTradedVolume-PriceinUSD-for-multiple-solana-tokens) -▶️ [Number of Purchasers in ICO](https://ide.bitquery.io/Number-of-Purchasers-in-ICO) +#### Get Token Metadata — historical (beyond 30 days) -#### Transfers sent OR received by an address +Get the token metadata for contract (mint, standard, name, symbol). Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Both sides of an address's transfer history in one result, using an OR filter. Needs the historical data add-on — see the comment at the top of the query. +▶️ [Get Token Metadata — historical (beyond 30 days)](https://ide.bitquery.io/Solana-currency-details) -▶️ [Transfers sent OR received by an address](https://ide.bitquery.io/Sender-OR-Receiver-Transfer-on-Ethereum) +#### Get Token Pair Stats — historical (beyond 30 days) -#### Total txn fees paid by binance hot wallet in a day +Get the pair stats by using pair address. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Get the total fees (in Eth and USD) paid by a specific EVM account across all transfers. `SenderFee` and `SenderFeeInUSD` fields in query are the transaction fees in ETH and transaction fees in USD respectively. +▶️ [Get Token Pair Stats — historical (beyond 30 days)](https://ide.bitquery.io/Buys-Sells-BuyVolume-SellVolume-Makers-TotalTradedVolume-PriceinUSD-for-solana-token-pair) -▶️ [Total txn fees paid by binance hot wallet in a day](https://ide.bitquery.io/total-txn-fees-paid-by-binance-hot-wallet-in-a-day) +#### Get Token Pairs by Address — historical (beyond 30 days) -### Balances & Holders +Get the supported pairs for a specific token address. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Current balance of an address +▶️ [Get Token Pairs by Address — historical (beyond 30 days)](https://ide.bitquery.io/traded-pairs-of-a-token_2) -Every token balance held by one wallet, with USD value. Balances are cumulative, so this reads the full history. Needs the historical data add-on — see the comment at the top of the query. +#### Realised PnL, avg buy price, buy volume, sell volume of a Trader for specific token — historical (beyond 30 days) -▶️ [Current balance of an address](https://ide.bitquery.io/Ethereum-Balance-of-an-Address_2) +Get realised PnL, average buy price, buy volume, and sell volume for a token on Solana of a trader for over a time window. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Token holder count +▶️ [Realised PnL, avg buy price, buy volume, sell volume of a Trader for specific token — historical (beyond 30 days)](https://ide.bitquery.io/Realised-Pnl-avg-buy-price-Buy-volume-Sell-Volume-Solana_2) -How many addresses hold a token right now. Needs the historical data add-on — see the comment at the top of the query. +#### Search tokens by name, symbol, mint address — historical (beyond 30 days) -▶️ [Token holder count](https://ide.bitquery.io/Copy-of-token-holders-count-eth) +Search for tokens based on contract address, token name or token symbol. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Balance of an address at a past date +▶️ [Search tokens by name, symbol, mint address — historical (beyond 30 days)](https://ide.bitquery.io/Token-Search-API---trump-symbol) -What a wallet held on a given day. Change the `date` argument. Needs the historical data add-on — see the comment at the top of the query. +#### Buys Sells BuyVolume SellVolume Makers TotalTradedVolume PriceinUSD for solana token pair — historical (beyond 30 days) -▶️ [Balance of an address at a past date](https://ide.bitquery.io/Historical-Balance-of-an-Address_1) +Returns the essential stats for a token such as buy volume, sell volume, total buys, total sells, makers, total trade volume, buyers, sellers (in last 5 min, 1 hour) of a specific token. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Token holders on a specific date +▶️ [Buys Sells BuyVolume SellVolume Makers TotalTradedVolume PriceinUSD for solana token pair — historical (beyond 30 days)](https://ide.bitquery.io/Buys-Sells-BuyVolume-SellVolume-Makers-TotalTradedVolume-PriceinUSD-for-solana-token-pair00_2) -A holder snapshot for any past day, with per-holder stats. Needs the historical data add-on — see the comment at the top of the query. +### Transfers -▶️ [Token holders on a specific date](https://ide.bitquery.io/tokens-holders-of-a-token_10) +#### Simple SOL transfers (Transactions not trades) -#### Token Holders of Multiple Tokens until last month +This API returns simple SOL transfers; in other words, it contains transactions that are simple token transfers, not trades. -This API provides a list of top holders along with relevant statistics for a given token liston a specific date using BalanceUpdates API. +▶️ [Simple SOL transfers (Transactions not trades)](https://ide.bitquery.io/Simple-SOL-transfers-Transactions-not-trades) -▶️ [Token Holders of Multiple Tokens until last month](https://ide.bitquery.io/Top-10-historical-holders-of-multiple-tokens-on-ETH) +#### Solana Token Transfers for a Specific Address -#### Average Tip in terms of avg gas Fee +This API retrieves the history of token transfers (both sent and received) for a specific Solana address within a defined time period. -Compares average user tip to average total gas fee per block across the last 10 blocks. +▶️ [Solana Token Transfers for a Specific Address](https://ide.bitquery.io/Solana-historical-token-transfers-of-an-address-between-a-time) -▶️ [Average Tip in terms of avg gas Fee](https://ide.bitquery.io/Average-Tip-in-terms-of-avg-gas-Fee_4) +#### Solana Transfers -#### Balance Updates for multiple addresses transfer in last 24 hours +This query gets the latest 10 transfers on Solana. You can increase the limit to get more transfers. This query only uses real-time data. -Balance Updates for multiple addresses transfer in last 24 hours. Uses the `TransactionBalances` cube. +▶️ [Solana Transfers](https://ide.bitquery.io/Solana-transfers0_5) -▶️ [Balance Updates for multiple addresses transfer in last 24 hours](https://ide.bitquery.io/Balance-Updates-for-multiple-addresses-transfer-in-last-24-hours) +#### Solana Historical Transfers -#### Balance Updates for transfer in last 24 hours +Solana Historical Transfers. -Balance Updates for transfer in last 24 hours. Uses the `TransactionBalances` cube. Replace the address in the `where` clause to use it. +▶️ [Solana Historical Transfers](https://ide.bitquery.io/solana-historical-transfers_1) -▶️ [Balance Updates for transfer in last 24 hours](https://ide.bitquery.io/Balance-Updates-for-transfer-in-last-24-hours) +#### Currency with elon inclusion -#### Balance update after transfer received from multiple addresses +You can search tokens on Solana using names or symbols case insensitively also using our APIs and get prices and other details. -Balance update after transfer received from multiple addresses. Uses the `TransactionBalances` cube. +▶️ [Currency with elon inclusion](https://ide.bitquery.io/Currency-with-elon-inclusion) -▶️ [Balance update after transfer received from multiple addresses](https://ide.bitquery.io/Balance-update-after-transfer-received-from-multiple-addresses_2) +#### Solana token transfers of Bags fm tokens -#### Balance update after transfer sent from multiple addresses +Track all transfers of Bags FM tokens across wallets. This Bags FM token transfers endpoint provides complete transfer history. 🔗. -Balance update after transfer sent from multiple addresses. Uses the `TransactionBalances` cube. +▶️ [Solana token transfers of Bags fm tokens](https://ide.bitquery.io/Solana-token-transfers-of-Bags-fm-tokens) -▶️ [Balance update after transfer sent from multiple addresses](https://ide.bitquery.io/Balance-update-after-transfer-sent-from-multiple-addresses) +#### Total txn fees paid by the Account -### Price & OHLC +Get the total fees (in SOL and USD) paid by a specific Solana account across all transfers. -#### All-time high price of a token +▶️ [Total txn fees paid by the Account](https://ide.bitquery.io/total-txn-fees-paid-by-the-Account) -Highest price a token has ever traded at, with the date it happened. Needs the historical data add-on — see the comment at the top of the query. +#### Transaction fees paid by Account aggregated by currency -▶️ [All-time high price of a token](https://ide.bitquery.io/ATH-of-eth-token) +Get total fees paid by a Solana account for transferring each type of token. -#### Prices for multiple tokens at once +▶️ [Transaction fees paid by Account aggregated by currency](https://ide.bitquery.io/Transaction-fees-paid-by-Account-aggregated-by-currency) -Latest USD price for a list of tokens in a single request. Add addresses to the `in` filter. +#### Transfers of a wallet -▶️ [Prices for multiple tokens at once](https://ide.bitquery.io/Price-of-multiple-tokens-in-realtime) +Fetches the recent 10 transfers of a specific wallet address `9nnLbotNTcUhvbrsA6Mdkx45Sm82G35zo28AqUvjExn8`. -#### OHLCV by pair address +▶️ [Transfers of a wallet](https://ide.bitquery.io/Transfers-of-a-wallet_1) -Open, high, low, close and volume candles for one pair. Change the interval to re-bucket the candles. +#### Wallet transfers with transaction fees paid -▶️ [OHLCV by pair address](https://ide.bitquery.io/OHLC0_8) +Track wallet token transfers and get the fees paid for each by the address. -#### Price change over 5m, 1h, 6h and 24h +▶️ [Wallet transfers with transaction fees paid](https://ide.bitquery.io/wallet-transfers-with-transaction-fees-paid) -Percentage moves across four windows for one token in one query. +### Balances & Holders -▶️ [Price change over 5m, 1h, 6h and 24h](https://ide.bitquery.io/Price-change-5min-1hr-6hr-precentage-of-a-specific-token_4) +#### Solana Instruction Balance Updates -#### Top 10 tokens by price change, last hour +This query returns Solana balance update info for any balance update event, including the address, amount, currency details, and the details of the program responsible for this update. -Biggest movers on Ethereum over the past hour, ranked. +▶️ [Solana Instruction Balance Updates](https://ide.bitquery.io/Solana-InstructionBalanceUpdates) -▶️ [Top 10 tokens by price change, last hour](https://ide.bitquery.io/Top-10-eth-tokens-by-price-change-in-last-1-hr_2) +#### Balance updates -#### Historical Price and Volume Data for a Token Pair beyond 30 days +Returns balance update associated with a instruction invocation. -Use this API to get historical price and volume for a specific token pair address on a specific network for the time window beyond the 30 days. +▶️ [Balance updates](https://ide.bitquery.io/balance-updates) -▶️ [Historical Price and Volume Data for a Token Pair beyond 30 days](https://ide.bitquery.io/historical-price-and-historical-volume) +#### Solana balance updates executing burn instruction -#### Ohlc of a token pair 1 hour interval +The query below uses the InstructionBalanceUpdates API to fetch balance updates that occur when token burn instructions execute. -Fetches the Open, High, Low, and Close (OHLC) price data (USD-quoted) for a given token pair across DEXs, using a specified quote token and time interval (in seconds). +▶️ [Solana balance updates executing burn instruction](https://ide.bitquery.io/solana-balance-updates-executing-burn-instruction) -▶️ [Ohlc of a token pair 1 hour interval](https://ide.bitquery.io/ohlc-of-a-token-pair-1-hour-interval) +#### Trades of wallets with balance Updates in that trades -#### Pepe historical ohlcv 30days +Below query will give you the trades of the wallets present in `addressList` along with the balance updates happened in those trades.. -Fetch hourly OHLCV candles for the past 30 days. Change `Duration` for different intervals, such as 60 (1 minute) or 300 (5 minutes). +▶️ [Trades of wallets with balance Updates in that trades](https://ide.bitquery.io/Trades-of-wallets-with-balance-Updates-in-that-trades) -▶️ [Pepe historical ohlcv 30days](https://ide.bitquery.io/pepe-historical-ohlcv-30days) +### Price & OHLC -#### Price change 5min, 1hr, 6hr precentage of a specific token +#### Token price from top market (rank 1) -Price change 5min, 1hr, 6hr precentage of a specific token. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. +Prices SOL from its single top market rather than blending every pool — the recommended way to price one specific token. Replace `token` in the Variables pane, lowercase. -▶️ [Price change 5min, 1hr, 6hr precentage of a specific token](https://ide.bitquery.io/Price-change-5min-1hr-6hr-precentage-of-a-specific-token_1) +▶️ [Token price from top market (rank 1)](https://ide.bitquery.io/Solana-Token-price-from-top-market-rank-1) -#### Price of a token in realtime +#### Get OHLCV by Pair Address -Will give the latest Price of a specified token using DEXTrades API. Here we have calculated the price of a token in USD and also against the sell currency. Here is the. +You can get charting data easily with this query. Adjust the intervals as necessary. This query supports historical data. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -▶️ [Price of a token in realtime](https://ide.bitquery.io/Price-of-a-token-in-realtime) +▶️ [Get OHLCV by Pair Address](https://ide.bitquery.io/OHLC-for-a-token_8) -### Supply & Market Cap +#### Get Latest Price of a Token in USD -#### Total supply and market cap of a token +Get Latest Price of a Token in USD. Uses the `Pairs` cube. Replace the address in the `where` clause to use it. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -Current circulating supply and market cap for one token. +▶️ [Get Latest Price of a Token in USD](https://ide.bitquery.io/Pumpfun-token-latest-price-USD) -▶️ [Total supply and market cap of a token](https://ide.bitquery.io/Get-Token-Total-Supply-and-Market-Cap_4) +#### Historical Price and Volume Data (Volume & Price, Last 24h using Trading API) -#### Latest supply of USDT and USDC +Use this API to get historical price and volume for a specific token over the past 24 hours. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -Live supply for the two largest stablecoins; swap the addresses for any other tokens. +▶️ [Historical Price and Volume Data (Volume & Price, Last 24h using Trading API)](https://ide.bitquery.io/24h-historical-price-and-historical-volume-on-Solana) -▶️ [Latest supply of USDT and USDC](https://ide.bitquery.io/latest-token-supply-on-USDT-and-USDC-on-ethereum-chain_1) +#### Get Token Prices on Solana — historical (beyond 30 days) -#### Get Token Total Supply and Market Cap +Returns price information for multiple Solana tokens in a single request. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Retrieve the total supply and market capitalization of a specific ERC-20 token. This query provides on-chain market cap data. +▶️ [Get Token Prices on Solana — historical (beyond 30 days)](https://ide.bitquery.io/Get-multiple-Token-Prices) -▶️ [Get Token Total Supply and Market Cap](https://ide.bitquery.io/Get-Token-Total-Supply-and-Market-Cap) +#### Price change 5min, 1hr, 6hr precentage of a specific token — historical (beyond 30 days) -#### Latest token supply on USDT and USDC on ethereum chain +With this, you can get the price change 5min, 1hr, 6hr precentage of a specific token. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Get the current total supply for specific tokens like USDC and USDT on Ethereum or any EVM network. This is ideal for stablecoin tracking and portfolio applications. +▶️ [Price change 5min, 1hr, 6hr precentage of a specific token — historical (beyond 30 days)](https://ide.bitquery.io/Price-change-5min-1hr-6hr-precentage-of-a-specific-token_5) -▶️ [Latest token supply on USDT and USDC on ethereum chain](https://ide.bitquery.io/latest-token-supply-on-USDT-and-USDC-on-ethereum-chain) +#### Top 10 solana tokens by price change in last 1 hr — historical (beyond 30 days) -#### Pepe volume marketcap +With this, you can get top 10 solana tokens by price change in last 1 hr. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Provides the latest trade volume for the past one hour along with the latest market cap. +▶️ [Top 10 solana tokens by price change in last 1 hr — historical (beyond 30 days)](https://ide.bitquery.io/Top-10-solana-tokens-by-price-change-in-last-1-hr_4) -▶️ [Pepe volume marketcap](https://ide.bitquery.io/pepe-volume-marketcap) +#### ATH of multiple tokens quantile Solana — historical (beyond 30 days) -#### Top tokens by market cap +ATH of multiple tokens quantile Solana. Uses the `DEXTradeByTokens` cube. Needs the historical data add-on — see the comment at the top of the query. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Ethereum tokens ranked by market capitalisation. +▶️ [ATH of multiple tokens quantile Solana — historical (beyond 30 days)](https://ide.bitquery.io/ATH-of-multiple-tokens-quantile-Solana) -▶️ [Top tokens by market cap](https://ide.bitquery.io/Top-Tokens-by-Market-Cap-on-Ethereum) +#### ATH with price delta Solana — historical (beyond 30 days) -#### Total Supply and onchain Marketcap of a specific token +Fetches a Solana token’s ATH price, ATH date, and price change percentages over the past 24h, 7d, and 30d using Bitquery Solana APIs. Try the. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -This API gives you latest Supply and Marketcap of a token on EVM (here as example we have taken BITGET Token `0x54D2252757e1672EEaD234D27B1270728fF90581` ). Try it out. +▶️ [ATH with price delta Solana — historical (beyond 30 days)](https://ide.bitquery.io/ATH-with-price-delta-Solana) -▶️ [Total Supply and onchain Marketcap of a specific token](https://ide.bitquery.io/Total-Supply-and-onchain-Marketcap-of-a-specific-token) +#### AldrinAmm OHLC for specific pair — historical (beyond 30 days) -### Liquidity & Pools +If you want to get OHLC data for any specific currency pair on AldrinAmm, you can use this api. Only use. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Latest liquidity of a pool +▶️ [AldrinAmm OHLC for specific pair — historical (beyond 30 days)](https://ide.bitquery.io/AldrinAmm-OHLC-for-specific-pair) -Current reserves on both sides of one pool. Replace the pool address. +#### Get Latest Price of Apple xStock in USD Real-time — historical (beyond 30 days) -▶️ [Latest liquidity of a pool](https://ide.bitquery.io/latest-liquidity-of-a-EVM-pool_1) +You can use the following query to get the latest price of a Apple xStock on Solana. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Liquidity across all pools of a token +▶️ [Get Latest Price of Apple xStock in USD Real-time — historical (beyond 30 days)](https://ide.bitquery.io/Get-Latest-Price-of-Apple-xStock-in--USD-Real-time) -Total liquidity for a token summed across every pool it trades in. +### Supply & Market Cap -▶️ [Liquidity across all pools of a token](https://ide.bitquery.io/liquidiy-of-all-token-pools_2) +#### Sandisk - Backpack Securities MCAP -#### Top liquidity pools for a token +See the Pairs cube for full field reference. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -The deepest pools holding a token, ranked by liquidity. +▶️ [Sandisk - Backpack Securities MCAP](https://ide.bitquery.io/Sandisk---Backpack-Securities-MCAP) -▶️ [Top liquidity pools for a token](https://ide.bitquery.io/top-liquidity-pools-of-atoken-on-ethereum_1) +#### Top Tokens by Market Cap on solana -#### Decoded arguments of a specific function call +Ranks tokens on Solana by `Supply.MarketCap`, with 24h window, 1s interval, $1,000+ USD volume, `limitBy` per `Token_Id`, up to 50 rows. `Token.Network` is Solana. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -Every call to one function with its arguments decoded. Change the method name to track a different function. Needs the historical data add-on — see the comment at the top of the query. +▶️ [Top Tokens by Market Cap on solana](https://ide.bitquery.io/Top-Tokens-by-Market-Cap-on-solana) -▶️ [Decoded arguments of a specific function call](https://ide.bitquery.io/addLiquidityETH_function) +#### Bags.fm token creation using Solana token supply updates -#### BlackRock USD Institutional Digital Liquidity Fund Latest Issuance +Bags.fm token creation using Solana token supply updates. Uses the `TokenSupplyUpdates` cube. Replace the address in the `where` clause to use it. -You can use the same as a `subscription` to monitor issuances in real-time. +▶️ [Bags.fm token creation using Solana token supply updates](https://ide.bitquery.io/Bagsfm-token-creation-using-Solana-token-supply-updates) -▶️ [BlackRock USD Institutional Digital Liquidity Fund Latest Issuance](https://ide.bitquery.io/BlackRock-USD-Institutional-Digital-Liquidity-Fund-Latest-Issuance) +#### Market cap of token -#### Liquidiy of all token pools +You can fetch Marketcap of a token using below query. -Returns current liquidity across all pools where a token appears as either `CurrencyA` or `CurrencyB`. It is useful when you want a token-wide liquidity view across multiple pools and DEXes. +▶️ [Market cap of token](https://ide.bitquery.io/market-cap-of-token_1) -▶️ [Liquidiy of all token pools](https://ide.bitquery.io/liquidiy-of-all-token-pools_1) +#### Token burn example solana -#### Top liquidity pools of atoken on ethereum +You can also track real-time token burn using the TokenSupplyUpdates API. Check out the. -This query separates results by whether shiba inu is listed as the first token (`CurrencyA`) or the second token (`CurrencyB`) in the DEX pool, returning the 10 pools with the highest liquidity for each category. +▶️ [Token burn example solana](https://ide.bitquery.io/token-burn-example-solana) -▶️ [Top liquidity pools of atoken on ethereum](https://ide.bitquery.io/top-liquidity-pools-of-atoken-on-ethereum) +#### Token supply -#### Top liquidity pools on Ethereum +Will return the latest token supply of a specific token. We are getting here supply for this `6D7NaB2xsLd7cauWu1wKk6KBsJohJmP2qZH9GEfVi5Ui` token `PostBalance` will give you the current supply for this token. -You can run and modify this query in the. +▶️ [Token supply](https://ide.bitquery.io/token-supply_2) -▶️ [Top liquidity pools on Ethereum](https://ide.bitquery.io/top-liquidity-pools-on-Ethereum) +#### Tokens with market cap range -#### Latest Liquidity Changes of a Specific Pool +Lets say we need to get the tokens whose marketcap has crossed the `1M USD` mark but is less than `2M USD` for various reasons like automated trading. We can get the token details that have crossed a particular marketcap using. -Retrieves the latest liquidity events for a specific DEX pool on Ethereum. Use this to check current pool reserves, spot prices, and recent liquidity changes for a particular token pair. +▶️ [Tokens with market cap range](https://ide.bitquery.io/tokens-with-market-cap-range) -▶️ [Latest Liquidity Changes of a Specific Pool](https://ide.bitquery.io/Latest-Liquidity-Changes-of-a-Specific-Pool_5) +#### Top 10 marketcap jump tokens in last 1hr -### Transactions +Use below query to get top 10 marketcap jump tokens in last 1hr. -#### Transactions by wallet +▶️ [Top 10 marketcap jump tokens in last 1hr](https://ide.bitquery.io/top-10-marketcap-jump-tokens-in-last-1hr) -Recent transactions sent from or to an address. +#### Top Solana tokens based on market cap -▶️ [Transactions by wallet](https://ide.bitquery.io/Get-transactions-by-wallet_7) +Top Solana tokens based on market cap. Uses the `TokenSupplyUpdates` cube. -#### Look up a transaction by hash +▶️ [Top Solana tokens based on market cap](https://ide.bitquery.io/top-Solana-tokens-based-on-market-cap) -Full detail for a single transaction. Paste the hash into the `where` clause. +#### Marketcap of tokens — historical (beyond 30 days) -▶️ [Look up a transaction by hash](https://ide.bitquery.io/Get-a-transaction-by-hash) +Returns the ATH (All-Time High) market cap, starting market cap, and related price metrics for multiple tokens. It calculates market cap using a 1 billion token supply and uses quantile to find the ATH price. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Transaction value in USD +▶️ [Marketcap of tokens — historical (beyond 30 days)](https://ide.bitquery.io/Marketcap-of-tokens) -Converts transaction value to USD at the time it was mined. +### Liquidity & Pools -▶️ [Transaction value in USD](https://ide.bitquery.io/Transaction-value-in-USD) +#### All Token Pairs Across DEXs with Current Liquidity -#### Debug traceTransaction +This query retrieves all instances of a specific token pair across decentralized exchanges (DEXs) on Solana, along with their current liquidity. -To trace a transaction using the debug_traceTransaction we need the `transaction hash`. We are using. +▶️ [All Token Pairs Across DEXs with Current Liquidity](https://ide.bitquery.io/All-Liquidity-pairs-of-a-token-and-current-liquidity-on-solana) -▶️ [Debug traceTransaction](https://ide.bitquery.io/debug_traceTransaction) +#### Latest Pools Created on Launchpad -#### Eth getBlockReceipt +This query returns the latest created pools on Raydium launchpad. You can set the limit here also. -In this section we will build an API that serves as an alternative to the eth_getBlockReceipts JSON RPC method that takes `Block Number` as an input and returns all transaction receipts for the given block. +▶️ [Latest Pools Created on Launchpad](https://ide.bitquery.io/Launchpad-latest-pool-created) -▶️ [Eth getBlockReceipt](https://ide.bitquery.io/eth_getBlockReceipt) +#### Liquidity of All Pools of a Token on Solana -#### Eth getTransactionByHash +Get latest liquidity snapshots for all pools where a token is either base or quote currency. -Eth getTransactionByHash. Uses the `Transactions` cube. +▶️ [Liquidity of All Pools of a Token on Solana](https://ide.bitquery.io/liqidity-of-all-pools-of-a-token) -▶️ [Eth getTransactionByHash](https://ide.bitquery.io/eth_getTransactionByHash_1) +#### Solana Pool Liquidity Changes -#### Eth getTransactionReceipt +This query retrieves the latest changes to liquidity pools on Solana, including the change amount and the price at which the change happened. This query also uses only the real-time data set. -In this section, we will build an alternative to the eth_getTransactionReceipt JSON RPC method using the Bitquery APIs. The method is used to provide the receipt of a transaction given `transaction hash`. +▶️ [Solana Pool Liquidity Changes](https://ide.bitquery.io/Solana-DEXPools) -▶️ [Eth getTransactionReceipt](https://ide.bitquery.io/eth_getTransactionReceipt_1) +#### All liquidity add instructions track on Solana -#### Internal transactions of a transaction +Tracks liquidity addition events on Solana DEX pools by monitoring specific instructions. -The internal calls a transaction produced — what a block explorer shows as internal txns. +▶️ [All liquidity add instructions track on Solana](https://ide.bitquery.io/All-liquidity-add-instructions-track-on-Solana) -▶️ [Internal transactions of a transaction](https://ide.bitquery.io/internal-transactions-for-a-particular-tx) +#### CPMM pools created -### Events & Calls +The mint addresses for the tokens being used in the pool are listed for example `tokenMint1` and `tokenMint0` , indicating which tokens the CPMM will support. -#### Latest smart contract calls +▶️ [CPMM pools created](https://ide.bitquery.io/CPMM-pools-created_1) -Decoded contract calls with their arguments. +#### Get LP Latest liqudity on Solana -▶️ [Latest smart contract calls](https://ide.bitquery.io/Recent-Calls-on-Ethereum_2) +Get LP Latest liqudity on Solana. Uses the `DEXPools` cube. Replace the address in the `where` clause to use it. -#### Latest events and logs +▶️ [Get LP Latest liqudity on Solana](https://ide.bitquery.io/Get-LP-Latest-liqudity-on-Solana) -Decoded event logs as they land. Filter by contract or by event name. +#### Get all the liquidity pools info for a particular token -▶️ [Latest events and logs](https://ide.bitquery.io/Recents-Events-and-Logs-on-Ethereum_3) +Will give the information on all the liquidity pools of a particular token `EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm`. -#### All aave v3 events latest +▶️ [Get all the liquidity pools info for a particular token](https://ide.bitquery.io/get-all-the-liquidity-pools-info-for-a-particular-token_1) -Shows latest 10 events emitted by the AAVE V3 contract. The `Log` field in the results will contain information about the event, including its signature, smart contract address, and transaction hash. +#### Liquidity change in recent month -▶️ [All aave v3 events latest](https://ide.bitquery.io/All-aave-v3-events-latest) +Liquidity change in recent month. Uses the `DEXTradeByTokens` cube. Needs the historical data add-on — see the comment at the top of the query. -#### ByteCode of A Token +▶️ [Liquidity change in recent month](https://ide.bitquery.io/liquidity-change-in-recent-month) -Will return the most recent transaction that created the token contract. The `Output` field of the Call object in the transaction contains the encoded bytecode of the contract. +#### Liquidity lock using instructions balance update -▶️ [ByteCode of A Token](https://ide.bitquery.io/ByteCode-of-A-Token) +Using the below query, you can retrieve latest liquidity locks made using streamflow. -#### Find the deployer of a contract +▶️ [Liquidity lock using instructions balance update](https://ide.bitquery.io/Liquidity-lock-using-instructions-balance-update) -Returns which address created a given contract, and when. Needs the historical data add-on — see the comment at the top of the query. +### Events & Calls -▶️ [Find the deployer of a contract](https://ide.bitquery.io/creator--deployer-of-an-address_1) +#### Not Anchor Error Solana Logs -#### Debug_traceCall +To exclude instructions containing specific log phrases such as 'AnchorError' you can use the `notLike` filter. -In this section, we will discuss how we can use Bitquery APIs as an alternative to the debug_traceCall JSON RPC method, which runs an eth_call within the context of the given block execution using the final state of parent block as the base. +▶️ [Not Anchor Error Solana Logs](https://ide.bitquery.io/Not-Anchor-Error-Solana-Logs) -▶️ [Debug_traceCall](https://ide.bitquery.io/debug_traceCall) +#### Solana Zeta Market logs -#### ETH/BSC SC creates count over date +If you need to filter out the instructions from Solana logs that involve a particular exchange but you don’t have any information, like address and protocol, then you can use the “includes” keyword on Logs. -This query below, will return the number of new smart contracts created on the Ethereum and Binance Smart Chain networks since a particular date. It will also return the date of each day on which new smart contracts were created. +▶️ [Solana Zeta Market logs](https://ide.bitquery.io/Solana-Zeta-Market-logs) -▶️ [ETH/BSC SC creates count over date](https://ide.bitquery.io/ETHBSC-SC-creates-count-over-date) +### Pump.fun -#### Eth getLogs with filters +#### Top 10 pump fun tokens by Marketcap change in last 5mins -Now, just like the orignal eth_getLogs method, Bitquery APIs provides the option to filter out the `Logs` based on the following parameeters. +This query returns the top 10 pump fun tokens by Marketcap change in last 5mins. You can increase the limit to get more tokens. -▶️ [Eth getLogs with filters](https://ide.bitquery.io/eth_getLogs-with-filters) +▶️ [Top 10 pump fun tokens by Marketcap change in last 5mins](https://ide.bitquery.io/Top-10-pump-fun-tokens-by-Marketcap-change-in-last-5mins_1) -### Mempool +#### Top PumpFun Tokens by Marketcap -#### Get next available nonce +This query returns the top 10 PumpFun tokens based on market cap. You can increase the limit to get more tokens. -The following query helps you determine the next available nonce for an Ethereum account by getting the latest transaction in the mempool (broadcasted transactions). The returned nonce is the highest nonce used by the account in the mempool. +▶️ [Top PumpFun Tokens by Marketcap](https://ide.bitquery.io/top-tokens-by-mktcap-on-pump-fun-in-last-15-min) -▶️ [Get next available nonce](https://ide.bitquery.io/get-next-available-nonce) +#### Get Bonding Curve Progress of a Token on Pump Fun -#### Simulating Pending Transactions +Returns Bonding Curve Percentage of a Token on the Pump Fun. -Retrieves information about in-flight transactions, helping you simulate the most recent state. It is a way to see if they will succeed without sending them on-chain. +▶️ [Get Bonding Curve Progress of a Token on Pump Fun](https://ide.bitquery.io/get-the-bonding-curve-progress-percentage_1) -▶️ [Simulating Pending Transactions](https://ide.bitquery.io/Simulating-Pending-Transactions_1) +#### ATH Market Cap of Pump Fun Tokens in a Specific Timeframe -### Blocks & Validators +Use Bitquery's `DEXTradeByTokens` with `dataset: combined`, `Trade.PriceInUSD(maximum: Trade_PriceInUSD)`, and `quantile(of: Trade_PriceInUSD, level: 0.98)` to get ATH price. Market cap = ATH price × 1 billion (Pump.fun tokens have 1B supply). -#### Aggregate Self-Destruct Statistics +▶️ [ATH Market Cap of Pump Fun Tokens in a Specific Timeframe](https://ide.bitquery.io/ATH-Market-Cap-of-Pump-Fun-Tokens-in-a-Specific-Timeframe) -Calculate total ETH destroyed or received from self-destructs using aggregation functions. +#### All tokens traded on Pump.fun in the last 1 hour -▶️ [Aggregate Self-Destruct Statistics](https://ide.bitquery.io/Aggregate-Self-Destruct-Statistics) +To get all tokens traded on Pump.fun in the last 1 hour, use a query that filters trades by the Pump.fun protocol and a block time within the past hour. -#### QuasarBuilder MEV Payout Transaction Balance +▶️ [All tokens traded on Pump.fun in the last 1 hour](https://ide.bitquery.io/all-tokens-traded-on-Pumpfun-in-the-last-1-hour_1) -This query focuses on a block builder address and returns the most recent payouts, including the token metadata, pre/post balances, and USD valuations, so you can quickly see how large each MEV reward was. +#### How do I get tokens that reached a specific market cap on Pump.fun? -▶️ [QuasarBuilder MEV Payout Transaction Balance](https://ide.bitquery.io/QuasarBuilder-MEV-Payout-Transaction-Balance) +To find tokens on Pump.fun that have reached a specific market capitalization threshold, you can use the following Bitquery GraphQL example. -#### Self-Destruct Balance Decrease API +▶️ [How do I get tokens that reached a specific market cap on Pump.fun?](https://ide.bitquery.io/How-do-I-get-tokens-that-reached-a-specific-market-cap-on-Pumpfun) -Monitor contract balance decrease when contracts are self-destructing. +### Meteora -▶️ [Self-Destruct Balance Decrease API](https://ide.bitquery.io/Self-Destruct-Balance-Decrease-API) +#### Get the Top Traders of a specific Token on Meteora DAMM v2 DEX -#### Self-Destruct Balance Increase API +The below query gets the Top Traders of the specified Token on Meteora DAMM v2. This provides insights into the most active traders and their trading patterns. -Monitor contract balance increase when contracts are self-destructing. +▶️ [Get the Top Traders of a specific Token on Meteora DAMM v2 DEX](https://ide.bitquery.io/Get-the-Top-Traders-of-a-specific-Token-on-Meteora-DAMM-v2-DEX_1) -▶️ [Self-Destruct Balance Increase API](https://ide.bitquery.io/Self-Destruct-Balance-Increase-API) +#### Get the Top Traders of a specific Token on Meteora DLMM DEX -#### Top validators by total tips in last 24 hrs +The below query gets the Top Traders of the specified Token on Meteora DLMM. This provides insights into the most active traders and their trading patterns. -Ranks validators by cumulative priority fees (reason code 5) received in the last 24 hours. +▶️ [Get the Top Traders of a specific Token on Meteora DLMM DEX](https://ide.bitquery.io/Get-the-Top-Traders-of-a-specific-Token-on-Meteora-DLMM-DEX) -▶️ [Top validators by total tips in last 24 hrs](https://ide.bitquery.io/top-validators-by-total-tips-in-last-24-hrs) +#### Get the Top Traders of a specific Token on Meteora DYN DEX -#### Total tips received by a validator in last 24 hrs +The below query gets the Top Traders of the specified Token `EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v` on Meteora DYN. -Returns the total priority fees (native and USD) earned by a specific validator over the last 24 hours. +▶️ [Get the Top Traders of a specific Token on Meteora DYN DEX](https://ide.bitquery.io/Get-the-Top-Traders-of-a-specific-Token-on-Meteora-DYN-DEX) -▶️ [Total tips received by a validator in last 24 hrs](https://ide.bitquery.io/total-tips-received-by-a-validator-in-last-24-hrs) +#### Meteora DAMM v2 OHLC API -### Uniswap +If you want to get OHLC (Open, High, Low, Close) data for any specific currency pair on Meteora DAMM v2, you can use this API. This provides technical analysis data for charting and trading strategies. -#### Latest slippage on a Uniswap v3 pool +▶️ [Meteora DAMM v2 OHLC API](https://ide.bitquery.io/Meteora-DAMM-v2-OHLC-API) -Per-trade slippage for one v3 pool, to size orders before sending them. +#### Meteora DLMM OHLC API -▶️ [Latest slippage on a Uniswap v3 pool](https://ide.bitquery.io/Latest-slippage-of-a-pool-on-Uniswap-v3-Ethereum_1) +If you want to get OHLC (Open, High, Low, Close) data for any specific currency pair on Meteora DLMM, you can use this API. This provides technical analysis data for charting and trading strategies. -#### All Pool_Ids for currency +▶️ [Meteora DLMM OHLC API](https://ide.bitquery.io/Meteora-DLMM-OHLC-API) -These swaps use the chain-specific DEXTrades cube via `EVM { DEXTrades }`: `Trade.PoolId`, pool-relative Buy/Sell (DEXTrades cube). USD can be thin on small pools—use live swaps above when you want the Trading row shape. +#### Meteora DYN OHLC API -▶️ [All Pool_Ids for currency](https://ide.bitquery.io/All-Pool_Ids-for-currency) +If you want to get OHLC data for any specific currency pair on Meteora DYN, you can use this api. Only use. -#### Fee collection on Uniswap v3 Positions +▶️ [Meteora DYN OHLC API](https://ide.bitquery.io/Meteora-DYN-OHLC-API) -It returns decoded arguments—including the Uniswap position `tokenId`, the `recipient` address, and the collected `amount0` and `amount1` values (raw integer amounts). +### Raydium -▶️ [Fee collection on Uniswap v3 Positions](https://ide.bitquery.io/Fee-collection-on-Uniswap-v3-Positions) +#### Top 100 About to Graduate Raydium Launchpad Tokens -#### Latest ModifyLiquidity Events on Uniswap v4 +Returns top 100 About to Graduate Raydium Launchpadn Tokens. -Track the most recent liquidity modifications on Uniswap V4 by querying `ModifyLiquidity` events from the PoolManager contract. +▶️ [Top 100 About to Graduate Raydium Launchpad Tokens](https://ide.bitquery.io/Top-100-graduating-raydium-launchlab-tokens-in-last-5-minutes) -▶️ [Latest ModifyLiquidity Events on Uniswap v4](https://ide.bitquery.io/Latest-ModifyLiquidity-Events-on-Uniswap-v4) +#### Historical PumpFun Migrated Token on Raydium and Pumpswap. -#### Latest trades of a Uniswap pair +Historical PumpFun Migrated Token on Raydium and Pumpswap. Uses the `DEXTradeByTokens` cube. Adjust the date range in the `where` clause. Needs the historical data add-on — see the comment at the top of the query. -Trades for one Uniswap pair. Replace the pair address. +▶️ [Historical PumpFun Migrated Token on Raydium and Pumpswap.](https://ide.bitquery.io/all-pumpfun-migrated-token-query_4) -▶️ [Latest trades of a Uniswap pair](https://ide.bitquery.io/Latest-Trades-of-a-Pair-on-Uniswap) +#### Get Bonding Curve Progress of a Raydium Launchpad Token -#### Latest liquidity for a currency pair across all v4 pools +Returns Bonding Curve Percentage of a Raydium Launchpad Token. -This API endpoint provides latest liquidity event for every Uniswap V4 pool for a given currency pair. This info includes the Price of currencies in terms of other, Price of currencies in USD, Currency Details and `PoolIDs`. +▶️ [Get Bonding Curve Progress of a Raydium Launchpad Token](https://ide.bitquery.io/bonding-curve-progress-percentage-of-a-letsbonkfun-token) -▶️ [Latest liquidity for a currency pair across all v4 pools](https://ide.bitquery.io/latest-liquidity-for-a-currency-pair-across-all-v4-pools_1) +#### Latest Price of a Token on Raydium Launchpad -### PancakeSwap +This query returns the latest price of a token on the Raydium launchpad. -#### Latest Trades on PancakeSwap V3 ETH +▶️ [Latest Price of a Token on Raydium Launchpad](https://ide.bitquery.io/Latest-Price-of-a-Token-on-Launchpad) -The PancakSwap DEX Data is also available for view as a dashboard at DEXRABBIT. +#### Latest Trades for a specific currency on Raydium -▶️ [Latest Trades on PancakeSwap V3 ETH](https://ide.bitquery.io/Latest-Trades-on-PancakeSwap-V3-ETH) +This query returns the latest trades for a token on Raydium. You can set the limit here also. -#### Top Traders of a token on PancakeSwap on ETH +▶️ [Latest Trades for a specific currency on Raydium](https://ide.bitquery.io/Trades-for-a-token-on-Raydium-on-Solana) -Top Traders of a token on PancakeSwap on ETH. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. +#### DecreaseLiquidityV2 latest raydium clmm -▶️ [Top Traders of a token on PancakeSwap on ETH](https://ide.bitquery.io/Top-Traders-of-a-token-on-PancakeSwap-on-ETH) +DecreaseLiquidityV2 latest raydium clmm. Uses the `Instructions` cube. Replace the address in the `where` clause to use it. -#### Top token pairs on PancakeSwap v3 +▶️ [DecreaseLiquidityV2 latest raydium clmm](https://ide.bitquery.io/decreaseLiquidityV2-latest-raydium-clmm_1) -Top token pairs on PancakeSwap v3. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. +### LetsBonk.fun -▶️ [Top token pairs on PancakeSwap v3](https://ide.bitquery.io/Top-token-pairs-on-PancakeSwap-v3) +#### Latest Price of a LetsBonk.fun Token on Launchpad -## Solana +Provides the most recent price data for a specific LetsBonk.fun token `token Mint Address` launched on Raydium Launchpad. You can filter by the token’s `MintAddress`, and the query will return the last recorded trade price. -### Trades +▶️ [Latest Price of a LetsBonk.fun Token on Launchpad](https://ide.bitquery.io/Latest-Price-of-a-LetsBonkfun-Token-on-Launchpad) -#### Get Multiple Token Analytics +#### Latest Trades of a letsbonk.fun token on Launchpad -Returns analytics data for multiple token addresses. +Fetches the most recent trades of a LetsBonk.fun Token `token Mint Address` on the Raydium Launchpad. Run the query. -▶️ [Get Multiple Token Analytics](https://ide.bitquery.io/Buys-Sells-BuyVolume-SellVolume-Makers-TotalTradedVolume-PriceinUSD-for-multiple-solana-tokens) +▶️ [Latest Trades of a letsbonk.fun token on Launchpad](https://ide.bitquery.io/Latest-Trades-of-a-letsbonkfun-token-on-Launchpad) -#### Get Token Metadata +#### Liquidity for a Letsbonk.fun token pair -Get the token metadata for contract (mint, standard, name, symbol). +Liquidity for a Letsbonk.fun token pair. Uses the `DEXPools` cube. Replace the address in the `where` clause to use it. -▶️ [Get Token Metadata](https://ide.bitquery.io/Solana-currency-details) +▶️ [Liquidity for a Letsbonk.fun token pair](https://ide.bitquery.io/liquidity-for-a-Letsbonkfun-token-pair_2) -#### Get Token Pair Stats +#### Ohlc for letsbonk.fun token -Get the pair stats by using pair address. +Ohlc for letsbonk.fun token. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. -▶️ [Get Token Pair Stats](https://ide.bitquery.io/Buys-Sells-BuyVolume-SellVolume-Makers-TotalTradedVolume-PriceinUSD-for-solana-token-pair) +▶️ [Ohlc for letsbonk.fun token](https://ide.bitquery.io/ohlc-for-letsbonkfun-token) -#### Get Token Pairs by Address +#### Pool address for letsbonk.fun token -Get the supported pairs for a specific token address. +Pool address for letsbonk.fun token. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. -▶️ [Get Token Pairs by Address](https://ide.bitquery.io/traded-pairs-of-a-token_2) +▶️ [Pool address for letsbonk.fun token](https://ide.bitquery.io/pool-address-for-letsbonkfun-token_1) -#### Get Volume Stats for Solana Chain +#### Top buyers of a letsbonk.fun token on launchpad -Returns volume statistics, active wallets, and total transactions for Solana. +Top buyers of a letsbonk.fun token on launchpad. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. -▶️ [Get Volume Stats for Solana Chain](https://ide.bitquery.io/Chain-stats-like-total-volume-traded-total-transactions-active-wallets_1) +▶️ [Top buyers of a letsbonk.fun token on launchpad](https://ide.bitquery.io/top-buyers-of-a-letsbonkfun-token-on-launchpad) -#### Realised PnL, avg buy price, buy volume, sell volume of a Trader for specific token +## Robinhood Chain -Get realised PnL, average buy price, buy volume, and sell volume for a token on Solana of a trader for over a time window. +### Trades -▶️ [Realised PnL, avg buy price, buy volume, sell volume of a Trader for specific token](https://ide.bitquery.io/Realised-Pnl-avg-buy-price-Buy-volume-Sell-Volume-Solana_2) +#### Largest Trades on Robinhood Chain (24h, USD) -#### Search tokens by name, symbol, mint address +Largest Trades on Robinhood Chain (24h, USD). Uses the `Trades` cube. -Search for tokens based on contract address, token name or token symbol. +▶️ [Largest Trades on Robinhood Chain (24h, USD)](https://ide.bitquery.io/largest-swaps-robinhood-chain) -▶️ [Search tokens by name, symbol, mint address](https://ide.bitquery.io/Token-Search-API---trump-symbol) +#### Pools trade Latest trades for a token -#### Get Swaps by Pair Address +Tokens also migrate onto other venues once liquid — the same token can show `uniswap_v3` and `pancake_swap_v3` markets with `WETH` and `USDG` quotes. -Get all trades related transactions for a specific pair address. +▶️ [Pools trade Latest trades for a token](https://ide.bitquery.io/Pools-trade-Latest-trades-for-a-token) -▶️ [Get Swaps by Pair Address](https://ide.bitquery.io/swaps-for-a-market-address-on-Solana) +#### Pools trade Top tokens by volume -#### Get Trades by Wallet Address +The two-step pattern: pass a token set harvested from `TokenCreated` into the `Trading` cube. -Get all trades related transactions (buy, sell) for a specific wallet address. +▶️ [Pools trade Top tokens by volume](https://ide.bitquery.io/Pools-trade-Top-tokens-by-volume) -▶️ [Get Trades by Wallet Address](https://ide.bitquery.io/Solana-dextrades-by-a-trader_2) +#### Pools trade Crowd Launch bids -#### Buys Sells BuyVolume SellVolume Makers TotalTradedVolume PriceinUSD for solana token pair +The launch transaction also contains the token's mint, the entry contract's `TokenCreated`, and the auction's first `TickInitialized` / `ClearingPriceUpdated` events, so one transaction hash links token, creator, and auction contract. -Returns the essential stats for a token such as buy volume, sell volume, total buys, total sells, makers, total trade volume, buyers, sellers (in last 5 min, 1 hour) of a specific token. +▶️ [Pools trade Crowd Launch bids](https://ide.bitquery.io/Pools-trade-Crowd-Launch-bids) -▶️ [Buys Sells BuyVolume SellVolume Makers TotalTradedVolume PriceinUSD for solana token pair](https://ide.bitquery.io/Buys-Sells-BuyVolume-SellVolume-Makers-TotalTradedVolume-PriceinUSD-for-solana-token-pair00_2) +#### Pools trade Latest launches -### Transfers +The decoded `TokenCreated` event on the two entry contracts is the cleanest launch feed — one row per launch. -#### Simple SOL transfers (Transactions not trades) +▶️ [Pools trade Latest launches](https://ide.bitquery.io/Pools-trade-Latest-launches) -This API returns simple SOL transfers; in other words, it contains transactions that are simple token transfers, not trades. +#### Pools trade Launches per day -▶️ [Simple SOL transfers (Transactions not trades)](https://ide.bitquery.io/Simple-SOL-transfers-Transactions-not-trades) +Grouping by `LogHeader.Address` too shows the split between the two entry contracts. -#### Solana Token Transfers for a Specific Address +▶️ [Pools trade Launches per day](https://ide.bitquery.io/Pools-trade-Launches-per-day) -This API retrieves the history of token transfers (both sent and received) for a specific Solana address within a defined time period. +#### Pools trade Most active token creators -▶️ [Solana Token Transfers for a Specific Address](https://ide.bitquery.io/Solana-historical-token-transfers-of-an-address-between-a-time) +Useful for spotting spam-bot deployers — a single wallet can mint hundreds of tokens a day. -#### Solana Transfers +▶️ [Pools trade Most active token creators](https://ide.bitquery.io/Pools-trade-Most-active-token-creators) -This query gets the latest 10 transfers on Solana. You can increase the limit to get more transfers. This query only uses real-time data. +#### Pools trade PoolKey from TokenLaunched -▶️ [Solana Transfers](https://ide.bitquery.io/Solana-transfers0_5) +Pools trade PoolKey from TokenLaunched. Uses the `Events` cube. -#### Solana Historical Transfers +▶️ [Pools trade PoolKey from TokenLaunched](https://ide.bitquery.io/Pools-trade-PoolKey-from-TokenLaunched) -Solana Historical Transfers. +#### Pools trade Token description and image -▶️ [Solana Historical Transfers](https://ide.bitquery.io/solana-historical-transfers_1) +The filter below pins the factory by address because the entry contract emits a *different* `TokenCreated` under the same name (see Reading decoded arguments). -#### Currency with elon inclusion +▶️ [Pools trade Token description and image](https://ide.bitquery.io/Pools-trade-Token-description-and-image) -You can search tokens on Solana using names or symbols case insensitively also using our APIs and get prices and other details. +#### Pools trade TokenDistributed decoded event -▶️ [Currency with elon inclusion](https://ide.bitquery.io/Currency-with-elon-inclusion) +Topic0 filtering remains available and is the precise way to pin one exact signature — useful for the overloaded `TokenCreated` above. Supply the hash without a `0x` prefix; see the dataset note below for its one limitation. -#### Solana token transfers of Bags fm tokens +▶️ [Pools trade TokenDistributed decoded event](https://ide.bitquery.io/Pools-trade-raw-event-by-topic0) -Track all transfers of Bags FM tokens across wallets. This Bags FM token transfers endpoint provides complete transfer history. 🔗. +### Transfers -▶️ [Solana token transfers of Bags fm tokens](https://ide.bitquery.io/Solana-token-transfers-of-Bags-fm-tokens) +#### Ape.store Newly created tokens -#### Total txn fees paid by the Account +Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. -Get the total fees (in SOL and USD) paid by a specific Solana account across all transfers. +▶️ [Ape.store Newly created tokens](https://ide.bitquery.io/Apestore-Newly-created-tokens) -▶️ [Total txn fees paid by the Account](https://ide.bitquery.io/total-txn-fees-paid-by-the-Account) +#### Bags.fm Newly created tokens -#### Transaction fees paid by Account aggregated by currency +Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. -Get total fees paid by a Solana account for transferring each type of token. +▶️ [Bags.fm Newly created tokens](https://ide.bitquery.io/Bagsfm-Newly-created-tokens) -▶️ [Transaction fees paid by Account aggregated by currency](https://ide.bitquery.io/Transaction-fees-paid-by-Account-aggregated-by-currency) +#### Bankr Bot Newly created tokens -#### Transfers of a wallet +Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. -Fetches the recent 10 transfers of a specific wallet address `9nnLbotNTcUhvbrsA6Mdkx45Sm82G35zo28AqUvjExn8`. +▶️ [Bankr Bot Newly created tokens](https://ide.bitquery.io/Bankr-Bot-Newly-created-tokens) -▶️ [Transfers of a wallet](https://ide.bitquery.io/Transfers-of-a-wallet_1) +#### Flap.sh Newly created tokens using transfer data -#### Wallet transfers with transaction fees paid +Track Flap.sh mints as transfers from the zero address with amount `1000000000` in transactions sent to the Flap.sh contract. -Track wallet token transfers and get the fees paid for each by the address. +▶️ [Flap.sh Newly created tokens using transfer data](https://ide.bitquery.io/Flapsh-Newly-created-tokens-using-transfer-data) -▶️ [Wallet transfers with transaction fees paid](https://ide.bitquery.io/wallet-transfers-with-transaction-fees-paid) +#### Klik Finance Newly created tokens using transfers -### Balances & Holders +Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. -#### Solana Instruction Balance Updates +▶️ [Klik Finance Newly created tokens using transfers](https://ide.bitquery.io/Klik-Finance-Newly-created-tokens-using-transfers) -This query returns Solana balance update info for any balance update event, including the address, amount, currency details, and the details of the program responsible for this update. +#### Robinhood Chain API - Latest Token Transfers -▶️ [Solana Instruction Balance Updates](https://ide.bitquery.io/Solana-InstructionBalanceUpdates) +Robinhood Chain API - Latest Token Transfers. Uses the `Transfers` cube. -#### Balance updates +▶️ [Robinhood Chain API - Latest Token Transfers](https://ide.bitquery.io/latest-transfers-on-robinhood) -Returns balance update associated with a instruction invocation. +#### Robinhood Chain Token Lookup by Contract Address -▶️ [Balance updates](https://ide.bitquery.io/balance-updates) +Metadata splits across two sources. Name, symbol, decimals, and contract are indexed on every transfer's `Currency` object — one query against the launch mint gives you all four for any token. -#### Solana balance updates executing burn instruction +▶️ [Robinhood Chain Token Lookup by Contract Address](https://ide.bitquery.io/Pools-trade-Token-name-symbol-decimals) -The query below uses the InstructionBalanceUpdates API to fetch balance updates that occur when token burn instructions execute. +#### Token Lookup by Contract Address - Robinhood Chain -▶️ [Solana balance updates executing burn instruction](https://ide.bitquery.io/solana-balance-updates-executing-burn-instruction) +Follow the steps here: How to generate Bitquery API token ➤. -#### Trades of wallets with balance Updates in that trades +▶️ [Token Lookup by Contract Address - Robinhood Chain](https://ide.bitquery.io/token-lookup-by-address-robinhood-chain) -Below query will give you the trades of the wallets present in `addressList` along with the balance updates happened in those trades.. +#### Transfers for a token on robinhood -▶️ [Trades of wallets with balance Updates in that trades](https://ide.bitquery.io/Trades-of-wallets-with-balance-Updates-in-that-trades) +Filter with `Transfer.Currency.SmartContract`. Example: WETH on Robinhood. -### Price & OHLC +▶️ [Transfers for a token on robinhood](https://ide.bitquery.io/Transfers-for-a-token-on-robinhood) -#### Get OHLCV by Pair Address +#### Transfers for a wallet on Robinhood -You can get charting data easily with this query. Adjust the intervals as necessary. This query supports historical data. +Filter where the address is either `Transfer.Sender` or `Transfer.Receiver` to build a full transfer history. Replace the sample address with your wallet or contract. -▶️ [Get OHLCV by Pair Address](https://ide.bitquery.io/OHLC-for-a-token_8) +▶️ [Transfers for a wallet on Robinhood](https://ide.bitquery.io/transfers-for-a-wallet-on-Robinhood) -#### Get Token Prices on Solana +### Balances & Holders -Returns price information for multiple Solana tokens in a single request. +#### Pools trade Per-transaction balance changes -▶️ [Get Token Prices on Solana](https://ide.bitquery.io/Get-multiple-Token-Prices) +A stream of this filtered to `SlippageBasisPoints: {gt: 100}` is a ready-made "toxic fill" alert for a token's pool. -#### Historical Price and Volume Data (Volume & Price, Last 24h using Trading API) +▶️ [Pools trade Per-transaction balance changes](https://ide.bitquery.io/Pools-trade-Per-transaction-balance-changes) -Use this API to get historical price and volume for a specific token over the past 24 hours. +#### Wallet Token Balances on Robinhood Chain -▶️ [Historical Price and Volume Data (Volume & Price, Last 24h using Trading API)](https://ide.bitquery.io/24h-historical-price-and-historical-volume-on-Solana) +Wallet Token Balances on Robinhood Chain. Uses the `Balances` cube. Replace the address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. -#### Price change 5min, 1hr, 6hr precentage of a specific token +▶️ [Wallet Token Balances on Robinhood Chain](https://ide.bitquery.io/wallet-token-balances-robinhood-chain) -With this, you can get the price change 5min, 1hr, 6hr precentage of a specific token. +### Price & OHLC -▶️ [Price change 5min, 1hr, 6hr precentage of a specific token](https://ide.bitquery.io/Price-change-5min-1hr-6hr-precentage-of-a-specific-token_5) +#### Latest price of a token on a pool -#### Top 10 solana tokens by price change in last 1 hr +This API endpoint retrieves the latest price of a token for a particular token pair or liquidity pool using the `Trading.Pairs` cube. -With this, you can get top 10 solana tokens by price change in last 1 hr. +▶️ [Latest price of a token on a pool](https://ide.bitquery.io/latest-price-of-a-token-on-a-pool) -▶️ [Top 10 solana tokens by price change in last 1 hr](https://ide.bitquery.io/Top-10-solana-tokens-by-price-change-in-last-1-hr_4) +#### Latest price of a token -#### Get Latest Price of a Token in USD +If you want to monitor price for a particular pool, we suggest usage of `Trading.Pairs` instead of `Trading.Tokens` where you could specify the pool address. -Get Latest Price of a Token in USD. Uses the `Pairs` cube. Replace the address in the `where` clause to use it. +▶️ [Latest price of a token](https://ide.bitquery.io/latest-price-of-a-token_10) -▶️ [Get Latest Price of a Token in USD](https://ide.bitquery.io/Pumpfun-token-latest-price-USD) +#### Pools trade OHLCV price candles -#### ATH of multiple tokens quantile Solana +Deduplicate on `(TransactionHeader.Hash, Block.Time, Side, Amounts.Base, Pair.QuoteToken.Symbol, Trader.Address)` before aggregating. -ATH of multiple tokens quantile Solana. Uses the `DEXTradeByTokens` cube. Needs the historical data add-on — see the comment at the top of the query. +▶️ [Pools trade OHLCV price candles](https://ide.bitquery.io/Pools-trade-OHLCV-price-candles) -▶️ [ATH of multiple tokens quantile Solana](https://ide.bitquery.io/ATH-of-multiple-tokens-quantile-Solana) +### Supply & Market Cap -#### ATH with price delta Solana +#### Pools trade Token holders and supply -Fetches a Solana token’s ATH price, ATH date, and price change percentages over the past 24h, 7d, and 30d using Bitquery Solana APIs. Try the. +Pools trade Token holders and supply. Uses the `Holders` cube. Change the token address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. -▶️ [ATH with price delta Solana](https://ide.bitquery.io/ATH-with-price-delta-Solana) +▶️ [Pools trade Token holders and supply](https://ide.bitquery.io/Pools-trade-Token-holders-and-supply) -#### AldrinAmm OHLC for specific pair +### Liquidity & Pools -If you want to get OHLC data for any specific currency pair on AldrinAmm, you can use this api. Only use. +#### Pools trade Per-swap slippage -▶️ [AldrinAmm OHLC for specific pair](https://ide.bitquery.io/AldrinAmm-OHLC-for-specific-pair) +Pools trade Per-swap slippage. -#### Get Latest Price of Apple xStock in USD Real-time +▶️ [Pools trade Per-swap slippage](https://ide.bitquery.io/Pools-trade-Per-swap-slippage) -You can use the following query to get the latest price of a Apple xStock on Solana. +#### Pools trade Pool creation Initialize -▶️ [Get Latest Price of Apple xStock in USD Real-time](https://ide.bitquery.io/Get-Latest-Price-of-Apple-xStock-in--USD-Real-time) +The v4 PoolManager's `Initialize` is decoded, so you can read the same `PoolKey` without manual decoding — at the cost of having to scope it to a token. -### Supply & Market Cap +▶️ [Pools trade Pool creation Initialize](https://ide.bitquery.io/Pools-trade-Pool-creation-Initialize) -#### Bags.fm token creation using Solana token supply updates +### Transactions -Bags.fm token creation using Solana token supply updates. Uses the `TokenSupplyUpdates` cube. Replace the address in the `where` clause to use it. +#### Daily Active Wallets on Robinhood Chain -▶️ [Bags.fm token creation using Solana token supply updates](https://ide.bitquery.io/Bagsfm-token-creation-using-Solana-token-supply-updates) +Daily Active Wallets on Robinhood Chain. Uses the `Transactions` cube. Needs the historical data add-on — see the comment at the top of the query. -#### Market cap of token +▶️ [Daily Active Wallets on Robinhood Chain](https://ide.bitquery.io/robinhood-chain-active-wallets) -You can fetch Marketcap of a token using below query. +#### Robinhood Chain Daily Transaction Count -▶️ [Market cap of token](https://ide.bitquery.io/market-cap-of-token_1) +Robinhood Chain Daily Transaction Count. Uses the `Transactions` cube. Needs the historical data add-on — see the comment at the top of the query. -#### Marketcap of tokens +▶️ [Robinhood Chain Daily Transaction Count](https://ide.bitquery.io/robinhood-chain-daily-transactions) -Returns the ATH (All-Time High) market cap, starting market cap, and related price metrics for multiple tokens. It calculates market cap using a 1 billion token supply and uses quantile to find the ATH price. +#### Robinhood Chain Gas Usage and Gas Price -▶️ [Marketcap of tokens](https://ide.bitquery.io/Marketcap-of-tokens) +Robinhood Chain Gas Usage and Gas Price. Uses the `Transactions` cube. -#### Sandisk - Backpack Securities MCAP +▶️ [Robinhood Chain Gas Usage and Gas Price](https://ide.bitquery.io/robinhood-chain-gas-fees) -See the Pairs cube for full field reference. +### Events & Calls -▶️ [Sandisk - Backpack Securities MCAP](https://ide.bitquery.io/Sandisk---Backpack-Securities-MCAP) +#### All events from Flap.sh -#### Token burn example solana +Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. -You can also track real-time token burn using the TokenSupplyUpdates API. Check out the. +▶️ [All events from Flap.sh](https://ide.bitquery.io/All-events-from-Flapsh) -▶️ [Token burn example solana](https://ide.bitquery.io/token-burn-example-solana) +#### Flap.sh Newly created tokens using logs TokenCreated -#### Token supply +Filter Flap.sh `TokenCreated` events and decode argument values (token address, metadata fields, and related parameters). -Will return the latest token supply of a specific token. We are getting here supply for this `6D7NaB2xsLd7cauWu1wKk6KBsJohJmP2qZH9GEfVi5Ui` token `PostBalance` will give you the current supply for this token. +▶️ [Flap.sh Newly created tokens using logs TokenCreated](https://ide.bitquery.io/Flapsh-Newly-created-tokens-using-logs-TokenCreated) -▶️ [Token supply](https://ide.bitquery.io/token-supply_2) +#### New Contracts Deployed on Robinhood Chain -#### Tokens with market cap range +To pin one exact ABI variant — or to match an undecoded method — filter the 4-byte selector instead (uppercase hex, no `0x`) -Lets say we need to get the tokens whose marketcap has crossed the `1M USD` mark but is less than `2M USD` for various reasons like automated trading. We can get the token details that have crossed a particular marketcap using. +▶️ [New Contracts Deployed on Robinhood Chain](https://ide.bitquery.io/new-contracts-deployed-robinhood-chain) -▶️ [Tokens with market cap range](https://ide.bitquery.io/tokens-with-market-cap-range) +### Blocks & Validators -#### Top 10 marketcap jump tokens in last 1hr +#### Robinhood Chain Blocks per Day and Block Time -Use below query to get top 10 marketcap jump tokens in last 1hr. +Robinhood Chain Blocks per Day and Block Time. Uses the `Blocks` cube. Needs the historical data add-on — see the comment at the top of the query. -▶️ [Top 10 marketcap jump tokens in last 1hr](https://ide.bitquery.io/top-10-marketcap-jump-tokens-in-last-1hr) +▶️ [Robinhood Chain Blocks per Day and Block Time](https://ide.bitquery.io/robinhood-chain-block-time) -#### Top Solana tokens based on market cap +### Uniswap -Top Solana tokens based on market cap. Uses the `TokenSupplyUpdates` cube. +#### Uniswap v4 Pools on Robinhood Chain -▶️ [Top Solana tokens based on market cap](https://ide.bitquery.io/top-Solana-tokens-based-on-market-cap) +New Uniswap v4 pools: decoded Initialize events on the PoolManager with currencies, fee tier, tick spacing and hooks. -#### Top Tokens by Market Cap on solana +▶️ [Uniswap v4 Pools on Robinhood Chain](https://ide.bitquery.io/uniswap-v4-pools-on-robinhood-chain) -Ranks tokens on Solana by `Supply.MarketCap`, with 24h window, 1s interval, $1,000+ USD volume, `limitBy` per `Token_Id`, up to 50 rows. `Token.Network` is Solana. +#### Uniswap v4 Hooks in Use on Robinhood Chain -▶️ [Top Tokens by Market Cap on solana](https://ide.bitquery.io/Top-Tokens-by-Market-Cap-on-solana) +Uniswap v4 Hooks in Use on Robinhood Chain. Uses the `Events` cube. Replace the address in the `where` clause to use it. -### Liquidity & Pools +▶️ [Uniswap v4 Hooks in Use on Robinhood Chain](https://ide.bitquery.io/uniswap-v4-hooks-robinhood-chain) -#### All Token Pairs Across DEXs with Current Liquidity +#### Uniswap v4 Pool Liquidity on Robinhood Chain (pools.trade) -This query retrieves all instances of a specific token pair across decentralized exchanges (DEXs) on Solana, along with their current liquidity. +Three realtime cubes carry data traders usually have to compute themselves. All three are realtime-only on Robinhood — `dataset: archive` and `dataset: combined` both error — so use them for live monitoring and persist what you need. -▶️ [All Token Pairs Across DEXs with Current Liquidity](https://ide.bitquery.io/All-Liquidity-pairs-of-a-token-and-current-liquidity-on-solana) +▶️ [Uniswap v4 Pool Liquidity on Robinhood Chain (pools.trade)](https://ide.bitquery.io/Pools-trade-Live-pool-liquidity) -#### Latest Pools Created on Launchpad +## Polymarket -This query returns the latest created pools on Raydium launchpad. You can set the limit here also. +### Trades -▶️ [Latest Pools Created on Launchpad](https://ide.bitquery.io/Launchpad-latest-pool-created) +#### Latest Trades -#### Liquidity of All Pools of a Token on Solana +Fetch the most recent prediction market trades with full details, ordered by block time. -Get latest liquidity snapshots for all pools where a token is either base or quote currency. +▶️ [Latest Trades](https://ide.bitquery.io/latest-prediction-market-trades_8) -▶️ [Liquidity of All Pools of a Token on Solana](https://ide.bitquery.io/liqidity-of-all-pools-of-a-token) +#### Total Volume and Yes/No Volume for a Market -#### Solana Pool Liquidity Changes +Aggregate USD volume for a market over a time window: total volume plus volume per outcome (e.g. Yes/No). Pass the market's outcome token AssetIds in `$marketAssets`. -This query retrieves the latest changes to liquidity pools on Solana, including the change amount and the price at which the change happened. This query also uses only the real-time data set. +▶️ [Total Volume and Yes/No Volume for a Market](https://ide.bitquery.io/total-volume-outcome-1-volume-outcome-2-volume-of-a-market_1) -▶️ [Solana Pool Liquidity Changes](https://ide.bitquery.io/Solana-DEXPools) +#### Trades for a Specific Trader -#### All liquidity add instructions track on Solana +Fetch all trades where the given address is either Buyer or Seller. Pass the trader address as the `$trader` variable. -Tracks liquidity addition events on Solana DEX pools by monitoring specific instructions. +▶️ [Trades for a Specific Trader](https://ide.bitquery.io/Trades-for-a-specific-trader_1) -▶️ [All liquidity add instructions track on Solana](https://ide.bitquery.io/All-liquidity-add-instructions-track-on-Solana) +#### How do I count trades for a specific Polymarket trader? -#### CPMM pools created +Use `PredictionTrades` with `any` filter on `Buyer` or `Seller` to return the total trade count for a wallet. Add `ProtocolName: "polymarket"` to restrict to Polymarket only. Replace the address with your target wallet. -The mint addresses for the tokens being used in the pool are listed for example `tokenMint1` and `tokenMint0` , indicating which tokens the CPMM will support. +▶️ [How do I count trades for a specific Polymarket trader?](https://ide.bitquery.io/How-do-I-count-trades-for-a-specific-Polymarket-trader) -▶️ [CPMM pools created](https://ide.bitquery.io/CPMM-pools-created_1) +#### How do I get top buyers and sellers on Polymarket by volume? -#### Get LP Latest liqudity on Solana +Use `PredictionTrades` with `limitBy` and `sum(of: Trade_OutcomeTrade_CollateralAmountInUSD)` grouped by Buyer (or Seller) to rank the top 100 wallets by volume over the last 5 days. Useful for leaderboards, whale tracking, and trader analytics. -Get LP Latest liqudity on Solana. Uses the `DEXPools` cube. Replace the address in the `where` clause to use it. +▶️ [How do I get top buyers and sellers on Polymarket by volume?](https://ide.bitquery.io/How-do-I-get-top-buyers-and-sellers-on-Polymarket-by-volume) -▶️ [Get LP Latest liqudity on Solana](https://ide.bitquery.io/Get-LP-Latest-liqudity-on-Solana) +#### Latest prediction market trades -#### Get all the liquidity pools info for a particular token +Fetch the most recent prediction market trades with full details, ordered by block time. -Will give the information on all the liquidity pools of a particular token `EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm`. +▶️ [Latest prediction market trades](https://ide.bitquery.io/latest-prediction-market-trades) -▶️ [Get all the liquidity pools info for a particular token](https://ide.bitquery.io/get-all-the-liquidity-pools-info-for-a-particular-token_1) +#### Prediction_trades -#### Liquidity change in recent month +Prediction_trades. -Liquidity change in recent month. Uses the `DEXTradeByTokens` cube. Needs the historical data add-on — see the comment at the top of the query. +▶️ [Prediction_trades](https://ide.bitquery.io/prediction_trades) -▶️ [Liquidity change in recent month](https://ide.bitquery.io/liquidity-change-in-recent-month) +#### Top 100 markets by volumein last24 hrs -#### Liquidity lock using instructions balance update +Rank Polymarket markets by buy + sell collateral USD, with buy/sell breakdown, trade count, distinct buyers/sellers, and optional resolution join. Uses `limitBy: Trade_Prediction_Question_Id` so each row is one market. -Using the below query, you can retrieve latest liquidity locks made using streamflow. +▶️ [Top 100 markets by volumein last24 hrs](https://ide.bitquery.io/top-100-markets-by-volumein-last24-hrs_1) -▶️ [Liquidity lock using instructions balance update](https://ide.bitquery.io/Liquidity-lock-using-instructions-balance-update) +#### Top AI markets by volume Polymarket -### Events & Calls +Returns AI markets (title includes the standalone word " AI ") ranked by USD trading volume in the last 24 hours, with buyer and seller counts. Adjust `time_ago`, `limit`, and the title keyword as needed. -#### Not Anchor Error Solana Logs +▶️ [Top AI markets by volume Polymarket](https://ide.bitquery.io/Top-AI-markets-by-volume-Polymarket) -To exclude instructions containing specific log phrases such as 'AnchorError' you can use the `notLike` filter. +#### Top Buyers/Sellers of Bitcoin up down market -▶️ [Not Anchor Error Solana Logs](https://ide.bitquery.io/Not-Anchor-Error-Solana-Logs) +Returns the top 10 buyers and top 10 sellers by traded volume in Bitcoin Up or Down markets on Polymarket over the last 24 hours. Results are aggregated by trader address and ordered by `buy_amount` (buyers) or `sell_amount` (sellers). -#### Solana Zeta Market logs +▶️ [Top Buyers/Sellers of Bitcoin up down market](https://ide.bitquery.io/Top-BuyersSellers-of-Bitcoin-up-down-market) -If you need to filter out the instructions from Solana logs that involve a particular exchange but you don’t have any information, like address and protocol, then you can use the “includes” keyword on Logs. +### Markets -▶️ [Solana Zeta Market logs](https://ide.bitquery.io/Solana-Zeta-Market-logs) +#### Created vs Resolved Count (Last 24 Hours) -### Pump.fun +Count how many Created and Resolved events occurred in the last 24 hours. -#### Top 10 pump fun tokens by Marketcap change in last 5mins +▶️ [Created vs Resolved Count (Last 24 Hours)](https://ide.bitquery.io/last-24-hr-resolution-and-ceated-count_1) -This query returns the top 10 pump fun tokens by Marketcap change in last 5mins. You can increase the limit to get more tokens. +#### Latest Creations + Resolutions -▶️ [Top 10 pump fun tokens by Marketcap change in last 5mins](https://ide.bitquery.io/Top-10-pump-fun-tokens-by-Marketcap-change-in-last-5mins_1) +Fetch the most recent creation and resolution events with full details, ordered by block time. -#### Top PumpFun Tokens by Marketcap +▶️ [Latest Creations + Resolutions](https://ide.bitquery.io/latest-Prediction-managements-resolutions-creations_1) -This query returns the top 10 PumpFun tokens based on market cap. You can increase the limit to get more tokens. +#### Latest Market Creations -▶️ [Top PumpFun Tokens by Marketcap](https://ide.bitquery.io/top-tokens-by-mktcap-on-pump-fun-in-last-15-min) +Fetch the most recent Created events (new markets). All possible outcomes per market are in Prediction.Condition.Outcomes. -#### Get Bonding Curve Progress of a Token on Pump Fun +▶️ [Latest Market Creations](https://ide.bitquery.io/latest-polymarket-creations_1) -Returns Bonding Curve Percentage of a Token on the Pump Fun. +#### Latest Market Resolutions -▶️ [Get Bonding Curve Progress of a Token on Pump Fun](https://ide.bitquery.io/get-the-bonding-curve-progress-percentage_1) +Query that returns the 10 most recent Resolved events. Winning outcome is in Prediction.Outcome; Prediction.OutcomeToken holds the asset ID and contract details. -#### ATH Market Cap of Pump Fun Tokens in a Specific Timeframe +▶️ [Latest Market Resolutions](https://ide.bitquery.io/latest-polymarket-resolutions_2) -Use Bitquery's `DEXTradeByTokens` with `dataset: combined`, `Trade.PriceInUSD(maximum: Trade_PriceInUSD)`, and `quantile(of: Trade_PriceInUSD, level: 0.98)` to get ATH price. Market cap = ATH price × 1 billion (Pump.fun tokens have 1B supply). +#### Latest Prediction managements (resolutions, creations) -▶️ [ATH Market Cap of Pump Fun Tokens in a Specific Timeframe](https://ide.bitquery.io/ATH-Market-Cap-of-Pump-Fun-Tokens-in-a-Specific-Timeframe) +Fetch the most recent creation and resolution events with full details, ordered by block time. -#### All tokens traded on Pump.fun in the last 1 hour +▶️ [Latest Prediction managements (resolutions, creations)](https://ide.bitquery.io/latest-Prediction-managements-resolutions-creations) -To get all tokens traded on Pump.fun in the last 1 hour, use a query that filters trades by the Pump.fun protocol and a block time within the past hour. +#### Latest polymarket creations -▶️ [All tokens traded on Pump.fun in the last 1 hour](https://ide.bitquery.io/all-tokens-traded-on-Pumpfun-in-the-last-1-hour_1) +Fetch the most recent Created events. For each market, all possible outcomes are listed under Prediction.Condition.Outcomes. -#### How do I get tokens that reached a specific market cap on Pump.fun? +▶️ [Latest polymarket creations](https://ide.bitquery.io/latest-polymarket-creations) -To find tokens on Pump.fun that have reached a specific market capitalization threshold, you can use the following Bitquery GraphQL example. +#### Latest polymarket resolutions -▶️ [How do I get tokens that reached a specific market cap on Pump.fun?](https://ide.bitquery.io/How-do-I-get-tokens-that-reached-a-specific-market-cap-on-Pumpfun) +Latest polymarket resolutions. -### Meteora +▶️ [Latest polymarket resolutions](https://ide.bitquery.io/latest-polymarket-resolutions_1) -#### Get the Top Traders of a specific Token on Meteora DAMM v2 DEX +#### Latest resolved crudeoil markets -The below query gets the Top Traders of the specified Token on Meteora DAMM v2. This provides insights into the most active traders and their trading patterns. +Returns the 10 most recent Resolved events for Polymarket Crude Oil markets. -▶️ [Get the Top Traders of a specific Token on Meteora DAMM v2 DEX](https://ide.bitquery.io/Get-the-Top-Traders-of-a-specific-Token-on-Meteora-DAMM-v2-DEX_1) +▶️ [Latest resolved crudeoil markets](https://ide.bitquery.io/latest-resolved-crudeoil-markets) -#### Get the Top Traders of a specific Token on Meteora DLMM DEX +#### Latest resolved sports markets -The below query gets the Top Traders of the specified Token on Meteora DLMM. This provides insights into the most active traders and their trading patterns. +Returns the 10 most recent Resolved sports markets (management description includes `"sports"`), including the resolved/winning Outcome and full question metadata. Use this to grade results and settle bets. -▶️ [Get the Top Traders of a specific Token on Meteora DLMM DEX](https://ide.bitquery.io/Get-the-Top-Traders-of-a-specific-Token-on-Meteora-DLMM-DEX) +▶️ [Latest resolved sports markets](https://ide.bitquery.io/Latest-resolved-sports-markets) -#### Get the Top Traders of a specific Token on Meteora DYN DEX +#### Query latest created resolved prediction markets for Bitcoin -The below query gets the Top Traders of the specified Token `EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v` on Meteora DYN. +Query latest created resolved prediction markets for Bitcoin. -▶️ [Get the Top Traders of a specific Token on Meteora DYN DEX](https://ide.bitquery.io/Get-the-Top-Traders-of-a-specific-Token-on-Meteora-DYN-DEX) +▶️ [Query latest created resolved prediction markets for Bitcoin](https://ide.bitquery.io/Query-latest-created-resolved-prediction-markets-for-Bitcoin) -#### Meteora DAMM v2 OHLC API +### Settlements -If you want to get OHLC (Open, High, Low, Close) data for any specific currency pair on Meteora DAMM v2, you can use this API. This provides technical analysis data for charting and trading strategies. +#### Latest Settlements -▶️ [Meteora DAMM v2 OHLC API](https://ide.bitquery.io/Meteora-DAMM-v2-OHLC-API) +Fetch the most recent settlements with full details, ordered by block time. -#### Meteora DLMM OHLC API +▶️ [Latest Settlements](https://ide.bitquery.io/latest-prediction-market-settlements_3) -If you want to get OHLC (Open, High, Low, Close) data for any specific currency pair on Meteora DLMM, you can use this API. This provides technical analysis data for charting and trading strategies. +#### Latest Whale Settlements -▶️ [Meteora DLMM OHLC API](https://ide.bitquery.io/Meteora-DLMM-OHLC-API) +Find the most recent high-value redemptions (e.g. amount ≥ 10,000 in outcome token units). Useful for tracking large payouts and whale activity. -#### Meteora DYN OHLC API +▶️ [Latest Whale Settlements](https://ide.bitquery.io/latest-whale-settlements-on-prediction-market_3) -If you want to get OHLC data for any specific currency pair on Meteora DYN, you can use this api. Only use. +#### Redemption / Merge / Split Count (Last 1 Hour) -▶️ [Meteora DYN OHLC API](https://ide.bitquery.io/Meteora-DYN-OHLC-API) +Count how many settlement events occurred in the last hour, grouped by event signature (Split, Merge, Redemption). -### Raydium +▶️ [Redemption / Merge / Split Count (Last 1 Hour)](https://ide.bitquery.io/redemptions-merge-split-count-in-last-1-hour_1) -#### Top 100 About to Graduate Raydium Launchpad Tokens +#### Top 10 Market Questions by Redeemed Amount (Last 1 Hour) -Returns top 100 About to Graduate Raydium Launchpadn Tokens. +Aggregate redemptions by market question and sort by total redeemed amount. See which markets had the most payout activity recently. -▶️ [Top 100 About to Graduate Raydium Launchpad Tokens](https://ide.bitquery.io/Top-100-graduating-raydium-launchlab-tokens-in-last-5-minutes) +▶️ [Top 10 Market Questions by Redeemed Amount (Last 1 Hour)](https://ide.bitquery.io/top-10-market-questions-in-last-1-hour_3) -#### Historical PumpFun Migrated Token on Raydium and Pumpswap. +#### Top 10 Redeemers (Last 1 Hour) -Historical PumpFun Migrated Token on Raydium and Pumpswap. Uses the `DEXTradeByTokens` cube. Adjust the date range in the `where` clause. Needs the historical data add-on — see the comment at the top of the query. +Rank addresses by total amount redeemed in the last hour across all markets. Useful for leaderboards and whale tracking. -▶️ [Historical PumpFun Migrated Token on Raydium and Pumpswap.](https://ide.bitquery.io/all-pumpfun-migrated-token-query_4) +▶️ [Top 10 Redeemers (Last 1 Hour)](https://ide.bitquery.io/top-10-redeemers_1) -#### Get Bonding Curve Progress of a Raydium Launchpad Token +#### Top 10 Winners of a Specific Market Question -Returns Bonding Curve Percentage of a Raydium Launchpad Token. +Rank holders by total redeemed amount for one market (filter by question title). -▶️ [Get Bonding Curve Progress of a Raydium Launchpad Token](https://ide.bitquery.io/bonding-curve-progress-percentage-of-a-letsbonkfun-token) +▶️ [Top 10 Winners of a Specific Market Question](https://ide.bitquery.io/top-10-winners-of-a-market-question_2) -#### Latest Price of a Token on Raydium Launchpad +#### Latest prediction market settlements -This query returns the latest price of a token on the Raydium launchpad. +Fetch the most recent settlements with full details, ordered by block time. -▶️ [Latest Price of a Token on Raydium Launchpad](https://ide.bitquery.io/Latest-Price-of-a-Token-on-Launchpad) +▶️ [Latest prediction market settlements](https://ide.bitquery.io/latest-prediction-market-settlements_2) -#### Latest Trades for a specific currency on Raydium +#### Latest whale settlements on prediction market -This query returns the latest trades for a token on Raydium. You can set the limit here also. +Find the most recent high-value redemptions (e.g. amount ≥ 10,000 USD). Useful for tracking large payouts and whale activity. -▶️ [Latest Trades for a specific currency on Raydium](https://ide.bitquery.io/Trades-for-a-token-on-Raydium-on-Solana) +▶️ [Latest whale settlements on prediction market](https://ide.bitquery.io/latest-whale-settlements-on-prediction-market_2) -#### DecreaseLiquidityV2 latest raydium clmm +#### Redemptions, merge, split count in last 1 hour -DecreaseLiquidityV2 latest raydium clmm. Uses the `Instructions` cube. Replace the address in the `where` clause to use it. +Count how many settlement events occurred in the last hour, grouped by event signature (Split, Merge, Redemption). -▶️ [DecreaseLiquidityV2 latest raydium clmm](https://ide.bitquery.io/decreaseLiquidityV2-latest-raydium-clmm_1) +▶️ [Redemptions, merge, split count in last 1 hour](https://ide.bitquery.io/redemptions-merge-split-count-in-last-1-hour) -### LetsBonk.fun +#### Top 10 redeemers -#### Latest Price of a LetsBonk.fun Token on Launchpad +Rank addresses by total amount redeemed in the last hour across all markets. Useful for leaderboards and whale tracking. -Provides the most recent price data for a specific LetsBonk.fun token `token Mint Address` launched on Raydium Launchpad. You can filter by the token’s `MintAddress`, and the query will return the last recorded trade price. +▶️ [Top 10 redeemers](https://ide.bitquery.io/top-10-redeemers) -▶️ [Latest Price of a LetsBonk.fun Token on Launchpad](https://ide.bitquery.io/Latest-Price-of-a-LetsBonkfun-Token-on-Launchpad) +### Transfers -#### Latest Trades of a letsbonk.fun token on Launchpad +#### Freshwallet check for polymarket -Fetches the most recent trades of a LetsBonk.fun Token `token Mint Address` on the Raydium Launchpad. Run the query. +Look up the buyer's earliest on-chain activity. If the wallet's first transfer is close to the time of its first big bet, it is a fresh wallet and scores high. Replace the address with the buyer from Step 1. -▶️ [Latest Trades of a letsbonk.fun token on Launchpad](https://ide.bitquery.io/Latest-Trades-of-a-letsbonkfun-token-on-Launchpad) +▶️ [Freshwallet check for polymarket](https://ide.bitquery.io/freshwallet-check-for-polymarket) -#### Liquidity for a Letsbonk.fun token pair +#### FundingSource for poylmarket -Liquidity for a Letsbonk.fun token pair. Uses the `DEXPools` cube. Replace the address in the `where` clause to use it. +FundingSource for poylmarket. Uses the `Transfers` cube. Change the token address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. -▶️ [Liquidity for a Letsbonk.fun token pair](https://ide.bitquery.io/liquidity-for-a-Letsbonkfun-token-pair_2) +▶️ [FundingSource for poylmarket](https://ide.bitquery.io/FundingSource-for-poylmarket) -#### Ohlc for letsbonk.fun token +#### SiblingWallets for polymarket -Ohlc for letsbonk.fun token. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. +Take the funder from Step 3 and list every other wallet it funded. Wallets sharing a funder are likely controlled by the same operator. A large cluster placing correlated bets is a strong signal. -▶️ [Ohlc for letsbonk.fun token](https://ide.bitquery.io/ohlc-for-letsbonkfun-token) +▶️ [SiblingWallets for polymarket](https://ide.bitquery.io/SiblingWallets-for-polymarket) -#### Pool address for letsbonk.fun token +### Balances & Holders -Pool address for letsbonk.fun token. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. +#### Polymarket TVL -▶️ [Pool address for letsbonk.fun token](https://ide.bitquery.io/pool-address-for-letsbonkfun-token_1) +Summarize USDC.e (`0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174`) held by Conditional Tokens and neg-risk wrapped collateral contracts. Extend the `Address` list if you track additional custodians. -#### Top buyers of a letsbonk.fun token on launchpad +▶️ [Polymarket TVL](https://ide.bitquery.io/Polymarket-TVL) -Top buyers of a letsbonk.fun token on launchpad. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. +### Price & OHLC -▶️ [Top buyers of a letsbonk.fun token on launchpad](https://ide.bitquery.io/top-buyers-of-a-letsbonkfun-token-on-launchpad) +#### Current Price per Outcome (Latest Trade) -## BSC +Get the latest trade price for each outcome in a market. Uses `limitBy` for one row per outcome, with Price and PriceInUSD at the most recent block time. -### Trades +▶️ [Current Price per Outcome (Latest Trade)](https://ide.bitquery.io/Current-price-inside-the-market-for-all-options-based-on-latest-trade_1) -#### BSC DEX Trades +#### Current price inside the market for all options based on latest trade -This query returns the latest trades on the BSC network from a trader perspective and returns useful metrics such as marketcap and pool ranking. +Get the latest trade price for each outcome in a market (e.g. Yes/No, Up/Down—each market defines its own outcome labels). -▶️ [BSC DEX Trades](https://ide.bitquery.io/BSC-dextrades_9) +▶️ [Current price inside the market for all options based on latest trade](https://ide.bitquery.io/Current-price-inside-the-market-for-all-options-based-on-latest-trade) -#### BSC Dex Trade By Tokens +#### Latest price of outcomes of a crude oil market -This query returns the latest trades on the BSC network. This is useful when looking for trades of a token. +Returns the latest trade price (and price in USD) per outcome for a single market by `MarketId`. Replace `"1570893"` with the target Crude Oil market ID from Polymarket or from the creation/resolution queries above. -▶️ [BSC Dex Trade By Tokens](https://ide.bitquery.io/BSC-dextrades-for-a-token) +▶️ [Latest price of outcomes of a crude oil market](https://ide.bitquery.io/latest-price-of-outcomes-of-a-crude-oil-market) -#### Top Gainers on BSC +#### OHLC of a outcome of a gold market -Get Top Gainers for the BSC network. +Returns OHLC (Open, High, Low, Close) in USD for one outcome of a Gold market, bucketed by time (e.g. 1-minute intervals). Replace `MarketId` `"1606192"` and outcome `"Down"` with the desired market and outcome label (e.g. `"Up"` or `"Down"`). -▶️ [Top Gainers on BSC](https://ide.bitquery.io/bsc-top-gainers) +▶️ [OHLC of a outcome of a gold market](https://ide.bitquery.io/OHLC-of-a-outcome-of-a-gold-market) -#### Get Trades by a Trader +#### Polymarket AI odds movement OHLC -Get all trades by a particular trader. +Returns OHLC (Open, High, Low, Close) in USD for one outcome of an AI market, bucketed by interval (here 5 minutes). It shows how the implied probability moved over time, and powers charts and backtests. Replace `""` and `""` -▶️ [Get Trades by a Trader](https://ide.bitquery.io/BSC-dextrades-by-a-trader) +▶️ [Polymarket AI odds movement OHLC](https://ide.bitquery.io/Polymarket-AI-odds-movement-OHLC) -#### All dexs info on bsc +#### Polymarket sports odds movement OHLC -Will fetch all the DEXs info for the BSC network. +Returns OHLC (Open, High, Low, Close) in USD for one outcome of a game, bucketed by interval (here 5 minutes). It shows how the win probability moved over time, and powers line-movement charts and strategy backtests. -▶️ [All dexs info on bsc](https://ide.bitquery.io/all-dexs-info-on-bsc) +▶️ [Polymarket sports odds movement OHLC](https://ide.bitquery.io/Polymarket-sports-odds-movement-OHLC) -#### First 500 buyers of a specific BSC chain token +### Liquidity & Pools -Below API gets you the first 500 buyers of a specific BSC token, here as example we have taken this token `0x031b41e504677879370e9DBcF937283A8691Fa7f`. +#### Top cricket Markets by Liquidity -▶️ [First 500 buyers of a specific BSC chain token](https://ide.bitquery.io/first-500-buyers-of-a-specific-BSC-chain-token_2) +Returns the top 100 cricket related polymarkets sorted by liquidity position in the past 24 hours. -#### Get all dex markets for a token +▶️ [Top cricket Markets by Liquidity](https://ide.bitquery.io/Top-cricket-Markets-by-Liquidity) -Will fetch all the DEXs where a token is listed for the BSC network. +#### Top FIFA World Cup Markets by Liquidity -▶️ [Get all dex markets for a token](https://ide.bitquery.io/get-all-dex-markets-for-a-token) +Returns the top 100 FIFA World Cup related polymarkets sorted by liquidity position in the past 24 hours. Here `position` is the metric used for sorting, hence it could be regarded as the liquidity position of the particular market. -#### Get all the DEXs on BSC network +▶️ [Top FIFA World Cup Markets by Liquidity](https://ide.bitquery.io/Top-FIFA-World-Cup-Markets-by-Liquidity) -Retrieves all the DEXes operating on BSC network and gives info such as `ProtocolName` , `ProtocolVersion` and `ProtocolFamily`. +## Perpetuals -▶️ [Get all the DEXs on BSC network](https://ide.bitquery.io/Get-all-the-DEXs-on-BSC-network) +### Hyperliquid -#### Latest Flap.sh trades for a specific token +#### Hyperliquid BTC Perp Trades -Get trading activity for a specific Flap.sh token using DEXTradeByTokens API. +Hyperliquid BTC Perp Trades. Uses the `Trades` cube. -▶️ [Latest Flap.sh trades for a specific token](https://ide.bitquery.io/Latest-Flapsh-trades-for-a-specific-token) +▶️ [Hyperliquid BTC Perp Trades](https://ide.bitquery.io/hyperliquid-btc-perp-trades) -#### Latest Flap.sh trades using DEXTrades API +#### Hyperliquid Latest Trades (Perps + Spot + HIP-3) -Monitor all recent trades across Flap.sh tokens using the DEXTrades API. +Each fill carries the execution (price, size, side, aggressor flag), the position it changed (leverage, margin mode, size before, realized PnL) and fees. `Direction` is one of `Open Long`, `Open Short`, `Close Long`, `Close Short`. -▶️ [Latest Flap.sh trades using DEXTrades API](https://ide.bitquery.io/Latest-Flapsh-trades-using-DEXTrades-API) +▶️ [Hyperliquid Latest Trades (Perps + Spot + HIP-3)](https://ide.bitquery.io/hyperliquid-latest-trades) -### Settlements +#### Hyperliquid Trader Leverage Updates -#### Gra fun redeem transactions +Hyperliquid Trader Leverage Updates. -Gra fun redeem transactions. Uses the `Events` cube. Replace the address in the `where` clause to use it. +▶️ [Hyperliquid Trader Leverage Updates](https://ide.bitquery.io/hyperliquid-leverage-updates) -▶️ [Gra fun redeem transactions](https://ide.bitquery.io/Gra-fun-redeem-transactions) +#### Hyperliquid BTC OHLCV Candles (1 minute) -### Transfers +The `Candles` cube provides OHLCV per market and interval. `Interval.Time.Duration` is the candle length in seconds (e.g. `60` for one minute), `Start` the interval open time. OHLCV values are floats. -#### Get Historical ERC20 token transfers by wallet +▶️ [Hyperliquid BTC OHLCV Candles (1 minute)](https://ide.bitquery.io/hyperliquid-btc-ohlcv-candles) -Get ERC20 token transfers for an address in a given historical time window +#### Hyperliquid Mark Prices (All Markets) -▶️ [Get Historical ERC20 token transfers by wallet](https://ide.bitquery.io/Get-historical-ERC20-token-transfers-by-wallet-bsc) +Follow the steps here: How to generate Bitquery API token ➤. -#### Get token transfers by wallet +▶️ [Hyperliquid Mark Prices (All Markets)](https://ide.bitquery.io/hyperliquid-mark-prices) -Get token transactions ordered by block number in descending order. +### Phoenix -▶️ [Get token transfers by wallet](https://ide.bitquery.io/Get-ERC20-token-transfers-by-wallet-bsc) +#### Phoenix Perps Fills by Trader Wallet - Solana -#### Check if an address interacted with predict.fun ever +Stream every stop-loss and take-profit placement as it happens. -Predict.fun flows on BSC often show up as USDT (`0x55d398326f99059fF775485246999027B3197955`) transfers from the user's wallet to one of the protocol contract addresses listed below. +▶️ [Phoenix Perps Fills by Trader Wallet - Solana](https://ide.bitquery.io/sol_perps_filled_orders_by_signer) -▶️ [Check if an address interacted with predict.fun ever](https://ide.bitquery.io/check-if-an-address-interacted-with-predictfun-ever) +#### Whale Trades on Solana Perps (Phoenix) -#### Check who created this meme rush token +Positive = received, negative = paid. Replace the field list with `total: sum(of: Position_Funding)` for the net carry cost of holding their positions. -Fetches the developer address that created a specific Meme Rush token on BSC by tracing the minting transfer (from the zero address) of that token’s smart contract. +▶️ [Whale Trades on Solana Perps (Phoenix)](https://ide.bitquery.io/solana-perps-whale-trades) -▶️ [Check who created this meme rush token](https://ide.bitquery.io/check-who-created-this-meme-rush-token) +### Other venues -#### Check who created this token +#### Trader Realized PnL on Solana Perps -Fetches the developer address that created a specific Four.Meme token on BSC by tracing the minting transfer (from the zero address) of that token’s smart contract. +Rows with `Size: 0` are markets they've fully closed — drop them and the rest is the live book, with entry prices. -▶️ [Check who created this token](https://ide.bitquery.io/check-who-created-this-token) +▶️ [Trader Realized PnL on Solana Perps](https://ide.bitquery.io/solana-perps-trader-pnl) -#### First transfers of a token +#### Solana Perps OHLC Candles from Mark Price -Retrieves the first transfer of a token to each address, providing the timestamp when each address first received the token. +As a `query`, add `orderBy: { descending: Block_Time }` and a `limit` for the recent whale prints. -▶️ [First transfers of a token](https://ide.bitquery.io/first-transfers-of-a-token_5) +▶️ [Solana Perps OHLC Candles from Mark Price](https://ide.bitquery.io/solana-perps-ohlc-candles) -#### Meme rush tokens created by specific dev +## TRON -This API fetches Binance Meme Rush tokens created by a specific dev on BSC by tracking token minting transfers signed by a particular dev. `Dev Address` here in example is `0xF4f3eb591c47d14614D3A54aCBA28019e2041066`. +### Trades -▶️ [Meme rush tokens created by specific dev](https://ide.bitquery.io/meme-rush-tokens-created-by-specific-dev) +#### Historical Tron Token Trades within 30 Days -#### New Flap.sh Tokens Created Using Transfers API +This query returns the historical trades on the TRON network for a token with the time window of past 30 days. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -Track newly created Flap.sh tokens by monitoring transfers from the zero address with token addresses ending in the vanity suffix. +▶️ [Historical Tron Token Trades within 30 Days](https://ide.bitquery.io/Historical-Tron-trades-for-a-token-within-30-days) -▶️ [New Flap.sh Tokens Created Using Transfers API](https://ide.bitquery.io/New-Flapsh-Tokens-Created-Using-Transfers-API) +#### Tron DEX Trades -#### Sender OR Receiver Transfer Example BSC +This query returns the latest trades on the TRON network from a trader perspective. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -Sender OR Receiver Transfer Example BSC. Uses the `Transfers` cube. Replace the address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. +▶️ [Tron DEX Trades](https://ide.bitquery.io/Tron-Trades) -▶️ [Sender OR Receiver Transfer Example BSC](https://ide.bitquery.io/Sender-OR-Receiver-Transfer-Example-BSC) +#### Tron Dex Trade By Tokens -#### Token created by specific dev +This query returns the latest token trades on the TRON network. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -This API fetches Four.Meme tokens created by a specific dev on BSC by tracking token minting transfers signed by a particular dev. `Dev Address` here in example is `0x9c75588640605d46b42f2d64c5c2e993de251210`. +▶️ [Tron Dex Trade By Tokens](https://ide.bitquery.io/Tron-trades-for-a-token) -▶️ [Token created by specific dev](https://ide.bitquery.io/token-created-by-specific-dev) +#### Sunmpump launchtoDEX -### Balances & Holders +This query allows you to track when tokens are launched on SunSwap using the `launchToDEX` function. It returns the most recent 10 token launches, displaying details such as the token address, transaction hash, block timestamp, and the method call signature. -#### Get latest BNB balance of an wallet +▶️ [Sunmpump launchtoDEX](https://ide.bitquery.io/sunmpump-launchtoDEX_1) -Get latest BNB balance of an wallet. +#### Sunswap v2 latest Trades — historical (beyond 30 days) -▶️ [Get latest BNB balance of an wallet](https://ide.bitquery.io/Latest-native-balance-of-an-address-bsc) +Retrieves details about each trade, including the amounts and prices of tokens bought and sold, as well as information about the trading pair. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Average Tip in terms of avg gas Fee bsc +▶️ [Sunswap v2 latest Trades — historical (beyond 30 days)](https://ide.bitquery.io/sunswap-v2-latest-Trades) -Compares average user tip to average total gas fee per block across the last 10 blocks. +#### Historical Tron Token Trades beyond 30 Days — historical (beyond 30 days) -▶️ [Average Tip in terms of avg gas Fee bsc](https://ide.bitquery.io/Average-Tip-in-terms-of-avg-gas-Fee-bsc) +This query returns the historical token trades on the TRON network for time window beyond 30 days. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Latest balance of an address for a specific token bsc +▶️ [Historical Tron Token Trades beyond 30 Days — historical (beyond 30 days)](https://ide.bitquery.io/Historical-tron-token-trades-beyond-30-days) -This API gives you latest balance of a specific address (here in example `0x238a358808379702088667322f80ac48bad5e6c4`) for a specific token (here we have taken example of USDC `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48`). Try it out. +#### All dexs info — historical (beyond 30 days) -▶️ [Latest balance of an address for a specific token bsc](https://ide.bitquery.io/Latest-balance-of-an-address-for-a-specific-token-bsc) +Fetches all the DEXs information on Tron network such as unique sellers, unique buyers etc. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Top 10 holders percentage +▶️ [All dexs info — historical (beyond 30 days)](https://ide.bitquery.io/all-dexs-info) -Calculates the percentage of total supply held by the top 10 holders of a specific Four Meme token on BSC. +#### DEX Markets for a token — historical (beyond 30 days) -▶️ [Top 10 holders percentage](https://ide.bitquery.io/top-10-holders-percentage) +Fetches the DEXs where a specific token is being traded on Tron network. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Track recent ephemeral contract patterns bsc +▶️ [DEX Markets for a token — historical (beyond 30 days)](https://ide.bitquery.io/DEX-Markets-for-a-token_1) -Many MEV bots and arbitrage executors create contracts that are destroyed within the same transaction. These short-lived contracts are used for. +#### First 100 buyers tron token — historical (beyond 30 days) -▶️ [Track recent ephemeral contract patterns bsc](https://ide.bitquery.io/Track-recent-ephemeral-contract-patterns-bsc) +Find the earliest buyers of any Tron token by using Tron `DEXTradeByTokens` API. This is widely used for memecoin sniper detection, early-holder analysis, and alpha groups monitoring SunPump / SunSwap launches. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Balance Updates for multiple addresses transfer in last 24 hours bsc +▶️ [First 100 buyers tron token — historical (beyond 30 days)](https://ide.bitquery.io/first-100-buyers-tron-token) -Balance Updates for multiple addresses transfer in last 24 hours bsc. Uses the `TransactionBalances` cube. +#### Peg health tron — historical (beyond 30 days) -▶️ [Balance Updates for multiple addresses transfer in last 24 hours bsc](https://ide.bitquery.io/Balance-Updates-for-multiple-addresses-transfer-in-last-24-hours-bsc) +Browse multi-chain stablecoin DEX prices on DEXrabbit's Stablecoins category. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Balance Updates for transfer in last 24 hours bsc +▶️ [Peg health tron — historical (beyond 30 days)](https://ide.bitquery.io/peg-health-tron) -Balance Updates for transfer in last 24 hours bsc. Uses the `TransactionBalances` cube. Replace the address in the `where` clause to use it. +### Transfers -▶️ [Balance Updates for transfer in last 24 hours bsc](https://ide.bitquery.io/Balance-Updates-for-transfer-in-last-24-hours-bsc) +#### Historical TRON Transfers for a Wallet -#### Balance update after transfer received bsc +This query returns the historical transfers for a wallet in a given time window on the TRON network and includes details such as token amount transferred, sender, receiver, and token info. -Balance update after transfer received bsc. Uses the `TransactionBalances` cube. Replace the address in the `where` clause to use it. +▶️ [Historical TRON Transfers for a Wallet](https://ide.bitquery.io/Historical-Tron-transfers-for-a-wallet) -▶️ [Balance update after transfer received bsc](https://ide.bitquery.io/Balance-update-after-transfer-received-bsc) +#### Latest TRON Transfers -#### Balance update after transfer received from multiple addresses bsc +This query returns the most recent transfers on the TRON network and includes details such as token amount transferred, sender, receiver, and token info. -Balance update after transfer received from multiple addresses bsc. Uses the `TransactionBalances` cube. +▶️ [Latest TRON Transfers](https://ide.bitquery.io/Tron-transfer_10_1) -▶️ [Balance update after transfer received from multiple addresses bsc](https://ide.bitquery.io/Balance-update-after-transfer-received-from-multiple-addresses-bsc) +#### Daily transfer volume tron -#### Balance update after transfer sent bsc +Aggregate daily transfer volume in USD for any TRC20 token for analytics dashboards, weekly newsletters, and on-chain reports for stablecoins, governance tokens, and memecoins on Tron. -Balance update after transfer sent bsc. Uses the `TransactionBalances` cube. Replace the address in the `where` clause to use it. +▶️ [Daily transfer volume tron](https://ide.bitquery.io/daily-transfer-volume-tron) -▶️ [Balance update after transfer sent bsc](https://ide.bitquery.io/Balance-update-after-transfer-sent-bsc) +#### Top transfers of a token -### Price & OHLC +Retrieves the top 10 transfers by amount of the token `TXL6rJbvmjD46zeN1JssfgxvSo99qC8MRT`. -#### BEP-20 Token Price +▶️ [Top transfers of a token](https://ide.bitquery.io/top-transfers-of-a-token_2) -Get the latest price of a BEP-20 token on BSC network. +#### Tron total txn fees paid by the Account -▶️ [BEP-20 Token Price](https://ide.bitquery.io/realtime-usd-price-of-a-token) +Get the total fees (in SOL and USD) paid by a specific Tron account across all transfers. -#### Get Price Change 5min, 1h, 6h and 24h of a specific BSC token +▶️ [Tron total txn fees paid by the Account](https://ide.bitquery.io/Tron-total-txn-fees-paid-by-the-Account) -This query gets you Price Change 5min, 1h, 6h and 24h of a specific token on the BSC network. +#### Transfers of a wallet API -▶️ [Get Price Change 5min, 1h, 6h and 24h of a specific BSC token](https://ide.bitquery.io/Price-change-5min-1hr-6hr-precentage-of-a-specific-token_3) +Fetches the recent 10 transfers of a specific wallet address `TFXttAWURRrXrd9JvFPVLEh1esJK8NHxn7`. -#### OHLC for a BEP-20 Token +▶️ [Transfers of a wallet API](https://ide.bitquery.io/Transfers-of-a-wallet-API) -Get OHLC statistics for a BEP-20 token on BSC network. +#### Tron Transaction fees paid by Account aggregated by currency -▶️ [OHLC for a BEP-20 Token](https://ide.bitquery.io/OHLC-for-a-token-on-bsc_1) +Get total fees paid by a Tron account for transferring each type of token. -#### Top 10 BSC Tokens by Price Change in last 1h +▶️ [Tron Transaction fees paid by Account aggregated by currency](https://ide.bitquery.io/Tron-Transaction-fees-paid-by-Account-aggregated-by-currency) -This query gets you top 10 BSC Tokens by Price Change in last 1h. +#### Tron wallet transfers with transaction fees paid -▶️ [Top 10 BSC Tokens by Price Change in last 1h](https://ide.bitquery.io/Top-10-bsc-tokens-by-price-change-in-last-1-hr) +Track wallet token transfers and get the fees paid for each by the address. -#### BSC OHLC API For Token Pair +▶️ [Tron wallet transfers with transaction fees paid](https://ide.bitquery.io/tron-wallet-transfers-with-transaction-fees-paid) -Will fetch the OHLC of a token pair for the BSC network. +### Balances & Holders -▶️ [BSC OHLC API For Token Pair](https://ide.bitquery.io/BSC-OHLC-API-For-Token-Pair) +#### Historical Balance of a Wallet for a Currency -#### Meme rush token ATH price +This query returns the current balance of a wallet for all currencies on the TRON network. -Fetches the All-Time High (ATH) price of a specific Meme Rush token on BSC, using the `DEXTradeByTokens` dataset to calculate the 98th percentile of trade prices (approximate ATH). +▶️ [Historical Balance of a Wallet for a Currency](https://ide.bitquery.io/Historical-Tron-Wallet-Balance-for-a-currency) -▶️ [Meme rush token ATH price](https://ide.bitquery.io/meme-rush-token-ATH-price) +#### Top token holders of a token -#### Latest price of a token on bsc +Returns the top holders of a token ranked by current balance. Use the Holders API with `orderBy` and `limit`. -Will fetch latest trades for a token pair for the BSC network. +▶️ [Top token holders of a token](https://ide.bitquery.io/top-token-holders-of-a-token) -▶️ [Latest price of a token on bsc](https://ide.bitquery.io/Latest-price-of-a-token-on-bsc) +#### Tron Balances for Native currency -#### OHLCV data for specific Flap.sh token against BNB +Returns the native TRX balance for a wallet (not TRC10 or TRC20 tokens). Filter with `Currency: { Native: true }` instead of a token contract address. -Get OHLCV data for Flap.sh tokens paired with BNB. +▶️ [Tron Balances for Native currency](https://ide.bitquery.io/Tron-Balances-for-Native-currency) -▶️ [OHLCV data for specific Flap.sh token against BNB](https://ide.bitquery.io/OHLCV-data-for-specific-Flapsh-token-against-BNB) +#### Tron USDT Balance At Date (Balances Cube) -#### OHLCV data for specific Flap.sh token in USD +Unlike summing Transfers, this includes mints, burns, and genesis supply. -Get OHLCV (Open, High, Low, Close, Volume) data for Flap.sh tokens quoted in USD. +▶️ [Tron USDT Balance At Date (Balances Cube)](https://ide.bitquery.io/tron-usdt-balance-at-date) -▶️ [OHLCV data for specific Flap.sh token in USD](https://ide.bitquery.io/OHLCV-data-for-specific-Flapsh-token-in-USD) +#### Tron balances by date -#### Percentage price change for a meme rush token +Returns balance snapshots over time for an address. Use `dataset: archive`. Order by `Block_Date` descending and use `limit` to paginate. Add `Currency.SmartContract` under `Currency` to filter by a specific token. -Use the below query to get the price change in percentage for various time fields including `24 hours`, `1 hour` and `5 minutes`. Try it. +▶️ [Tron balances by date](https://ide.bitquery.io/tron-balances-by-date) -▶️ [Percentage price change for a meme rush token](https://ide.bitquery.io/Percentage-price-change-for-a-meme-rush-token) +#### Tron token balance -### Supply & Market Cap +Add a `Currency.SmartContract` filter. Always use the contract address, not the token name. -#### Get Total Supply and Marketcap of an ERC20 token +▶️ [Tron token balance](https://ide.bitquery.io/tron-token-balance) -Get Total Supply and Marketcap of an ERC20 token. +#### TronWalletPortfolio Tron -▶️ [Get Total Supply and Marketcap of an ERC20 token](https://ide.bitquery.io/Total-Supply-and-onchain-Marketcap-of-a-specific-token-bsc_1) +Returns balances for all the currecies owned by a wallet address. Use `Amount(selectWhere: { gt: "0" })` to exclude zero balances and `dataset: combined` for the latest balances. -#### Top Tokens by Market Cap on bsc +▶️ [TronWalletPortfolio Tron](https://ide.bitquery.io/TronWalletPortfolio-Tron) -Ranks tokens on BNB Smart Chain by `Supply.MarketCap`, with 24h window, 1s interval, $1,000+ USD volume, `limitBy` per `Token_Id`, up to 50 rows. `Token.Network` is Binance Smart Chain. +#### SunPump Bonding Curve TRX Balance -▶️ [Top Tokens by Market Cap on bsc](https://ide.bitquery.io/Top-Tokens-by-Market-Cap-on-bsc) +TRX balance in bonding curve based on dex trades. Calculated as `balance = in_sum - out_sum` -#### Total Supply and onchain Marketcap of a specific token bsc +▶️ [SunPump Bonding Curve TRX Balance](https://ide.bitquery.io/SunPump-Bonding-Curve-TRX-Balance) -This API gives you latest Supply and Marketcap of a token on BSC (here as example we have taken a BEP-20 token `0x55d398326f99059ff775485246999027b3197955`). Try it out. +#### SunPump Historical Bonding Curve TRX Balance -▶️ [Total Supply and onchain Marketcap of a specific token bsc](https://ide.bitquery.io/Total-Supply-and-onchain-Marketcap-of-a-specific-token-bsc) +Calculated as `balance = in_sum - out_sum` + +▶️ [SunPump Historical Bonding Curve TRX Balance](https://ide.bitquery.io/SunPump-Historical-Bonding-Curve-TRX-Balance) ### Liquidity & Pools -#### Latest Slippage for a Specific Pool +#### Sun Pump Virtual Liquidity Pools -This query retrieves the latest slippage data for a specific DEX pool on BSC. Use this to check current liquidity depth and price impact for a particular token pair. +Sun Pump does not use a dedicated pool for each pair; instead, all liquidity is managed within a single contract. You can query the virtual liquidity pools directly by running the following query. -▶️ [Latest Slippage for a Specific Pool](https://ide.bitquery.io/Latest-slippage-of-a-pool-on-Pancakeswap) +▶️ [Sun Pump Virtual Liquidity Pools](https://ide.bitquery.io/Sun-Pump-Virtual-Liquidity-Pools_1) -#### Latest Liquidity Changes of a Specific Pool +### Events & Calls -Retrieves the latest liquidity events for a specific DEX pool on BSC. Use this to check current pool reserves, spot prices, and recent liquidity changes for a particular token pair. +#### Latest created Sunpump tokens -▶️ [Latest Liquidity Changes of a Specific Pool](https://ide.bitquery.io/Latest-Liquidity-Changes-of-a-Specific-Pool_2) +If you remove `subscription` from the below GraphQL query it will become API, for example check. -### Transactions +▶️ [Latest created Sunpump tokens](https://ide.bitquery.io/latest-created-Sunpump-tokens) -#### Get transactions by wallet +#### Latest tokens created on Sunpump -Get transactions ordered by block number in descending order. +The `Arguments` include the token address, creator, and token index. You can run it. -▶️ [Get transactions by wallet](https://ide.bitquery.io/Get-transactions-by-wallet_6) +▶️ [Latest tokens created on Sunpump](https://ide.bitquery.io/Latest-tokens-created-on-Sunpump_2) -#### Gra fun buy transactions +#### TokenPurchased on Sunpump -Retrieve all buy transactions from GRA.fun using. +This query allows you to track `TokenPurchased` events on SunPump. It retrieves the 10 most recent token purchase events, showing important details such as the token address, buyer information, transaction hash, and token amount involved. -▶️ [Gra fun buy transactions](https://ide.bitquery.io/Gra-fun-buy-transactions) +▶️ [TokenPurchased on Sunpump](https://ide.bitquery.io/TokenPurchased-on-Sunpump) -#### Gra fun sell transactions +## Cross-Chain -Retrieve all sell transactions on GRA fun using. +### Trades -▶️ [Gra fun sell transactions](https://ide.bitquery.io/Gra-fun-sell-transactions) +#### Volume of Multiple Tokens Across Different Chains -### Events & Calls +Get volume and price change data for multiple tokens trading on different chains (Solana, Ethereum, BSC, Tron) in a single query. Returns volume for 1h, 4h, and 24h periods, plus price change percentages. > **Note:** For EVM chains (Ethereum, BSC, etc.) in the Trading API, use **all lowercase… -#### Latest Calls on BSC network +▶️ [Volume of Multiple Tokens Across Different Chains](https://ide.bitquery.io/volume-of-a-token_2) -Retrieves the latest successful smart contract calls on the BNB Smart Chain (BSC). It fetches details about contract interactions, transaction metadata, and associated block information. +### Price & OHLC -▶️ [Latest Calls on BSC network](https://ide.bitquery.io/Latest-Calls-on-BSC-network) +#### SMA and Volume Data (for past 28, 14 and 7 Days Time) -#### Latest flap.sh token created using events data +Use this API to get SMA and volume over the past 28 days, with 14 days, and 7 days breakdowns. Note that the oldest possible data it could return is 30 days ago. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -Monitor token creation events directly from the Flap.sh portal contract for more detailed information. +▶️ [SMA and Volume Data (for past 28, 14 and 7 Days Time)](https://ide.bitquery.io/multiple-tokens-volume-and-SMA) -▶️ [Latest flap.sh token created using events data](https://ide.bitquery.io/Latest-flapsh-token-created-using-events-data_1) +#### Historical OHLC of a Token Pair Across Chains -### Blocks & Validators +This query fetches historical OHLC (Open, High, Low, Close) price data for a token pair across different blockchains for as long back as 30 days. For **native tokens**, you only need to specify their ID (e.g., `bid:eth` for ETH). Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -#### Aggregate Self-Destruct Statistics bsc +▶️ [Historical OHLC of a Token Pair Across Chains](https://ide.bitquery.io/Historical-Token-OHLC-Multi-Chains_1) -Calculate total ETH destroyed or received from self-destructs using aggregation functions. +#### Latest Price of Any Token -▶️ [Aggregate Self-Destruct Statistics bsc](https://ide.bitquery.io/Aggregate-Self-Destruct-Statistics-bsc) +This query gives you bitcoin currency 1-sec OHLC across different blockchains. You can adjust duration in `Duration: {eq: 1}` filter. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -#### Self-Destruct Balance Decrease API bsc +▶️ [Latest Price of Any Token](https://ide.bitquery.io/Latest-bitcoin-price-on-across-chains_5) -Monitor contract balance decrease when contracts are self-destructing. +#### OHLC of a currency on multiple blockchains -▶️ [Self-Destruct Balance Decrease API bsc](https://ide.bitquery.io/Self-Destruct-Balance-Decrease-API-bsc) +This query retrieves the OHLC (Open, High, Low, Close) prices of a currency(in this eg Bitcoin; it will include all sorts of currencies whose underlying asset is Bitcoin like cbBTC, WBTC, etc) across all supported blockchains, aggregated into a given time interval (e.g., 60 seconds in this example). Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -#### Self-Destruct Balance Increase API bsc +▶️ [OHLC of a currency on multiple blockchains](https://ide.bitquery.io/OHLC-of-a-currency-on-multiple-blockchains_2) -Monitor contract balance increase when contracts are self-destructing. +#### Historical Price and Volume Data for a Token Pair beyond 30 days -▶️ [Self-Destruct Balance Increase API bsc](https://ide.bitquery.io/Self-Destruct-Balance-Increase-API-bsc) +Use this API to get historical price and volume for a specific token pair address on a specific network for the time window beyond the 30 days. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -#### Top validators by total tips in last 24 hrs bsc +▶️ [Historical Price and Volume Data for a Token Pair beyond 30 days](https://ide.bitquery.io/historical-price-and-historical-volume) -Ranks validators by cumulative priority fees (reason code 5) received in the last 24 hours. +#### All time High Trade Price for a Token — historical (beyond 30 days) -▶️ [Top validators by total tips in last 24 hrs bsc](https://ide.bitquery.io/top-validators-by-total-tips-in-last-24-hrs-bsc) +Retrieves the all-time high (ATH) price in USD for a specified token contract. All time high price could lie beyond the 30 days window provided by Trading API, hence we use these network specific APIs to get the ATH for a token. While this provides the option to go beyond the 30 days time…. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Historical Miner Balance Data bsc +▶️ [All time High Trade Price for a Token — historical (beyond 30 days)](https://ide.bitquery.io/ATH-of-eth-token_1) -Historical Miner Balance Data bsc. Uses the `TransactionBalances` cube. +## Ethereum -▶️ [Historical Miner Balance Data bsc](https://ide.bitquery.io/Historical-Miner-Balance-Data-bsc) +### Trades -#### Total tips received by a validator in last 24 hrs bsc +#### Latest DEX trades for a token -Returns the total priority fees (native and USD) earned by a specific validator over the last 24 hours. +Most recent swaps for one token across every Ethereum DEX. Change the token address in the `Currency: {SmartContract:}` filter. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -▶️ [Total tips received by a validator in last 24 hrs bsc](https://ide.bitquery.io/total-tips-received-by-a-validator-in-last-24-hrs-bsc) +▶️ [Latest DEX trades for a token](https://ide.bitquery.io/Ethereum-Trades-of-a-Token_1) -### PancakeSwap +#### Trades by a wallet -#### OHLC of a Token on PancakeSwap +Every buy and sell made by one address. Replace the wallet in `Transaction: {From:}`. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -Get the OHLC stats of a token traded on Pancakeswap. +▶️ [Trades by a wallet](https://ide.bitquery.io/Ethereum-Trades-of-a-Trader_1) -▶️ [OHLC of a Token on PancakeSwap](https://ide.bitquery.io/OHLC-of-a-Token-on-pancake_swap_v3) +#### All events on fluid DEX VaultFactory -#### Price of a Token on PancakeSwap +Get a comprehensive list of all events emitted by the Fluid DEX Vault Factory contract. This query aggregates event counts by signature to identify which events are most frequently emitted, helping you understand the contract's activity patterns. -Get the latest price of a token traded on Pancakeswap. +▶️ [All events on fluid DEX VaultFactory](https://ide.bitquery.io/all-events-on-fluid-DEX-VaultFactory) -▶️ [Price of a Token on PancakeSwap](https://ide.bitquery.io/BSC-PancakeSwap-v3-Price-for-a-token) +#### Address is Buyer or Seller V2 — historical (beyond 30 days) -#### Trades on Pancakeswap +Returns trades where the specified address is either as a buyer or a seller. This is achieved by utilizing the `any` filter, which acts as an OR condition to encompass both buyer and seller roles in the results. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Get the latest trades on Pancakeswap. +▶️ [Address is Buyer or Seller V2 — historical (beyond 30 days)](https://ide.bitquery.io/Address-is-Buyer-or-Seller-V2) -▶️ [Trades on Pancakeswap](https://ide.bitquery.io/BSC-dextrades-for-pancakeswap) +#### First 500 buyers of a token — historical (beyond 30 days) -#### All pools of a token on pancake swap +Earliest buyers of a token in order, useful for launch and insider analysis. Needs the historical data add-on — see the comment at the top of the query. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -All pools of a token on pancake swap. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. +▶️ [First 500 buyers of a token — historical (beyond 30 days)](https://ide.bitquery.io/first-500-buyers-of-a-ERC20-token_1) -▶️ [All pools of a token on pancake swap](https://ide.bitquery.io/All-pools-of-a-token-on-pancake-swap_2) +#### Realised PnL, buy and sell volume — historical (beyond 30 days) -#### Bsc pancakeswap ohlc using trading api +Profit and loss for a wallet on one token, from its own trade history. Needs the historical data add-on — see the comment at the top of the query. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Bsc pancakeswap ohlc using trading api. Uses the `Pairs` cube. +▶️ [Realised PnL, buy and sell volume — historical (beyond 30 days)](https://ide.bitquery.io/Realised-Pnl-Buy-volume-Sell-Volume-Ethereum_1) -▶️ [Bsc pancakeswap ohlc using trading api](https://ide.bitquery.io/bsc-pancakeswap-ohlc-using-trading-api) +#### Buys, Sells, BuyVolume, SellVolume, Makers, TotalTradedVolume, PriceinUSD for a eth pair — historical (beyond 30 days) -#### Get Latest Price of a token on PancakeSwap Infinity +Will fetch the buys, sells, buy volume, sell volume and also the number of makers for a particular token just like how DEXScreener shows in its UI. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Below query will get you Latest Price of a token on PancakeSwap Infinity. +▶️ [Buys, Sells, BuyVolume, SellVolume, Makers, TotalTradedVolume, PriceinUSD for a eth pair — historical (beyond 30 days)](https://ide.bitquery.io/Buys-Sells-BuyVolume-SellVolume-Makers-TotalTradedVolume-PriceinUSD-for-a-eth-pair) -▶️ [Get Latest Price of a token on PancakeSwap Infinity](https://ide.bitquery.io/Get-Latest-Price-of-a-token-on-PancakeSwap-Infinity_1) +#### Coin ticker api — historical (beyond 30 days) -### Four Meme +Coin ticker api. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Get Dev and Age of Four Meme Token +▶️ [Coin ticker api — historical (beyond 30 days)](https://ide.bitquery.io/Coin-ticker-api_4) -Below query retrieves the Dev address and time when a Four Meme Token was created. +#### Dex info — historical (beyond 30 days) -▶️ [Get Dev and Age of Four Meme Token](https://ide.bitquery.io/get-dev-and-age-of-a-four-meme-token) +Will fetch a specific DEX stats for the selected network. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Get Newly Created Tokens on Four Meme +▶️ [Dex info — historical (beyond 30 days)](https://ide.bitquery.io/dex-info) -This query retrieves newly created tokens on Four Meme by listening to the `TokenCreate` event. The response provides token information including creator address, token contract address, name, symbol, total supply, and launch details. +#### Dex markets — historical (beyond 30 days) -▶️ [Get Newly Created Tokens on Four Meme](https://ide.bitquery.io/track-Four-meme-token-creation-using-events) +Will fetch all the DEXs info for the selected network. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Liquidity Addition for Four Meme Token +▶️ [Dex markets — historical (beyond 30 days)](https://ide.bitquery.io/dex-markets) -Get the liquidity addition events for a specific token on the Four Meme Exchange. +### Transfers -▶️ [Liquidity Addition for Four Meme Token](https://ide.bitquery.io/Liquidity-Added-to-specific-tokens-on-Four-meme) +#### ERC-20 transfers by wallet -#### Four meme - token ATH price +Recent token transfers in and out of one address. Replace the address in the `where` clause. -Fetches the All-Time High (ATH) price of a specific Four.Meme token on BSC, using the `DEXTradeByTokens` dataset to calculate the 98th percentile of trade prices (approximate ATH). +▶️ [ERC-20 transfers by wallet](https://ide.bitquery.io/Get-ERC20-token-transfers-by-wallet_7) -▶️ [Four meme - token ATH price](https://ide.bitquery.io/four-meme---token-ATH-price) +#### ERC-20 transfers over a past period -#### Get first buys of an address list of a specific token +Token transfers for a wallet between two dates. Change `since` and `till`. Needs the historical data add-on — see the comment at the top of the query. -This query checks if the addresses from Query 1 ever bought the token and when. Pass the address array from Query 1 as a variable to this query. +▶️ [ERC-20 transfers over a past period](https://ide.bitquery.io/Get-historical-ERC20-token-transfers-by-wallet_1) -▶️ [Get first buys of an address list of a specific token](https://ide.bitquery.io/get-first-buys-of-an-address-list-of-a-specific-token_2) +#### Array_intersect example for 2 addresses -#### If meme rush token migrated from four meme or not +Find addresses that have interacted with multiple addresses from a given list. This query uses the `array_intersect` function to identify addresses that have sent or received funds to/from every address in your list. -Below query will only show response if a the mentioned meme rush tokens have migrated to Pancakeswap. Note: Please use a `Block{Date}` filter to minimize the data processing and hence the query processing time and get fast responses. +▶️ [Array_intersect example for 2 addresses](https://ide.bitquery.io/array_intersect-example-for-2-addresses_2) -▶️ [If meme rush token migrated from four meme or not](https://ide.bitquery.io/if-meme-rush-token-migrated-from-four-meme-or-not) +#### Binance:hot wallet transfers with transaction fees -### Uniswap +Track wallet token transfers and get the fees paid for each by the address. `SenderFee` and `SenderFeeInUSD` fields in query are the transaction fees in ETH and transaction fees in USD respectively. -#### Trading Pairs on a BSC DEX +▶️ [Binance:hot wallet transfers with transaction fees](https://ide.bitquery.io/binancehot-wallet-transfers-with-transaction-fees) -Get all trading pairs present on a BSC network DEX. +#### Find earliest transfer to an account -▶️ [Trading Pairs on a BSC DEX](https://ide.bitquery.io/trading-pairs-on-BNB-by-USD-volume) +Find the first transfer ever received by a specific wallet address. This is useful for wallet age analysis, first transaction tracking, and onboarding analytics. -#### Get metadata +▶️ [Find earliest transfer to an account](https://ide.bitquery.io/Copy-of-find-earliest-transfer-to-an-account) -Use the below query to get Token's metadata like `Name`, `symbol`, `SmartContract Address`, `Decimals`. +#### Get Contract Type in v2 -▶️ [Get metadata](https://ide.bitquery.io/get-metadata_1) +To determine the type of a contract and its details, we can use the Transfer API. By fetching the earliest transfer to the contract, we can get relevant details that indicate the contract type. -#### Latest Trades for a currency pair on bsc +▶️ [Get Contract Type in v2](https://ide.bitquery.io/Get-Contract-Type-in-v2) -Latest Trades for a currency pair on bsc. Uses the `DEXTrades` cube. +#### Get Minted Address of the ICO Token -▶️ [Latest Trades for a currency pair on bsc](https://ide.bitquery.io/Latest-Trades-for-a-currency-pair-on-bsc) +In most of the ICOs, the token is minted to a smart contract that contains various methods for distributing the token whenever the conditions set by project owners are satisfied. -#### OHLC on BSC Uniswap v3 +▶️ [Get Minted Address of the ICO Token](https://ide.bitquery.io/Get-Minted-Address-of-the-ICO-Token) -Retrieves the Open, High, Low, and Close (OHLC) prices in USD for a specific token traded on Uniswap v3 over a defined time period and interval. +#### Number of Purchasers in ICO -▶️ [OHLC on BSC Uniswap v3](https://ide.bitquery.io/OHLC-on-BSC-Uniswap-v3) +Number of Purchasers in ICO. Uses the `Transfers` cube. Change the token address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. -#### Top bought tokens on bsc uniswap v3 +▶️ [Number of Purchasers in ICO](https://ide.bitquery.io/Number-of-Purchasers-in-ICO) -Will fetch the top bought tokens on uniswap v3. +#### Transfers sent OR received by an address -▶️ [Top bought tokens on bsc uniswap v3](https://ide.bitquery.io/top-bought-tokens-on-bsc-uniswap-v3) +Both sides of an address's transfer history in one result, using an OR filter. Needs the historical data add-on — see the comment at the top of the query. -#### Top buyers of a currency on uniswap v4 bsc +▶️ [Transfers sent OR received by an address](https://ide.bitquery.io/Sender-OR-Receiver-Transfer-on-Ethereum) -Top buyers of a currency on uniswap v4 bsc. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. +#### Total txn fees paid by binance hot wallet in a day -▶️ [Top buyers of a currency on uniswap v4 bsc](https://ide.bitquery.io/top-buyers-of-a-currency-on-uniswap-v4-bsc) +Get the total fees (in Eth and USD) paid by a specific EVM account across all transfers. `SenderFee` and `SenderFeeInUSD` fields in query are the transaction fees in ETH and transaction fees in USD respectively. -## Base +▶️ [Total txn fees paid by binance hot wallet in a day](https://ide.bitquery.io/total-txn-fees-paid-by-binance-hot-wallet-in-a-day) -### Trades +### Balances & Holders -#### Base DEX Trades +#### Current balance of an address -This query returns the latest trades on the Base network from a trader perspective and returns useful metrics such as marketcap and pool ranking. +Every token balance held by one wallet, with USD value. Balances are cumulative, so this reads the full history. Needs the historical data add-on — see the comment at the top of the query. -▶️ [Base DEX Trades](https://ide.bitquery.io/base-dextrades_3) +▶️ [Current balance of an address](https://ide.bitquery.io/Ethereum-Balance-of-an-Address_2) -#### Base Dex Trade By Tokens +#### Token holder count -This query returns the latest trades on the Base network. This is useful when looking for trades of a token. +How many addresses hold a token right now. Needs the historical data add-on — see the comment at the top of the query. -▶️ [Base Dex Trade By Tokens](https://ide.bitquery.io/base-dextrades-for-a-token) +▶️ [Token holder count](https://ide.bitquery.io/Copy-of-token-holders-count-eth) -#### Get Trades by a Trader +#### Balance of an address at a past date -Get all trades by a particular trader. +What a wallet held on a given day. Change the `date` argument. Needs the historical data add-on — see the comment at the top of the query. -▶️ [Get Trades by a Trader](https://ide.bitquery.io/base-dextrades-by-a-trader) +▶️ [Balance of an address at a past date](https://ide.bitquery.io/Historical-Balance-of-an-Address_1) -#### First 500 buyers of a specific base token +#### Token holders on a specific date -Below API gets you the first 500 buyers of a specific Base chain token, here as example we have taken this token `0x58538e6A46E07434d7E7375Bc268D3cb839C0133`. +A holder snapshot for any past day, with per-holder stats. Needs the historical data add-on — see the comment at the top of the query. -▶️ [First 500 buyers of a specific base token](https://ide.bitquery.io/first-500-buyers-of-a-specific-base-token) +▶️ [Token holders on a specific date](https://ide.bitquery.io/tokens-holders-of-a-token_10) -#### Latest Trades of a Token on Zora Base +#### Token Holders of Multiple Tokens until last month -Latest Trades of a Token on Zora Base. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. +This API provides a list of top holders along with relevant statistics for a given token liston a specific date using BalanceUpdates API. -▶️ [Latest Trades of a Token on Zora Base](https://ide.bitquery.io/Latest-Trades-of-a-Token-on-Zora-Base) +▶️ [Token Holders of Multiple Tokens until last month](https://ide.bitquery.io/Top-10-historical-holders-of-multiple-tokens-on-ETH) -#### Latest Zora Trades on Base +#### Average Tip in terms of avg gas Fee -Fetches the latest DEX trades on the Zora protocol (`zora_v4`) on Base blockchain. +Compares average user tip to average total gas fee per block across the last 10 blocks. -▶️ [Latest Zora Trades on Base](https://ide.bitquery.io/Latest-Zora-Trades-on-Base) +▶️ [Average Tip in terms of avg gas Fee](https://ide.bitquery.io/Average-Tip-in-terms-of-avg-gas-Fee_4) -#### Most Traded Tokens on Aerodome Last Month +#### Balance Updates for multiple addresses transfer in last 24 hours -Discover the most actively traded tokens on Aerodrome Finance over any time period. This query analyzes all DEX trades within a specified timeframe and ranks tokens by trade count, helping you identify trending tokens and market activity patterns. +Balance Updates for multiple addresses transfer in last 24 hours. Uses the `TransactionBalances` cube. -▶️ [Most Traded Tokens on Aerodome Last Month](https://ide.bitquery.io/Most-Traded-Tokens-on-Aerodome-Last-Month) +▶️ [Balance Updates for multiple addresses transfer in last 24 hours](https://ide.bitquery.io/Balance-Updates-for-multiple-addresses-transfer-in-last-24-hours) -#### Top Traders by PnL of a specific base pool +#### Balance Updates for transfer in last 24 hours -Rank traders by `PnL` on one pool: filter `Pair.Market.Address`, last 30 minutes, `limit: 10`, and `orderBy` `PnL` descending. Useful for leaderboards, smart-money screens, and pool-specific trader analytics. +Balance Updates for transfer in last 24 hours. Uses the `TransactionBalances` cube. Replace the address in the `where` clause to use it. -▶️ [Top Traders by PnL of a specific base pool](https://ide.bitquery.io/Top-Traders-by-PnL-of-a-specific-base-pool_1) +▶️ [Balance Updates for transfer in last 24 hours](https://ide.bitquery.io/Balance-Updates-for-transfer-in-last-24-hours) -#### Ape store token trades +#### Balance update after transfer received from multiple addresses -Ape store token trades. Uses the `Calls` cube. Replace the address in the `where` clause to use it. +Balance update after transfer received from multiple addresses. Uses the `TransactionBalances` cube. -▶️ [Ape store token trades](https://ide.bitquery.io/ape-store-token-trades) +▶️ [Balance update after transfer received from multiple addresses](https://ide.bitquery.io/Balance-update-after-transfer-received-from-multiple-addresses_2) -### Transfers +#### Balance update after transfer sent from multiple addresses -#### Get Historical ERC20 token transfers by wallet +Balance update after transfer sent from multiple addresses. Uses the `TransactionBalances` cube. -Get ERC20 token transfers for an address in a given historical time window +▶️ [Balance update after transfer sent from multiple addresses](https://ide.bitquery.io/Balance-update-after-transfer-sent-from-multiple-addresses) -▶️ [Get Historical ERC20 token transfers by wallet](https://ide.bitquery.io/Get-historical-ERC20-token-transfers-by-wallet-base_2) +### Price & OHLC -#### Get token transfers by wallet +#### Token price from top market (rank 1) -Get token transactions ordered by block number in descending order. +Prices WETH from its single top market rather than blending every pool — the recommended way to price one specific token. Replace `token` in the Variables pane, lowercase. -▶️ [Get token transfers by wallet](https://ide.bitquery.io/Get-token-transfers-by-wallet-base_1) +▶️ [Token price from top market (rank 1)](https://ide.bitquery.io/Ethereum-Token-price-from-top-market-rank-1) -#### Newly created zora tokens +#### Ohlc of a token pair 1 hour interval -Retrieves the list of newly created tokens on Zora Launchpad by monitoring transfers where new tokens are minted (sender is the zero address) with a specific amount. +Fetches the Open, High, Low, and Close (OHLC) price data (USD-quoted) for a given token pair across DEXs, using a specified quote token and time interval (in seconds). Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -▶️ [Newly created zora tokens](https://ide.bitquery.io/Newly-created-zora-tokens) +▶️ [Ohlc of a token pair 1 hour interval](https://ide.bitquery.io/ohlc-of-a-token-pair-1-hour-interval) -#### Tx from to base address +#### Historical Price and Volume Data for a Token Pair beyond 30 days -We use the `any` filter [ OR condition] to get transactions from or to a wallet. +Use this API to get historical price and volume for a specific token pair address on a specific network for the time window beyond the 30 days. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -▶️ [Tx from to base address](https://ide.bitquery.io/tx-from-to-base-address) +▶️ [Historical Price and Volume Data for a Token Pair beyond 30 days](https://ide.bitquery.io/historical-price-and-historical-volume) -### Balances & Holders +#### Pepe historical ohlcv 30days -#### Real-Time Holders of Multiple Tokens +Fetch hourly OHLCV candles for the past 30 days. Change `Duration` for different intervals, such as 60 (1 minute) or 300 (5 minutes). Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -This API leverages the balanceUpdate endpoint to deliver real-time holder data for multiple tokens. +▶️ [Pepe historical ohlcv 30days](https://ide.bitquery.io/pepe-historical-ohlcv-30days) -▶️ [Real-Time Holders of Multiple Tokens](https://ide.bitquery.io/Top-10-holders-of-multiple-tokens-on-Base_2) +#### Prices for multiple tokens at once — historical (beyond 30 days) -#### Token Holder Count on a Specific Date +Latest USD price for a list of tokens in a single request. Add addresses to the `in` filter. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -This API returns the total number of holders for a specific token on a given date. +▶️ [Prices for multiple tokens at once — historical (beyond 30 days)](https://ide.bitquery.io/Price-of-multiple-tokens-in-realtime) -▶️ [Token Holder Count on a Specific Date](https://ide.bitquery.io/token-holders-count-base) +#### Price of a token in realtime — historical (beyond 30 days) -#### Token Holders and Stats on a Specific Date - TokenHolders API +Will give the latest Price of a specified token using DEXTrades API. Here we have calculated the price of a token in USD and also against the sell currency. Here is the. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -This API provides a list of all holders along with relevant statistics for a given token on a specific date. +▶️ [Price of a token in realtime — historical (beyond 30 days)](https://ide.bitquery.io/Price-of-a-token-in-realtime) -▶️ [Token Holders and Stats on a Specific Date - TokenHolders API](https://ide.bitquery.io/tokens-holders-of-a-token-base) +#### All-time high price of a token — historical (beyond 30 days) -#### Token Holders of Multiple Tokens on a speicifc date +Highest price a token has ever traded at, with the date it happened. Needs the historical data add-on — see the comment at the top of the query. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -This API provides a list of top holders along with relevant statistics for a given token liston a specific date using Holders API. +▶️ [All-time high price of a token — historical (beyond 30 days)](https://ide.bitquery.io/ATH-of-eth-token) -▶️ [Token Holders of Multiple Tokens on a speicifc date](https://ide.bitquery.io/Top-10-holders-of-multiple-tokens-on-Base-at-a-specific-time-holder-api) +#### OHLCV by pair address — historical (beyond 30 days) -#### Get All Token Balances for an Address +Open, high, low, close and volume candles for one pair. Change the interval to re-bucket the candles. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Retrieve all token balances held by a specific address. This query returns balances for all tokens the address holds. +▶️ [OHLCV by pair address — historical (beyond 30 days)](https://ide.bitquery.io/OHLC0_8) -▶️ [Get All Token Balances for an Address](https://ide.bitquery.io/Get-All-Token-Balances-for-an-Address_4) +#### Price change over 5m, 1h, 6h and 24h — historical (beyond 30 days) -#### Get latest token balance of a wallet +Percentage moves across four windows for one token in one query. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Get latest token balance of a wallet. +▶️ [Price change over 5m, 1h, 6h and 24h — historical (beyond 30 days)](https://ide.bitquery.io/Price-change-5min-1hr-6hr-precentage-of-a-specific-token_4) -▶️ [Get latest token balance of a wallet](https://ide.bitquery.io/Get-Latest-Token-Balance-for-an-Address_4) +#### Top 10 tokens by price change, last hour — historical (beyond 30 days) -#### Base balances address +Biggest movers on Ethereum over the past hour, ranked. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Returns token balances for a wallet address. Use `Amount(selectWhere: { gt: "0" })` to exclude zero balances. +▶️ [Top 10 tokens by price change, last hour — historical (beyond 30 days)](https://ide.bitquery.io/Top-10-eth-tokens-by-price-change-in-last-1-hr_2) -▶️ [Base balances address](https://ide.bitquery.io/base-balances-address) +#### Price change 5min, 1hr, 6hr precentage of a specific token — historical (beyond 30 days) -#### Base native balances address +Price change 5min, 1hr, 6hr precentage of a specific token. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Returns the native ETH balance for a wallet on Base (not ERC-20 tokens). Filter with `Currency: { Native: true }` instead of a token contract address. +▶️ [Price change 5min, 1hr, 6hr precentage of a specific token — historical (beyond 30 days)](https://ide.bitquery.io/Price-change-5min-1hr-6hr-precentage-of-a-specific-token_1) -▶️ [Base native balances address](https://ide.bitquery.io/base-native-balances-address) +### Supply & Market Cap -#### Latest balance of an address for a specific token base +#### Pepe volume marketcap -This API gives you latest balance of a specific address (here in example `0x238a358808379702088667322f80ac48bad5e6c4`) for a specific token (here we have taken example of USDC `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48`). Try it out. +Provides the latest trade volume for the past one hour along with the latest market cap. -▶️ [Latest balance of an address for a specific token base](https://ide.bitquery.io/Latest-balance-of-an-address-for-a-specific-token-base) +▶️ [Pepe volume marketcap](https://ide.bitquery.io/pepe-volume-marketcap) -#### Token holder snapshot base +#### Top tokens by market cap -The number of unique holders, token supply, and Gini coefficient for the balance amount before a specific timestamp can be derived using the query below. These stats provide a useful holder snapshot for any given time. +Ethereum tokens ranked by market capitalisation. -▶️ [Token holder snapshot base](https://ide.bitquery.io/token-holder-snapshot-base) +▶️ [Top tokens by market cap](https://ide.bitquery.io/Top-Tokens-by-Market-Cap-on-Ethereum) -### Price & OHLC +#### Total supply and market cap of a token -#### Get ATH Price of a token +Current circulating supply and market cap for one token. -Retrieves the all-time high (ATH) price in USD for a specified token contract. +▶️ [Total supply and market cap of a token](https://ide.bitquery.io/Get-Token-Total-Supply-and-Market-Cap_4) -▶️ [Get ATH Price of a token](https://ide.bitquery.io/ATH-of-base-token) +#### Latest supply of USDT and USDC -#### Get Multiple Token Prices +Live supply for the two largest stablecoins; swap the addresses for any other tokens. -Returns an array of token prices denominated in the blockchain's native token and USD for a given token contract address. +▶️ [Latest supply of USDT and USDC](https://ide.bitquery.io/latest-token-supply-on-USDT-and-USDC-on-ethereum-chain_1) -▶️ [Get Multiple Token Prices](https://ide.bitquery.io/Price-of-multiple-tokens-in-realtime_1) +#### Get Token Total Supply and Market Cap -#### Get OHLCV by Pair Address +Retrieve the total supply and market capitalization of a specific ERC-20 token. This query provides on-chain market cap data. -Get the OHLCV candle stick by using pair address. +▶️ [Get Token Total Supply and Market Cap](https://ide.bitquery.io/Get-Token-Total-Supply-and-Market-Cap) -▶️ [Get OHLCV by Pair Address](https://ide.bitquery.io/OHLC--base) +#### Latest token supply on USDT and USDC on ethereum chain -#### Get Price Change 5min, 1h, 6h and 24h of a specific token +Get the current total supply for specific tokens like USDC and USDT on Ethereum or any EVM network. This is ideal for stablecoin tracking and portfolio applications. -This query gets you Price Change 5min, 1h, 6h and 24h of a specific token on the Base network. +▶️ [Latest token supply on USDT and USDC on ethereum chain](https://ide.bitquery.io/latest-token-supply-on-USDT-and-USDC-on-ethereum-chain) -▶️ [Get Price Change 5min, 1h, 6h and 24h of a specific token](https://ide.bitquery.io/Price-change-5min-1hr-6hr-precentage-of-a-specific-token_6) +#### Total Supply and onchain Marketcap of a specific token -#### Top 10 Base Tokens by Price Change in last 1h +This API gives you latest Supply and Marketcap of a token on EVM (here as example we have taken BITGET Token `0x54D2252757e1672EEaD234D27B1270728fF90581` ). Try it out. -This query gets you top 10 Base Tokens by Price Change in last 1h. +▶️ [Total Supply and onchain Marketcap of a specific token](https://ide.bitquery.io/Total-Supply-and-onchain-Marketcap-of-a-specific-token) -▶️ [Top 10 Base Tokens by Price Change in last 1h](https://ide.bitquery.io/Top-10-base-tokens-by-price-change-in-last-1-hr_1) +### Liquidity & Pools -#### OHLC-of-AERO-Coin +#### Latest liquidity of a pool -OHLC-of-AERO-Coin. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. +Current reserves on both sides of one pool. Replace the pool address. -▶️ [OHLC-of-AERO-Coin](https://ide.bitquery.io/OHLC-of-AERO-Coin_1) +▶️ [Latest liquidity of a pool](https://ide.bitquery.io/latest-liquidity-of-a-EVM-pool_1) -#### Price change 5min, 1hr, 6hr, 24h precentage of a specific token +#### Liquidity across all pools of a token -Price change 5min, 1hr, 6hr, 24h precentage of a specific token. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. +Total liquidity for a token summed across every pool it trades in. -▶️ [Price change 5min, 1hr, 6hr, 24h precentage of a specific token](https://ide.bitquery.io/Price-change-5min-1hr-6hr-24h-precentage-of-a-specific-token) +▶️ [Liquidity across all pools of a token](https://ide.bitquery.io/liquidiy-of-all-token-pools_2) -#### Top 10 base tokens by price change in last 1 hr +#### Top liquidity pools for a token -Top 10 base tokens by price change in last 1 hr. Uses the `DEXTradeByTokens` cube. Needs the historical data add-on — see the comment at the top of the query. +The deepest pools holding a token, ranked by liquidity. -▶️ [Top 10 base tokens by price change in last 1 hr](https://ide.bitquery.io/Top-10-base-tokens-by-price-change-in-last-1-hr) +▶️ [Top liquidity pools for a token](https://ide.bitquery.io/top-liquidity-pools-of-atoken-on-ethereum_1) -### Supply & Market Cap +#### Decoded arguments of a specific function call -#### Get Token Total Supply and Market Cap +Every call to one function with its arguments decoded. Change the method name to track a different function. Needs the historical data add-on — see the comment at the top of the query. -Retrieve the total supply and market capitalization of a specific token. This query provides on-chain market cap data. +▶️ [Decoded arguments of a specific function call](https://ide.bitquery.io/addLiquidityETH_function) -▶️ [Get Token Total Supply and Market Cap](https://ide.bitquery.io/Get-Token-Total-Supply-and-Market-Cap_5) +#### BlackRock USD Institutional Digital Liquidity Fund Latest Issuance -#### Top Tokens by Market Cap on Base +You can use the same as a `subscription` to monitor issuances in real-time. -This query ranks Base tokens by `Supply.MarketCap`. It uses roughly the last 24 hours (`since_relative: { hours_ago: 24 }`), 1-second intervals, at least $1,000 USD volume, `limitBy` one row per `Token_Id`, and up to 50 tokens. +▶️ [BlackRock USD Institutional Digital Liquidity Fund Latest Issuance](https://ide.bitquery.io/BlackRock-USD-Institutional-Digital-Liquidity-Fund-Latest-Issuance) -▶️ [Top Tokens by Market Cap on Base](https://ide.bitquery.io/Top-Tokens-by-Market-Cap-on-Base) +#### Liquidiy of all token pools -#### Total supply of a AERO on Base +Returns current liquidity across all pools where a token appears as either `CurrencyA` or `CurrencyB`. It is useful when you want a token-wide liquidity view across multiple pools and DEXes. -Total supply of a AERO on Base. Uses the `Transfers` cube. Change the token address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. +▶️ [Liquidiy of all token pools](https://ide.bitquery.io/liquidiy-of-all-token-pools_1) -▶️ [Total supply of a AERO on Base](https://ide.bitquery.io/Total-supply-of-a-AERO-on-Base) +#### Top liquidity pools of atoken on ethereum -#### Bankr token latest marketcap OHLC +This query separates results by whether shiba inu is listed as the first token (`CurrencyA`) or the second token (`CurrencyB`) in the DEX pool, returning the 10 pools with the highest liquidity for each category. -Bankr token latest marketcap OHLC. Uses the `Tokens` cube. +▶️ [Top liquidity pools of atoken on ethereum](https://ide.bitquery.io/top-liquidity-pools-of-atoken-on-ethereum) -▶️ [Bankr token latest marketcap OHLC](https://ide.bitquery.io/Bankr-token-latest-marketcap-OHLC) +#### Top liquidity pools on Ethereum -#### Total Supply and onchain Marketcap of a specific token base +You can run and modify this query in the. -This API gives you latest Supply and Marketcap of a token on Base. Try it out. +▶️ [Top liquidity pools on Ethereum](https://ide.bitquery.io/top-liquidity-pools-on-Ethereum) -▶️ [Total Supply and onchain Marketcap of a specific token base](https://ide.bitquery.io/Total-Supply-and-onchain-Marketcap-of-a-specific-token-base) +#### Latest Liquidity Changes of a Specific Pool -### Liquidity & Pools +Retrieves the latest liquidity events for a specific DEX pool on Ethereum. Use this to check current pool reserves, spot prices, and recent liquidity changes for a particular token pair. -#### Latest Liquidity of Base Pool +▶️ [Latest Liquidity Changes of a Specific Pool](https://ide.bitquery.io/Latest-Liquidity-Changes-of-a-Specific-Pool_5) -Get the latest liquidity of an Base DEX pool (e.g., Uniswap v3 pool). +### Transactions -▶️ [Latest Liquidity of Base Pool](https://ide.bitquery.io/latest-liquidity-of-a-Base-pool_2) +#### Transactions by wallet -#### Latest Slippage for a Specific Pool +Recent transactions sent from or to an address. -This query retrieves the latest slippage data for a specific DEX pool on Base. Use this to check current liquidity depth and price impact for a particular token pair. +▶️ [Transactions by wallet](https://ide.bitquery.io/Get-transactions-by-wallet_7) -▶️ [Latest Slippage for a Specific Pool](https://ide.bitquery.io/Latest-Liquidity-Changes-of-a-Specific-Pool_7) +#### Look up a transaction by hash -#### Latest Liquidity Changes of a Specific Pool +Full detail for a single transaction. Paste the hash into the `where` clause. -Retrieves the latest liquidity events for a specific DEX pool on Base. Use this to check current pool reserves, spot prices, and recent liquidity changes for a particular token pair. +▶️ [Look up a transaction by hash](https://ide.bitquery.io/Get-a-transaction-by-hash) -▶️ [Latest Liquidity Changes of a Specific Pool](https://ide.bitquery.io/Latest-Liquidity-Changes-of-a-Specific-Pool_4) +#### Transaction value in USD -#### Latest Liquidity Pools on Aerodome +Converts transaction value to USD at the time it was mined. -Track newly created liquidity pools on Aerodrome Finance in real-time. Discover fresh trading pairs and potential liquidity provision opportunities as pools are created. +▶️ [Transaction value in USD](https://ide.bitquery.io/Transaction-value-in-USD) -▶️ [Latest Liquidity Pools on Aerodome](https://ide.bitquery.io/Latest-Liquidity-Pools-on-Aerodome) +#### Debug traceTransaction -#### Top liquidity pools of cbBTC +To trace a transaction using the debug_traceTransaction we need the `transaction hash`. We are using. -This query separates results by whether cbBTC is listed as the first token (`CurrencyA`) or the second token (`CurrencyB`) in the DEX pool, returning the 10 pools with the highest liquidity for each category. +▶️ [Debug traceTransaction](https://ide.bitquery.io/debug_traceTransaction) -▶️ [Top liquidity pools of cbBTC](https://ide.bitquery.io/top-liquidity-pools-of-cbBTC) +#### Eth getBlockReceipt -#### Latest liquidity of a base pool +In this section we will build an API that serves as an alternative to the eth_getBlockReceipts JSON RPC method that takes `Block Number` as an input and returns all transaction receipts for the given block. -This API gives you latest liquidity of a Base Pool. Try it out. +▶️ [Eth getBlockReceipt](https://ide.bitquery.io/eth_getBlockReceipt) -▶️ [Latest liquidity of a base pool](https://ide.bitquery.io/latest-liquidity-of-a-base-pool) +#### Eth getTransactionByHash -### Transactions +Eth getTransactionByHash. Uses the `Transactions` cube. -#### Get transactions by wallet +▶️ [Eth getTransactionByHash](https://ide.bitquery.io/eth_getTransactionByHash_1) -Get transactions ordered by block number in descending order. +#### Eth getTransactionReceipt -▶️ [Get transactions by wallet](https://ide.bitquery.io/Get-transactions-by-wallet_8) +In this section, we will build an alternative to the eth_getTransactionReceipt JSON RPC method using the Bitquery APIs. The method is used to provide the receipt of a transaction given `transaction hash`. -#### Latest gauge vaults claimRewards transactions +▶️ [Eth getTransactionReceipt](https://ide.bitquery.io/eth_getTransactionReceipt_1) -Track when stakers claim accumulated AERO emissions from gauges. Use this to measure realized rewards and active participation across gauge vaults. `0xf5601f95708256a118ef5971820327f362442d2d` is the `Aerodrome : Gauge Implementation` contract. +#### Internal transactions of a transaction -▶️ [Latest gauge vaults claimRewards transactions](https://ide.bitquery.io/latest-gauge-vaults-claimRewards-transactions) +The internal calls a transaction produced — what a block explorer shows as internal txns. -#### Latest gauge vaults deposits transactions +▶️ [Internal transactions of a transaction](https://ide.bitquery.io/internal-transactions-for-a-particular-tx) -Monitor LP staking into gauge vaults. This shows recent `Deposit` events to a gauge contract, helping you track which pools are attracting liquidity ahead of weekly emissions. +### Events & Calls -▶️ [Latest gauge vaults deposits transactions](https://ide.bitquery.io/latest-gauge-vaults-deposits-transactions) +#### Latest smart contract calls -#### Latest gauge vaults withdraw transactions +Decoded contract calls with their arguments. -Observe LP exits from gauge vaults via `Withdraw` events. This helps you detect liquidity outflows and shifts in staking positions across pools. `0xf5601f95708256a118ef5971820327f362442d2d` is the `Aerodrome : Gauge Implementation` contract. +▶️ [Latest smart contract calls](https://ide.bitquery.io/Recent-Calls-on-Ethereum_2) -▶️ [Latest gauge vaults withdraw transactions](https://ide.bitquery.io/latest-gauge-vaults-withdraw-transactions_1) +#### Latest events and logs -### Events & Calls +Decoded event logs as they land. Filter by contract or by event name. -#### Get Latest Calls +▶️ [Latest events and logs](https://ide.bitquery.io/Recents-Events-and-Logs-on-Ethereum_3) -Get Latest Calls. Uses the `Calls` cube. +#### All aave v3 events latest -▶️ [Get Latest Calls](https://ide.bitquery.io/Recent-Calls-on-base_1) +Shows latest 10 events emitted by the AAVE V3 contract. The `Log` field in the results will contain information about the event, including its signature, smart contract address, and transaction hash. -#### Get Latest Events +▶️ [All aave v3 events latest](https://ide.bitquery.io/All-aave-v3-events-latest) -Get Latest Events. Uses the `Events` cube. +#### ByteCode of A Token -▶️ [Get Latest Events](https://ide.bitquery.io/Recents-Events-and-Logs-on-Base) +Will return the most recent transaction that created the token contract. The `Output` field of the Call object in the transaction contains the encoded bytecode of the contract. -#### Latest Bankr launches Doppler Airlock Base +▶️ [ByteCode of A Token](https://ide.bitquery.io/ByteCode-of-A-Token) -Every Bankr launch emits a `Create(address,address,address,address)` event on the Airlock contract. This query returns the most recent launches with the new token address and deployer. +#### Find the deployer of a contract -▶️ [Latest Bankr launches Doppler Airlock Base](https://ide.bitquery.io/Latest-Bankr-launches-Doppler-Airlock-Base) +Returns which address created a given contract, and when. Needs the historical data add-on — see the comment at the top of the query. -#### All bankers tokens created by a deployer - -Filter `Create` events on the Airlock by `Transaction.From` to list every Bankr token launched by a specific wallet. Replace the deployer address with the wallet you want to track. +▶️ [Find the deployer of a contract](https://ide.bitquery.io/creator--deployer-of-an-address_1) -▶️ [All bankers tokens created by a deployer](https://ide.bitquery.io/All-bankers-tokens-created-by-a-deployer) +#### Debug_traceCall -#### Ape store buys from a wallet +In this section, we will discuss how we can use Bitquery APIs as an alternative to the debug_traceCall JSON RPC method, which runs an eth_call within the context of the given block execution using the final state of parent block as the base. -Ape store buys from a wallet. Uses the `Calls` cube. Replace the address in the `where` clause to use it. +▶️ [Debug_traceCall](https://ide.bitquery.io/debug_traceCall) -▶️ [Ape store buys from a wallet](https://ide.bitquery.io/ape-store-buys-from-a-wallet) +#### ETH/BSC SC creates count over date -#### Ape store token event +This query below, will return the number of new smart contracts created on the Ethereum and Binance Smart Chain networks since a particular date. It will also return the date of each day on which new smart contracts were created. -Firstly, we can find the smart contract address of the APE Store using. +▶️ [ETH/BSC SC creates count over date](https://ide.bitquery.io/ETHBSC-SC-creates-count-over-date) -▶️ [Ape store token event](https://ide.bitquery.io/ape-store-token-event_1) +#### Eth getLogs with filters -#### Ape-store-buys +Now, just like the orignal eth_getLogs method, Bitquery APIs provides the option to filter out the `Logs` based on the following parameeters. -Ape-store-buys. Uses the `Calls` cube. Replace the address in the `where` clause to use it. +▶️ [Eth getLogs with filters](https://ide.bitquery.io/eth_getLogs-with-filters) -▶️ [Ape-store-buys](https://ide.bitquery.io/ape-store-buys_1) +### Mempool -#### Base jump token event +#### Get next available nonce -Firstly, we can find the smart contract address of the Base Jump using. +The following query helps you determine the next available nonce for an Ethereum account by getting the latest transaction in the mempool (broadcasted transactions). The returned nonce is the highest nonce used by the account in the mempool. -▶️ [Base jump token event](https://ide.bitquery.io/base-jump-token-event) +▶️ [Get next available nonce](https://ide.bitquery.io/get-next-available-nonce) -#### Base-jump-buys +#### Simulating Pending Transactions -Base-jump-buys. Uses the `Calls` cube. Replace the address in the `where` clause to use it. +Retrieves information about in-flight transactions, helping you simulate the most recent state. It is a way to see if they will succeed without sending them on-chain. -▶️ [Base-jump-buys](https://ide.bitquery.io/base-jump-buys) +▶️ [Simulating Pending Transactions](https://ide.bitquery.io/Simulating-Pending-Transactions_1) -#### Latest Coin on Base Coin +### Blocks & Validators -In the recent times, base network has seen rise of many Memecoins and token based ecosystems. In this guide, we will see some queries that could provide beneficial information about these coins, for people to take informed investment decisions. +#### Aggregate Self-Destruct Statistics -▶️ [Latest Coin on Base Coin](https://ide.bitquery.io/Latest-Coin-on-Base-Coin_3) +Calculate total ETH destroyed or received from self-destructs using aggregation functions. -### Blocks & Validators +▶️ [Aggregate Self-Destruct Statistics](https://ide.bitquery.io/Aggregate-Self-Destruct-Statistics) -#### Aggregate Self Destruct Statistics base +#### QuasarBuilder MEV Payout Transaction Balance -Calculate total ETH destroyed or received from self-destructs using aggregation functions. +This query focuses on a block builder address and returns the most recent payouts, including the token metadata, pre/post balances, and USD valuations, so you can quickly see how large each MEV reward was. -▶️ [Aggregate Self Destruct Statistics base](https://ide.bitquery.io/Aggregate-Self-Destruct-Statistics-base) +▶️ [QuasarBuilder MEV Payout Transaction Balance](https://ide.bitquery.io/QuasarBuilder-MEV-Payout-Transaction-Balance) -#### Self Destruct Balance Decrease API base +#### Self-Destruct Balance Decrease API Monitor contract balance decrease when contracts are self-destructing. -▶️ [Self Destruct Balance Decrease API base](https://ide.bitquery.io/Self-Destruct-Balance-Decrease-API-base) +▶️ [Self-Destruct Balance Decrease API](https://ide.bitquery.io/Self-Destruct-Balance-Decrease-API) -#### Self Destruct Balance Increase API base +#### Self-Destruct Balance Increase API Monitor contract balance increase when contracts are self-destructing. -▶️ [Self Destruct Balance Increase API base](https://ide.bitquery.io/Self-Destruct-Balance-Increase-API-base) +▶️ [Self-Destruct Balance Increase API](https://ide.bitquery.io/Self-Destruct-Balance-Increase-API) -### Uniswap +#### Top validators by total tips in last 24 hrs -#### Uniswap Trades Stream +Ranks validators by cumulative priority fees (reason code 5) received in the last 24 hours. -This subscription returns the real-time trades happening on Uniswap. You can modify the stream to get real-time trades for a particular token, a particular token pair and even a particular trader. +▶️ [Top validators by total tips in last 24 hrs](https://ide.bitquery.io/top-validators-by-total-tips-in-last-24-hrs) -▶️ [Uniswap Trades Stream](https://ide.bitquery.io/Realtime-Uniswap-v1-Uniswap-v2-Uniswap-V3-Trades_1) +#### Total tips received by a validator in last 24 hrs -#### Get metadata for base uniswap token +Returns the total priority fees (native and USD) earned by a specific validator over the last 24 hours. -Use the below query to get Token's metadata like `Name`, `symbol`, `SmartContract Address`, `Decimals`. +▶️ [Total tips received by a validator in last 24 hrs](https://ide.bitquery.io/total-tips-received-by-a-validator-in-last-24-hrs) -▶️ [Get metadata for base uniswap token](https://ide.bitquery.io/get-metadata-for-base-uniswap-token) +### Uniswap -#### Latest slippage of a pool on Uniswap v3 +#### Latest slippage on a Uniswap v3 pool -Latest slippage of a pool on Uniswap v3. Change the token address in the `where` clause to use it. +Per-trade slippage for one v3 pool, to size orders before sending them. -▶️ [Latest slippage of a pool on Uniswap v3](https://ide.bitquery.io/Latest-slippage-of-a-pool-on-Uniswap-v3) +▶️ [Latest slippage on a Uniswap v3 pool](https://ide.bitquery.io/Latest-slippage-of-a-pool-on-Uniswap-v3-Ethereum_1) -#### OHLC on BASE Uniswap v3 +#### All Pool_Ids for currency -Retrieves the Open, High, Low, and Close (OHLC) prices in USD for a specific token traded on Uniswap v3 over a defined time period and interval. +These swaps use the chain-specific DEXTrades cube via `EVM { DEXTrades }`: `Trade.PoolId`, pool-relative Buy/Sell (DEXTrades cube). USD can be thin on small pools—use live swaps above when you want the Trading row shape. -▶️ [OHLC on BASE Uniswap v3](https://ide.bitquery.io/OHLC-on-BASE-Uniswap-v3) +▶️ [All Pool_Ids for currency](https://ide.bitquery.io/All-Pool_Ids-for-currency) -#### Top bought tokens on uniswap v3 +#### Fee collection on Uniswap v3 Positions -Will fetch the top bought tokens on uniswap v3. +It returns decoded arguments—including the Uniswap position `tokenId`, the `recipient` address, and the collected `amount0` and `amount1` values (raw integer amounts). -▶️ [Top bought tokens on uniswap v3](https://ide.bitquery.io/top-bought-tokens-on-uniswap-v3) +▶️ [Fee collection on Uniswap v3 Positions](https://ide.bitquery.io/Fee-collection-on-Uniswap-v3-Positions) -#### Top sold tokens on uniswap v3 +#### Latest ModifyLiquidity Events on Uniswap v4 -Will fetch the top bought tokens on uniswap v3. +Track the most recent liquidity modifications on Uniswap V4 by querying `ModifyLiquidity` events from the PoolManager contract. -▶️ [Top sold tokens on uniswap v3](https://ide.bitquery.io/top-sold-tokens-on-uniswap-v3) +▶️ [Latest ModifyLiquidity Events on Uniswap v4](https://ide.bitquery.io/Latest-ModifyLiquidity-Events-on-Uniswap-v4) -### PancakeSwap +#### Latest trades of a Uniswap pair -#### Get Latest Price of a token on PancakeSwap Infinity +Trades for one Uniswap pair. Replace the pair address. -Below query will get you Latest Price of a token on PancakeSwap Infinity. +▶️ [Latest trades of a Uniswap pair](https://ide.bitquery.io/Latest-Trades-of-a-Pair-on-Uniswap) -▶️ [Get Latest Price of a token on PancakeSwap Infinity](https://ide.bitquery.io/Get-Latest-Price-of-a-token-on-PancakeSwap-Infinity) +#### Latest liquidity for a currency pair across all v4 pools -#### Pancakeswap infinity trades +This API endpoint provides latest liquidity event for every Uniswap V4 pool for a given currency pair. This info includes the Price of currencies in terms of other, Price of currencies in USD, Currency Details and `PoolIDs`. -Below query will subscribe you to the latest DEX Trades on PancakeSwap Infinity. +▶️ [Latest liquidity for a currency pair across all v4 pools](https://ide.bitquery.io/latest-liquidity-for-a-currency-pair-across-all-v4-pools_1) -▶️ [Pancakeswap infinity trades](https://ide.bitquery.io/pancakeswap-infinity-trades) +### PancakeSwap -#### Top bought tokens on pancakeswap_infinity +#### Latest Trades on PancakeSwap V3 ETH -Will fetch the top bought tokens on PancakeSwap Infinity. +The PancakSwap DEX Data is also available for view as a dashboard at DEXRABBIT. -▶️ [Top bought tokens on pancakeswap_infinity](https://ide.bitquery.io/top-bought-tokens-on-pancakeswap_infinity) +▶️ [Latest Trades on PancakeSwap V3 ETH](https://ide.bitquery.io/Latest-Trades-on-PancakeSwap-V3-ETH) -#### Top sold tokens on pancake infinty +#### Top Traders of a token on PancakeSwap on ETH -Will fetch the top bought tokens on PancakeSwap Infinity. +Top Traders of a token on PancakeSwap on ETH. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. -▶️ [Top sold tokens on pancake infinty](https://ide.bitquery.io/top-sold-tokens-on-pancake-infinty) +▶️ [Top Traders of a token on PancakeSwap on ETH](https://ide.bitquery.io/Top-Traders-of-a-token-on-PancakeSwap-on-ETH) -#### Get metadata for base pancakeswap infnity token +#### Top token pairs on PancakeSwap v3 -Use the below query to get Token's metadata like `Name`, `symbol`, `SmartContract Address`, `Decimals`. +Top token pairs on PancakeSwap v3. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. -▶️ [Get metadata for base pancakeswap infnity token](https://ide.bitquery.io/get-metadata-for-base-pancakeswap-infnity-token) +▶️ [Top token pairs on PancakeSwap v3](https://ide.bitquery.io/Top-token-pairs-on-PancakeSwap-v3) -#### OHLC on BASE pancakeswap infinity +## BSC -Retrieves the Open, High, Low, and Close (OHLC) prices in USD for a specific token traded on PancakeSwap Infinity over a defined time period and interval. +### Trades -▶️ [OHLC on BASE pancakeswap infinity](https://ide.bitquery.io/OHLC-on-BASE-pancakeswap-infinity) +#### BSC DEX Trades -### Aerodrome +This query returns the latest trades on the BSC network from a trader perspective and returns useful metrics such as marketcap and pool ranking. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -#### Latest Aerodrome Finance: CL100-WETH/VVV Pool Gauge claimRewards Transactions +▶️ [BSC DEX Trades](https://ide.bitquery.io/BSC-dextrades_9) -See reward claims for a particular gauge pool to quantify realized emissions by its stakers over time. `0x5d05ef25a5f933271e1f0fdc02dc3eab6a4ea687` is the `Aerodrome Finance CL100 WETHVVV Pool Gauge` contract. +#### BSC Dex Trade By Tokens -▶️ [Latest Aerodrome Finance: CL100-WETH/VVV Pool Gauge claimRewards Transactions](https://ide.bitquery.io/latest-Aerodrome-Finance-CL100-WETHVVV-Pool-Gauge-claimRewards-Transactions) +This query returns the latest trades on the BSC network. This is useful when looking for trades of a token. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -#### Latest Aerodrome Finance: CL100-WETH/VVV Pool Gauge deposits +▶️ [BSC Dex Trade By Tokens](https://ide.bitquery.io/BSC-dextrades-for-a-token) -View deposit activity for a specific gauge pool to understand where LPs are allocating capital and how staking momentum evolves. `0x5d05ef25a5f933271e1f0fdc02dc3eab6a4ea687` is the `Aerodrome Finance CL100 WETHVVV Pool Gauge` contract. +#### Get Trades by a Trader -▶️ [Latest Aerodrome Finance: CL100-WETH/VVV Pool Gauge deposits](https://ide.bitquery.io/latest-Aerodrome-Finance-CL100-WETHVVV-Pool-Gauge-deposits) +Get all trades by a particular trader. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -#### Latest Aerodrome Finance: CL100-WETH/VVV Pool Gauge withdraw transactions +▶️ [Get Trades by a Trader](https://ide.bitquery.io/BSC-dextrades-by-a-trader) -Filter withdraw activity for a single gauge pool. Useful for monitoring liquidity changes and unstaking patterns of a targeted pool. `0x5d05ef25a5f933271e1f0fdc02dc3eab6a4ea687` is the `Aerodrome Finance CL100 WETHVVV Pool Gauge` contract. +#### First 500 buyers of a specific BSC chain token — historical (beyond 30 days) -▶️ [Latest Aerodrome Finance: CL100-WETH/VVV Pool Gauge withdraw transactions](https://ide.bitquery.io/latest-Aerodrome-Finance-CL100-WETHVVV-Pool-Gauge-withdraw-transactions_1) +Below API gets you the first 500 buyers of a specific BSC token, here as example we have taken this token `0x031b41e504677879370e9DBcF937283A8691Fa7f`. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -## Arbitrum +▶️ [First 500 buyers of a specific BSC chain token — historical (beyond 30 days)](https://ide.bitquery.io/first-500-buyers-of-a-specific-BSC-chain-token_2) -### Trades +#### Get all the DEXs on BSC network — historical (beyond 30 days) -#### Pair last trades +Retrieves all the DEXes operating on BSC network and gives info such as `ProtocolName` , `ProtocolVersion` and `ProtocolFamily`. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Retrieves all DEX trades on the arbitrum where the Arbitrum currency is `ArbitrumCurrency` and the quote currency is `quoteCurrency` that occurred between the specified dates. +▶️ [Get all the DEXs on BSC network — historical (beyond 30 days)](https://ide.bitquery.io/Get-all-the-DEXs-on-BSC-network) -▶️ [Pair last trades](https://ide.bitquery.io/Pair-last-trades_2) +#### Latest Flap.sh trades using DEXTrades API — historical (beyond 30 days) -#### Swap Events Arbitrum +Monitor all recent trades across Flap.sh tokens using the DEXTrades API. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Returns the 10 most recent `swap` events on the Arbitrum network. We get this by using the signature hash `c42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67` for the swap event. +▶️ [Latest Flap.sh trades using DEXTrades API — historical (beyond 30 days)](https://ide.bitquery.io/Latest-Flapsh-trades-using-DEXTrades-API) -▶️ [Swap Events Arbitrum](https://ide.bitquery.io/Swap-Events-Arbitrum) +#### Top Gainers on BSC — historical (beyond 30 days) -#### Top Sold Tokens on Arbitrum +Get Top Gainers for the BSC network. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Top Sold Tokens on Arbitrum. Uses the `DEXTradeByTokens` cube. Adjust the date range in the `where` clause. +▶️ [Top Gainers on BSC — historical (beyond 30 days)](https://ide.bitquery.io/bsc-top-gainers) -▶️ [Top Sold Tokens on Arbitrum](https://ide.bitquery.io/Top-Sold-Tokens-on-Arbitrum) +#### All dexs info on bsc — historical (beyond 30 days) -#### Top bought tokens on Arbitrum +Will fetch all the DEXs info for the BSC network. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Top bought tokens on Arbitrum. Uses the `DEXTradeByTokens` cube. Adjust the date range in the `where` clause. +▶️ [All dexs info on bsc — historical (beyond 30 days)](https://ide.bitquery.io/all-dexs-info-on-bsc) -▶️ [Top bought tokens on Arbitrum](https://ide.bitquery.io/top-bought-tokens-on-Arbitrum) +#### Get all dex markets for a token — historical (beyond 30 days) -#### Top traders for a token on Arbitrum +Will fetch all the DEXs where a token is listed for the BSC network. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Top traders for a token on Arbitrum. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. +▶️ [Get all dex markets for a token — historical (beyond 30 days)](https://ide.bitquery.io/get-all-dex-markets-for-a-token) -▶️ [Top traders for a token on Arbitrum](https://ide.bitquery.io/top-traders-for-a-token-on-Arbitrum_3) +#### Latest Flap.sh trades for a specific token — historical (beyond 30 days) -#### Trending token pairs on Arbitrum +Get trading activity for a specific Flap.sh token using DEXTradeByTokens API. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Crypto Trades API: one row per swap, with USD and supply. Filter `Pair.Market.Network: Arbitrum`. When to use this vs chain DEX APIs. +▶️ [Latest Flap.sh trades for a specific token — historical (beyond 30 days)](https://ide.bitquery.io/Latest-Flapsh-trades-for-a-specific-token) -▶️ [Trending token pairs on Arbitrum](https://ide.bitquery.io/trending-token-pairs-on-Arbitrum) +### Settlements -### Balances & Holders +#### Gra fun redeem transactions -#### Arbitrum Balance of an Address +Gra fun redeem transactions. Uses the `Events` cube. Replace the address in the `where` clause to use it. -Returns token balances for a wallet address. Use `Amount(selectWhere: { gt: "0" })` to exclude zero balances. +▶️ [Gra fun redeem transactions](https://ide.bitquery.io/Gra-fun-redeem-transactions) -▶️ [Arbitrum Balance of an Address](https://ide.bitquery.io/Arbitrum-Balance-of-an-Address) +### Transfers -#### Arbitrum balances by date +#### Get Historical ERC20 token transfers by wallet -Use `Block.Date.till` for a point-in-time snapshot. Use `dataset: archive` for historical dates and addresses not recently active. +Get ERC20 token transfers for an address in a given historical time window -▶️ [Arbitrum balances by date](https://ide.bitquery.io/arbitrum-balances-by-date) +▶️ [Get Historical ERC20 token transfers by wallet](https://ide.bitquery.io/Get-historical-ERC20-token-transfers-by-wallet-bsc) -#### Arbitrum balances history +#### Get token transfers by wallet -Returns balance snapshots over time for an address. Use `dataset: archive`. Order by `Block_Date` descending and use `limit` to paginate. Add `Currency.SmartContract` under `Currency` to filter by a specific token. +Get token transactions ordered by block number in descending order. -▶️ [Arbitrum balances history](https://ide.bitquery.io/arbitrum-balances-history) +▶️ [Get token transfers by wallet](https://ide.bitquery.io/Get-ERC20-token-transfers-by-wallet-bsc) -#### Arbitrum balances specific token +#### Check if an address interacted with predict.fun ever -Add a `Currency.SmartContract` filter. Always use the contract address, not the token name. Use `0x` for native ETH on Arbitrum, or the ERC-20 contract address for a token. +Predict.fun flows on BSC often show up as USDT (`0x55d398326f99059fF775485246999027B3197955`) transfers from the user's wallet to one of the protocol contract addresses listed below. -▶️ [Arbitrum balances specific token](https://ide.bitquery.io/arbitrum-balances-specific-token) +▶️ [Check if an address interacted with predict.fun ever](https://ide.bitquery.io/check-if-an-address-interacted-with-predictfun-ever) -#### Arbitrum native balances address +#### Check who created this meme rush token -Returns the native ETH balance for a wallet on Arbitrum (not ERC-20 tokens). Filter with `Currency: { Native: true }` instead of a token contract address. +Fetches the developer address that created a specific Meme Rush token on BSC by tracing the minting transfer (from the zero address) of that token’s smart contract. -▶️ [Arbitrum native balances address](https://ide.bitquery.io/arbitrum-native-balances-address) +▶️ [Check who created this meme rush token](https://ide.bitquery.io/check-who-created-this-meme-rush-token) -#### Token holder snapshot arbitrum +#### Check who created this token -The number of unique holders, token supply, and Gini coefficient for the balance amount before a specific timestamp can be derived using the query below. These stats provide a useful holder snapshot for any given time. +Fetches the developer address that created a specific Four.Meme token on BSC by tracing the minting transfer (from the zero address) of that token’s smart contract. -▶️ [Token holder snapshot arbitrum](https://ide.bitquery.io/token-holder-snapshot-arbitrum) +▶️ [Check who created this token](https://ide.bitquery.io/check-who-created-this-token) -### Price & OHLC +#### First transfers of a token -#### Ohlc for a pair on Arbitrum +Retrieves the first transfer of a token to each address, providing the timestamp when each address first received the token. -Ohlc for a pair on Arbitrum. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. +▶️ [First transfers of a token](https://ide.bitquery.io/first-transfers-of-a-token_5) -▶️ [Ohlc for a pair on Arbitrum](https://ide.bitquery.io/ohlc-for-a-pair-on-Arbitrum_1) +#### Meme rush tokens created by specific dev -#### Price change 5min, 1hr, 6hr, 24hr precentage of a specific token +This API fetches Binance Meme Rush tokens created by a specific dev on BSC by tracking token minting transfers signed by a particular dev. `Dev Address` here in example is `0xF4f3eb591c47d14614D3A54aCBA28019e2041066`. -Price change 5min, 1hr, 6hr, 24hr precentage of a specific token. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. +▶️ [Meme rush tokens created by specific dev](https://ide.bitquery.io/meme-rush-tokens-created-by-specific-dev) -▶️ [Price change 5min, 1hr, 6hr, 24hr precentage of a specific token](https://ide.bitquery.io/Price-change-5min-1hr-6hr-24hr-precentage-of-a-specific-token_1) +#### New Flap.sh Tokens Created Using Transfers API -#### Top 10 arb tokens by price change in last 1 hr +Track newly created Flap.sh tokens by monitoring transfers from the zero address with token addresses ending in the vanity suffix. -Top 10 arb tokens by price change in last 1 hr. Uses the `DEXTradeByTokens` cube. Needs the historical data add-on — see the comment at the top of the query. +▶️ [New Flap.sh Tokens Created Using Transfers API](https://ide.bitquery.io/New-Flapsh-Tokens-Created-Using-Transfers-API) -▶️ [Top 10 arb tokens by price change in last 1 hr](https://ide.bitquery.io/Top-10-arb-tokens-by-price-change-in-last-1-hr) +#### Sender OR Receiver Transfer Example BSC -### Supply & Market Cap +Sender OR Receiver Transfer Example BSC. Uses the `Transfers` cube. Replace the address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. -#### Top Tokens by Market Cap on Arbitrum +▶️ [Sender OR Receiver Transfer Example BSC](https://ide.bitquery.io/Sender-OR-Receiver-Transfer-Example-BSC) -This query ranks Arbitrum tokens by `Supply.MarketCap`. It uses roughly the last 24 hours (`since_relative: { hours_ago: 24 }`), 1-second intervals, at least $1,000 USD volume, `limitBy` one row per `Token_Id`, and up to 50 tokens. +#### Token created by specific dev -▶️ [Top Tokens by Market Cap on Arbitrum](https://ide.bitquery.io/Top-Tokens-by-Market-Cap-on-Arbitrum) +This API fetches Four.Meme tokens created by a specific dev on BSC by tracking token minting transfers signed by a particular dev. `Dev Address` here in example is `0x9c75588640605d46b42f2d64c5c2e993de251210`. -### Liquidity & Pools +▶️ [Token created by specific dev](https://ide.bitquery.io/token-created-by-specific-dev) -#### Latest liquidity changes of a specific pool +### Balances & Holders -Retrieves the latest liquidity events for a specific DEX pool on Arbitrum. Use this to check current pool reserves, spot prices, and recent liquidity changes for a particular token pair. +#### Get latest BNB balance of an wallet -▶️ [Latest liquidity changes of a specific pool](https://ide.bitquery.io/latest-liquidity-changes-of-a-specific-pool) +Get latest BNB balance of an wallet. -### Transactions +▶️ [Get latest BNB balance of an wallet](https://ide.bitquery.io/Latest-native-balance-of-an-address-bsc) -#### Latest Transactions +#### Average Tip in terms of avg gas Fee bsc -Retrieves the latest 10 transactions on the Arbitrum network. +Compares average user tip to average total gas fee per block across the last 10 blocks. -▶️ [Latest Transactions](https://ide.bitquery.io/Latest-Transactions_3) +▶️ [Average Tip in terms of avg gas Fee bsc](https://ide.bitquery.io/Average-Tip-in-terms-of-avg-gas-Fee-bsc) -#### Transaction Call Trace Arbitrum +#### Latest balance of an address for a specific token bsc -This query gets the transaction call trace for an Arbitrum transaction. The `Calls` API in the query returns a list of all calls made by the transaction. +This API gives you latest balance of a specific address (here in example `0x238a358808379702088667322f80ac48bad5e6c4`) for a specific token (here we have taken example of USDC `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48`). Try it out. -▶️ [Transaction Call Trace Arbitrum](https://ide.bitquery.io/Transaction-Call-Trace-Arbitrum) +▶️ [Latest balance of an address for a specific token bsc](https://ide.bitquery.io/Latest-balance-of-an-address-for-a-specific-token-bsc) -### Events & Calls +#### Top 10 holders percentage -#### Latest GMX Events +Calculates the percentage of total supply held by the top 10 holders of a specific Four Meme token on BSC. -The following query retrieves the latest liquidated positions on the GMX DEX, providing information on the account, collateral token, index token, position, reserve amount, realised PnL, and mark price. +▶️ [Top 10 holders percentage](https://ide.bitquery.io/top-10-holders-percentage) -▶️ [Latest GMX Events](https://ide.bitquery.io/latest-GMX-Events) +#### Track recent ephemeral contract patterns bsc -#### Latest vGLP Withdraw Events +Many MEV bots and arbitrage executors create contracts that are destroyed within the same transaction. These short-lived contracts are used for. -The following query retrieves the latest vGLP withdrawals on the Arbitrum network. +▶️ [Track recent ephemeral contract patterns bsc](https://ide.bitquery.io/Track-recent-ephemeral-contract-patterns-bsc) -▶️ [Latest vGLP Withdraw Events](https://ide.bitquery.io/latest-vGLP-Withdraw-Events) +#### Balance Updates for multiple addresses transfer in last 24 hours bsc -#### Latest deposits on Across Bridge +Balance Updates for multiple addresses transfer in last 24 hours bsc. Uses the `TransactionBalances` cube. -SpokePool events in Across Protocol can be used to monitor the status of bridge transfers effectively. Below are queries that retrieve the latest deposits and transfers related to the Arbitrum SpokePool. +▶️ [Balance Updates for multiple addresses transfer in last 24 hours bsc](https://ide.bitquery.io/Balance-Updates-for-multiple-addresses-transfer-in-last-24-hours-bsc) -▶️ [Latest deposits on Across Bridge](https://ide.bitquery.io/Latest-deposits-on-Across-Bridge) +#### Balance Updates for transfer in last 24 hours bsc -#### Latest vGLP Deposit Events +Balance Updates for transfer in last 24 hours bsc. Uses the `TransactionBalances` cube. Replace the address in the `where` clause to use it. -The following query retrieves the latest vGLP deposits on the Arbitrum network. +▶️ [Balance Updates for transfer in last 24 hours bsc](https://ide.bitquery.io/Balance-Updates-for-transfer-in-last-24-hours-bsc) -▶️ [Latest vGLP Deposit Events](https://ide.bitquery.io/latest-vGLP-Deposit-Events) +#### Balance update after transfer received bsc -### Blocks & Validators +Balance update after transfer received bsc. Uses the `TransactionBalances` cube. Replace the address in the `where` clause to use it. -#### Latest Arbitrum blocks +▶️ [Balance update after transfer received bsc](https://ide.bitquery.io/Balance-update-after-transfer-received-bsc) -Retrieves the latest 10 blocks on the Arbitrum network. +#### Balance update after transfer received from multiple addresses bsc -▶️ [Latest Arbitrum blocks](https://ide.bitquery.io/Latest-Arbitrum-blocks) +Balance update after transfer received from multiple addresses bsc. Uses the `TransactionBalances` cube. -### Uniswap +▶️ [Balance update after transfer received from multiple addresses bsc](https://ide.bitquery.io/Balance-update-after-transfer-received-from-multiple-addresses-bsc) -#### Get virtual pool address for a token on uniswap v4 arbitrum +#### Balance update after transfer sent bsc -Get virtual pool address for a token on uniswap v4 arbitrum. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. +Balance update after transfer sent bsc. Uses the `TransactionBalances` cube. Replace the address in the `where` clause to use it. -▶️ [Get virtual pool address for a token on uniswap v4 arbitrum](https://ide.bitquery.io/get-virtual-pool-address-for-a-token-on-uniswap-v4-arbitrum) +▶️ [Balance update after transfer sent bsc](https://ide.bitquery.io/Balance-update-after-transfer-sent-bsc) -#### Latest Trades for a currency pair on arbitrum +### Price & OHLC -Latest Trades for a currency pair on arbitrum. Uses the `DEXTrades` cube. +#### Token price from top market (rank 1) -▶️ [Latest Trades for a currency pair on arbitrum](https://ide.bitquery.io/Latest-Trades-for-a-currency-pair-on-arbitrum) +Prices WBNB from its single top market rather than blending every pool — the recommended way to price one specific token. Replace `token` in the Variables pane, lowercase. -#### Top buyers of a currency on uniswap v4 arbitrum +▶️ [Token price from top market (rank 1)](https://ide.bitquery.io/BSC-Token-price-from-top-market-rank-1) -Top buyers of a currency on uniswap v4 arbitrum. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. +#### OHLCV data for specific Flap.sh token against BNB -▶️ [Top buyers of a currency on uniswap v4 arbitrum](https://ide.bitquery.io/top-buyers-of-a-currency-on-uniswap-v4-arbitrum) +Get OHLCV data for Flap.sh tokens paired with BNB. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -#### Top sellers of a token on uniswap v4 arbitrum +▶️ [OHLCV data for specific Flap.sh token against BNB](https://ide.bitquery.io/OHLCV-data-for-specific-Flapsh-token-against-BNB) -Top sellers of a token on uniswap v4 arbitrum. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. +#### OHLCV data for specific Flap.sh token in USD -▶️ [Top sellers of a token on uniswap v4 arbitrum](https://ide.bitquery.io/top-sellers-of-a-token-on-uniswap-v4-arbitrum) +Get OHLCV (Open, High, Low, Close, Volume) data for Flap.sh tokens quoted in USD. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -#### Trade stats for a token pair on uniswap v4 arbitrum +▶️ [OHLCV data for specific Flap.sh token in USD](https://ide.bitquery.io/OHLCV-data-for-specific-Flapsh-token-in-USD) -Trade stats for a token pair on uniswap v4 arbitrum. Uses the `DEXTradeByTokens` cube. +#### BEP-20 Token Price — historical (beyond 30 days) -▶️ [Trade stats for a token pair on uniswap v4 arbitrum](https://ide.bitquery.io/trade-stats-for-a-token-pair-on-uniswap-v4-arbitrum) +Get the latest price of a BEP-20 token on BSC network. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -## Optimism +▶️ [BEP-20 Token Price — historical (beyond 30 days)](https://ide.bitquery.io/realtime-usd-price-of-a-token) -### Trades +#### Get Price Change 5min, 1h, 6h and 24h of a specific BSC token — historical (beyond 30 days) -#### Top tokens on optimism +This query gets you Price Change 5min, 1h, 6h and 24h of a specific token on the BSC network. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Top tokens on optimism. Uses the `DEXTradeByTokens` cube. Adjust the date range in the `where` clause. +▶️ [Get Price Change 5min, 1h, 6h and 24h of a specific BSC token — historical (beyond 30 days)](https://ide.bitquery.io/Price-change-5min-1hr-6hr-precentage-of-a-specific-token_3) -▶️ [Top tokens on optimism](https://ide.bitquery.io/top-tokens-on-optimism) +#### OHLC for a BEP-20 Token — historical (beyond 30 days) -#### Top traders for wld usdc pair +Get OHLC statistics for a BEP-20 token on BSC network. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -You can checkout a completed product using this info on DEXRabbit. +▶️ [OHLC for a BEP-20 Token — historical (beyond 30 days)](https://ide.bitquery.io/OHLC-for-a-token-on-bsc_1) -▶️ [Top traders for wld usdc pair](https://ide.bitquery.io/top-traders-for-wld-usdc-pair) +#### Top 10 BSC Tokens by Price Change in last 1h — historical (beyond 30 days) -#### Top traders on optimism +This query gets you top 10 BSC Tokens by Price Change in last 1h. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Top traders on optimism. Uses the `DEXTradeByTokens` cube. Adjust the date range in the `where` clause. +▶️ [Top 10 BSC Tokens by Price Change in last 1h — historical (beyond 30 days)](https://ide.bitquery.io/Top-10-bsc-tokens-by-price-change-in-last-1-hr) -▶️ [Top traders on optimism](https://ide.bitquery.io/top-traders-on-optimism) +#### BSC OHLC API For Token Pair — historical (beyond 30 days) -### Balances & Holders +Will fetch the OHLC of a token pair for the BSC network. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Optimism Balance of an Address +▶️ [BSC OHLC API For Token Pair — historical (beyond 30 days)](https://ide.bitquery.io/BSC-OHLC-API-For-Token-Pair) -Returns token balances for a wallet address. Use `Amount(selectWhere: { gt: "0" })` to exclude zero balances. +#### Meme rush token ATH price — historical (beyond 30 days) -▶️ [Optimism Balance of an Address](https://ide.bitquery.io/Optimism-Balance-of-an-Address) +Fetches the All-Time High (ATH) price of a specific Meme Rush token on BSC, using the `DEXTradeByTokens` dataset to calculate the 98th percentile of trade prices (approximate ATH). Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Optimism balances by date +▶️ [Meme rush token ATH price — historical (beyond 30 days)](https://ide.bitquery.io/meme-rush-token-ATH-price) -Use `Block.Date.till` for a point-in-time snapshot. Use `dataset: archive` for historical dates and addresses not recently active. +#### Latest price of a token on bsc — historical (beyond 30 days) -▶️ [Optimism balances by date](https://ide.bitquery.io/optimism-balances-by-date) +Will fetch latest trades for a token pair for the BSC network. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Optimism balances history address +▶️ [Latest price of a token on bsc — historical (beyond 30 days)](https://ide.bitquery.io/Latest-price-of-a-token-on-bsc) -Returns balance snapshots over time for an address. Use `dataset: archive`. Order by `Block_Date` descending and use `limit` to paginate. Add `Currency.SmartContract` under `Currency` to filter by a specific token. +#### Percentage price change for a meme rush token — historical (beyond 30 days) -▶️ [Optimism balances history address](https://ide.bitquery.io/optimism-balances-history-address) +Use the below query to get the price change in percentage for various time fields including `24 hours`, `1 hour` and `5 minutes`. Try it. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Optimism balances specific token +▶️ [Percentage price change for a meme rush token — historical (beyond 30 days)](https://ide.bitquery.io/Percentage-price-change-for-a-meme-rush-token) -Add a `Currency.SmartContract` filter. Always use the contract address, not the token name. Use `0x` for native ETH on Optimism, or the ERC-20 contract address for a token. +### Supply & Market Cap -▶️ [Optimism balances specific token](https://ide.bitquery.io/optimism-balances-specific-token) +#### Top Tokens by Market Cap on bsc -#### Optimism native balances address +Ranks tokens on BNB Smart Chain by `Supply.MarketCap`, with 24h window, 1s interval, $1,000+ USD volume, `limitBy` per `Token_Id`, up to 50 rows. `Token.Network` is Binance Smart Chain. -Returns the native ETH balance for a wallet on Optimism (not ERC-20 tokens). Filter with `Currency: { Native: true }` instead of a token contract address. +▶️ [Top Tokens by Market Cap on bsc](https://ide.bitquery.io/Top-Tokens-by-Market-Cap-on-bsc) -▶️ [Optimism native balances address](https://ide.bitquery.io/optimism-native-balances-address) +#### Get Total Supply and Marketcap of an ERC20 token -#### Token holder snapshot optimism +Get Total Supply and Marketcap of an ERC20 token. -The number of unique holders, token supply, and Gini coefficient for the balance amount before a specific timestamp can be derived using the query below. These stats provide a useful holder snapshot for any given time. +▶️ [Get Total Supply and Marketcap of an ERC20 token](https://ide.bitquery.io/Total-Supply-and-onchain-Marketcap-of-a-specific-token-bsc_1) -▶️ [Token holder snapshot optimism](https://ide.bitquery.io/token-holder-snapshot-optimism) +#### Total Supply and onchain Marketcap of a specific token bsc -### Uniswap +This API gives you latest Supply and Marketcap of a token on BSC (here as example we have taken a BEP-20 token `0x55d398326f99059ff775485246999027b3197955`). Try it out. -#### Latest Trades for a currency pair on optimism +▶️ [Total Supply and onchain Marketcap of a specific token bsc](https://ide.bitquery.io/Total-Supply-and-onchain-Marketcap-of-a-specific-token-bsc) -Latest Trades for a currency pair on optimism. Uses the `DEXTrades` cube. +### Liquidity & Pools -▶️ [Latest Trades for a currency pair on optimism](https://ide.bitquery.io/Latest-Trades-for-a-currency-pair-on-optimism) +#### Latest Slippage for a Specific Pool -#### Top buyers of a currency on uniswap v4 optimism +This query retrieves the latest slippage data for a specific DEX pool on BSC. Use this to check current liquidity depth and price impact for a particular token pair. -Top buyers of a currency on uniswap v4 optimism. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. +▶️ [Latest Slippage for a Specific Pool](https://ide.bitquery.io/Latest-slippage-of-a-pool-on-Pancakeswap) -▶️ [Top buyers of a currency on uniswap v4 optimism](https://ide.bitquery.io/top-buyers-of-a-currency-on-uniswap-v4-optimism) +#### Latest Liquidity Changes of a Specific Pool -#### Top sellers of a token on uniswap v4 pool optimism +Retrieves the latest liquidity events for a specific DEX pool on BSC. Use this to check current pool reserves, spot prices, and recent liquidity changes for a particular token pair. -Top sellers of a token on uniswap v4 pool optimism. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. +▶️ [Latest Liquidity Changes of a Specific Pool](https://ide.bitquery.io/Latest-Liquidity-Changes-of-a-Specific-Pool_2) -▶️ [Top sellers of a token on uniswap v4 pool optimism](https://ide.bitquery.io/top-sellers-of-a-token-on-uniswap-v4-pool-optimism) +### Transactions -#### Trade stats for a token pair on uniswap v4 optimism +#### Get transactions by wallet -Trade stats for a token pair on uniswap v4 optimism. Uses the `DEXTradeByTokens` cube. +Get transactions ordered by block number in descending order. -▶️ [Trade stats for a token pair on uniswap v4 optimism](https://ide.bitquery.io/trade-stats-for-a-token-pair-on-uniswap-v4-optimism) +▶️ [Get transactions by wallet](https://ide.bitquery.io/Get-transactions-by-wallet_6) -## Polygon +#### Gra fun buy transactions -### Trades +Retrieve all buy transactions from GRA.fun using. -#### Top Traders by PnL of a specific polygon pool +▶️ [Gra fun buy transactions](https://ide.bitquery.io/Gra-fun-buy-transactions) -Rank traders by `PnL` on one pool: filter `Pair.Market.Address`, last 30 minutes, `limit: 10`, and `orderBy` `PnL` descending. Useful for leaderboards, smart-money screens, and pool-specific trader analytics. +#### Gra fun sell transactions -▶️ [Top Traders by PnL of a specific polygon pool](https://ide.bitquery.io/Top-Traders-by-PnL-of-a-specific-polygon-pool) +Retrieve all sell transactions on GRA fun using. -#### Top traders of a token on matic +▶️ [Gra fun sell transactions](https://ide.bitquery.io/Gra-fun-sell-transactions) -This query ranks traders of one token by volume, splitting bought and sold amounts and totalling volume in native and USD terms. `since_relative` keeps the window rolling. +### Events & Calls -▶️ [Top traders of a token on matic](https://ide.bitquery.io/top-traders-of-a-token-on-matic_1) +#### Latest Calls on BSC network -### Transfers +Retrieves the latest successful smart contract calls on the BNB Smart Chain (BSC). It fetches details about contract interactions, transaction metadata, and associated block information. -#### Check if an address interacted with polymarket ever +▶️ [Latest Calls on BSC network](https://ide.bitquery.io/Latest-Calls-on-BSC-network) -This is cheaper than scanning all `PredictionTrades` when you only need a yes/no signal. Narrow the pattern (e.g. also filter by counterparties) if you need stronger guarantees. +#### Latest flap.sh token created using events data -▶️ [Check if an address interacted with polymarket ever](https://ide.bitquery.io/check-if-an-address-interacted-with-polymarket-ever) +Monitor token creation events directly from the Flap.sh portal contract for more detailed information. -### Balances & Holders +▶️ [Latest flap.sh token created using events data](https://ide.bitquery.io/Latest-flapsh-token-created-using-events-data_1) -#### Balance of an address +### Blocks & Validators -Returns all token balances for a wallet on Polygon using `EVM.Balances` with `network: matic` and `dataset: combined`. See [Polygon Address Balance API](/docs/blockchain/Matic/matic-balance-api/#balance-of-an-address). +#### Aggregate Self-Destruct Statistics bsc -▶️ [Balance of an address](https://ide.bitquery.io/matic-balances-address_1) +Calculate total ETH destroyed or received from self-destructs using aggregation functions. -#### Matic historical balances address +▶️ [Aggregate Self-Destruct Statistics bsc](https://ide.bitquery.io/Aggregate-Self-Destruct-Statistics-bsc) -Returns all token balances for a wallet on Polygon using `EVM.Balances` with `network: matic` and `dataset: combined` until a particular period. For this example we will find the Balnce of the address one month ago. +#### Self-Destruct Balance Decrease API bsc -▶️ [Matic historical balances address](https://ide.bitquery.io/matic-historical-balances-address_1) +Monitor contract balance decrease when contracts are self-destructing. -#### Matic balances address +▶️ [Self-Destruct Balance Decrease API bsc](https://ide.bitquery.io/Self-Destruct-Balance-Decrease-API-bsc) -Returns token balances for a wallet address. Use `Amount(selectWhere: { gt: "0" })` to exclude zero balances. +#### Self-Destruct Balance Increase API bsc -▶️ [Matic balances address](https://ide.bitquery.io/matic-balances-address) +Monitor contract balance increase when contracts are self-destructing. -#### Matic balances history +▶️ [Self-Destruct Balance Increase API bsc](https://ide.bitquery.io/Self-Destruct-Balance-Increase-API-bsc) -Returns balance snapshots over time for an address. Use `dataset: archive`. Order by `Block_Date` descending and use `limit` to paginate. Add `Currency.SmartContract` under `Currency` to filter by a specific token. +#### Top validators by total tips in last 24 hrs bsc -▶️ [Matic balances history](https://ide.bitquery.io/matic-balances-history) +Ranks validators by cumulative priority fees (reason code 5) received in the last 24 hours. -#### Matic balances specific token +▶️ [Top validators by total tips in last 24 hrs bsc](https://ide.bitquery.io/top-validators-by-total-tips-in-last-24-hrs-bsc) -Add a `Currency.SmartContract` filter. Always use the contract address, not the token name. Use `0x` for native MATIC on Polygon, or the ERC-20 contract address for a token. +#### Historical Miner Balance Data bsc -▶️ [Matic balances specific token](https://ide.bitquery.io/matic-balances-specific-token) +Historical Miner Balance Data bsc. Uses the `TransactionBalances` cube. -#### Matic native balances address +▶️ [Historical Miner Balance Data bsc](https://ide.bitquery.io/Historical-Miner-Balance-Data-bsc) -Returns the native MATIC balance for a wallet (not ERC-20 tokens). Filter with `Currency: { Native: true }` instead of a token contract address. +#### Total tips received by a validator in last 24 hrs bsc -▶️ [Matic native balances address](https://ide.bitquery.io/matic-native-balances-address) +Returns the total priority fees (native and USD) earned by a specific validator over the last 24 hours. -#### Matic wallet balance token at date +▶️ [Total tips received by a validator in last 24 hrs bsc](https://ide.bitquery.io/total-tips-received-by-a-validator-in-last-24-hrs-bsc) -Get a wallet's balance for a specific token with `Balance.Address` and `Currency.SmartContract`. This example uses native MATIC (`SmartContract: "0x"`) with `dataset: combined`. +### PancakeSwap -▶️ [Matic wallet balance token at date](https://ide.bitquery.io/matic-wallet-balance-token-at-date) +#### OHLC of a Token on PancakeSwap -#### Token holder snapshot matic +Get the OHLC stats of a token traded on Pancakeswap. -The number of unique holders, token supply, and Gini coefficient for the balance amount before a specific timestamp can be derived using the query below. These stats provide a useful holder snapshot for any given time. +▶️ [OHLC of a Token on PancakeSwap](https://ide.bitquery.io/OHLC-of-a-Token-on-pancake_swap_v3) -▶️ [Token holder snapshot matic](https://ide.bitquery.io/token-holder-snapshot-matic) +#### Price of a Token on PancakeSwap -### Supply & Market Cap +Get the latest price of a token traded on Pancakeswap. -#### Top Tokens by Market Cap on Polygon +▶️ [Price of a Token on PancakeSwap](https://ide.bitquery.io/BSC-PancakeSwap-v3-Price-for-a-token) -This query ranks Polygon tokens by `Supply.MarketCap`. Set `Token.Network` to Matic (Polygon’s label in the Trading API). It uses roughly the last 24 hours, 1-second intervals, at least $1,000 USD volume, `limitBy` one row per `Token_Id`, and up to 50 tokens. +#### Trades on Pancakeswap -▶️ [Top Tokens by Market Cap on Polygon](https://ide.bitquery.io/Top-Tokens-by-Market-Cap-on-Polygon_1) +Get the latest trades on Pancakeswap. -### Liquidity & Pools +▶️ [Trades on Pancakeswap](https://ide.bitquery.io/BSC-dextrades-for-pancakeswap) -#### Latest Liquidity Changes of a Specific Pool +#### All pools of a token on pancake swap -Retrieves the latest liquidity events for a specific DEX pool on Matic. Use this to check current pool reserves, spot prices, and recent liquidity changes for a particular token pair. +All pools of a token on pancake swap. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. -▶️ [Latest Liquidity Changes of a Specific Pool](https://ide.bitquery.io/Latest-Liquidity-Changes-of-a-Specific-Pool_6) +▶️ [All pools of a token on pancake swap](https://ide.bitquery.io/All-pools-of-a-token-on-pancake-swap_2) -### Uniswap +#### Bsc pancakeswap ohlc using trading api -#### Get virtual pool address for a token on uniswap v4 matic +Bsc pancakeswap ohlc using trading api. Uses the `Pairs` cube. -Get virtual pool address for a token on uniswap v4 matic. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. +▶️ [Bsc pancakeswap ohlc using trading api](https://ide.bitquery.io/bsc-pancakeswap-ohlc-using-trading-api) -▶️ [Get virtual pool address for a token on uniswap v4 matic](https://ide.bitquery.io/get-virtual-pool-address-for-a-token-on-uniswap-v4-matic) +#### Get Latest Price of a token on PancakeSwap Infinity -#### OHLCV on MATIC uniswap v3 +Below query will get you Latest Price of a token on PancakeSwap Infinity. -Retrieves the Open, High, Low, and Close (OHLC) prices in USD for a specific token traded on Uniswap v3 over a defined time period and interval. +▶️ [Get Latest Price of a token on PancakeSwap Infinity](https://ide.bitquery.io/Get-Latest-Price-of-a-token-on-PancakeSwap-Infinity_1) -▶️ [OHLCV on MATIC uniswap v3](https://ide.bitquery.io/OHLCV-on-MATIC-uniswap-v3) +### Four Meme -#### Top bought tokens on matic uniswap v3 +#### Get Dev and Age of Four Meme Token -Will fetch the top bought tokens on uniswap v3. +Below query retrieves the Dev address and time when a Four Meme Token was created. -▶️ [Top bought tokens on matic uniswap v3](https://ide.bitquery.io/top-bought-tokens-on-matic-uniswap-v3_4) +▶️ [Get Dev and Age of Four Meme Token](https://ide.bitquery.io/get-dev-and-age-of-a-four-meme-token) -#### Top sold tokens on matic uniswap v3 +#### Get Newly Created Tokens on Four Meme -Will fetch the top bought tokens on uniswap v3. +This query retrieves newly created tokens on Four Meme by listening to the `TokenCreate` event. The response provides token information including creator address, token contract address, name, symbol, total supply, and launch details. -▶️ [Top sold tokens on matic uniswap v3](https://ide.bitquery.io/top-sold-tokens-on-matic-uniswap-v3) +▶️ [Get Newly Created Tokens on Four Meme](https://ide.bitquery.io/track-Four-meme-token-creation-using-events) -#### Top traders of a token on uniswapv3 matic +#### Liquidity Addition for Four Meme Token -Will fetch top traders of a token for the selected network. +Get the liquidity addition events for a specific token on the Four Meme Exchange. -▶️ [Top traders of a token on uniswapv3 matic](https://ide.bitquery.io/top-traders-of-a-token-on-uniswapv3-matic) +▶️ [Liquidity Addition for Four Meme Token](https://ide.bitquery.io/Liquidity-Added-to-specific-tokens-on-Four-meme) -#### Trade volume matic uniswapv3 +#### Four meme - token ATH price -Fetches the traded volume, buy volume and sell volume of a token `0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270`. +Fetches the All-Time High (ATH) price of a specific Four.Meme token on BSC, using the `DEXTradeByTokens` dataset to calculate the 98th percentile of trade prices (approximate ATH). -▶️ [Trade volume matic uniswapv3](https://ide.bitquery.io/trade_volume_matic_uniswapv3) +▶️ [Four meme - token ATH price](https://ide.bitquery.io/four-meme---token-ATH-price) -## TRON +#### Get first buys of an address list of a specific token -### Trades +This query checks if the addresses from Query 1 ever bought the token and when. Pass the address array from Query 1 as a variable to this query. -#### Historical Tron Token Trades beyond 30 Days +▶️ [Get first buys of an address list of a specific token](https://ide.bitquery.io/get-first-buys-of-an-address-list-of-a-specific-token_2) -This query returns the historical token trades on the TRON network for time window beyond 30 days. +#### If meme rush token migrated from four meme or not -▶️ [Historical Tron Token Trades beyond 30 Days](https://ide.bitquery.io/Historical-tron-token-trades-beyond-30-days) +Below query will only show response if a the mentioned meme rush tokens have migrated to Pancakeswap. Note: Please use a `Block{Date}` filter to minimize the data processing and hence the query processing time and get fast responses. -#### Historical Tron Token Trades within 30 Days +▶️ [If meme rush token migrated from four meme or not](https://ide.bitquery.io/if-meme-rush-token-migrated-from-four-meme-or-not) -This query returns the historical trades on the TRON network for a token with the time window of past 30 days. +### Uniswap -▶️ [Historical Tron Token Trades within 30 Days](https://ide.bitquery.io/Historical-Tron-trades-for-a-token-within-30-days) +#### Trading Pairs on a BSC DEX -#### Tron DEX Trades +Get all trading pairs present on a BSC network DEX. -This query returns the latest trades on the TRON network from a trader perspective. +▶️ [Trading Pairs on a BSC DEX](https://ide.bitquery.io/trading-pairs-on-BNB-by-USD-volume) -▶️ [Tron DEX Trades](https://ide.bitquery.io/Tron-Trades) +#### Get metadata -#### Tron Dex Trade By Tokens +Use the below query to get Token's metadata like `Name`, `symbol`, `SmartContract Address`, `Decimals`. -This query returns the latest token trades on the TRON network. +▶️ [Get metadata](https://ide.bitquery.io/get-metadata_1) -▶️ [Tron Dex Trade By Tokens](https://ide.bitquery.io/Tron-trades-for-a-token) +#### Latest Trades for a currency pair on bsc -#### All dexs info +Latest Trades for a currency pair on bsc. Uses the `DEXTrades` cube. -Fetches all the DEXs information on Tron network such as unique sellers, unique buyers etc. +▶️ [Latest Trades for a currency pair on bsc](https://ide.bitquery.io/Latest-Trades-for-a-currency-pair-on-bsc) -▶️ [All dexs info](https://ide.bitquery.io/all-dexs-info) +#### OHLC on BSC Uniswap v3 -#### DEX Markets for a token +Retrieves the Open, High, Low, and Close (OHLC) prices in USD for a specific token traded on Uniswap v3 over a defined time period and interval. -Fetches the DEXs where a specific token is being traded on Tron network. +▶️ [OHLC on BSC Uniswap v3](https://ide.bitquery.io/OHLC-on-BSC-Uniswap-v3) -▶️ [DEX Markets for a token](https://ide.bitquery.io/DEX-Markets-for-a-token_1) +#### Top bought tokens on bsc uniswap v3 -#### First 100 buyers tron token +Will fetch the top bought tokens on uniswap v3. -Find the earliest buyers of any Tron token by using Tron `DEXTradeByTokens` API. This is widely used for memecoin sniper detection, early-holder analysis, and alpha groups monitoring SunPump / SunSwap launches. +▶️ [Top bought tokens on bsc uniswap v3](https://ide.bitquery.io/top-bought-tokens-on-bsc-uniswap-v3) -▶️ [First 100 buyers tron token](https://ide.bitquery.io/first-100-buyers-tron-token) +#### Top buyers of a currency on uniswap v4 bsc -#### Peg health tron +Top buyers of a currency on uniswap v4 bsc. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. -Browse multi-chain stablecoin DEX prices on DEXrabbit's Stablecoins category. +▶️ [Top buyers of a currency on uniswap v4 bsc](https://ide.bitquery.io/top-buyers-of-a-currency-on-uniswap-v4-bsc) -▶️ [Peg health tron](https://ide.bitquery.io/peg-health-tron) +## Base -#### Sunmpump launchtoDEX +### Trades -This query allows you to track when tokens are launched on SunSwap using the `launchToDEX` function. It returns the most recent 10 token launches, displaying details such as the token address, transaction hash, block timestamp, and the method call signature. +#### Base DEX Trades -▶️ [Sunmpump launchtoDEX](https://ide.bitquery.io/sunmpump-launchtoDEX_1) +This query returns the latest trades on the Base network from a trader perspective and returns useful metrics such as marketcap and pool ranking. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -#### Sunswap v2 latest Trades +▶️ [Base DEX Trades](https://ide.bitquery.io/base-dextrades_3) -Retrieves details about each trade, including the amounts and prices of tokens bought and sold, as well as information about the trading pair. +#### Base Dex Trade By Tokens -▶️ [Sunswap v2 latest Trades](https://ide.bitquery.io/sunswap-v2-latest-Trades) +This query returns the latest trades on the Base network. This is useful when looking for trades of a token. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -### Transfers +▶️ [Base Dex Trade By Tokens](https://ide.bitquery.io/base-dextrades-for-a-token) -#### Historical TRON Transfers for a Wallet +#### Get Trades by a Trader -This query returns the historical transfers for a wallet in a given time window on the TRON network and includes details such as token amount transferred, sender, receiver, and token info. +Get all trades by a particular trader. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -▶️ [Historical TRON Transfers for a Wallet](https://ide.bitquery.io/Historical-Tron-transfers-for-a-wallet) +▶️ [Get Trades by a Trader](https://ide.bitquery.io/base-dextrades-by-a-trader) -#### Latest TRON Transfers +#### Top Traders by PnL of a specific base pool -This query returns the most recent transfers on the TRON network and includes details such as token amount transferred, sender, receiver, and token info. +Rank traders by `PnL` on one pool: filter `Pair.Market.Address`, last 30 minutes, `limit: 10`, and `orderBy` `PnL` descending. Useful for leaderboards, smart-money screens, and pool-specific trader analytics. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -▶️ [Latest TRON Transfers](https://ide.bitquery.io/Tron-transfer_10_1) +▶️ [Top Traders by PnL of a specific base pool](https://ide.bitquery.io/Top-Traders-by-PnL-of-a-specific-base-pool_1) -#### Daily transfer volume tron +#### Ape store token trades -Aggregate daily transfer volume in USD for any TRC20 token for analytics dashboards, weekly newsletters, and on-chain reports for stablecoins, governance tokens, and memecoins on Tron. +Ape store token trades. Uses the `Calls` cube. Replace the address in the `where` clause to use it. -▶️ [Daily transfer volume tron](https://ide.bitquery.io/daily-transfer-volume-tron) +▶️ [Ape store token trades](https://ide.bitquery.io/ape-store-token-trades) -#### Top transfers of a token +#### First 500 buyers of a specific base token — historical (beyond 30 days) -Retrieves the top 10 transfers by amount of the token `TXL6rJbvmjD46zeN1JssfgxvSo99qC8MRT`. +Below API gets you the first 500 buyers of a specific Base chain token, here as example we have taken this token `0x58538e6A46E07434d7E7375Bc268D3cb839C0133`. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Top transfers of a token](https://ide.bitquery.io/top-transfers-of-a-token_2) +▶️ [First 500 buyers of a specific base token — historical (beyond 30 days)](https://ide.bitquery.io/first-500-buyers-of-a-specific-base-token) -#### Tron total txn fees paid by the Account +#### Latest Trades of a Token on Zora Base — historical (beyond 30 days) -Get the total fees (in SOL and USD) paid by a specific Tron account across all transfers. +Latest Trades of a Token on Zora Base. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Tron total txn fees paid by the Account](https://ide.bitquery.io/Tron-total-txn-fees-paid-by-the-Account) +▶️ [Latest Trades of a Token on Zora Base — historical (beyond 30 days)](https://ide.bitquery.io/Latest-Trades-of-a-Token-on-Zora-Base) -#### Transfers of a wallet API +#### Latest Zora Trades on Base — historical (beyond 30 days) -Fetches the recent 10 transfers of a specific wallet address `TFXttAWURRrXrd9JvFPVLEh1esJK8NHxn7`. +Fetches the latest DEX trades on the Zora protocol (`zora_v4`) on Base blockchain. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Transfers of a wallet API](https://ide.bitquery.io/Transfers-of-a-wallet-API) +▶️ [Latest Zora Trades on Base — historical (beyond 30 days)](https://ide.bitquery.io/Latest-Zora-Trades-on-Base) -#### Tron Transaction fees paid by Account aggregated by currency +#### Most Traded Tokens on Aerodome Last Month — historical (beyond 30 days) -Get total fees paid by a Tron account for transferring each type of token. +Discover the most actively traded tokens on Aerodrome Finance over any time period. This query analyzes all DEX trades within a specified timeframe and ranks tokens by trade count, helping you identify trending tokens and market activity patterns. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Tron Transaction fees paid by Account aggregated by currency](https://ide.bitquery.io/Tron-Transaction-fees-paid-by-Account-aggregated-by-currency) +▶️ [Most Traded Tokens on Aerodome Last Month — historical (beyond 30 days)](https://ide.bitquery.io/Most-Traded-Tokens-on-Aerodome-Last-Month) -#### Tron wallet transfers with transaction fees paid +### Transfers -Track wallet token transfers and get the fees paid for each by the address. +#### Get Historical ERC20 token transfers by wallet -▶️ [Tron wallet transfers with transaction fees paid](https://ide.bitquery.io/tron-wallet-transfers-with-transaction-fees-paid) +Get ERC20 token transfers for an address in a given historical time window -### Balances & Holders +▶️ [Get Historical ERC20 token transfers by wallet](https://ide.bitquery.io/Get-historical-ERC20-token-transfers-by-wallet-base_2) -#### Historical Balance of a Wallet for a Currency +#### Get token transfers by wallet -This query returns the current balance of a wallet for all currencies on the TRON network. +Get token transactions ordered by block number in descending order. -▶️ [Historical Balance of a Wallet for a Currency](https://ide.bitquery.io/Historical-Tron-Wallet-Balance-for-a-currency) +▶️ [Get token transfers by wallet](https://ide.bitquery.io/Get-token-transfers-by-wallet-base_1) -#### Top token holders of a token +#### Newly created zora tokens -Returns the top holders of a token ranked by current balance. Use the Holders API with `orderBy` and `limit`. +Retrieves the list of newly created tokens on Zora Launchpad by monitoring transfers where new tokens are minted (sender is the zero address) with a specific amount. -▶️ [Top token holders of a token](https://ide.bitquery.io/top-token-holders-of-a-token) +▶️ [Newly created zora tokens](https://ide.bitquery.io/Newly-created-zora-tokens) -#### Tron Balances for Native currency +#### Tx from to base address -Returns the native TRX balance for a wallet (not TRC10 or TRC20 tokens). Filter with `Currency: { Native: true }` instead of a token contract address. +We use the `any` filter [ OR condition] to get transactions from or to a wallet. -▶️ [Tron Balances for Native currency](https://ide.bitquery.io/Tron-Balances-for-Native-currency) +▶️ [Tx from to base address](https://ide.bitquery.io/tx-from-to-base-address) -#### Tron USDT Balance At Date (Balances Cube) +### Balances & Holders -Unlike summing Transfers, this includes mints, burns, and genesis supply. +#### Current balance of an address -▶️ [Tron USDT Balance At Date (Balances Cube)](https://ide.bitquery.io/tron-usdt-balance-at-date) +Every token balance held by one Base address. Balances are cumulative, so this reads the whole history — replace the address to use it. -#### Tron balances by date +▶️ [Current balance of an address](https://ide.bitquery.io/Base-Current-balance-of-an-address) -Returns balance snapshots over time for an address. Use `dataset: archive`. Order by `Block_Date` descending and use `limit` to paginate. Add `Currency.SmartContract` under `Currency` to filter by a specific token. +#### Real-Time Holders of Multiple Tokens -▶️ [Tron balances by date](https://ide.bitquery.io/tron-balances-by-date) +This API leverages the balanceUpdate endpoint to deliver real-time holder data for multiple tokens. -#### Tron token balance +▶️ [Real-Time Holders of Multiple Tokens](https://ide.bitquery.io/Top-10-holders-of-multiple-tokens-on-Base_2) -Add a `Currency.SmartContract` filter. Always use the contract address, not the token name. +#### Token Holder Count on a Specific Date -▶️ [Tron token balance](https://ide.bitquery.io/tron-token-balance) +This API returns the total number of holders for a specific token on a given date. -#### TronWalletPortfolio Tron +▶️ [Token Holder Count on a Specific Date](https://ide.bitquery.io/token-holders-count-base) -Returns balances for all the currecies owned by a wallet address. Use `Amount(selectWhere: { gt: "0" })` to exclude zero balances and `dataset: combined` for the latest balances. +#### Token Holders and Stats on a Specific Date - TokenHolders API -▶️ [TronWalletPortfolio Tron](https://ide.bitquery.io/TronWalletPortfolio-Tron) +This API provides a list of all holders along with relevant statistics for a given token on a specific date. -#### SunPump Bonding Curve TRX Balance +▶️ [Token Holders and Stats on a Specific Date - TokenHolders API](https://ide.bitquery.io/tokens-holders-of-a-token-base) -TRX balance in bonding curve based on dex trades. Calculated as `balance = in_sum - out_sum` +#### Token Holders of Multiple Tokens on a speicifc date -▶️ [SunPump Bonding Curve TRX Balance](https://ide.bitquery.io/SunPump-Bonding-Curve-TRX-Balance) +This API provides a list of top holders along with relevant statistics for a given token liston a specific date using Holders API. -#### SunPump Historical Bonding Curve TRX Balance +▶️ [Token Holders of Multiple Tokens on a speicifc date](https://ide.bitquery.io/Top-10-holders-of-multiple-tokens-on-Base-at-a-specific-time-holder-api) -Calculated as `balance = in_sum - out_sum` +#### Get All Token Balances for an Address -▶️ [SunPump Historical Bonding Curve TRX Balance](https://ide.bitquery.io/SunPump-Historical-Bonding-Curve-TRX-Balance) +Retrieve all token balances held by a specific address. This query returns balances for all tokens the address holds. -### Liquidity & Pools +▶️ [Get All Token Balances for an Address](https://ide.bitquery.io/Get-All-Token-Balances-for-an-Address_4) -#### Sun Pump Virtual Liquidity Pools +#### Get latest token balance of a wallet -Sun Pump does not use a dedicated pool for each pair; instead, all liquidity is managed within a single contract. You can query the virtual liquidity pools directly by running the following query. +Get latest token balance of a wallet. -▶️ [Sun Pump Virtual Liquidity Pools](https://ide.bitquery.io/Sun-Pump-Virtual-Liquidity-Pools_1) +▶️ [Get latest token balance of a wallet](https://ide.bitquery.io/Get-Latest-Token-Balance-for-an-Address_4) -### Events & Calls +#### Base balances address -#### Latest created Sunpump tokens +Returns token balances for a wallet address. Use `Amount(selectWhere: { gt: "0" })` to exclude zero balances. -If you remove `subscription` from the below GraphQL query it will become API, for example check. +▶️ [Base balances address](https://ide.bitquery.io/base-balances-address) -▶️ [Latest created Sunpump tokens](https://ide.bitquery.io/latest-created-Sunpump-tokens) +#### Base native balances address -#### Latest tokens created on Sunpump +Returns the native ETH balance for a wallet on Base (not ERC-20 tokens). Filter with `Currency: { Native: true }` instead of a token contract address. -The `Arguments` include the token address, creator, and token index. You can run it. +▶️ [Base native balances address](https://ide.bitquery.io/base-native-balances-address) -▶️ [Latest tokens created on Sunpump](https://ide.bitquery.io/Latest-tokens-created-on-Sunpump_2) +#### Latest balance of an address for a specific token base -#### TokenPurchased on Sunpump +This API gives you latest balance of a specific address (here in example `0x238a358808379702088667322f80ac48bad5e6c4`) for a specific token (here we have taken example of USDC `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48`). Try it out. -This query allows you to track `TokenPurchased` events on SunPump. It retrieves the 10 most recent token purchase events, showing important details such as the token address, buyer information, transaction hash, and token amount involved. +▶️ [Latest balance of an address for a specific token base](https://ide.bitquery.io/Latest-balance-of-an-address-for-a-specific-token-base) -▶️ [TokenPurchased on Sunpump](https://ide.bitquery.io/TokenPurchased-on-Sunpump) +#### Token holder snapshot base -## Robinhood Chain +The number of unique holders, token supply, and Gini coefficient for the balance amount before a specific timestamp can be derived using the query below. These stats provide a useful holder snapshot for any given time. -### Trades +▶️ [Token holder snapshot base](https://ide.bitquery.io/token-holder-snapshot-base) -#### Largest Trades on Robinhood Chain (24h, USD) +### Price & OHLC -Largest Trades on Robinhood Chain (24h, USD). Uses the `Trades` cube. +#### Token price from top market (rank 1) -▶️ [Largest Trades on Robinhood Chain (24h, USD)](https://ide.bitquery.io/largest-swaps-robinhood-chain) +Prices WETH from its single top market rather than blending every pool — the recommended way to price one specific token. Replace `token` in the Variables pane, lowercase. -#### Pools trade Crowd Launch bids +▶️ [Token price from top market (rank 1)](https://ide.bitquery.io/Base-Token-price-from-top-market-rank-1) -The launch transaction also contains the token's mint, the entry contract's `TokenCreated`, and the auction's first `TickInitialized` / `ClearingPriceUpdated` events, so one transaction hash links token, creator, and auction contract. +#### Get Multiple Token Prices — historical (beyond 30 days) -▶️ [Pools trade Crowd Launch bids](https://ide.bitquery.io/Pools-trade-Crowd-Launch-bids) +Returns an array of token prices denominated in the blockchain's native token and USD for a given token contract address. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Pools trade Latest launches +▶️ [Get Multiple Token Prices — historical (beyond 30 days)](https://ide.bitquery.io/Price-of-multiple-tokens-in-realtime_1) -The decoded `TokenCreated` event on the two entry contracts is the cleanest launch feed — one row per launch. +#### Get ATH Price of a token — historical (beyond 30 days) -▶️ [Pools trade Latest launches](https://ide.bitquery.io/Pools-trade-Latest-launches) +Retrieves the all-time high (ATH) price in USD for a specified token contract. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Pools trade Latest trades for a token +▶️ [Get ATH Price of a token — historical (beyond 30 days)](https://ide.bitquery.io/ATH-of-base-token) -Tokens also migrate onto other venues once liquid — the same token can show `uniswap_v3` and `pancake_swap_v3` markets with `WETH` and `USDG` quotes. +#### Get OHLCV by Pair Address — historical (beyond 30 days) -▶️ [Pools trade Latest trades for a token](https://ide.bitquery.io/Pools-trade-Latest-trades-for-a-token) +Get the OHLCV candle stick by using pair address. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Pools trade Launches per day +▶️ [Get OHLCV by Pair Address — historical (beyond 30 days)](https://ide.bitquery.io/OHLC--base) -Grouping by `LogHeader.Address` too shows the split between the two entry contracts. +#### Get Price Change 5min, 1h, 6h and 24h of a specific token — historical (beyond 30 days) -▶️ [Pools trade Launches per day](https://ide.bitquery.io/Pools-trade-Launches-per-day) +This query gets you Price Change 5min, 1h, 6h and 24h of a specific token on the Base network. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Pools trade Most active token creators +▶️ [Get Price Change 5min, 1h, 6h and 24h of a specific token — historical (beyond 30 days)](https://ide.bitquery.io/Price-change-5min-1hr-6hr-precentage-of-a-specific-token_6) -Useful for spotting spam-bot deployers — a single wallet can mint hundreds of tokens a day. +#### Top 10 Base Tokens by Price Change in last 1h — historical (beyond 30 days) -▶️ [Pools trade Most active token creators](https://ide.bitquery.io/Pools-trade-Most-active-token-creators) +This query gets you top 10 Base Tokens by Price Change in last 1h. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Pools trade PoolKey from TokenLaunched +▶️ [Top 10 Base Tokens by Price Change in last 1h — historical (beyond 30 days)](https://ide.bitquery.io/Top-10-base-tokens-by-price-change-in-last-1-hr_1) -Pools trade PoolKey from TokenLaunched. Uses the `Events` cube. +#### OHLC-of-AERO-Coin — historical (beyond 30 days) -▶️ [Pools trade PoolKey from TokenLaunched](https://ide.bitquery.io/Pools-trade-PoolKey-from-TokenLaunched) +OHLC-of-AERO-Coin. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Pools trade Token description and image +▶️ [OHLC-of-AERO-Coin — historical (beyond 30 days)](https://ide.bitquery.io/OHLC-of-AERO-Coin_1) -The filter below pins the factory by address because the entry contract emits a *different* `TokenCreated` under the same name (see Reading decoded arguments). +#### Price change 5min, 1hr, 6hr, 24h precentage of a specific token — historical (beyond 30 days) -▶️ [Pools trade Token description and image](https://ide.bitquery.io/Pools-trade-Token-description-and-image) +Price change 5min, 1hr, 6hr, 24h precentage of a specific token. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Pools trade TokenDistributed decoded event +▶️ [Price change 5min, 1hr, 6hr, 24h precentage of a specific token — historical (beyond 30 days)](https://ide.bitquery.io/Price-change-5min-1hr-6hr-24h-precentage-of-a-specific-token) -Topic0 filtering remains available and is the precise way to pin one exact signature — useful for the overloaded `TokenCreated` above. Supply the hash without a `0x` prefix; see the dataset note below for its one limitation. +#### Top 10 base tokens by price change in last 1 hr — historical (beyond 30 days) -▶️ [Pools trade TokenDistributed decoded event](https://ide.bitquery.io/Pools-trade-raw-event-by-topic0) +Top 10 base tokens by price change in last 1 hr. Uses the `DEXTradeByTokens` cube. Needs the historical data add-on — see the comment at the top of the query. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Pools trade Top tokens by volume +▶️ [Top 10 base tokens by price change in last 1 hr — historical (beyond 30 days)](https://ide.bitquery.io/Top-10-base-tokens-by-price-change-in-last-1-hr) -The two-step pattern: pass a token set harvested from `TokenCreated` into the `Trading` cube. +### Supply & Market Cap -▶️ [Pools trade Top tokens by volume](https://ide.bitquery.io/Pools-trade-Top-tokens-by-volume) +#### Top Tokens by Market Cap on Base -### Transfers +This query ranks Base tokens by `Supply.MarketCap`. It uses roughly the last 24 hours (`since_relative: { hours_ago: 24 }`), 1-second intervals, at least $1,000 USD volume, `limitBy` one row per `Token_Id`, and up to 50 tokens. -#### Ape.store Newly created tokens +▶️ [Top Tokens by Market Cap on Base](https://ide.bitquery.io/Top-Tokens-by-Market-Cap-on-Base) -Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. +#### Bankr token latest marketcap OHLC -▶️ [Ape.store Newly created tokens](https://ide.bitquery.io/Apestore-Newly-created-tokens) +Bankr token latest marketcap OHLC. Uses the `Tokens` cube. -#### Bags.fm Newly created tokens +▶️ [Bankr token latest marketcap OHLC](https://ide.bitquery.io/Bankr-token-latest-marketcap-OHLC) -Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. +#### Get Token Total Supply and Market Cap -▶️ [Bags.fm Newly created tokens](https://ide.bitquery.io/Bagsfm-Newly-created-tokens) +Retrieve the total supply and market capitalization of a specific token. This query provides on-chain market cap data. -#### Bankr Bot Newly created tokens +▶️ [Get Token Total Supply and Market Cap](https://ide.bitquery.io/Get-Token-Total-Supply-and-Market-Cap_5) -Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. +#### Total supply of a AERO on Base -▶️ [Bankr Bot Newly created tokens](https://ide.bitquery.io/Bankr-Bot-Newly-created-tokens) +Total supply of a AERO on Base. Uses the `Transfers` cube. Change the token address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. -#### Flap.sh Newly created tokens using transfer data +▶️ [Total supply of a AERO on Base](https://ide.bitquery.io/Total-supply-of-a-AERO-on-Base) -Track Flap.sh mints as transfers from the zero address with amount `1000000000` in transactions sent to the Flap.sh contract. +#### Total Supply and onchain Marketcap of a specific token base -▶️ [Flap.sh Newly created tokens using transfer data](https://ide.bitquery.io/Flapsh-Newly-created-tokens-using-transfer-data) +This API gives you latest Supply and Marketcap of a token on Base. Try it out. -#### Klik Finance Newly created tokens using transfers +▶️ [Total Supply and onchain Marketcap of a specific token base](https://ide.bitquery.io/Total-Supply-and-onchain-Marketcap-of-a-specific-token-base) -Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. +### Liquidity & Pools -▶️ [Klik Finance Newly created tokens using transfers](https://ide.bitquery.io/Klik-Finance-Newly-created-tokens-using-transfers) +#### Latest Liquidity of Base Pool -#### Robinhood Chain API - Latest Token Transfers +Get the latest liquidity of an Base DEX pool (e.g., Uniswap v3 pool). -Robinhood Chain API - Latest Token Transfers. Uses the `Transfers` cube. +▶️ [Latest Liquidity of Base Pool](https://ide.bitquery.io/latest-liquidity-of-a-Base-pool_2) -▶️ [Robinhood Chain API - Latest Token Transfers](https://ide.bitquery.io/latest-transfers-on-robinhood) +#### Latest Slippage for a Specific Pool -#### Robinhood Chain Token Lookup by Contract Address +This query retrieves the latest slippage data for a specific DEX pool on Base. Use this to check current liquidity depth and price impact for a particular token pair. -Metadata splits across two sources. Name, symbol, decimals, and contract are indexed on every transfer's `Currency` object — one query against the launch mint gives you all four for any token. +▶️ [Latest Slippage for a Specific Pool](https://ide.bitquery.io/Latest-Liquidity-Changes-of-a-Specific-Pool_7) -▶️ [Robinhood Chain Token Lookup by Contract Address](https://ide.bitquery.io/Pools-trade-Token-name-symbol-decimals) +#### Latest Liquidity Changes of a Specific Pool -#### Token Lookup by Contract Address - Robinhood Chain +Retrieves the latest liquidity events for a specific DEX pool on Base. Use this to check current pool reserves, spot prices, and recent liquidity changes for a particular token pair. -Follow the steps here: How to generate Bitquery API token ➤. +▶️ [Latest Liquidity Changes of a Specific Pool](https://ide.bitquery.io/Latest-Liquidity-Changes-of-a-Specific-Pool_4) -▶️ [Token Lookup by Contract Address - Robinhood Chain](https://ide.bitquery.io/token-lookup-by-address-robinhood-chain) +#### Latest Liquidity Pools on Aerodome -#### Transfers for a token on robinhood +Track newly created liquidity pools on Aerodrome Finance in real-time. Discover fresh trading pairs and potential liquidity provision opportunities as pools are created. -Filter with `Transfer.Currency.SmartContract`. Example: WETH on Robinhood. +▶️ [Latest Liquidity Pools on Aerodome](https://ide.bitquery.io/Latest-Liquidity-Pools-on-Aerodome) -▶️ [Transfers for a token on robinhood](https://ide.bitquery.io/Transfers-for-a-token-on-robinhood) +#### Top liquidity pools of cbBTC -#### Transfers for a wallet on Robinhood +This query separates results by whether cbBTC is listed as the first token (`CurrencyA`) or the second token (`CurrencyB`) in the DEX pool, returning the 10 pools with the highest liquidity for each category. -Filter where the address is either `Transfer.Sender` or `Transfer.Receiver` to build a full transfer history. Replace the sample address with your wallet or contract. +▶️ [Top liquidity pools of cbBTC](https://ide.bitquery.io/top-liquidity-pools-of-cbBTC) -▶️ [Transfers for a wallet on Robinhood](https://ide.bitquery.io/transfers-for-a-wallet-on-Robinhood) +#### Latest liquidity of a base pool -### Balances & Holders +This API gives you latest liquidity of a Base Pool. Try it out. -#### Pools trade Per-transaction balance changes +▶️ [Latest liquidity of a base pool](https://ide.bitquery.io/latest-liquidity-of-a-base-pool) -A stream of this filtered to `SlippageBasisPoints: {gt: 100}` is a ready-made "toxic fill" alert for a token's pool. +### Transactions -▶️ [Pools trade Per-transaction balance changes](https://ide.bitquery.io/Pools-trade-Per-transaction-balance-changes) +#### Get transactions by wallet -#### Wallet Token Balances on Robinhood Chain +Get transactions ordered by block number in descending order. -Wallet Token Balances on Robinhood Chain. Uses the `Balances` cube. Replace the address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. +▶️ [Get transactions by wallet](https://ide.bitquery.io/Get-transactions-by-wallet_8) -▶️ [Wallet Token Balances on Robinhood Chain](https://ide.bitquery.io/wallet-token-balances-robinhood-chain) +#### Latest gauge vaults claimRewards transactions -### Price & OHLC +Track when stakers claim accumulated AERO emissions from gauges. Use this to measure realized rewards and active participation across gauge vaults. `0xf5601f95708256a118ef5971820327f362442d2d` is the `Aerodrome : Gauge Implementation` contract. -#### Latest price of a token +▶️ [Latest gauge vaults claimRewards transactions](https://ide.bitquery.io/latest-gauge-vaults-claimRewards-transactions) -If you want to monitor price for a particular pool, we suggest usage of `Trading.Pairs` instead of `Trading.Tokens` where you could specify the pool address. +#### Latest gauge vaults deposits transactions -▶️ [Latest price of a token](https://ide.bitquery.io/latest-price-of-a-token_10) +Monitor LP staking into gauge vaults. This shows recent `Deposit` events to a gauge contract, helping you track which pools are attracting liquidity ahead of weekly emissions. -#### Latest price of a token on a pool +▶️ [Latest gauge vaults deposits transactions](https://ide.bitquery.io/latest-gauge-vaults-deposits-transactions) -This API endpoint retrieves the latest price of a token for a particular token pair or liquidity pool using the `Trading.Pairs` cube. +#### Latest gauge vaults withdraw transactions -▶️ [Latest price of a token on a pool](https://ide.bitquery.io/latest-price-of-a-token-on-a-pool) +Observe LP exits from gauge vaults via `Withdraw` events. This helps you detect liquidity outflows and shifts in staking positions across pools. `0xf5601f95708256a118ef5971820327f362442d2d` is the `Aerodrome : Gauge Implementation` contract. -#### Pools trade OHLCV price candles +▶️ [Latest gauge vaults withdraw transactions](https://ide.bitquery.io/latest-gauge-vaults-withdraw-transactions_1) -Deduplicate on `(TransactionHeader.Hash, Block.Time, Side, Amounts.Base, Pair.QuoteToken.Symbol, Trader.Address)` before aggregating. +### Events & Calls -▶️ [Pools trade OHLCV price candles](https://ide.bitquery.io/Pools-trade-OHLCV-price-candles) +#### Get Latest Calls -### Supply & Market Cap +Get Latest Calls. Uses the `Calls` cube. -#### Pools trade Token holders and supply +▶️ [Get Latest Calls](https://ide.bitquery.io/Recent-Calls-on-base_1) -Pools trade Token holders and supply. Uses the `Holders` cube. Change the token address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. +#### Get Latest Events -▶️ [Pools trade Token holders and supply](https://ide.bitquery.io/Pools-trade-Token-holders-and-supply) +Get Latest Events. Uses the `Events` cube. -### Liquidity & Pools +▶️ [Get Latest Events](https://ide.bitquery.io/Recents-Events-and-Logs-on-Base) -#### Pools trade Per-swap slippage +#### Latest Bankr launches Doppler Airlock Base -Pools trade Per-swap slippage. +Every Bankr launch emits a `Create(address,address,address,address)` event on the Airlock contract. This query returns the most recent launches with the new token address and deployer. -▶️ [Pools trade Per-swap slippage](https://ide.bitquery.io/Pools-trade-Per-swap-slippage) +▶️ [Latest Bankr launches Doppler Airlock Base](https://ide.bitquery.io/Latest-Bankr-launches-Doppler-Airlock-Base) -#### Pools trade Pool creation Initialize +#### All bankers tokens created by a deployer -The v4 PoolManager's `Initialize` is decoded, so you can read the same `PoolKey` without manual decoding — at the cost of having to scope it to a token. +Filter `Create` events on the Airlock by `Transaction.From` to list every Bankr token launched by a specific wallet. Replace the deployer address with the wallet you want to track. -▶️ [Pools trade Pool creation Initialize](https://ide.bitquery.io/Pools-trade-Pool-creation-Initialize) +▶️ [All bankers tokens created by a deployer](https://ide.bitquery.io/All-bankers-tokens-created-by-a-deployer) -### Transactions +#### Ape store buys from a wallet -#### Daily Active Wallets on Robinhood Chain +Ape store buys from a wallet. Uses the `Calls` cube. Replace the address in the `where` clause to use it. -Daily Active Wallets on Robinhood Chain. Uses the `Transactions` cube. Needs the historical data add-on — see the comment at the top of the query. +▶️ [Ape store buys from a wallet](https://ide.bitquery.io/ape-store-buys-from-a-wallet) -▶️ [Daily Active Wallets on Robinhood Chain](https://ide.bitquery.io/robinhood-chain-active-wallets) +#### Ape store token event -#### Robinhood Chain Daily Transaction Count +Firstly, we can find the smart contract address of the APE Store using. -Robinhood Chain Daily Transaction Count. Uses the `Transactions` cube. Needs the historical data add-on — see the comment at the top of the query. +▶️ [Ape store token event](https://ide.bitquery.io/ape-store-token-event_1) -▶️ [Robinhood Chain Daily Transaction Count](https://ide.bitquery.io/robinhood-chain-daily-transactions) +#### Ape-store-buys -#### Robinhood Chain Gas Usage and Gas Price +Ape-store-buys. Uses the `Calls` cube. Replace the address in the `where` clause to use it. -Robinhood Chain Gas Usage and Gas Price. Uses the `Transactions` cube. +▶️ [Ape-store-buys](https://ide.bitquery.io/ape-store-buys_1) -▶️ [Robinhood Chain Gas Usage and Gas Price](https://ide.bitquery.io/robinhood-chain-gas-fees) +#### Base jump token event -### Events & Calls +Firstly, we can find the smart contract address of the Base Jump using. -#### All events from Flap.sh +▶️ [Base jump token event](https://ide.bitquery.io/base-jump-token-event) -Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. +#### Base-jump-buys -▶️ [All events from Flap.sh](https://ide.bitquery.io/All-events-from-Flapsh) +Base-jump-buys. Uses the `Calls` cube. Replace the address in the `where` clause to use it. -#### Flap.sh Newly created tokens using logs TokenCreated +▶️ [Base-jump-buys](https://ide.bitquery.io/base-jump-buys) -Filter Flap.sh `TokenCreated` events and decode argument values (token address, metadata fields, and related parameters). +#### Latest Coin on Base Coin -▶️ [Flap.sh Newly created tokens using logs TokenCreated](https://ide.bitquery.io/Flapsh-Newly-created-tokens-using-logs-TokenCreated) +In the recent times, base network has seen rise of many Memecoins and token based ecosystems. In this guide, we will see some queries that could provide beneficial information about these coins, for people to take informed investment decisions. -#### New Contracts Deployed on Robinhood Chain +▶️ [Latest Coin on Base Coin](https://ide.bitquery.io/Latest-Coin-on-Base-Coin_3) -To pin one exact ABI variant — or to match an undecoded method — filter the 4-byte selector instead (uppercase hex, no `0x`) +### Blocks & Validators -▶️ [New Contracts Deployed on Robinhood Chain](https://ide.bitquery.io/new-contracts-deployed-robinhood-chain) +#### Aggregate Self Destruct Statistics base -### Blocks & Validators +Calculate total ETH destroyed or received from self-destructs using aggregation functions. -#### Robinhood Chain Blocks per Day and Block Time +▶️ [Aggregate Self Destruct Statistics base](https://ide.bitquery.io/Aggregate-Self-Destruct-Statistics-base) -Robinhood Chain Blocks per Day and Block Time. Uses the `Blocks` cube. Needs the historical data add-on — see the comment at the top of the query. +#### Self Destruct Balance Decrease API base -▶️ [Robinhood Chain Blocks per Day and Block Time](https://ide.bitquery.io/robinhood-chain-block-time) +Monitor contract balance decrease when contracts are self-destructing. + +▶️ [Self Destruct Balance Decrease API base](https://ide.bitquery.io/Self-Destruct-Balance-Decrease-API-base) + +#### Self Destruct Balance Increase API base + +Monitor contract balance increase when contracts are self-destructing. + +▶️ [Self Destruct Balance Increase API base](https://ide.bitquery.io/Self-Destruct-Balance-Increase-API-base) ### Uniswap -#### Uniswap v4 Pools on Robinhood Chain +#### Uniswap Trades Stream -New Uniswap v4 pools: decoded Initialize events on the PoolManager with currencies, fee tier, tick spacing and hooks. +This subscription returns the real-time trades happening on Uniswap. You can modify the stream to get real-time trades for a particular token, a particular token pair and even a particular trader. -▶️ [Uniswap v4 Pools on Robinhood Chain](https://ide.bitquery.io/uniswap-v4-pools-on-robinhood-chain) +▶️ [Uniswap Trades Stream](https://ide.bitquery.io/Realtime-Uniswap-v1-Uniswap-v2-Uniswap-V3-Trades_1) -#### Uniswap v4 Hooks in Use on Robinhood Chain +#### Get metadata for base uniswap token -Uniswap v4 Hooks in Use on Robinhood Chain. Uses the `Events` cube. Replace the address in the `where` clause to use it. +Use the below query to get Token's metadata like `Name`, `symbol`, `SmartContract Address`, `Decimals`. -▶️ [Uniswap v4 Hooks in Use on Robinhood Chain](https://ide.bitquery.io/uniswap-v4-hooks-robinhood-chain) +▶️ [Get metadata for base uniswap token](https://ide.bitquery.io/get-metadata-for-base-uniswap-token) -#### Uniswap v4 Pool Liquidity on Robinhood Chain (pools.trade) +#### Latest slippage of a pool on Uniswap v3 -Three realtime cubes carry data traders usually have to compute themselves. All three are realtime-only on Robinhood — `dataset: archive` and `dataset: combined` both error — so use them for live monitoring and persist what you need. +Latest slippage of a pool on Uniswap v3. Change the token address in the `where` clause to use it. -▶️ [Uniswap v4 Pool Liquidity on Robinhood Chain (pools.trade)](https://ide.bitquery.io/Pools-trade-Live-pool-liquidity) +▶️ [Latest slippage of a pool on Uniswap v3](https://ide.bitquery.io/Latest-slippage-of-a-pool-on-Uniswap-v3) -## Avalanche +#### OHLC on BASE Uniswap v3 -### Trades +Retrieves the Open, High, Low, and Close (OHLC) prices in USD for a specific token traded on Uniswap v3 over a defined time period and interval. -#### Latest DEX trades +▶️ [OHLC on BASE Uniswap v3](https://ide.bitquery.io/OHLC-on-BASE-Uniswap-v3) -The most recent DEX trades on Avalanche, with both sides of the pair, the venue and USD value. Add a `baseCurrency` filter to scope it to one token. +#### Top bought tokens on uniswap v3 -▶️ [Latest DEX trades](https://ide.bitquery.io/Avalanche-Latest-DEX-trades) +Will fetch the top bought tokens on uniswap v3. -#### Top DEXs by trade count +▶️ [Top bought tokens on uniswap v3](https://ide.bitquery.io/top-bought-tokens-on-uniswap-v3) -Ranks the DEXs on Avalanche by number of trades, so you can see which venues actually carry volume. +#### Top sold tokens on uniswap v3 -▶️ [Top DEXs by trade count](https://ide.bitquery.io/Avalanche-Top-DEXs-by-trade-count) +Will fetch the top bought tokens on uniswap v3. -### Transfers +▶️ [Top sold tokens on uniswap v3](https://ide.bitquery.io/top-sold-tokens-on-uniswap-v3) -#### Latest token transfers +### PancakeSwap -Recent token transfers on Avalanche. Add a `currency` filter to follow one token, or a sender/receiver filter to follow one wallet. +#### Get Latest Price of a token on PancakeSwap Infinity -▶️ [Latest token transfers](https://ide.bitquery.io/Avalanche-Latest-token-transfers) +Below query will get you Latest Price of a token on PancakeSwap Infinity. -### Balances & Holders +▶️ [Get Latest Price of a token on PancakeSwap Infinity](https://ide.bitquery.io/Get-Latest-Price-of-a-token-on-PancakeSwap-Infinity) -#### Balances of an address +#### Pancakeswap infinity trades -Native and token balances held by one Avalanche address. Replace the address to use it. +Below query will subscribe you to the latest DEX Trades on PancakeSwap Infinity. -▶️ [Balances of an address](https://ide.bitquery.io/Avalanche-Balances-of-an-address) +▶️ [Pancakeswap infinity trades](https://ide.bitquery.io/pancakeswap-infinity-trades) -### Transactions +#### Top bought tokens on pancakeswap_infinity -#### Latest transactions +Will fetch the top bought tokens on PancakeSwap Infinity. -Recent Avalanche transactions with value, gas and sender/receiver. Move `since` in the Variables pane to change the window — a wide window on a busy chain will exceed the query memory limit. +▶️ [Top bought tokens on pancakeswap_infinity](https://ide.bitquery.io/top-bought-tokens-on-pancakeswap_infinity) -▶️ [Latest transactions](https://ide.bitquery.io/Avalanche-Latest-transactions) +#### Top sold tokens on pancake infinty -### Events & Calls +Will fetch the top bought tokens on PancakeSwap Infinity. -#### Latest smart contract events +▶️ [Top sold tokens on pancake infinty](https://ide.bitquery.io/top-sold-tokens-on-pancake-infinty) -Decoded event logs on Avalanche. Filter by `smartContractAddress` to watch a single contract. +#### Get metadata for base pancakeswap infnity token -▶️ [Latest smart contract events](https://ide.bitquery.io/Avalanche-Latest-smart-contract-events) +Use the below query to get Token's metadata like `Name`, `symbol`, `SmartContract Address`, `Decimals`. -### Blocks & Validators +▶️ [Get metadata for base pancakeswap infnity token](https://ide.bitquery.io/get-metadata-for-base-pancakeswap-infnity-token) -#### Latest blocks +#### OHLC on BASE pancakeswap infinity -The most recent blocks on Avalanche, with height, time, gas used and transaction count. +Retrieves the Open, High, Low, and Close (OHLC) prices in USD for a specific token traded on PancakeSwap Infinity over a defined time period and interval. -▶️ [Latest blocks](https://ide.bitquery.io/Avalanche-Latest-blocks_1) +▶️ [OHLC on BASE pancakeswap infinity](https://ide.bitquery.io/OHLC-on-BASE-pancakeswap-infinity) -## Celo +### Aerodrome -### Transfers +#### Latest Aerodrome Finance: CL100-WETH/VVV Pool Gauge claimRewards Transactions -#### Latest token transfers +See reward claims for a particular gauge pool to quantify realized emissions by its stakers over time. `0x5d05ef25a5f933271e1f0fdc02dc3eab6a4ea687` is the `Aerodrome Finance CL100 WETHVVV Pool Gauge` contract. -Recent token transfers on Celo. Add a `currency` filter to follow one token, or a sender/receiver filter to follow one wallet. +▶️ [Latest Aerodrome Finance: CL100-WETH/VVV Pool Gauge claimRewards Transactions](https://ide.bitquery.io/latest-Aerodrome-Finance-CL100-WETHVVV-Pool-Gauge-claimRewards-Transactions) -▶️ [Latest token transfers](https://ide.bitquery.io/Celo-Latest-token-transfers) +#### Latest Aerodrome Finance: CL100-WETH/VVV Pool Gauge deposits -### Balances & Holders +View deposit activity for a specific gauge pool to understand where LPs are allocating capital and how staking momentum evolves. `0x5d05ef25a5f933271e1f0fdc02dc3eab6a4ea687` is the `Aerodrome Finance CL100 WETHVVV Pool Gauge` contract. -#### Balances of an address +▶️ [Latest Aerodrome Finance: CL100-WETH/VVV Pool Gauge deposits](https://ide.bitquery.io/latest-Aerodrome-Finance-CL100-WETHVVV-Pool-Gauge-deposits) -Native and token balances held by one Celo address. Replace the address to use it. +#### Latest Aerodrome Finance: CL100-WETH/VVV Pool Gauge withdraw transactions -▶️ [Balances of an address](https://ide.bitquery.io/Celo-Balances-of-an-address) +Filter withdraw activity for a single gauge pool. Useful for monitoring liquidity changes and unstaking patterns of a targeted pool. `0x5d05ef25a5f933271e1f0fdc02dc3eab6a4ea687` is the `Aerodrome Finance CL100 WETHVVV Pool Gauge` contract. -### Transactions +▶️ [Latest Aerodrome Finance: CL100-WETH/VVV Pool Gauge withdraw transactions](https://ide.bitquery.io/latest-Aerodrome-Finance-CL100-WETHVVV-Pool-Gauge-withdraw-transactions_1) -#### Latest transactions +## Arbitrum -Recent Celo transactions with value, gas and sender/receiver. Move `since` in the Variables pane to change the window — a wide window on a busy chain will exceed the query memory limit. +### Trades -▶️ [Latest transactions](https://ide.bitquery.io/Celo-Latest-transactions) +#### Swap Events Arbitrum -### Events & Calls +Returns the 10 most recent `swap` events on the Arbitrum network. We get this by using the signature hash `c42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67` for the swap event. -#### Latest smart contract events +▶️ [Swap Events Arbitrum](https://ide.bitquery.io/Swap-Events-Arbitrum) -Decoded event logs on Celo. Filter by `smartContractAddress` to watch a single contract. +#### Pair last trades -▶️ [Latest smart contract events](https://ide.bitquery.io/Celo-Latest-smart-contract-events) +Retrieves all DEX trades on the arbitrum where the Arbitrum currency is `ArbitrumCurrency` and the quote currency is `quoteCurrency` that occurred between the specified dates. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -### Blocks & Validators +▶️ [Pair last trades](https://ide.bitquery.io/Pair-last-trades_2) -#### Latest blocks +#### Top Sold Tokens on Arbitrum -The most recent blocks on Celo, with height, time, gas used and transaction count. +Top Sold Tokens on Arbitrum. Uses the `DEXTradeByTokens` cube. Adjust the date range in the `where` clause. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Latest blocks](https://ide.bitquery.io/Celo-Latest-blocks) +▶️ [Top Sold Tokens on Arbitrum](https://ide.bitquery.io/Top-Sold-Tokens-on-Arbitrum) -## Bitcoin +#### Top bought tokens on Arbitrum -### Transfers +Top bought tokens on Arbitrum. Uses the `DEXTradeByTokens` cube. Adjust the date range in the `where` clause. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Inflows and Outflows of a wallet +▶️ [Top bought tokens on Arbitrum](https://ide.bitquery.io/top-bought-tokens-on-Arbitrum) -This API returns all incoming and outgoing transactions for a specific Bitcoin wallet address. +#### Top traders for a token on Arbitrum -▶️ [Inflows and Outflows of a wallet](https://ide.bitquery.io/Inflows-and-Outflow-of-a-bitcoin-wallet) +Top traders for a token on Arbitrum. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. + +▶️ [Top traders for a token on Arbitrum](https://ide.bitquery.io/top-traders-for-a-token-on-Arbitrum_3) + +#### Trending token pairs on Arbitrum + +Crypto Trades API: one row per swap, with USD and supply. Filter `Pair.Market.Network: Arbitrum`. When to use this vs chain DEX APIs. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. + +▶️ [Trending token pairs on Arbitrum](https://ide.bitquery.io/trending-token-pairs-on-Arbitrum) ### Balances & Holders -#### Bitcoin Balance for multiple addresses +#### Current balance of an address -This query calculates the combined balance of multiple Bitcoin wallet addresses by summing their total inflows and outflows: Balance = Total Output - Total Input. You can also set a date to get balances as of a specific point in time. +Every token balance held by one Arbitrum address. Balances are cumulative, so this reads the whole history — replace the address to use it. -▶️ [Bitcoin Balance for multiple addresses](https://ide.bitquery.io/BTC-balance-api-for-multiple-addresses) +▶️ [Current balance of an address](https://ide.bitquery.io/Arbitrum-Current-balance-of-an-address) -#### BTC balance api for multiple addresses +#### Arbitrum Balance of an Address -Pass an array of addresses to `inputAddress` and `outputAddress` with `{in: [...]}` to get per-wallet totals in a single request. Useful for exchanges, custodians, and portfolio dashboards that monitor many wallets at once. +Returns token balances for a wallet address. Use `Amount(selectWhere: { gt: "0" })` to exclude zero balances. -▶️ [BTC balance api for multiple addresses](https://ide.bitquery.io/BTC-balance-API-for-multiple-addresses) +▶️ [Arbitrum Balance of an Address](https://ide.bitquery.io/Arbitrum-Balance-of-an-Address) -#### Bitcoin balance +#### Arbitrum balances by date -Returns total BTC sent (inputs) and received (outputs) for an address, along with USD-equivalent values and first / last activity dates. Subtract `inputs.value` from `outputs.value` to get the current balance. +Use `Block.Date.till` for a point-in-time snapshot. Use `dataset: archive` for historical dates and addresses not recently active. -▶️ [Bitcoin balance](https://ide.bitquery.io/Bitcoin-balance_5) +▶️ [Arbitrum balances by date](https://ide.bitquery.io/arbitrum-balances-by-date) -#### Bitcoin balance at a given height +#### Arbitrum balances history -Need to know what a wallet held at a particular point in time? The `height` filter caps inputs and outputs at a given block number, which is exactly what you need for audits, tax reporting, and point-in-time portfolio snapshots. +Returns balance snapshots over time for an address. Use `dataset: archive`. Order by `Block_Date` descending and use `limit` to paginate. Add `Currency.SmartContract` under `Currency` to filter by a specific token. -▶️ [Bitcoin balance at a given height](https://ide.bitquery.io/bitcoin-balance-at-a-given-height) +▶️ [Arbitrum balances history](https://ide.bitquery.io/arbitrum-balances-history) -#### Bitcoin balance on a given block height +#### Arbitrum balances specific token -Sum outputs and subtract inputs with a `height: {lteq: N}` cap to get the wallet's balance at a specific point on-chain. Useful for audits, tax snapshots, and point-in-time portfolio reporting. +Add a `Currency.SmartContract` filter. Always use the contract address, not the token name. Use `0x` for native ETH on Arbitrum, or the ERC-20 contract address for a token. -▶️ [Bitcoin balance on a given block height](https://ide.bitquery.io/bitcoin-balance-on-a-given-block-height) +▶️ [Arbitrum balances specific token](https://ide.bitquery.io/arbitrum-balances-specific-token) + +#### Arbitrum native balances address + +Returns the native ETH balance for a wallet on Arbitrum (not ERC-20 tokens). Filter with `Currency: { Native: true }` instead of a token contract address. + +▶️ [Arbitrum native balances address](https://ide.bitquery.io/arbitrum-native-balances-address) + +#### Token holder snapshot arbitrum + +The number of unique holders, token supply, and Gini coefficient for the balance amount before a specific timestamp can be derived using the query below. These stats provide a useful holder snapshot for any given time. + +▶️ [Token holder snapshot arbitrum](https://ide.bitquery.io/token-holder-snapshot-arbitrum) ### Price & OHLC -#### Btc price in 2016 +#### Token price from top market (rank 1) -Pulls the BTC/USD price implied by any output on a given date — Bitquery stores the spot value at the time of each transaction, so you can derive a historical price by dividing USD value by BTC value. +Prices WETH from its single top market rather than blending every pool — the recommended way to price one specific token. Replace `token` in the Variables pane, lowercase. -▶️ [Btc price in 2016](https://ide.bitquery.io/btc-price-in-2016) +▶️ [Token price from top market (rank 1)](https://ide.bitquery.io/Arbitrum-Token-price-from-top-market-rank-1) + +#### Ohlc for a pair on Arbitrum — historical (beyond 30 days) + +Ohlc for a pair on Arbitrum. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. + +▶️ [Ohlc for a pair on Arbitrum — historical (beyond 30 days)](https://ide.bitquery.io/ohlc-for-a-pair-on-Arbitrum_1) + +#### Price change 5min, 1hr, 6hr, 24hr precentage of a specific token — historical (beyond 30 days) + +Price change 5min, 1hr, 6hr, 24hr precentage of a specific token. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. + +▶️ [Price change 5min, 1hr, 6hr, 24hr precentage of a specific token — historical (beyond 30 days)](https://ide.bitquery.io/Price-change-5min-1hr-6hr-24hr-precentage-of-a-specific-token_1) + +#### Top 10 arb tokens by price change in last 1 hr — historical (beyond 30 days) + +Top 10 arb tokens by price change in last 1 hr. Uses the `DEXTradeByTokens` cube. Needs the historical data add-on — see the comment at the top of the query. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. + +▶️ [Top 10 arb tokens by price change in last 1 hr — historical (beyond 30 days)](https://ide.bitquery.io/Top-10-arb-tokens-by-price-change-in-last-1-hr) + +### Supply & Market Cap + +#### Top Tokens by Market Cap on Arbitrum + +This query ranks Arbitrum tokens by `Supply.MarketCap`. It uses roughly the last 24 hours (`since_relative: { hours_ago: 24 }`), 1-second intervals, at least $1,000 USD volume, `limitBy` one row per `Token_Id`, and up to 50 tokens. + +▶️ [Top Tokens by Market Cap on Arbitrum](https://ide.bitquery.io/Top-Tokens-by-Market-Cap-on-Arbitrum) + +### Liquidity & Pools + +#### Latest liquidity changes of a specific pool + +Retrieves the latest liquidity events for a specific DEX pool on Arbitrum. Use this to check current pool reserves, spot prices, and recent liquidity changes for a particular token pair. + +▶️ [Latest liquidity changes of a specific pool](https://ide.bitquery.io/latest-liquidity-changes-of-a-specific-pool) ### Transactions -#### Details of Bitcoin Transaction +#### Latest Transactions -This API provides comprehensive details of a specific Bitcoin transaction in a single query. +Retrieves the latest 10 transactions on the Arbitrum network. -▶️ [Details of Bitcoin Transaction](https://ide.bitquery.io/Details-of-Bitcoin-Transaction) +▶️ [Latest Transactions](https://ide.bitquery.io/Latest-Transactions_3) + +#### Transaction Call Trace Arbitrum + +This query gets the transaction call trace for an Arbitrum transaction. The `Calls` API in the query returns a list of all calls made by the transaction. + +▶️ [Transaction Call Trace Arbitrum](https://ide.bitquery.io/Transaction-Call-Trace-Arbitrum) + +### Events & Calls + +#### Latest GMX Events + +The following query retrieves the latest liquidated positions on the GMX DEX, providing information on the account, collateral token, index token, position, reserve amount, realised PnL, and mark price. + +▶️ [Latest GMX Events](https://ide.bitquery.io/latest-GMX-Events) + +#### Latest vGLP Withdraw Events + +The following query retrieves the latest vGLP withdrawals on the Arbitrum network. + +▶️ [Latest vGLP Withdraw Events](https://ide.bitquery.io/latest-vGLP-Withdraw-Events) + +#### Latest deposits on Across Bridge + +SpokePool events in Across Protocol can be used to monitor the status of bridge transfers effectively. Below are queries that retrieve the latest deposits and transfers related to the Arbitrum SpokePool. + +▶️ [Latest deposits on Across Bridge](https://ide.bitquery.io/Latest-deposits-on-Across-Bridge) + +#### Latest vGLP Deposit Events + +The following query retrieves the latest vGLP deposits on the Arbitrum network. + +▶️ [Latest vGLP Deposit Events](https://ide.bitquery.io/latest-vGLP-Deposit-Events) ### Blocks & Validators -#### Bitcoin miners rewards +#### Latest Arbitrum blocks -Mining rewards live in coinbase outputs (the first transaction in every block, `txIndex: 0`) with `outputDirection: mining`. +Retrieves the latest 10 blocks on the Arbitrum network. -▶️ [Bitcoin miners rewards](https://ide.bitquery.io/bitcoin-miners-rewards) +▶️ [Latest Arbitrum blocks](https://ide.bitquery.io/Latest-Arbitrum-blocks) -#### Get miners activity in a specific timeframe +### Uniswap -Pulls the activity count per miner address inside a date range. Drop or extend the date window to size the cohort however you need. +#### Get virtual pool address for a token on uniswap v4 arbitrum -▶️ [Get miners activity in a specific timeframe](https://ide.bitquery.io/get-miners-activity-in-a-specific-timeframe) +Get virtual pool address for a token on uniswap v4 arbitrum. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. -#### Get miners first activity +▶️ [Get virtual pool address for a token on uniswap v4 arbitrum](https://ide.bitquery.io/get-virtual-pool-address-for-a-token-on-uniswap-v4-arbitrum) -For a specific set of miner addresses, this query returns the first block each one mined. Useful for cohort analysis, miner onboarding studies, or building "first seen" timelines. +#### Latest Trades for a currency pair on arbitrum -▶️ [Get miners first activity](https://ide.bitquery.io/get-miners-first-activity) +Latest Trades for a currency pair on arbitrum. Uses the `DEXTrades` cube. -## Litecoin +▶️ [Latest Trades for a currency pair on arbitrum](https://ide.bitquery.io/Latest-Trades-for-a-currency-pair-on-arbitrum) -### Transfers +#### Top buyers of a currency on uniswap v4 arbitrum -#### Largest transfers in the last 24 hours +Top buyers of a currency on uniswap v4 arbitrum. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. -The biggest Litecoin outputs of the past day, ranked by value — a quick way to spot whale movement. Change the `since` date to widen the window. +▶️ [Top buyers of a currency on uniswap v4 arbitrum](https://ide.bitquery.io/top-buyers-of-a-currency-on-uniswap-v4-arbitrum) -▶️ [Largest transfers in the last 24 hours](https://ide.bitquery.io/Litecoin-Largest-transfers-in-the-last-24-hours) +#### Top sellers of a token on uniswap v4 arbitrum + +Top sellers of a token on uniswap v4 arbitrum. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. + +▶️ [Top sellers of a token on uniswap v4 arbitrum](https://ide.bitquery.io/top-sellers-of-a-token-on-uniswap-v4-arbitrum) + +#### Trade stats for a token pair on uniswap v4 arbitrum + +Trade stats for a token pair on uniswap v4 arbitrum. Uses the `DEXTradeByTokens` cube. + +▶️ [Trade stats for a token pair on uniswap v4 arbitrum](https://ide.bitquery.io/trade-stats-for-a-token-pair-on-uniswap-v4-arbitrum) + +## Optimism + +### Trades + +#### Top tokens on optimism + +Top tokens on optimism. Uses the `DEXTradeByTokens` cube. Adjust the date range in the `where` clause. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. + +▶️ [Top tokens on optimism](https://ide.bitquery.io/top-tokens-on-optimism) + +#### Top traders for wld usdc pair + +You can checkout a completed product using this info on DEXRabbit. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. + +▶️ [Top traders for wld usdc pair](https://ide.bitquery.io/top-traders-for-wld-usdc-pair) + +#### Top traders on optimism + +Top traders on optimism. Uses the `DEXTradeByTokens` cube. Adjust the date range in the `where` clause. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. + +▶️ [Top traders on optimism](https://ide.bitquery.io/top-traders-on-optimism) ### Balances & Holders -#### Total received by an address +#### Current balance of an address -Sums everything an address has ever received on Litecoin, with a first-and-last-seen window. Replace the address to use it. +Every token balance held by one Optimism address. Balances are cumulative, so this reads the whole history — replace the address to use it. -▶️ [Total received by an address](https://ide.bitquery.io/Litecoin-Total-received-by-an-address) +▶️ [Current balance of an address](https://ide.bitquery.io/Optimism-Current-balance-of-an-address) -#### Total sent from an address +#### Optimism Balance of an Address -Sums everything an address has ever spent on Litecoin. Subtract this from total received to get the current balance. +Returns token balances for a wallet address. Use `Amount(selectWhere: { gt: "0" })` to exclude zero balances. + +▶️ [Optimism Balance of an Address](https://ide.bitquery.io/Optimism-Balance-of-an-Address) + +#### Optimism balances by date + +Use `Block.Date.till` for a point-in-time snapshot. Use `dataset: archive` for historical dates and addresses not recently active. + +▶️ [Optimism balances by date](https://ide.bitquery.io/optimism-balances-by-date) + +#### Optimism balances history address + +Returns balance snapshots over time for an address. Use `dataset: archive`. Order by `Block_Date` descending and use `limit` to paginate. Add `Currency.SmartContract` under `Currency` to filter by a specific token. + +▶️ [Optimism balances history address](https://ide.bitquery.io/optimism-balances-history-address) + +#### Optimism balances specific token + +Add a `Currency.SmartContract` filter. Always use the contract address, not the token name. Use `0x` for native ETH on Optimism, or the ERC-20 contract address for a token. + +▶️ [Optimism balances specific token](https://ide.bitquery.io/optimism-balances-specific-token) + +#### Optimism native balances address + +Returns the native ETH balance for a wallet on Optimism (not ERC-20 tokens). Filter with `Currency: { Native: true }` instead of a token contract address. + +▶️ [Optimism native balances address](https://ide.bitquery.io/optimism-native-balances-address) + +#### Token holder snapshot optimism + +The number of unique holders, token supply, and Gini coefficient for the balance amount before a specific timestamp can be derived using the query below. These stats provide a useful holder snapshot for any given time. + +▶️ [Token holder snapshot optimism](https://ide.bitquery.io/token-holder-snapshot-optimism) + +### Uniswap + +#### Latest Trades for a currency pair on optimism + +Latest Trades for a currency pair on optimism. Uses the `DEXTrades` cube. + +▶️ [Latest Trades for a currency pair on optimism](https://ide.bitquery.io/Latest-Trades-for-a-currency-pair-on-optimism) -▶️ [Total sent from an address](https://ide.bitquery.io/Litecoin-Total-sent-from-an-address) +#### Top buyers of a currency on uniswap v4 optimism -#### Address activity summary +Top buyers of a currency on uniswap v4 optimism. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. -First seen, last seen, and lifetime in/out totals for one Litecoin address in a single request. +▶️ [Top buyers of a currency on uniswap v4 optimism](https://ide.bitquery.io/top-buyers-of-a-currency-on-uniswap-v4-optimism) -▶️ [Address activity summary](https://ide.bitquery.io/Litecoin-Address-activity-summary) +#### Top sellers of a token on uniswap v4 pool optimism -### Transactions +Top sellers of a token on uniswap v4 pool optimism. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. -#### Latest transactions +▶️ [Top sellers of a token on uniswap v4 pool optimism](https://ide.bitquery.io/top-sellers-of-a-token-on-uniswap-v4-pool-optimism) -The most recent transactions on Litecoin, with value, fee and input/output counts. Raise the limit to page further back. +#### Trade stats for a token pair on uniswap v4 optimism -▶️ [Latest transactions](https://ide.bitquery.io/Litecoin-Latest-transactions) +Trade stats for a token pair on uniswap v4 optimism. Uses the `DEXTradeByTokens` cube. -### Blocks & Validators +▶️ [Trade stats for a token pair on uniswap v4 optimism](https://ide.bitquery.io/trade-stats-for-a-token-pair-on-uniswap-v4-optimism) -#### Latest blocks +### Price & OHLC -The most recent blocks on Litecoin, with height, time, transaction count and size. +#### Token price from top market (rank 1) -▶️ [Latest blocks](https://ide.bitquery.io/Litecoin-Latest-blocks) +Prices WETH from its single top market rather than blending every pool — the recommended way to price one specific token. Replace `token` in the Variables pane, lowercase. -## Bitcoin Cash +▶️ [Token price from top market (rank 1)](https://ide.bitquery.io/Optimism-Token-price-from-top-market-rank-1) -### Transfers +## Polygon -#### Largest transfers in the last 24 hours +### Trades -The biggest Bitcoin Cash outputs of the past day, ranked by value — a quick way to spot whale movement. Change the `since` date to widen the window. +#### Top Traders by PnL of a specific polygon pool -▶️ [Largest transfers in the last 24 hours](https://ide.bitquery.io/Bitcoin-Cash-Largest-transfers-in-the-last-24-hours) +Rank traders by `PnL` on one pool: filter `Pair.Market.Address`, last 30 minutes, `limit: 10`, and `orderBy` `PnL` descending. Useful for leaderboards, smart-money screens, and pool-specific trader analytics. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -### Balances & Holders +▶️ [Top Traders by PnL of a specific polygon pool](https://ide.bitquery.io/Top-Traders-by-PnL-of-a-specific-polygon-pool) -#### Total received by an address +#### Top traders of a token on matic — historical (beyond 30 days) -Sums everything an address has ever received on Bitcoin Cash, with a first-and-last-seen window. Replace the address to use it. +This query ranks traders of one token by volume, splitting bought and sold amounts and totalling volume in native and USD terms. `since_relative` keeps the window rolling. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Total received by an address](https://ide.bitquery.io/Bitcoin-Cash-Total-received-by-an-address) +▶️ [Top traders of a token on matic — historical (beyond 30 days)](https://ide.bitquery.io/top-traders-of-a-token-on-matic_1) -#### Total sent from an address +### Transfers -Sums everything an address has ever spent on Bitcoin Cash. Subtract this from total received to get the current balance. +#### Check if an address interacted with polymarket ever -▶️ [Total sent from an address](https://ide.bitquery.io/Bitcoin-Cash-Total-sent-from-an-address) +This is cheaper than scanning all `PredictionTrades` when you only need a yes/no signal. Narrow the pattern (e.g. also filter by counterparties) if you need stronger guarantees. -#### Address activity summary +▶️ [Check if an address interacted with polymarket ever](https://ide.bitquery.io/check-if-an-address-interacted-with-polymarket-ever) -First seen, last seen, and lifetime in/out totals for one Bitcoin Cash address in a single request. +### Balances & Holders -▶️ [Address activity summary](https://ide.bitquery.io/Bitcoin-Cash-Address-activity-summary) +#### Current balance of an address -### Transactions +Every token balance held by one Polygon address. Balances are cumulative, so this reads the whole history — replace the address to use it. -#### Latest transactions +▶️ [Current balance of an address](https://ide.bitquery.io/Polygon-Current-balance-of-an-address) -The most recent transactions on Bitcoin Cash, with value, fee and input/output counts. Raise the limit to page further back. +#### Balance of an address -▶️ [Latest transactions](https://ide.bitquery.io/Bitcoin-Cash-Latest-transactions) +Returns all token balances for a wallet on Polygon using `EVM.Balances` with `network: matic` and `dataset: combined`. See [Polygon Address Balance API](/docs/blockchain/Matic/matic-balance-api/#balance-of-an-address). -### Blocks & Validators +▶️ [Balance of an address](https://ide.bitquery.io/matic-balances-address_1) -#### Latest blocks +#### Matic historical balances address -The most recent blocks on Bitcoin Cash, with height, time, transaction count and size. +Returns all token balances for a wallet on Polygon using `EVM.Balances` with `network: matic` and `dataset: combined` until a particular period. For this example we will find the Balnce of the address one month ago. -▶️ [Latest blocks](https://ide.bitquery.io/Bitcoin-Cash-Latest-blocks) +▶️ [Matic historical balances address](https://ide.bitquery.io/matic-historical-balances-address_1) -## Dogecoin +#### Matic balances address -### Transfers +Returns token balances for a wallet address. Use `Amount(selectWhere: { gt: "0" })` to exclude zero balances. -#### Largest transfers in the last 24 hours +▶️ [Matic balances address](https://ide.bitquery.io/matic-balances-address) -The biggest Dogecoin outputs of the past day, ranked by value — a quick way to spot whale movement. Change the `since` date to widen the window. +#### Matic balances history -▶️ [Largest transfers in the last 24 hours](https://ide.bitquery.io/Dogecoin-Largest-transfers-in-the-last-24-hours) +Returns balance snapshots over time for an address. Use `dataset: archive`. Order by `Block_Date` descending and use `limit` to paginate. Add `Currency.SmartContract` under `Currency` to filter by a specific token. -### Balances & Holders +▶️ [Matic balances history](https://ide.bitquery.io/matic-balances-history) -#### Total received by an address +#### Matic balances specific token -Sums everything an address has ever received on Dogecoin, with a first-and-last-seen window. Replace the address to use it. +Add a `Currency.SmartContract` filter. Always use the contract address, not the token name. Use `0x` for native MATIC on Polygon, or the ERC-20 contract address for a token. -▶️ [Total received by an address](https://ide.bitquery.io/Dogecoin-Total-received-by-an-address) +▶️ [Matic balances specific token](https://ide.bitquery.io/matic-balances-specific-token) -#### Total sent from an address +#### Matic native balances address -Sums everything an address has ever spent on Dogecoin. Subtract this from total received to get the current balance. +Returns the native MATIC balance for a wallet (not ERC-20 tokens). Filter with `Currency: { Native: true }` instead of a token contract address. -▶️ [Total sent from an address](https://ide.bitquery.io/Dogecoin-Total-sent-from-an-address) +▶️ [Matic native balances address](https://ide.bitquery.io/matic-native-balances-address) -#### Address activity summary +#### Matic wallet balance token at date -First seen, last seen, and lifetime in/out totals for one Dogecoin address in a single request. +Get a wallet's balance for a specific token with `Balance.Address` and `Currency.SmartContract`. This example uses native MATIC (`SmartContract: "0x"`) with `dataset: combined`. -▶️ [Address activity summary](https://ide.bitquery.io/Dogecoin-Address-activity-summary) +▶️ [Matic wallet balance token at date](https://ide.bitquery.io/matic-wallet-balance-token-at-date) -### Transactions +#### Token holder snapshot matic -#### Latest transactions +The number of unique holders, token supply, and Gini coefficient for the balance amount before a specific timestamp can be derived using the query below. These stats provide a useful holder snapshot for any given time. -The most recent transactions on Dogecoin, with value, fee and input/output counts. Raise the limit to page further back. +▶️ [Token holder snapshot matic](https://ide.bitquery.io/token-holder-snapshot-matic) -▶️ [Latest transactions](https://ide.bitquery.io/Dogecoin-Latest-transactions) +### Supply & Market Cap -### Blocks & Validators +#### Top Tokens by Market Cap on Polygon -#### Latest blocks +This query ranks Polygon tokens by `Supply.MarketCap`. Set `Token.Network` to Matic (Polygon’s label in the Trading API). It uses roughly the last 24 hours, 1-second intervals, at least $1,000 USD volume, `limitBy` one row per `Token_Id`, and up to 50 tokens. -The most recent blocks on Dogecoin, with height, time, transaction count and size. +▶️ [Top Tokens by Market Cap on Polygon](https://ide.bitquery.io/Top-Tokens-by-Market-Cap-on-Polygon_1) -▶️ [Latest blocks](https://ide.bitquery.io/Dogecoin-Latest-blocks) +### Liquidity & Pools -## Dash +#### Latest Liquidity Changes of a Specific Pool -### Transfers +Retrieves the latest liquidity events for a specific DEX pool on Matic. Use this to check current pool reserves, spot prices, and recent liquidity changes for a particular token pair. -#### Largest transfers in the last 24 hours +▶️ [Latest Liquidity Changes of a Specific Pool](https://ide.bitquery.io/Latest-Liquidity-Changes-of-a-Specific-Pool_6) -The biggest Dash outputs of the past day, ranked by value — a quick way to spot whale movement. Change the `since` date to widen the window. +### Uniswap -▶️ [Largest transfers in the last 24 hours](https://ide.bitquery.io/Dash-Largest-transfers-in-the-last-24-hours) +#### Get virtual pool address for a token on uniswap v4 matic -### Balances & Holders +Get virtual pool address for a token on uniswap v4 matic. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. -#### Total received by an address +▶️ [Get virtual pool address for a token on uniswap v4 matic](https://ide.bitquery.io/get-virtual-pool-address-for-a-token-on-uniswap-v4-matic) -Sums everything an address has ever received on Dash, with a first-and-last-seen window. Replace the address to use it. +#### OHLCV on MATIC uniswap v3 -▶️ [Total received by an address](https://ide.bitquery.io/Dash-Total-received-by-an-address) +Retrieves the Open, High, Low, and Close (OHLC) prices in USD for a specific token traded on Uniswap v3 over a defined time period and interval. -#### Total sent from an address +▶️ [OHLCV on MATIC uniswap v3](https://ide.bitquery.io/OHLCV-on-MATIC-uniswap-v3) -Sums everything an address has ever spent on Dash. Subtract this from total received to get the current balance. +#### Top bought tokens on matic uniswap v3 -▶️ [Total sent from an address](https://ide.bitquery.io/Dash-Total-sent-from-an-address) +Will fetch the top bought tokens on uniswap v3. -#### Address activity summary +▶️ [Top bought tokens on matic uniswap v3](https://ide.bitquery.io/top-bought-tokens-on-matic-uniswap-v3_4) -First seen, last seen, and lifetime in/out totals for one Dash address in a single request. +#### Top sold tokens on matic uniswap v3 -▶️ [Address activity summary](https://ide.bitquery.io/Dash-Address-activity-summary) +Will fetch the top bought tokens on uniswap v3. -### Transactions +▶️ [Top sold tokens on matic uniswap v3](https://ide.bitquery.io/top-sold-tokens-on-matic-uniswap-v3) -#### Latest transactions +#### Top traders of a token on uniswapv3 matic -The most recent transactions on Dash, with value, fee and input/output counts. Raise the limit to page further back. +Will fetch top traders of a token for the selected network. -▶️ [Latest transactions](https://ide.bitquery.io/Dash-Latest-transactions) +▶️ [Top traders of a token on uniswapv3 matic](https://ide.bitquery.io/top-traders-of-a-token-on-uniswapv3-matic) -### Blocks & Validators +#### Trade volume matic uniswapv3 -#### Latest blocks +Fetches the traded volume, buy volume and sell volume of a token `0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270`. -The most recent blocks on Dash, with height, time, transaction count and size. +▶️ [Trade volume matic uniswapv3](https://ide.bitquery.io/trade_volume_matic_uniswapv3) -▶️ [Latest blocks](https://ide.bitquery.io/Dash-Latest-blocks) +## Avalanche -## Zcash +### Trades -### Transfers +#### Latest DEX trades -#### Largest transfers in the last 24 hours +The most recent DEX trades on Avalanche, with both sides of the pair, the venue and USD value. Add a `baseCurrency` filter to scope it to one token. -The biggest Zcash outputs of the past day, ranked by value — a quick way to spot whale movement. Change the `since` date to widen the window. +▶️ [Latest DEX trades](https://ide.bitquery.io/Avalanche-Latest-DEX-trades) -▶️ [Largest transfers in the last 24 hours](https://ide.bitquery.io/Zcash-Largest-transfers-in-the-last-24-hours) +#### Top DEXs by trade count -### Balances & Holders +Ranks the DEXs on Avalanche by number of trades, so you can see which venues actually carry volume. -#### Total received by an address +▶️ [Top DEXs by trade count](https://ide.bitquery.io/Avalanche-Top-DEXs-by-trade-count) -Sums everything an address has ever received on Zcash, with a first-and-last-seen window. Replace the address to use it. +### Transfers -▶️ [Total received by an address](https://ide.bitquery.io/Zcash-Total-received-by-an-address) +#### Latest token transfers -#### Total sent from an address +Recent token transfers on Avalanche. Add a `currency` filter to follow one token, or a sender/receiver filter to follow one wallet. -Sums everything an address has ever spent on Zcash. Subtract this from total received to get the current balance. +▶️ [Latest token transfers](https://ide.bitquery.io/Avalanche-Latest-token-transfers) -▶️ [Total sent from an address](https://ide.bitquery.io/Zcash-Total-sent-from-an-address) +### Balances & Holders -#### Address activity summary +#### Balances of an address -First seen, last seen, and lifetime in/out totals for one Zcash address in a single request. +Native and token balances held by one Avalanche address. Replace the address to use it. -▶️ [Address activity summary](https://ide.bitquery.io/Zcash-Address-activity-summary) +▶️ [Balances of an address](https://ide.bitquery.io/Avalanche-Balances-of-an-address) ### Transactions #### Latest transactions -The most recent transactions on Zcash, with value, fee and input/output counts. Raise the limit to page further back. +Recent Avalanche transactions with value, gas and sender/receiver. Move `since` in the Variables pane to change the window — a wide window on a busy chain will exceed the query memory limit. -▶️ [Latest transactions](https://ide.bitquery.io/Zcash-Latest-transactions) +▶️ [Latest transactions](https://ide.bitquery.io/Avalanche-Latest-transactions) -### Blocks & Validators +### Events & Calls -#### Latest blocks +#### Latest smart contract events -The most recent blocks on Zcash, with height, time, transaction count and size. +Decoded event logs on Avalanche. Filter by `smartContractAddress` to watch a single contract. -▶️ [Latest blocks](https://ide.bitquery.io/Zcash-Latest-blocks) +▶️ [Latest smart contract events](https://ide.bitquery.io/Avalanche-Latest-smart-contract-events) -## Cardano +### Blocks & Validators -### Trades +#### Latest blocks -#### Cardano Price +The most recent blocks on Avalanche, with height, time, gas used and transaction count. -This query returns the latest price of Cardano on Cardano Network. +▶️ [Latest blocks](https://ide.bitquery.io/Avalanche-Latest-blocks_1) -▶️ [Cardano Price](https://ide.bitquery.io/latest-cardano-price) +## Celo ### Transfers -#### Cardano User Transfers +#### Latest token transfers -This query returns the latest transfers for a useron Cardano network. +Recent token transfers on Celo. Add a `currency` filter to follow one token, or a sender/receiver filter to follow one wallet. -▶️ [Cardano User Transfers](https://ide.bitquery.io/cardano-transfers-of-a-wallet) +▶️ [Latest token transfers](https://ide.bitquery.io/Celo-Latest-token-transfers) ### Balances & Holders -#### Cardano Balance +#### Balance of an address at a past date -This query returns the current balance of a user on Cardano network. +What one Celo address held as of a chosen date. Move the date in the Variables pane. -▶️ [Cardano Balance](https://ide.bitquery.io/cardano-address-balance_1) +▶️ [Balance of an address at a past date](https://ide.bitquery.io/Celo-Balance-of-an-address-at-a-past-date) -## Ripple +#### Balances of an address -### Trades +Native and token balances held by one Celo address. Replace the address to use it. -#### Ripple Token DEX Trades +▶️ [Balances of an address](https://ide.bitquery.io/Celo-Balances-of-an-address) -This query returns the latest trades of a currency on the Ripple network. +### Transactions -▶️ [Ripple Token DEX Trades](https://ide.bitquery.io/trades-for-CNY-on-ripple) +#### Latest transactions -#### Ripple Payments +Recent Celo transactions with value, gas and sender/receiver. Move `since` in the Variables pane to change the window — a wide window on a busy chain will exceed the query memory limit. -This query returns the latest payments on Ripple network. +▶️ [Latest transactions](https://ide.bitquery.io/Celo-Latest-transactions) -▶️ [Ripple Payments](https://ide.bitquery.io/Latest-payments-on-ripple-blockchain) +### Events & Calls -### Transfers +#### Latest smart contract events -#### Ripple Historical Transfers +Decoded event logs on Celo. Filter by `smartContractAddress` to watch a single contract. -This query returns all the historical transfers done by a specific address on the Ripple network. +▶️ [Latest smart contract events](https://ide.bitquery.io/Celo-Latest-smart-contract-events) -▶️ [Ripple Historical Transfers](https://ide.bitquery.io/All-historical-transfers-of-an-individual-address) +### Blocks & Validators -### Balances & Holders +#### Latest blocks -#### Ripple Historical Balance +The most recent blocks on Celo, with height, time, gas used and transaction count. -This query returns all historical balance of an address on Ripple network. +▶️ [Latest blocks](https://ide.bitquery.io/Celo-Latest-blocks) -▶️ [Ripple Historical Balance](https://ide.bitquery.io/historical-balances-of-a-ripple-address) +## Litecoin -### Transactions +### Transfers -#### Transaction Details using Hash +#### Largest transfers in the last 24 hours -This query uses transaction hash and date range as filter to fetch tx details. +The biggest Litecoin outputs of the past day, ranked by value — a quick way to spot whale movement. Change the `since` date to widen the window. + +▶️ [Largest transfers in the last 24 hours](https://ide.bitquery.io/Litecoin-Largest-transfers-in-the-last-24-hours) -▶️ [Transaction Details using Hash](https://ide.bitquery.io/xrpl-search-tx-details) +### Balances & Holders -## Algorand +#### Balance of an address at a past date -### Transfers +What one Litecoin address held as of a chosen date. Move the date in the Variables pane. -#### All the transfers of an asset on Algorand Mainnet in a specific timeframe +▶️ [Balance of an address at a past date](https://ide.bitquery.io/Litecoin-Balance-of-an-address-at-a-past-date) -Returns transfers for asset ID `31566704` between two dates, ordered by block height descending. Swap the `currency` filter for any ASA ID or ALGO. +#### Total received by an address -▶️ [All the transfers of an asset on Algorand Mainnet in a specific timeframe](https://ide.bitquery.io/All-the-transfers-of-an-asset-on-Algorand-Mainnet-in-a-specific-timeframe) +Sums everything an address has ever received on Litecoin, with a first-and-last-seen window. Replace the address to use it. -#### Traansfers where a currency is sent from or sent to a particular address +▶️ [Total received by an address](https://ide.bitquery.io/Litecoin-Total-received-by-an-address) -Uses the `any` filter to match transfers where the address appears as either sender or receiver. +#### Total sent from an address -▶️ [Traansfers where a currency is sent from or sent to a particular address](https://ide.bitquery.io/traansfers-where-a-currency-is-sent-from-or-sent-to-a-particular-address) +Sums everything an address has ever spent on Litecoin. Subtract this from total received to get the current balance. -### Price & OHLC +▶️ [Total sent from an address](https://ide.bitquery.io/Litecoin-Total-sent-from-an-address) -#### Get Count of Smart Contract Calls in Latest Block +#### Address activity summary -Returns the count of unique smart contract calls in the most recent block after a given date. +First seen, last seen, and lifetime in/out totals for one Litecoin address in a single request. -▶️ [Get Count of Smart Contract Calls in Latest Block](https://ide.bitquery.io/Get-Count-of-Smart-Contract-Calls-in-Latest-Block_1) +▶️ [Address activity summary](https://ide.bitquery.io/Litecoin-Address-activity-summary) ### Transactions -#### All Transactions on Algorand +#### Latest transactions -Paginated query for all transactions in a specific window. +The most recent transactions on Litecoin, with value, fee and input/output counts. Raise the limit to page further back. -▶️ [All Transactions on Algorand](https://ide.bitquery.io/All-Transactions-on-Algorand) +▶️ [Latest transactions](https://ide.bitquery.io/Litecoin-Latest-transactions) -#### Daily Transaction Count for last 10 days +### Blocks & Validators -Returns the number of transactions per day over the last 10 days, ordered by date descending. +#### Latest blocks -▶️ [Daily Transaction Count for last 10 days](https://ide.bitquery.io/Daily-Transaction-Count-for-last-10-days) +The most recent blocks on Litecoin, with height, time, transaction count and size. -#### Daily Unique Txn Senders on algorand +▶️ [Latest blocks](https://ide.bitquery.io/Litecoin-Latest-blocks) -Counts distinct transaction senders on a specific date. +## Bitcoin Cash -▶️ [Daily Unique Txn Senders on algorand](https://ide.bitquery.io/Daily-Unique-Txn-Senders-on-algorand) +### Transfers -## Trading API +#### Largest transfers in the last 24 hours -### Trades +The biggest Bitcoin Cash outputs of the past day, ranked by value — a quick way to spot whale movement. Change the `since` date to widen the window. -#### Average fee per trade, Total fees, total volume, trades count per DEX program +▶️ [Largest transfers in the last 24 hours](https://ide.bitquery.io/Bitcoin-Cash-Largest-transfers-in-the-last-24-hours) -Average fee per trade, Total fees, total volume, trades count per DEX program. Uses the `Trades` cube. +### Balances & Holders -▶️ [Average fee per trade, Total fees, total volume, trades count per DEX program](https://ide.bitquery.io/Average-fee-per-trade-Total-fees-total-volume-trades-count-per-DEX-program) +#### Balance of an address at a past date -#### Last 10 WSOL USDC Token pair trades +What one Bitcoin Cash address held as of a chosen date. Move the date in the Variables pane. -Last 10 WSOL USDC Token pair trades. Uses the `Trades` cube. +▶️ [Balance of an address at a past date](https://ide.bitquery.io/Bitcoin-Cash-Balance-of-an-address-at-a-past-date) -▶️ [Last 10 WSOL USDC Token pair trades](https://ide.bitquery.io/Last-10-WSOL-USDC-Token-pair-trades) +#### Total received by an address -#### Most active market pools by trades +Sums everything an address has ever received on Bitcoin Cash, with a first-and-last-seen window. Replace the address to use it. -Most active market pools by trades. Uses the `Trades` cube. +▶️ [Total received by an address](https://ide.bitquery.io/Bitcoin-Cash-Total-received-by-an-address) -▶️ [Most active market pools by trades](https://ide.bitquery.io/Most-active-market-pools-by-trades) +#### Total sent from an address -#### Most active traders by trade count +Sums everything an address has ever spent on Bitcoin Cash. Subtract this from total received to get the current balance. -Most active traders by trade count. Uses the `Trades` cube. +▶️ [Total sent from an address](https://ide.bitquery.io/Bitcoin-Cash-Total-sent-from-an-address) -▶️ [Most active traders by trade count](https://ide.bitquery.io/Most-active-traders-by-trade-count) +#### Address activity summary -#### Most traded token in last 1 hour on solana and it's average trade amount and total volume +First seen, last seen, and lifetime in/out totals for one Bitcoin Cash address in a single request. -Most traded token in last 1 hour on solana and it's average trade amount and total volume. Uses the `Trades` cube. +▶️ [Address activity summary](https://ide.bitquery.io/Bitcoin-Cash-Address-activity-summary) -▶️ [Most traded token in last 1 hour on solana and it's average trade amount and total volume](https://ide.bitquery.io/Most-traded-token-in-last-1-hour-on-solana-and-its-average-trade-amount-and-total-volume) +### Transactions -#### Net flow (buys - sells) per token symbol +#### Latest transactions -Net flow (buys - sells) per token symbol. Uses the `Trades` cube. +The most recent transactions on Bitcoin Cash, with value, fee and input/output counts. Raise the limit to page further back. -▶️ [Net flow (buys - sells) per token symbol](https://ide.bitquery.io/Net-flow-buys---sells-per-token-symbol_2) +▶️ [Latest transactions](https://ide.bitquery.io/Bitcoin-Cash-Latest-transactions) -#### Tokens with highest trade frequency +### Blocks & Validators -Tokens with highest trade frequency. Uses the `Trades` cube. +#### Latest blocks -▶️ [Tokens with highest trade frequency](https://ide.bitquery.io/Tokens-with-highest-trade-frequency) +The most recent blocks on Bitcoin Cash, with height, time, transaction count and size. -#### Tokens with most unique buyers +▶️ [Latest blocks](https://ide.bitquery.io/Bitcoin-Cash-Latest-blocks) -Tokens with most unique buyers. Uses the `Trades` cube. +## Dogecoin -▶️ [Tokens with most unique buyers](https://ide.bitquery.io/Tokens-with-most-unique-buyers) +### Transfers -#### Top Traders on Solana +#### Largest transfers in the last 24 hours -Top Traders on Solana. Uses the `Trades` cube. +The biggest Dogecoin outputs of the past day, ranked by value — a quick way to spot whale movement. Change the `since` date to widen the window. -▶️ [Top Traders on Solana](https://ide.bitquery.io/Top-Traders-on-Solana_2) +▶️ [Largest transfers in the last 24 hours](https://ide.bitquery.io/Dogecoin-Largest-transfers-in-the-last-24-hours) -#### Total SOL fees, Total Volume, Total count trades +### Balances & Holders -Total SOL fees, Total Volume, Total count trades. Uses the `Trades` cube. +#### Balance of an address at a past date -▶️ [Total SOL fees, Total Volume, Total count trades](https://ide.bitquery.io/Total-SOL-fees-Total-Volume-Total-count-trades) +What one Dogecoin address held as of a chosen date. Move the date in the Variables pane. -### Price & OHLC +▶️ [Balance of an address at a past date](https://ide.bitquery.io/Dogecoin-Balance-of-an-address-at-a-past-date) -#### Historical Bitcoin OHLC data for the last 7 days +#### Total received by an address -Recent Bitcoin OHLC using the Crypto Price API (time range in the query matches what the Price Index supports). +Sums everything an address has ever received on Dogecoin, with a first-and-last-seen window. Replace the address to use it. -▶️ [Historical Bitcoin OHLC data for the last 7 days](https://ide.bitquery.io/historical-Bitcoin-OHLC-data-for-the-last-7-days) +▶️ [Total received by an address](https://ide.bitquery.io/Dogecoin-Total-received-by-an-address) -#### OHLC of a currency on multiple blockchains +#### Total sent from an address -Stream real-time Bitcoin OHLC data aggregated from all supported blockchains (Bitcoin, Ethereum WBTC, Solana, etc.) with 60-second intervals. +Sums everything an address has ever spent on Dogecoin. Subtract this from total received to get the current balance. -▶️ [OHLC of a currency on multiple blockchains](https://ide.bitquery.io/OHLC-of-a-currency-on-multiple-blockchains) +▶️ [Total sent from an address](https://ide.bitquery.io/Dogecoin-Total-sent-from-an-address) -### Supply & Market Cap +#### Address activity summary -#### Marketcap of pump token +First seen, last seen, and lifetime in/out totals for one Dogecoin address in a single request. -Set token address and read `Supply.MarketCap` from the query below. See the Supply fields reference for related supply fields. You can also stream this in real-time by adding the keyword "subscription" at the top. +▶️ [Address activity summary](https://ide.bitquery.io/Dogecoin-Address-activity-summary) -▶️ [Marketcap of pump token](https://ide.bitquery.io/marketcap-of-pump-token) +### Transactions -#### Tokens ranked by market cap +#### Latest transactions -Tokens ranked by market cap. Uses the `Trades` cube. +The most recent transactions on Dogecoin, with value, fee and input/output counts. Raise the limit to page further back. -▶️ [Tokens ranked by market cap](https://ide.bitquery.io/Tokens-ranked-by-market-cap_1) +▶️ [Latest transactions](https://ide.bitquery.io/Dogecoin-Latest-transactions) -## Stablecoins +### Blocks & Validators -### Trades +#### Latest blocks -#### Solana USDT trades query +The most recent blocks on Dogecoin, with height, time, transaction count and size. -Solana USDT trades query. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. +▶️ [Latest blocks](https://ide.bitquery.io/Dogecoin-Latest-blocks) -▶️ [Solana USDT trades query](https://ide.bitquery.io/solana-USDT-trades-query) +## Dash ### Transfers -#### Latest Tron USDT Transfers - -Listen to stablecoin payments across all major blockchains. The Mempool option lets you detect a payment *before* it is confirmed — useful for instant merchant UX. +#### Largest transfers in the last 24 hours -▶️ [Latest Tron USDT Transfers](https://ide.bitquery.io/Latest-Tron-USDT-Transfers) +The biggest Dash outputs of the past day, ranked by value — a quick way to spot whale movement. Change the `since` date to widen the window. -#### Latest USDT/USDC Transfer api on base +▶️ [Largest transfers in the last 24 hours](https://ide.bitquery.io/Dash-Largest-transfers-in-the-last-24-hours) -Listen to stablecoin payments across all major blockchains. The Mempool option lets you detect a payment *before* it is confirmed — useful for instant merchant UX. +### Balances & Holders -▶️ [Latest USDT/USDC Transfer api on base](https://ide.bitquery.io/Latest-USDTUSDC-Transfer-api-on-base) +#### Balance of an address at a past date -#### Latest USDT/USDC Transfer api on ethereum +What one Dash address held as of a chosen date. Move the date in the Variables pane. -Listen to stablecoin payments across all major blockchains. The Mempool option lets you detect a payment *before* it is confirmed — useful for instant merchant UX. +▶️ [Balance of an address at a past date](https://ide.bitquery.io/Dash-Balance-of-an-address-at-a-past-date) -▶️ [Latest USDT/USDC Transfer api on ethereum](https://ide.bitquery.io/Latest-USDTUSDC-Transfer-api-on-ethereum) +#### Total received by an address -#### Stablecoin Transfers from/to an address +Sums everything an address has ever received on Dash, with a first-and-last-seen window. Replace the address to use it. -Stablecoin Transfers from/to an address. Uses the `Transfers` cube. Change the token address in the `where` clause to use it. +▶️ [Total received by an address](https://ide.bitquery.io/Dash-Total-received-by-an-address) -▶️ [Stablecoin Transfers from/to an address](https://ide.bitquery.io/stablecoin-Transfers-fromto-an-address) +#### Total sent from an address -#### Stablecoin recieved and sent by an address +Sums everything an address has ever spent on Dash. Subtract this from total received to get the current balance. -Stablecoin recieved and sent by an address. Uses the `Transfers` cube. Change the token address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. +▶️ [Total sent from an address](https://ide.bitquery.io/Dash-Total-sent-from-an-address) -▶️ [Stablecoin recieved and sent by an address](https://ide.bitquery.io/Stablecoin-recieved-and-sent-by-an-address) +#### Address activity summary -#### USDT Stablecoin reserves on Ethereum +First seen, last seen, and lifetime in/out totals for one Dash address in a single request. -USDT Stablecoin reserves on Ethereum. Uses the `Transfers` cube. Change the token address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. +▶️ [Address activity summary](https://ide.bitquery.io/Dash-Address-activity-summary) -▶️ [USDT Stablecoin reserves on Ethereum](https://ide.bitquery.io/USDT-Stablecoin-reserves-on-Ethereum) +### Transactions -#### USDT and USDC token Transfers api on solana +#### Latest transactions -USDT and USDC token Transfers api on solana. Uses the `Transfers` cube. +The most recent transactions on Dash, with value, fee and input/output counts. Raise the limit to page further back. -▶️ [USDT and USDC token Transfers api on solana](https://ide.bitquery.io/USDT-and-USDC-token-Transfers-api-on-solana) +▶️ [Latest transactions](https://ide.bitquery.io/Dash-Latest-transactions) -#### USDT token Transfers api on solana +### Blocks & Validators -Track live USDT stablecoin transfers. USDT is ideal for payments, settlements, etc and you can track those in real-time using this API/Stream -. +#### Latest blocks -▶️ [USDT token Transfers api on solana](https://ide.bitquery.io/USDT-token-Transfers-api-on-solana) +The most recent blocks on Dash, with height, time, transaction count and size. -### Price & OHLC +▶️ [Latest blocks](https://ide.bitquery.io/Dash-Latest-blocks) -#### 5 minute price change stablecoin API +## Zcash -5 minute price change stablecoin API. Uses the `Tokens` cube. +### Transfers -▶️ [5 minute price change stablecoin API](https://ide.bitquery.io/5-minute-price-change-stablecoin-API) +#### Largest transfers in the last 24 hours -#### Stablecoin price query of USDT +The biggest Zcash outputs of the past day, ranked by value — a quick way to spot whale movement. Change the `since` date to widen the window. -Get real-time and historical USDT prices, OHLCV, and moving averages across supported networks and markets. +▶️ [Largest transfers in the last 24 hours](https://ide.bitquery.io/Zcash-Largest-transfers-in-the-last-24-hours) -▶️ [Stablecoin price query of USDT](https://ide.bitquery.io/stablecoin-price-query-of-USDT_1) +### Balances & Holders -#### Usdt latest price arbitrage +#### Balance of an address at a past date -This query compares USDT prices across different blockchain networks in real-time. It fetches the latest price data for USDT from different networks, showing you where the same stablecoin trades at different prices. +What one Zcash address held as of a chosen date. Move the date in the Variables pane. -▶️ [Usdt latest price arbitrage](https://ide.bitquery.io/usdt-latest-price-arbitrage) +▶️ [Balance of an address at a past date](https://ide.bitquery.io/Zcash-Balance-of-an-address-at-a-past-date) -### Supply & Market Cap +#### Total received by an address -#### USDC Stablecoin reserves on Solana +Sums everything an address has ever received on Zcash, with a first-and-last-seen window. Replace the address to use it. -USDC Stablecoin reserves on Solana. Uses the `TokenSupplyUpdates` cube. Change the token address in the `where` clause to use it. +▶️ [Total received by an address](https://ide.bitquery.io/Zcash-Total-received-by-an-address) -▶️ [USDC Stablecoin reserves on Solana](https://ide.bitquery.io/USDC-Stablecoin-reserves-on-Solana) +#### Total sent from an address -#### USDT Stablecoin reserves on Solana query +Sums everything an address has ever spent on Zcash. Subtract this from total received to get the current balance. -USDT Stablecoin reserves on Solana query. Uses the `TokenSupplyUpdates` cube. Change the token address in the `where` clause to use it. +▶️ [Total sent from an address](https://ide.bitquery.io/Zcash-Total-sent-from-an-address) -▶️ [USDT Stablecoin reserves on Solana query](https://ide.bitquery.io/USDT-Stablecoin-reserves-on-Solana--query) +#### Address activity summary -## Perpetuals +First seen, last seen, and lifetime in/out totals for one Zcash address in a single request. -### Trades +▶️ [Address activity summary](https://ide.bitquery.io/Zcash-Address-activity-summary) -#### Hyperliquid BTC Perp Trades +### Transactions -Hyperliquid BTC Perp Trades. Uses the `Trades` cube. +#### Latest transactions -▶️ [Hyperliquid BTC Perp Trades](https://ide.bitquery.io/hyperliquid-btc-perp-trades) +The most recent transactions on Zcash, with value, fee and input/output counts. Raise the limit to page further back. -#### Hyperliquid Latest Trades (Perps + Spot + HIP-3) +▶️ [Latest transactions](https://ide.bitquery.io/Zcash-Latest-transactions) -Each fill carries the execution (price, size, side, aggressor flag), the position it changed (leverage, margin mode, size before, realized PnL) and fees. `Direction` is one of `Open Long`, `Open Short`, `Close Long`, `Close Short`. +### Blocks & Validators -▶️ [Hyperliquid Latest Trades (Perps + Spot + HIP-3)](https://ide.bitquery.io/hyperliquid-latest-trades) +#### Latest blocks -#### Hyperliquid Trader Leverage Updates +The most recent blocks on Zcash, with height, time, transaction count and size. -Hyperliquid Trader Leverage Updates. +▶️ [Latest blocks](https://ide.bitquery.io/Zcash-Latest-blocks) -▶️ [Hyperliquid Trader Leverage Updates](https://ide.bitquery.io/hyperliquid-leverage-updates) +## Cardano -#### Phoenix Perps Fills by Trader Wallet - Solana +### Trades -Stream every stop-loss and take-profit placement as it happens. +#### Cardano Price -▶️ [Phoenix Perps Fills by Trader Wallet - Solana](https://ide.bitquery.io/sol_perps_filled_orders_by_signer) +This query returns the latest price of Cardano on Cardano Network. -#### Trader Realized PnL on Solana Perps +▶️ [Cardano Price](https://ide.bitquery.io/latest-cardano-price) -Rows with `Size: 0` are markets they've fully closed — drop them and the rest is the live book, with entry prices. +### Transfers -▶️ [Trader Realized PnL on Solana Perps](https://ide.bitquery.io/solana-perps-trader-pnl) +#### Cardano User Transfers -#### Whale Trades on Solana Perps (Phoenix) +This query returns the latest transfers for a useron Cardano network. -Positive = received, negative = paid. Replace the field list with `total: sum(of: Position_Funding)` for the net carry cost of holding their positions. +▶️ [Cardano User Transfers](https://ide.bitquery.io/cardano-transfers-of-a-wallet) -▶️ [Whale Trades on Solana Perps (Phoenix)](https://ide.bitquery.io/solana-perps-whale-trades) +### Balances & Holders -### Price & OHLC +#### Cardano Balance -#### Hyperliquid BTC OHLCV Candles (1 minute) +This query returns the current balance of a user on Cardano network. -The `Candles` cube provides OHLCV per market and interval. `Interval.Time.Duration` is the candle length in seconds (e.g. `60` for one minute), `Start` the interval open time. OHLCV values are floats. +▶️ [Cardano Balance](https://ide.bitquery.io/cardano-address-balance_1) -▶️ [Hyperliquid BTC OHLCV Candles (1 minute)](https://ide.bitquery.io/hyperliquid-btc-ohlcv-candles) +## Ripple -#### Hyperliquid Mark Prices (All Markets) +### Trades -Follow the steps here: How to generate Bitquery API token ➤. +#### Ripple Token DEX Trades -▶️ [Hyperliquid Mark Prices (All Markets)](https://ide.bitquery.io/hyperliquid-mark-prices) +This query returns the latest trades of a currency on the Ripple network. -#### Solana Perps OHLC Candles from Mark Price +▶️ [Ripple Token DEX Trades](https://ide.bitquery.io/trades-for-CNY-on-ripple) -As a `query`, add `orderBy: { descending: Block_Time }` and a `limit` for the recent whale prints. +#### Ripple Payments -▶️ [Solana Perps OHLC Candles from Mark Price](https://ide.bitquery.io/solana-perps-ohlc-candles) +This query returns the latest payments on Ripple network. -## NFTs +▶️ [Ripple Payments](https://ide.bitquery.io/Latest-payments-on-ripple-blockchain) -### Trades +### Transfers -#### Get NFT trades for a specific NFT contract on specific marketplace +#### Ripple Historical Transfers -Get trades of NFTs for a given contract and marketplace. +This query returns all the historical transfers done by a specific address on the Ripple network. -▶️ [Get NFT trades for a specific NFT contract on specific marketplace](https://ide.bitquery.io/Get-NFT-trades-by-contract) +▶️ [Ripple Historical Transfers](https://ide.bitquery.io/All-historical-transfers-of-an-individual-address) -#### Get NFT trades for a specific NFT contract and token ID +### Balances & Holders -Get trades of NFTs for a given contract and token ID. +#### Ripple Historical Balance -▶️ [Get NFT trades for a specific NFT contract and token ID](https://ide.bitquery.io/Get-NFT-trades-by-token) +This query returns all historical balance of an address on Ripple network. -#### Get NFT trades by wallet +▶️ [Ripple Historical Balance](https://ide.bitquery.io/historical-balances-of-a-ripple-address) -Get trades of NFTs for a given wallet. +### Transactions -▶️ [Get NFT trades by wallet](https://ide.bitquery.io/Get-trades-of-NFTs-for-a-given-wallet) +#### Transaction Details using Hash -#### Latest NFT Trades +This query uses transaction hash and date range as filter to fetch tx details. -Latest NFT Trades. +▶️ [Transaction Details using Hash](https://ide.bitquery.io/xrpl-search-tx-details) -▶️ [Latest NFT Trades](https://ide.bitquery.io/Latest-NFT-trades-on-ETH) +## Algorand -#### Top Traded NFTs in a Period +### Transfers -This query gets the top 10 traded NFTs based on the number of trades within a specified date range. You can change the filters such as the date range and limit. +#### All the transfers of an asset on Algorand Mainnet in a specific timeframe -▶️ [Top Traded NFTs in a Period](https://ide.bitquery.io/Top-traded-NFT-tokens-in-a-month) +Returns transfers for asset ID `31566704` between two dates, ordered by block height descending. Swap the `currency` filter for any ASA ID or ALGO. -#### Latests OpenSea Trades +▶️ [All the transfers of an asset on Algorand Mainnet in a specific timeframe](https://ide.bitquery.io/All-the-transfers-of-an-asset-on-Algorand-Mainnet-in-a-specific-timeframe) -Latests OpenSea Trades. +#### Traansfers where a currency is sent from or sent to a particular address -▶️ [Latests OpenSea Trades](https://ide.bitquery.io/Latests-OpenSea-Trades) +Uses the `any` filter to match transfers where the address appears as either sender or receiver. -#### Latest NFT trades on Ethereum network +▶️ [Traansfers where a currency is sent from or sent to a particular address](https://ide.bitquery.io/traansfers-where-a-currency-is-sent-from-or-sent-to-a-particular-address) -Latest NFT trades on Ethereum network. +### Price & OHLC -▶️ [Latest NFT trades on Ethereum network](https://ide.bitquery.io/latest-NFT-trades-on-Ethereum-network) +#### Get Count of Smart Contract Calls in Latest Block -#### Pairs of blur token new dataset +Returns the count of unique smart contract calls in the most recent block after a given date. -Open the above query on GraphQL IDE using this. +▶️ [Get Count of Smart Contract Calls in Latest Block](https://ide.bitquery.io/Get-Count-of-Smart-Contract-Calls-in-Latest-Block_1) -▶️ [Pairs of blur token new dataset](https://ide.bitquery.io/pairs-of-blur-token-new-dataset_1) +### Transactions -#### New Uniswap v3 liquidity positions +#### All Transactions on Algorand -Position NFTs as they are minted — who is adding liquidity to v3 pools, and to which pair. +Paginated query for all transactions in a specific window. -▶️ [New Uniswap v3 liquidity positions](https://ide.bitquery.io/recent-uniswap-position-NFTs-mint_1) +▶️ [All Transactions on Algorand](https://ide.bitquery.io/All-Transactions-on-Algorand) -#### NFT currencies on Solana by DEX'es +#### Daily Transaction Count for last 10 days -The subscription query provided fetches the most-traded NFTs in the last few hours. For Solana, only realtime information is available, so the aggregate might not be accurate beyond a few hours. +Returns the number of transactions per day over the last 10 days, ordered by date descending. -▶️ [NFT currencies on Solana by DEX'es](https://ide.bitquery.io/NFT-currencies-on-Solana-by-DEXes_1) +▶️ [Daily Transaction Count for last 10 days](https://ide.bitquery.io/Daily-Transaction-Count-for-last-10-days) -### Transfers +#### Daily Unique Txn Senders on algorand -#### Get NFT transfers by wallet +Counts distinct transaction senders on a specific date. -Get transfers of NFTs given the wallet. +▶️ [Daily Unique Txn Senders on algorand](https://ide.bitquery.io/Daily-Unique-Txn-Senders-on-algorand) -▶️ [Get NFT transfers by wallet](https://ide.bitquery.io/latest-nft-transfers-by-a-user) +## Trading API -#### All transfers of an NFT +### Trades -Retrieves the most recent transfers of a specific non-fungible token (NFT) on the Ethereum network. You can find the GraphQL query. +#### Average fee per trade, Total fees, total volume, trades count per DEX program -▶️ [All transfers of an NFT](https://ide.bitquery.io/All-transfers-of-an-NFT) +Average fee per trade, Total fees, total volume, trades count per DEX program. Uses the `Trades` cube. -#### NFT Token Transfers By Date +▶️ [Average fee per trade, Total fees, total volume, trades count per DEX program](https://ide.bitquery.io/Average-fee-per-trade-Total-fees-total-volume-trades-count-per-DEX-program) -NFT Token Transfers By Date. +#### Last 10 WSOL USDC Token pair trades -▶️ [NFT Token Transfers By Date](https://ide.bitquery.io/NFT-Token-Transfers-By-Date) +Last 10 WSOL USDC Token pair trades. Uses the `Trades` cube. -#### Top transfered NFT tokens in network +▶️ [Last 10 WSOL USDC Token pair trades](https://ide.bitquery.io/Last-10-WSOL-USDC-Token-pair-trades) -Fetches the most frequently transferred NFTs on the Ethereum Blockchain within the specified date range. +#### Most active market pools by trades -▶️ [Top transfered NFT tokens in network](https://ide.bitquery.io/Top-transfered-NFT-tokens-in-network) +Most active market pools by trades. Uses the `Trades` cube. -#### Array_intersect example for NFT +▶️ [Most active market pools by trades](https://ide.bitquery.io/Most-active-market-pools-by-trades) -Array_intersect example for NFT. +#### Most active traders by trade count -▶️ [Array_intersect example for NFT](https://ide.bitquery.io/array_intersect-example-for-NFT) +Most active traders by trade count. Uses the `Trades` cube. -#### Get all transfers of a specific nft +▶️ [Most active traders by trade count](https://ide.bitquery.io/Most-active-traders-by-trade-count) -Will give all the transfers of a particular NFT `0xb68CA010776B4584cf49893E75b66583eb884948`. +#### Most traded token in last 1 hour on solana and it's average trade amount and total volume -▶️ [Get all transfers of a specific nft](https://ide.bitquery.io/get-all-transfers-of-a-specific-nft) +Most traded token in last 1 hour on solana and it's average trade amount and total volume. Uses the `Trades` cube. -### Balances & Holders +▶️ [Most traded token in last 1 hour on solana and it's average trade amount and total volume](https://ide.bitquery.io/Most-traded-token-in-last-1-hour-on-solana-and-its-average-trade-amount-and-total-volume) -#### Get Latest NFT Balance for an Address +#### Net flow (buys - sells) per token symbol -Get the latest NFT balance for a specific address and NFT collection. This query returns the current NFT count and ownership information. +Net flow (buys - sells) per token symbol. Uses the `Trades` cube. -▶️ [Get Latest NFT Balance for an Address](https://ide.bitquery.io/Get-Latest-NFT-Balance-for-an-Address) +▶️ [Net flow (buys - sells) per token symbol](https://ide.bitquery.io/Net-flow-buys---sells-per-token-symbol_2) -#### Get All NFT Collections for an Address +#### Tokens with highest trade frequency -Retrieve all NFT collections held by a specific address. This query returns balances for all NFT collections the address owns. +Tokens with highest trade frequency. Uses the `Trades` cube. -▶️ [Get All NFT Collections for an Address](https://ide.bitquery.io/Get-All-NFT-Collections-for-an-Address_1) +▶️ [Tokens with highest trade frequency](https://ide.bitquery.io/Tokens-with-highest-trade-frequency) -#### Get NFT Owner for Specific Token ID +#### Tokens with most unique buyers -Check the current owner of a specific NFT token ID. This query returns ownership information for a particular token. +Tokens with most unique buyers. Uses the `Trades` cube. -▶️ [Get NFT Owner for Specific Token ID](https://ide.bitquery.io/Get-NFT-Owner-for-Specific-Token-ID) +▶️ [Tokens with most unique buyers](https://ide.bitquery.io/Tokens-with-most-unique-buyers) -#### Get NFT Balances for Multiple Addresses +#### Top Traders on Solana -Get NFT balances for multiple addresses in a single query. Useful for portfolio tracking or wallet monitoring applications. +Top Traders on Solana. Uses the `Trades` cube. -▶️ [Get NFT Balances for Multiple Addresses](https://ide.bitquery.io/Get-NFT-Balances-for-Multiple-Addresses_1) +▶️ [Top Traders on Solana](https://ide.bitquery.io/Top-Traders-on-Solana_2) -#### Get NFT Ownership History +#### Total SOL fees, Total Volume, Total count trades -Retrieve the NFT ownership history of a specific NFT over a specific time period. This helps track NFT transfers and ownership changes. +Total SOL fees, Total Volume, Total count trades. Uses the `Trades` cube. -▶️ [Get NFT Ownership History](https://ide.bitquery.io/Get-NFT-Ownership-History_2) +▶️ [Total SOL fees, Total Volume, Total count trades](https://ide.bitquery.io/Total-SOL-fees-Total-Volume-Total-count-trades) ### Price & OHLC -#### Smart contract calls to an nft contract +#### Token price from top market (rank 1) -Smart contract calls to an nft contract. +The recommended way to price one token: takes the single highest-ranked market for it rather than blending every pool. Prices the token from its single top market rather than blending every pool, which is what you want for one specific token. -▶️ [Smart contract calls to an nft contract](https://ide.bitquery.io/Smart-contract-calls-to-an-nft-contract) +▶️ [Token price from top market (rank 1)](https://ide.bitquery.io/Token-price-from-top-market--rank-1_2) -### Events & Calls +#### Multi-token watchlist, top market each -#### All refinance loans for specific NFT collection +Prices a list of tokens, each from its own top market. Add or remove addresses in the `Token.Address.in` filter. -To retrieve all refinance loans for a specific NFT collection, we filter Refinance event arguments in. +▶️ [Multi-token watchlist, top market each](https://ide.bitquery.io/Multi-token-watchlist--rank-1-per-token) -▶️ [All refinance loans for specific NFT collection](https://ide.bitquery.io/All-refinance-loans-for-specificNFT-collection) +#### Historical Bitcoin OHLC data for the last 7 days -#### Auction on blur marketplace +Recent Bitcoin OHLC using the Crypto Price API (time range in the query matches what the Price Index supports). -The 'StartAuction' event is triggered when an NFT auction starts on the Blur : Blend Contract. The following. +▶️ [Historical Bitcoin OHLC data for the last 7 days](https://ide.bitquery.io/historical-Bitcoin-OHLC-data-for-the-last-7-days) -▶️ [Auction on blur marketplace](https://ide.bitquery.io/Auction-on-blur-marketplace) +#### OHLC of a currency on multiple blockchains -#### Creator_of_an_NFT +Stream real-time Bitcoin OHLC data aggregated from all supported blockchains (Bitcoin, Ethereum WBTC, Solana, etc.) with 60-second intervals. -Creator_of_an_NFT. +▶️ [OHLC of a currency on multiple blockchains](https://ide.bitquery.io/OHLC-of-a-currency-on-multiple-blockchains) -▶️ [Creator_of_an_NFT](https://ide.bitquery.io/Creator_of_an_NFT) +### Supply & Market Cap -#### Latest Cancelled offers on Blur NFT marketplace +#### Marketcap of pump token -On the BLUR market, the 'OfferCancelled' event initiates when an offer is withdrawn or cancelled. The following. +Set token address and read `Supply.MarketCap` from the query below. See the Supply fields reference for related supply fields. You can also stream this in real-time by adding the keyword "subscription" at the top. -▶️ [Latest Cancelled offers on Blur NFT marketplace](https://ide.bitquery.io/Latest-Cancelled-offers-on-Blur-NFT-marketplace) +▶️ [Marketcap of pump token](https://ide.bitquery.io/marketcap-of-pump-token) -#### Latest Loans for a specific borrower on Blur marketplace +#### Tokens ranked by market cap -Same as previous queries, this query will return details about the block, transaction, log, and arguments. By modifying the 'Arguments.includes' filter, you can track loan activities for different NFT collections on the Blur marketplace. +Tokens ranked by market cap. Uses the `Trades` cube. -▶️ [Latest Loans for a specific borrower on Blur marketplace](https://ide.bitquery.io/Latest-Loans-for-a-specificborrower-on-Blur-marketplace) +▶️ [Tokens ranked by market cap](https://ide.bitquery.io/Tokens-ranked-by-market-cap_1) -#### Latest Seized NFTs on Blur marketplace +## Stablecoins -When a seizure event happens, control of the NFT shifts to the lender or an enforcing third party. The. +### Trades -▶️ [Latest Seized NFTs on Blur marketplace](https://ide.bitquery.io/Latest-Seized-NFTs-on-Blur-marketplace) +#### Solana USDT trades query -#### Latest loans for specific NFT token +Solana USDT trades query. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Latest loans for specific NFT token. +▶️ [Solana USDT trades query](https://ide.bitquery.io/solana-USDT-trades-query) -▶️ [Latest loans for specific NFT token](https://ide.bitquery.io/Latest-loans-for-specific-NFTtoken) +### Transfers -#### Loan history for specific NFT ID +#### Latest Tron USDT Transfers -Loan history for specific NFT ID. +Listen to stablecoin payments across all major blockchains. The Mempool option lets you detect a payment *before* it is confirmed — useful for instant merchant UX. -▶️ [Loan history for specific NFT ID](https://ide.bitquery.io/Loan-history-for-specific-NFTID) +▶️ [Latest Tron USDT Transfers](https://ide.bitquery.io/Latest-Tron-USDT-Transfers) -#### Loan repayment of blur marketplace +#### Latest USDT/USDC Transfer api on base -For loan repayment transactions on the BLUR market, use the. +Listen to stablecoin payments across all major blockchains. The Mempool option lets you detect a payment *before* it is confirmed — useful for instant merchant UX. -▶️ [Loan repayment of blur marketplace](https://ide.bitquery.io/Loan-repayment-of-blur-marketplace) +▶️ [Latest USDT/USDC Transfer api on base](https://ide.bitquery.io/Latest-USDTUSDC-Transfer-api-on-base) -#### Loans above a specific amount on the Blur NFT marketplace +#### Latest USDT/USDC Transfer api on ethereum -If we want to track loans above a specific amount on the Blur marketplace, we can use the following. +Listen to stablecoin payments across all major blockchains. The Mempool option lets you detect a payment *before* it is confirmed — useful for instant merchant UX. -▶️ [Loans above a specific amount on the Blur NFT marketplace](https://ide.bitquery.io/Loans-above-a-specific-amount-on-the-Blur-NFT-marketplace) +▶️ [Latest USDT/USDC Transfer api on ethereum](https://ide.bitquery.io/Latest-USDTUSDC-Transfer-api-on-ethereum) -#### Locked NFT bought on Blur marketplace +#### Stablecoin Transfers from/to an address -Locked NFTs are temporarily non-transferrable and can be traded or transferred after the lock period. These NFTs are often cheaper than non-locked. The following. +Stablecoin Transfers from/to an address. Uses the `Transfers` cube. Change the token address in the `where` clause to use it. -▶️ [Locked NFT bought on Blur marketplace](https://ide.bitquery.io/Locked-NFT-bought-on-Blur-marketplace) +▶️ [Stablecoin Transfers from/to an address](https://ide.bitquery.io/stablecoin-Transfers-fromto-an-address) -## Polymarket +#### Stablecoin recieved and sent by an address -### Trades +Stablecoin recieved and sent by an address. Uses the `Transfers` cube. Change the token address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. -#### Latest Trades +▶️ [Stablecoin recieved and sent by an address](https://ide.bitquery.io/Stablecoin-recieved-and-sent-by-an-address) -Fetch the most recent prediction market trades with full details, ordered by block time. +#### USDT Stablecoin reserves on Ethereum -▶️ [Latest Trades](https://ide.bitquery.io/latest-prediction-market-trades_8) +USDT Stablecoin reserves on Ethereum. Uses the `Transfers` cube. Change the token address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. -#### Total Volume and Yes/No Volume for a Market +▶️ [USDT Stablecoin reserves on Ethereum](https://ide.bitquery.io/USDT-Stablecoin-reserves-on-Ethereum) -Aggregate USD volume for a market over a time window: total volume plus volume per outcome (e.g. Yes/No). Pass the market's outcome token AssetIds in `$marketAssets`. +#### USDT and USDC token Transfers api on solana -▶️ [Total Volume and Yes/No Volume for a Market](https://ide.bitquery.io/total-volume-outcome-1-volume-outcome-2-volume-of-a-market_1) +USDT and USDC token Transfers api on solana. Uses the `Transfers` cube. -#### Trades for a Specific Trader +▶️ [USDT and USDC token Transfers api on solana](https://ide.bitquery.io/USDT-and-USDC-token-Transfers-api-on-solana) -Fetch all trades where the given address is either Buyer or Seller. Pass the trader address as the `$trader` variable. +#### USDT token Transfers api on solana -▶️ [Trades for a Specific Trader](https://ide.bitquery.io/Trades-for-a-specific-trader_1) +Track live USDT stablecoin transfers. USDT is ideal for payments, settlements, etc and you can track those in real-time using this API/Stream -. -#### How do I count trades for a specific Polymarket trader? +▶️ [USDT token Transfers api on solana](https://ide.bitquery.io/USDT-token-Transfers-api-on-solana) -Use `PredictionTrades` with `any` filter on `Buyer` or `Seller` to return the total trade count for a wallet. Add `ProtocolName: "polymarket"` to restrict to Polymarket only. Replace the address with your target wallet. +### Price & OHLC -▶️ [How do I count trades for a specific Polymarket trader?](https://ide.bitquery.io/How-do-I-count-trades-for-a-specific-Polymarket-trader) +#### 5 minute price change stablecoin API -#### How do I get top buyers and sellers on Polymarket by volume? +5 minute price change stablecoin API. Uses the `Tokens` cube. -Use `PredictionTrades` with `limitBy` and `sum(of: Trade_OutcomeTrade_CollateralAmountInUSD)` grouped by Buyer (or Seller) to rank the top 100 wallets by volume over the last 5 days. Useful for leaderboards, whale tracking, and trader analytics. +▶️ [5 minute price change stablecoin API](https://ide.bitquery.io/5-minute-price-change-stablecoin-API) -▶️ [How do I get top buyers and sellers on Polymarket by volume?](https://ide.bitquery.io/How-do-I-get-top-buyers-and-sellers-on-Polymarket-by-volume) +#### Stablecoin price query of USDT -#### Latest prediction market trades +Get real-time and historical USDT prices, OHLCV, and moving averages across supported networks and markets. -Fetch the most recent prediction market trades with full details, ordered by block time. +▶️ [Stablecoin price query of USDT](https://ide.bitquery.io/stablecoin-price-query-of-USDT_1) -▶️ [Latest prediction market trades](https://ide.bitquery.io/latest-prediction-market-trades) +#### Usdt latest price arbitrage -#### Prediction_trades +This query compares USDT prices across different blockchain networks in real-time. It fetches the latest price data for USDT from different networks, showing you where the same stablecoin trades at different prices. -Prediction_trades. +▶️ [Usdt latest price arbitrage](https://ide.bitquery.io/usdt-latest-price-arbitrage) -▶️ [Prediction_trades](https://ide.bitquery.io/prediction_trades) +### Supply & Market Cap -#### Top 100 markets by volumein last24 hrs +#### USDC Stablecoin reserves on Solana -Rank Polymarket markets by buy + sell collateral USD, with buy/sell breakdown, trade count, distinct buyers/sellers, and optional resolution join. Uses `limitBy: Trade_Prediction_Question_Id` so each row is one market. +USDC Stablecoin reserves on Solana. Uses the `TokenSupplyUpdates` cube. Change the token address in the `where` clause to use it. -▶️ [Top 100 markets by volumein last24 hrs](https://ide.bitquery.io/top-100-markets-by-volumein-last24-hrs_1) +▶️ [USDC Stablecoin reserves on Solana](https://ide.bitquery.io/USDC-Stablecoin-reserves-on-Solana) -#### Top AI markets by volume Polymarket +#### USDT Stablecoin reserves on Solana query -Returns AI markets (title includes the standalone word " AI ") ranked by USD trading volume in the last 24 hours, with buyer and seller counts. Adjust `time_ago`, `limit`, and the title keyword as needed. +USDT Stablecoin reserves on Solana query. Uses the `TokenSupplyUpdates` cube. Change the token address in the `where` clause to use it. -▶️ [Top AI markets by volume Polymarket](https://ide.bitquery.io/Top-AI-markets-by-volume-Polymarket) +▶️ [USDT Stablecoin reserves on Solana query](https://ide.bitquery.io/USDT-Stablecoin-reserves-on-Solana--query) -#### Top Buyers/Sellers of Bitcoin up down market +## NFTs -Returns the top 10 buyers and top 10 sellers by traded volume in Bitcoin Up or Down markets on Polymarket over the last 24 hours. Results are aggregated by trader address and ordered by `buy_amount` (buyers) or `sell_amount` (sellers). +### Trades -▶️ [Top Buyers/Sellers of Bitcoin up down market](https://ide.bitquery.io/Top-BuyersSellers-of-Bitcoin-up-down-market) +#### New Uniswap v3 liquidity positions -### Markets +Position NFTs as they are minted — who is adding liquidity to v3 pools, and to which pair. -#### Created vs Resolved Count (Last 24 Hours) +▶️ [New Uniswap v3 liquidity positions](https://ide.bitquery.io/recent-uniswap-position-NFTs-mint_1) -Count how many Created and Resolved events occurred in the last 24 hours. +#### Get NFT trades for a specific NFT contract on specific marketplace -▶️ [Created vs Resolved Count (Last 24 Hours)](https://ide.bitquery.io/last-24-hr-resolution-and-ceated-count_1) +Get trades of NFTs for a given contract and marketplace. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Latest Creations + Resolutions +▶️ [Get NFT trades for a specific NFT contract on specific marketplace](https://ide.bitquery.io/Get-NFT-trades-by-contract) -Fetch the most recent creation and resolution events with full details, ordered by block time. +#### Get NFT trades for a specific NFT contract and token ID -▶️ [Latest Creations + Resolutions](https://ide.bitquery.io/latest-Prediction-managements-resolutions-creations_1) +Get trades of NFTs for a given contract and token ID. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Latest Market Creations +▶️ [Get NFT trades for a specific NFT contract and token ID](https://ide.bitquery.io/Get-NFT-trades-by-token) -Fetch the most recent Created events (new markets). All possible outcomes per market are in Prediction.Condition.Outcomes. +#### Get NFT trades by wallet -▶️ [Latest Market Creations](https://ide.bitquery.io/latest-polymarket-creations_1) +Get trades of NFTs for a given wallet. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Latest Market Resolutions +▶️ [Get NFT trades by wallet](https://ide.bitquery.io/Get-trades-of-NFTs-for-a-given-wallet) -Query that returns the 10 most recent Resolved events. Winning outcome is in Prediction.Outcome; Prediction.OutcomeToken holds the asset ID and contract details. +#### Latest NFT Trades -▶️ [Latest Market Resolutions](https://ide.bitquery.io/latest-polymarket-resolutions_2) +Latest NFT Trades. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Latest Prediction managements (resolutions, creations) +▶️ [Latest NFT Trades](https://ide.bitquery.io/Latest-NFT-trades-on-ETH) -Fetch the most recent creation and resolution events with full details, ordered by block time. +#### Top Traded NFTs in a Period -▶️ [Latest Prediction managements (resolutions, creations)](https://ide.bitquery.io/latest-Prediction-managements-resolutions-creations) +This query gets the top 10 traded NFTs based on the number of trades within a specified date range. You can change the filters such as the date range and limit. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Latest polymarket creations +▶️ [Top Traded NFTs in a Period](https://ide.bitquery.io/Top-traded-NFT-tokens-in-a-month) -Fetch the most recent Created events. For each market, all possible outcomes are listed under Prediction.Condition.Outcomes. +#### Latests OpenSea Trades -▶️ [Latest polymarket creations](https://ide.bitquery.io/latest-polymarket-creations) +Latests OpenSea Trades. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Latest polymarket resolutions +▶️ [Latests OpenSea Trades](https://ide.bitquery.io/Latests-OpenSea-Trades) -Latest polymarket resolutions. +#### Latest NFT trades on Ethereum network -▶️ [Latest polymarket resolutions](https://ide.bitquery.io/latest-polymarket-resolutions_1) +Latest NFT trades on Ethereum network. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Latest resolved crudeoil markets +▶️ [Latest NFT trades on Ethereum network](https://ide.bitquery.io/latest-NFT-trades-on-Ethereum-network) -Returns the 10 most recent Resolved events for Polymarket Crude Oil markets. +#### Pairs of blur token new dataset -▶️ [Latest resolved crudeoil markets](https://ide.bitquery.io/latest-resolved-crudeoil-markets) +Open the above query on GraphQL IDE using this. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Latest resolved sports markets +▶️ [Pairs of blur token new dataset](https://ide.bitquery.io/pairs-of-blur-token-new-dataset_1) -Returns the 10 most recent Resolved sports markets (management description includes `"sports"`), including the resolved/winning Outcome and full question metadata. Use this to grade results and settle bets. +#### NFT currencies on Solana by DEX'es -▶️ [Latest resolved sports markets](https://ide.bitquery.io/Latest-resolved-sports-markets) +The subscription query provided fetches the most-traded NFTs in the last few hours. For Solana, only realtime information is available, so the aggregate might not be accurate beyond a few hours. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Query latest created resolved prediction markets for Bitcoin +▶️ [NFT currencies on Solana by DEX'es](https://ide.bitquery.io/NFT-currencies-on-Solana-by-DEXes_1) -Query latest created resolved prediction markets for Bitcoin. +### Transfers -▶️ [Query latest created resolved prediction markets for Bitcoin](https://ide.bitquery.io/Query-latest-created-resolved-prediction-markets-for-Bitcoin) +#### Get NFT transfers by wallet -### Settlements +Get transfers of NFTs given the wallet. -#### Latest Settlements +▶️ [Get NFT transfers by wallet](https://ide.bitquery.io/latest-nft-transfers-by-a-user) -Fetch the most recent settlements with full details, ordered by block time. +#### All transfers of an NFT -▶️ [Latest Settlements](https://ide.bitquery.io/latest-prediction-market-settlements_3) +Retrieves the most recent transfers of a specific non-fungible token (NFT) on the Ethereum network. You can find the GraphQL query. -#### Latest Whale Settlements +▶️ [All transfers of an NFT](https://ide.bitquery.io/All-transfers-of-an-NFT) -Find the most recent high-value redemptions (e.g. amount ≥ 10,000 in outcome token units). Useful for tracking large payouts and whale activity. +#### NFT Token Transfers By Date -▶️ [Latest Whale Settlements](https://ide.bitquery.io/latest-whale-settlements-on-prediction-market_3) +NFT Token Transfers By Date. -#### Redemption / Merge / Split Count (Last 1 Hour) +▶️ [NFT Token Transfers By Date](https://ide.bitquery.io/NFT-Token-Transfers-By-Date) -Count how many settlement events occurred in the last hour, grouped by event signature (Split, Merge, Redemption). +#### Top transfered NFT tokens in network -▶️ [Redemption / Merge / Split Count (Last 1 Hour)](https://ide.bitquery.io/redemptions-merge-split-count-in-last-1-hour_1) +Fetches the most frequently transferred NFTs on the Ethereum Blockchain within the specified date range. -#### Top 10 Market Questions by Redeemed Amount (Last 1 Hour) +▶️ [Top transfered NFT tokens in network](https://ide.bitquery.io/Top-transfered-NFT-tokens-in-network) -Aggregate redemptions by market question and sort by total redeemed amount. See which markets had the most payout activity recently. +#### Array_intersect example for NFT -▶️ [Top 10 Market Questions by Redeemed Amount (Last 1 Hour)](https://ide.bitquery.io/top-10-market-questions-in-last-1-hour_3) +Array_intersect example for NFT. -#### Top 10 Redeemers (Last 1 Hour) +▶️ [Array_intersect example for NFT](https://ide.bitquery.io/array_intersect-example-for-NFT) -Rank addresses by total amount redeemed in the last hour across all markets. Useful for leaderboards and whale tracking. +#### Get all transfers of a specific nft -▶️ [Top 10 Redeemers (Last 1 Hour)](https://ide.bitquery.io/top-10-redeemers_1) +Will give all the transfers of a particular NFT `0xb68CA010776B4584cf49893E75b66583eb884948`. -#### Top 10 Winners of a Specific Market Question +▶️ [Get all transfers of a specific nft](https://ide.bitquery.io/get-all-transfers-of-a-specific-nft) -Rank holders by total redeemed amount for one market (filter by question title). +### Balances & Holders -▶️ [Top 10 Winners of a Specific Market Question](https://ide.bitquery.io/top-10-winners-of-a-market-question_2) +#### Get Latest NFT Balance for an Address -#### Latest prediction market settlements +Get the latest NFT balance for a specific address and NFT collection. This query returns the current NFT count and ownership information. -Fetch the most recent settlements with full details, ordered by block time. +▶️ [Get Latest NFT Balance for an Address](https://ide.bitquery.io/Get-Latest-NFT-Balance-for-an-Address) -▶️ [Latest prediction market settlements](https://ide.bitquery.io/latest-prediction-market-settlements_2) +#### Get All NFT Collections for an Address -#### Latest whale settlements on prediction market +Retrieve all NFT collections held by a specific address. This query returns balances for all NFT collections the address owns. -Find the most recent high-value redemptions (e.g. amount ≥ 10,000 USD). Useful for tracking large payouts and whale activity. +▶️ [Get All NFT Collections for an Address](https://ide.bitquery.io/Get-All-NFT-Collections-for-an-Address_1) -▶️ [Latest whale settlements on prediction market](https://ide.bitquery.io/latest-whale-settlements-on-prediction-market_2) +#### Get NFT Owner for Specific Token ID -#### Redemptions, merge, split count in last 1 hour +Check the current owner of a specific NFT token ID. This query returns ownership information for a particular token. -Count how many settlement events occurred in the last hour, grouped by event signature (Split, Merge, Redemption). +▶️ [Get NFT Owner for Specific Token ID](https://ide.bitquery.io/Get-NFT-Owner-for-Specific-Token-ID) -▶️ [Redemptions, merge, split count in last 1 hour](https://ide.bitquery.io/redemptions-merge-split-count-in-last-1-hour) +#### Get NFT Balances for Multiple Addresses -#### Top 10 redeemers +Get NFT balances for multiple addresses in a single query. Useful for portfolio tracking or wallet monitoring applications. -Rank addresses by total amount redeemed in the last hour across all markets. Useful for leaderboards and whale tracking. +▶️ [Get NFT Balances for Multiple Addresses](https://ide.bitquery.io/Get-NFT-Balances-for-Multiple-Addresses_1) -▶️ [Top 10 redeemers](https://ide.bitquery.io/top-10-redeemers) +#### Get NFT Ownership History -### Transfers +Retrieve the NFT ownership history of a specific NFT over a specific time period. This helps track NFT transfers and ownership changes. -#### Freshwallet check for polymarket +▶️ [Get NFT Ownership History](https://ide.bitquery.io/Get-NFT-Ownership-History_2) -Look up the buyer's earliest on-chain activity. If the wallet's first transfer is close to the time of its first big bet, it is a fresh wallet and scores high. Replace the address with the buyer from Step 1. +### Price & OHLC -▶️ [Freshwallet check for polymarket](https://ide.bitquery.io/freshwallet-check-for-polymarket) +#### Smart contract calls to an nft contract -#### FundingSource for poylmarket +Smart contract calls to an nft contract. -FundingSource for poylmarket. Uses the `Transfers` cube. Change the token address in the `where` clause to use it. Needs the historical data add-on — see the comment at the top of the query. +▶️ [Smart contract calls to an nft contract](https://ide.bitquery.io/Smart-contract-calls-to-an-nft-contract) -▶️ [FundingSource for poylmarket](https://ide.bitquery.io/FundingSource-for-poylmarket) +### Events & Calls -#### SiblingWallets for polymarket +#### All refinance loans for specific NFT collection -Take the funder from Step 3 and list every other wallet it funded. Wallets sharing a funder are likely controlled by the same operator. A large cluster placing correlated bets is a strong signal. +To retrieve all refinance loans for a specific NFT collection, we filter Refinance event arguments in. -▶️ [SiblingWallets for polymarket](https://ide.bitquery.io/SiblingWallets-for-polymarket) +▶️ [All refinance loans for specific NFT collection](https://ide.bitquery.io/All-refinance-loans-for-specificNFT-collection) -### Balances & Holders +#### Auction on blur marketplace -#### Polymarket TVL +The 'StartAuction' event is triggered when an NFT auction starts on the Blur : Blend Contract. The following. -Summarize USDC.e (`0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174`) held by Conditional Tokens and neg-risk wrapped collateral contracts. Extend the `Address` list if you track additional custodians. +▶️ [Auction on blur marketplace](https://ide.bitquery.io/Auction-on-blur-marketplace) -▶️ [Polymarket TVL](https://ide.bitquery.io/Polymarket-TVL) +#### Creator_of_an_NFT -### Price & OHLC +Creator_of_an_NFT. -#### Current Price per Outcome (Latest Trade) +▶️ [Creator_of_an_NFT](https://ide.bitquery.io/Creator_of_an_NFT) -Get the latest trade price for each outcome in a market. Uses `limitBy` for one row per outcome, with Price and PriceInUSD at the most recent block time. +#### Latest Cancelled offers on Blur NFT marketplace -▶️ [Current Price per Outcome (Latest Trade)](https://ide.bitquery.io/Current-price-inside-the-market-for-all-options-based-on-latest-trade_1) +On the BLUR market, the 'OfferCancelled' event initiates when an offer is withdrawn or cancelled. The following. -#### Current price inside the market for all options based on latest trade +▶️ [Latest Cancelled offers on Blur NFT marketplace](https://ide.bitquery.io/Latest-Cancelled-offers-on-Blur-NFT-marketplace) -Get the latest trade price for each outcome in a market (e.g. Yes/No, Up/Down—each market defines its own outcome labels). +#### Latest Loans for a specific borrower on Blur marketplace -▶️ [Current price inside the market for all options based on latest trade](https://ide.bitquery.io/Current-price-inside-the-market-for-all-options-based-on-latest-trade) +Same as previous queries, this query will return details about the block, transaction, log, and arguments. By modifying the 'Arguments.includes' filter, you can track loan activities for different NFT collections on the Blur marketplace. -#### Latest price of outcomes of a crude oil market +▶️ [Latest Loans for a specific borrower on Blur marketplace](https://ide.bitquery.io/Latest-Loans-for-a-specificborrower-on-Blur-marketplace) -Returns the latest trade price (and price in USD) per outcome for a single market by `MarketId`. Replace `"1570893"` with the target Crude Oil market ID from Polymarket or from the creation/resolution queries above. +#### Latest Seized NFTs on Blur marketplace -▶️ [Latest price of outcomes of a crude oil market](https://ide.bitquery.io/latest-price-of-outcomes-of-a-crude-oil-market) +When a seizure event happens, control of the NFT shifts to the lender or an enforcing third party. The. -#### OHLC of a outcome of a gold market +▶️ [Latest Seized NFTs on Blur marketplace](https://ide.bitquery.io/Latest-Seized-NFTs-on-Blur-marketplace) -Returns OHLC (Open, High, Low, Close) in USD for one outcome of a Gold market, bucketed by time (e.g. 1-minute intervals). Replace `MarketId` `"1606192"` and outcome `"Down"` with the desired market and outcome label (e.g. `"Up"` or `"Down"`). +#### Latest loans for specific NFT token -▶️ [OHLC of a outcome of a gold market](https://ide.bitquery.io/OHLC-of-a-outcome-of-a-gold-market) +Latest loans for specific NFT token. -#### Polymarket AI odds movement OHLC +▶️ [Latest loans for specific NFT token](https://ide.bitquery.io/Latest-loans-for-specific-NFTtoken) -Returns OHLC (Open, High, Low, Close) in USD for one outcome of an AI market, bucketed by interval (here 5 minutes). It shows how the implied probability moved over time, and powers charts and backtests. Replace `""` and `""` +#### Loan history for specific NFT ID -▶️ [Polymarket AI odds movement OHLC](https://ide.bitquery.io/Polymarket-AI-odds-movement-OHLC) +Loan history for specific NFT ID. -#### Polymarket sports odds movement OHLC +▶️ [Loan history for specific NFT ID](https://ide.bitquery.io/Loan-history-for-specific-NFTID) -Returns OHLC (Open, High, Low, Close) in USD for one outcome of a game, bucketed by interval (here 5 minutes). It shows how the win probability moved over time, and powers line-movement charts and strategy backtests. +#### Loan repayment of blur marketplace -▶️ [Polymarket sports odds movement OHLC](https://ide.bitquery.io/Polymarket-sports-odds-movement-OHLC) +For loan repayment transactions on the BLUR market, use the. -### Liquidity & Pools +▶️ [Loan repayment of blur marketplace](https://ide.bitquery.io/Loan-repayment-of-blur-marketplace) -#### Top cricket Markets by Liquidity +#### Loans above a specific amount on the Blur NFT marketplace -Returns the top 100 cricket related polymarkets sorted by liquidity position in the past 24 hours. +If we want to track loans above a specific amount on the Blur marketplace, we can use the following. -▶️ [Top cricket Markets by Liquidity](https://ide.bitquery.io/Top-cricket-Markets-by-Liquidity) +▶️ [Loans above a specific amount on the Blur NFT marketplace](https://ide.bitquery.io/Loans-above-a-specific-amount-on-the-Blur-NFT-marketplace) -#### Top FIFA World Cup Markets by Liquidity +#### Locked NFT bought on Blur marketplace -Returns the top 100 FIFA World Cup related polymarkets sorted by liquidity position in the past 24 hours. Here `position` is the metric used for sorting, hence it could be regarded as the liquidity position of the particular market. +Locked NFTs are temporarily non-transferrable and can be traded or transferred after the lock period. These NFTs are often cheaper than non-locked. The following. -▶️ [Top FIFA World Cup Markets by Liquidity](https://ide.bitquery.io/Top-FIFA-World-Cup-Markets-by-Liquidity) +▶️ [Locked NFT bought on Blur marketplace](https://ide.bitquery.io/Locked-NFT-bought-on-Blur-marketplace) ## Futures DEXs @@ -4222,51 +4388,3 @@ Get Latest Payments to x402 Server on Solana. Uses the `Transfers` cube. Replace Comprehensive payment analytics including total volume, unique users, transaction counts, and time-based breakdowns for a specific x402 server. ▶️ [Payment Analytics for x402 Server](https://ide.bitquery.io/Payment-analytics-related-specific-x402-server) - -## Cross-Chain - -### Trades - -#### Volume of Multiple Tokens Across Different Chains - -Get volume and price change data for multiple tokens trading on different chains (Solana, Ethereum, BSC, Tron) in a single query. Returns volume for 1h, 4h, and 24h periods, plus price change percentages. > **Note:** For EVM chains (Ethereum, BSC, etc.) in the Trading API, use **all lowercase… - -▶️ [Volume of Multiple Tokens Across Different Chains](https://ide.bitquery.io/volume-of-a-token_2) - -### Price & OHLC - -#### Latest Price of Any Token - -This query gives you bitcoin currency 1-sec OHLC across different blockchains. You can adjust duration in `Duration: {eq: 1}` filter. - -▶️ [Latest Price of Any Token](https://ide.bitquery.io/Latest-bitcoin-price-on-across-chains_5) - -#### OHLC of a currency on multiple blockchains - -This query retrieves the OHLC (Open, High, Low, Close) prices of a currency(in this eg Bitcoin; it will include all sorts of currencies whose underlying asset is Bitcoin like cbBTC, WBTC, etc) across all supported blockchains, aggregated into a given time interval (e.g., 60 seconds in this example). - -▶️ [OHLC of a currency on multiple blockchains](https://ide.bitquery.io/OHLC-of-a-currency-on-multiple-blockchains_2) - -#### SMA and Volume Data (for past 28, 14 and 7 Days Time) - -Use this API to get SMA and volume over the past 28 days, with 14 days, and 7 days breakdowns. Note that the oldest possible data it could return is 30 days ago. - -▶️ [SMA and Volume Data (for past 28, 14 and 7 Days Time)](https://ide.bitquery.io/multiple-tokens-volume-and-SMA) - -#### Historical OHLC of a Token Pair Across Chains - -This query fetches historical OHLC (Open, High, Low, Close) price data for a token pair across different blockchains for as long back as 30 days. For **native tokens**, you only need to specify their ID (e.g., `bid:eth` for ETH). - -▶️ [Historical OHLC of a Token Pair Across Chains](https://ide.bitquery.io/Historical-Token-OHLC-Multi-Chains_1) - -#### Historical Price and Volume Data for a Token Pair beyond 30 days - -Use this API to get historical price and volume for a specific token pair address on a specific network for the time window beyond the 30 days. - -▶️ [Historical Price and Volume Data for a Token Pair beyond 30 days](https://ide.bitquery.io/historical-price-and-historical-volume) - -#### All time High Trade Price for a Token - -Retrieves the all-time high (ATH) price in USD for a specified token contract. All time high price could lie beyond the 30 days window provided by Trading API, hence we use these network specific APIs to get the ATH for a token. While this provides the option to go beyond the 30 days time… - -▶️ [All time High Trade Price for a Token](https://ide.bitquery.io/ATH-of-eth-token_1) diff --git a/docs/start/starter-subscriptions.md b/docs/start/starter-subscriptions.md index 613f59db..6b2787b9 100644 --- a/docs/start/starter-subscriptions.md +++ b/docs/start/starter-subscriptions.md @@ -16,901 +16,1293 @@ Every subscription below is saved in the [Bitquery IDE](https://ide.bitquery.io) ## Table of Contents -- [Ethereum](#ethereum) +- [Bitcoin](#bitcoin) - [Solana](#solana) +- [Robinhood Chain](#robinhood-chain) +- [Polymarket](#polymarket) +- [Perpetuals](#perpetuals) +- [TRON](#tron) +- [Cross-Chain](#cross-chain) +- [Ethereum](#ethereum) - [BSC](#bsc) - [Base](#base) - [Arbitrum](#arbitrum) - [Optimism](#optimism) - [Polygon](#polygon) -- [TRON](#tron) -- [Robinhood Chain](#robinhood-chain) -- [Bitcoin](#bitcoin) - [Trading API](#trading-api) - [Stablecoins](#stablecoins) -- [Perpetuals](#perpetuals) - [NFTs](#nfts) -- [Polymarket](#polymarket) - [x402](#x402) -- [Cross-Chain](#cross-chain) -## Ethereum +## Bitcoin -### Trades +### Price & OHLC -#### All DEX trades +#### Latest Bitcoin Price -Every Ethereum DEX trade as it happens. Add a `where` filter to narrow to a token or protocol. +You can stream Bitcoin price at 1-second interval using the [Crypto Price APIs](/docs/trading/crypto-price-api/introduction/). -▶️ [All DEX trades](https://ide.bitquery.io/All-Ethereum-Trade-Stream_1) +▶️ [Latest Bitcoin Price](https://ide.bitquery.io/Stream-Bitcoin-Price-Across-Chains) -#### All swap events +## Solana -Provides information on the latest real-time swap events on Ethereum. You can run it. +### Trades -▶️ [All swap events](https://ide.bitquery.io/all-swap-events) +#### Graduated Tokens -#### Get pair trades data just like dexcsreener +This query gives you tokens which are graduated from Raydium Launchpad to Raydium. -Will subscribe to real-time trade transactions for a pair, providing a continuous stream of data as new trades are processed and recorded. +▶️ [Graduated Tokens](https://ide.bitquery.io/Track-Token-Migrations-to-Raydium-DEX-and-Raydium-CPMM-in-realtime) -▶️ [Get pair trades data just like dexcsreener](https://ide.bitquery.io/Get-pair-trades-data-just-like-dexcsreener) +#### Solana Trades Stream -#### Get pair trades data just like geckoterminal +This subscription streams real-time Solana trades. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Will subscribe to real-time trade transactions for a pair, providing a continuous stream of data as new trades are processed and recorded. +▶️ [Solana Trades Stream](https://ide.bitquery.io/solana-trades-subscription_3) -▶️ [Get pair trades data just like geckoterminal](https://ide.bitquery.io/Get-pair-trades-data-just-like-geckoterminal) +#### All Trade for Bags.fm tokens -#### Latest token trades subscription +Get all trades of Bags FM tokens from Meteora and other DEXs. This Bags FM token trades WebSocket provides comprehensive trading data. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Latest token trades subscription. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. +▶️ [All Trade for Bags.fm tokens](https://ide.bitquery.io/All-Trade-for-Bagsfm-tokens) -▶️ [Latest token trades subscription](https://ide.bitquery.io/latest-token-trades-subscription) +#### CPMM trades -#### Pepe live trades stream +In this section we will see how to get data on Raydium CPMM trades in real-time. You can check out our Pump Fun docs, Raydium v4 docs and Raydium LaunchPad docs too. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Every PEPE DEX trade as it is confirmed on-chain in real time using Bitquery subscription. +▶️ [CPMM trades](https://ide.bitquery.io/CPMM-trades) -▶️ [Pepe live trades stream](https://ide.bitquery.io/pepe-live-trades-stream) +#### Large Token Buys and Sells on Solana DEX -#### Real time trades of an ethereum address +This stream provides real-time large buy and sell on Solana DEXs. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Real time trades of an ethereum address. Uses the `DEXTrades` cube. Replace the address in the `where` clause to use it. +▶️ [Large Token Buys and Sells on Solana DEX](https://ide.bitquery.io/big-trades-on-solana) -▶️ [Real time trades of an ethereum address](https://ide.bitquery.io/Real-time-trades-of-an-ethereum-address) +#### Specific Token Trades Stream -#### Stream new position mints on Fluid DEX Vault +This subscription stream uses DexTradeByTokens API to stream real-time specific token trades. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Track new position mints on the Fluid DEX Vault Factory contract. This query monitors the `NewPositionMinted` event which is emitted when a new position is created on the vault factory. +▶️ [Specific Token Trades Stream](https://ide.bitquery.io/token-trades-subscription) -▶️ [Stream new position mints on Fluid DEX Vault](https://ide.bitquery.io/stream-new-position-mints-on-Fluid-DEX-Vault) +#### Get Solana pair trades data -#### Subscribe to dex trades on ethereum mainnet +Will subscribe to real-time trade transactions for a Solana pair, providing a continuous stream of data as new trades are processed and recorded. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Will get the realtime DEX trades happening on Ethereum Mainnet. Open it in the GraphQL IDE using this. +▶️ [Get Solana pair trades data](https://ide.bitquery.io/Get-Solana-pair-trades-data) -▶️ [Subscribe to dex trades on ethereum mainnet](https://ide.bitquery.io/subscribe-to-dex-trades-on-ethereum-mainnet_2) +#### Get Solana pair trades data just like dexcsreener -#### Trades of a specific trader of a specific token +Will subscribe to real-time trade transactions for a Solana pair, providing a continuous stream of data as new trades are processed and recorded. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Crypto Trades API: filter `Pair.Market.Network: Ethereum` and `Trader.Address`. More examples: Trades API. +▶️ [Get Solana pair trades data just like dexcsreener](https://ide.bitquery.io/Get-Solana-pair-trades-data-just-like-dexcsreener) -▶️ [Trades of a specific trader of a specific token](https://ide.bitquery.io/trades-of-a-specific-trader-of-a-specific-token) +#### Get Solana pair trades data just like geckoTerminal -### Transfers +Will subscribe to real-time trade transactions for a Solana pair, providing a continuous stream of data as new trades are processed and recorded. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Token transfers +▶️ [Get Solana pair trades data just like geckoTerminal](https://ide.bitquery.io/Get-Solana-pair-trades-data-just-like-geckoTerminal_1) -Live ERC-20 transfers. Change the token address to follow a different one. +#### Latest Trades of TESLA onchain xStock -▶️ [Token transfers](https://ide.bitquery.io/Subscribe-to-Latest-WETH-token-transfers_3) +Below query will give you realtime trades of Tesla xStock (TESLAx). Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Pepe whale transfer stream +▶️ [Latest Trades of TESLA onchain xStock](https://ide.bitquery.io/Latest-Trades-of-TESLA-onchain-xStock_1) -Subscribe to PEPE transfers above 1 billion tokens the moment they hit the chain. +### Transfers -▶️ [Pepe whale transfer stream](https://ide.bitquery.io/pepe-whale-transfer-stream) +#### Token Transfers Stream -#### Subscribe to Latest WETH token transfers +This stream provides all token transfers on the Solana blockchain, including SOL transfers. -This example subscribes to WETH (Wrapped Ethereum) token transfers. The contract address is 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2. +▶️ [Token Transfers Stream](https://ide.bitquery.io/Solana-transfers-stream_3) -▶️ [Subscribe to Latest WETH token transfers](https://ide.bitquery.io/Subscribe-to-Latest-WETH-token-transfers) +#### SPL transfers websocket -#### Subscribe to latest Axie infinity token transfers +One of the most common types of transfers on Solana are SPL token transfers. Let's see an example to get the latest SPL token transfers using our API. Today we are taking an example of JUPITER token transfers. -You can open this API on our GraphQL IDE using this. +▶️ [SPL transfers websocket](https://ide.bitquery.io/SPL-transfers-websocket_1) -▶️ [Subscribe to latest Axie infinity token transfers](https://ide.bitquery.io/Subscribe-to-latest-Axie-infinity-token-transfers_1) +#### Solana Websocket - Subscribe to all transfers of specific addresses in realtime -### Balances & Holders +Websockets are priced based on their running time, not the amount of data delivered. -#### Balance of a specific address +▶️ [Solana Websocket - Subscribe to all transfers of specific addresses in realtime](https://ide.bitquery.io/Solana-Websocket---Subscribe-to-all-transfers-of-specific-addresses-in-realtime) -Live balance updates for one wallet. Replace the address. +#### Subscribe to the all transfers on Solana -▶️ [Balance of a specific address](https://ide.bitquery.io/Stream-Token-Balance-Updates-in-Real-Time) +For monitoring the balance changes that result from these transfers, see our Solana Balance Updates API. -#### All transaction balances +▶️ [Subscribe to the all transfers on Solana](https://ide.bitquery.io/Subscribe-to-the-all-transfers-on-Solana) -Every balance change on the chain — high volume, filter before using in production. +#### Transfers of All Tip Payment Accounts on Solana -▶️ [All transaction balances](https://ide.bitquery.io/Subscribe-to-All-Transaction-Balances) +Jito foundation has Tip Payment Program that allows users to transfer tips to a set of static public keys (compared to signing the transaction with the next N leaders) and ensure that the incentives are distributed to the correct block leader, while enabling… -#### Transaction balances for one address +▶️ [Transfers of All Tip Payment Accounts on Solana](https://ide.bitquery.io/Transfers-of-All-Tip-Payment-Accounts-on-Solana) -Balance changes scoped to a single wallet. +#### Transfers of Tip Payment Accounts on Solana -▶️ [Transaction balances for one address](https://ide.bitquery.io/Subscribe-to-Transaction-Balances-for-a-Specific-Address) +The subscription that provides you the transfer data of one of these addresses is. -#### Token balance changes by transaction +▶️ [Transfers of Tip Payment Accounts on Solana](https://ide.bitquery.io/Transfers-of-Tip-Payment-Accounts-on-Solana_1) -Balance deltas for every token, transaction by transaction. +#### Transfers where sender is the specified address -▶️ [Token balance changes by transaction](https://ide.bitquery.io/Track-Any-Token-Balance-Changes-by-Transaction-on-ETH) +Transfers where sender is the specified address. Uses the `Transfers` cube. Replace the address in the `where` clause to use it. -#### Balance update after transfer received from multiple addresses--stream +▶️ [Transfers where sender is the specified address](https://ide.bitquery.io/transfers-where-sender-is-the-specified-address_1) -Balance update after transfer received from multiple addresses--stream. Uses the `TransactionBalances` cube. +### Balances & Holders -▶️ [Balance update after transfer received from multiple addresses--stream](https://ide.bitquery.io/Balance-update-after-transfer-received-from-multiple-addresses--stream) +#### Balance Stream -#### Balance update after transfer received--stream +This stream provides all balance updates on the Solana blockchain. -Balance update after transfer received--stream. Uses the `TransactionBalances` cube. Replace the address in the `where` clause to use it. +▶️ [Balance Stream](https://ide.bitquery.io/solana-balance-update-stream_3) -▶️ [Balance update after transfer received--stream](https://ide.bitquery.io/Balance-update-after-transfer-received--stream) +### Price & OHLC -#### Balance update after transfer sent from multiple addresses--stream +#### Token price stream from top market (rank 1) -Balance update after transfer sent from multiple addresses--stream. Uses the `TransactionBalances` cube. +Streams a Solana token's price from its top market, one-second intervals, quoted in USD. Prices the token from its single top market rather than blending every pool, which is what you want for one specific token. -▶️ [Balance update after transfer sent from multiple addresses--stream](https://ide.bitquery.io/Balance-update-after-transfer-sent-from-multiple-addresses--stream) +▶️ [Token price stream from top market (rank 1)](https://ide.bitquery.io/Token-price-stream-from-top-market--rank-1) -#### Balance update after transfer sent--stream +#### Real-Time Token Prices in USD on Solana -Balance update after transfer sent--stream. Uses the `TransactionBalances` cube. Replace the address in the `where` clause to use it. +Stream live OHLC (Open, High, Low, Close) price and volume data for all tokens on Solana, quoted directly in USD. Useful for dashboards, analytics, or bots that need stable fiat-based prices. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -▶️ [Balance update after transfer sent--stream](https://ide.bitquery.io/Balance-update-after-transfer-sent--stream_3) +▶️ [Real-Time Token Prices in USD on Solana](https://ide.bitquery.io/Real-Time-usd-price-on-solana-chain) -#### Balance update from transfer for an address--stream +#### GoonFi Realtime OHLC, Price, Volume API - Crypto Price API -Balance update from transfer for an address--stream. Uses the `TransactionBalances` cube. Replace the address in the `where` clause to use it. +Below API will give you realtime prices, OHLC, and volume data for all GoonFi trading pairs. We have selected `1` sec as the interval for the OHLC, volume or moving average calculation. -▶️ [Balance update from transfer for an address--stream](https://ide.bitquery.io/balance-update-from-transfer-for-an-address--stream) +▶️ [GoonFi Realtime OHLC, Price, Volume API - Crypto Price API](https://ide.bitquery.io/GoonFi-Realtime-OHLC-Price-Volume-API---Crypto-Price-API_1) -#### Balance update from transfer for multiple addresses--stream +#### 1-Second OHLC Stream -Balance update from transfer for multiple addresses--stream. Uses the `TransactionBalances` cube. +This subscription generates a real-time OHLC (Open, High, Low, Close) K-line chart for Solana in real-time, useful for Tradingview charting in real-time. -▶️ [Balance update from transfer for multiple addresses--stream](https://ide.bitquery.io/balance-update-from-transfer-for-multiple-addresses--stream) +▶️ [1-Second OHLC Stream](https://ide.bitquery.io/1-second-OHLC-k-line-Solana) -### Price & OHLC +#### Byreal token live prices using trades api -#### 1-second OHLC candles +Lock onto one token with `Pair.Token.Id` (e.g. `bid:solana:`) and the Byreal program address. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -Rolling one-second candles for charting. +▶️ [Byreal token live prices using trades api](https://ide.bitquery.io/Byreal-token-live-prices-using-trades-api) -▶️ [1-second OHLC candles](https://ide.bitquery.io/1-second-OHLC-k-line-Ethereum) +#### Latest price for more than 1 markets on solana — historical (beyond 30 days) -#### Token price stream +You can retrieve data from multiple Solana DEX markets using our APIs or streams. The. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Live USD price updates as trades land. +▶️ [Latest price for more than 1 markets on solana — historical (beyond 30 days)](https://ide.bitquery.io/latest-price-for-more-than-1-markets-on-solana_1) -▶️ [Token price stream](https://ide.bitquery.io/token-price-stream) +#### Latest price for more than 1 markets on solana for specific currencies — historical (beyond 30 days) -#### 1 second crypto price stream +Latest price for more than 1 markets on solana for specific currencies. Uses the `DEXTrades` cube. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -For a live ticker, use the Crypto Price API stream. +▶️ [Latest price for more than 1 markets on solana for specific currencies — historical (beyond 30 days)](https://ide.bitquery.io/latest-price-for-more-than-1-markets-on-solana-for-specific-currencies) -▶️ [1 second crypto price stream](https://ide.bitquery.io/1-second-crypto-price-stream) +#### Real-time Token Prices on Solana — historical (beyond 30 days) -#### Pepe-ohlcv-stream +This stream delivers real-time token prices on Solana based on the latest trades. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Stream live PEPE price data with 1-minute candles, moving averages, and USD volume. +▶️ [Real-time Token Prices on Solana — historical (beyond 30 days)](https://ide.bitquery.io/Real-time-price-stream-for-specific-token-on-solana) -▶️ [Pepe-ohlcv-stream](https://ide.bitquery.io/pepe-ohlcv-stream) +#### Get Latest Price of SOL in USD Real-time — historical (beyond 30 days) -### Supply & Market Cap +Get Latest Price of SOL in USD Real-time. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Token market cap stream +▶️ [Get Latest Price of SOL in USD Real-time — historical (beyond 30 days)](https://ide.bitquery.io/Get-Latest-Price-of-SOL-in--USD-Real-time) -Live market cap updates for Ethereum tokens. +#### Get realtime Price of Apple xStock in USD Real-time — historical (beyond 30 days) -▶️ [Token market cap stream](https://ide.bitquery.io/ethereum-token-marketcap-stream_1) +You can use the following query to get the latest price of a Apple xStock on Solana. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Tokens crossing $1M market cap +▶️ [Get realtime Price of Apple xStock in USD Real-time — historical (beyond 30 days)](https://ide.bitquery.io/Get-realtime-Price-of-Apple-xStock-in--USD-Real-time) -Only tokens above a market cap floor. Change the threshold in the `where` clause. +#### Price of a moonshot token — historical (beyond 30 days) -▶️ [Tokens crossing $1M market cap](https://ide.bitquery.io/realtime-stream-ethereum-tokens-with-marketcap-above-1-million) +The below query gets real-time price of the specified Token `A1XqfcD1vMEhUNwEKvBVRWFV48ZLDL4oheFVCPEcM3Vk` on the Moonit DEX. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Token supply changes +▶️ [Price of a moonshot token — historical (beyond 30 days)](https://ide.bitquery.io/Price-of-a-Moonshot-token) -Mints and burns as they change a token's supply. +### Supply & Market Cap -▶️ [Token supply changes](https://ide.bitquery.io/latest-token-supply-on-eth-chain) +#### Realtime heaven tokens with marketcap 10k -#### All trades on Ethereum with Price, Marketcap, supply +Subscribe when the token is on Solana, `Market.Protocol` is `Heaven`, `Supply.MarketCap` > 10,000 (USD), and interval duration > 1 second. Adjust `gt` to change the threshold. -Stream all Ethereum DEX trades in real time with USD price, market cap, FDV, circulating supply, and transaction fee data. Filter by `Pair.Market.Network: Ethereum` to capture every swap across all Ethereum DEXs in a single subscription. +▶️ [Realtime heaven tokens with marketcap 10k](https://ide.bitquery.io/realtime-heaven-tokens-with-marketcap-10k) -▶️ [All trades on Ethereum with Price, Marketcap, supply](https://ide.bitquery.io/All-trades-on-Ethereum-with-Price-Marketcap-supply) +#### Solana tokens with market cap above $1 million (Trading API) -### Liquidity & Pools +Subscribe when **`Token.Id`** matches Solana and **`Supply.MarketCap`** > 1,000,000 USD. -#### Realtime slippage monitoring +▶️ [Solana tokens with market cap above $1 million (Trading API)](https://ide.bitquery.io/realtime-stream-solana-tokens-with-marketcap-above-1-million) -Slippage on every trade as it happens, across all pools. +#### All trades on Solana with Price, Marketcap, supply -▶️ [Realtime slippage monitoring](https://ide.bitquery.io/realtime-slippage-on-ethereum) +Stream all Solana DEX trades in real time with USD price, market cap, FDV, circulating supply, and transaction fee data. -#### Realtime Liquidity Stream +▶️ [All trades on Solana with Price, Marketcap, supply](https://ide.bitquery.io/All-trades-on-Solana-with-Price-Marketcap-supply) -This subscription query returns real-time liquidity data for all DEX pools on Ethereum. You can monitor liquidity changes, pool reserves, and spot prices as trades and liquidity modifications occur across all pools. +#### Get All DEX Trades on DBC With Price, Market Cap, and Supply -▶️ [Realtime Liquidity Stream](https://ide.bitquery.io/Realtime-Liquidity-Stream_4) +Stream all Meteora DBC DEX trades in real time with USD price, market cap, FDV, circulating supply, and transaction fee data. Filter by `Pair.Market.Protocol: dynamic_bonding_curve` to capture every swap across Meteora DBC in a single subscription. -#### Realtime Liquidity Stream of a Specific Pool +▶️ [Get All DEX Trades on DBC With Price, Market Cap, and Supply](https://ide.bitquery.io/Get-All-DEX-Trades-on-DBC-With-Price-Market-Cap-and-Supply) -This subscription query monitors real-time liquidity changes for a specific DEX pool on Ethereum. Use this to track liquidity events, pool reserves, and spot prices for a particular pool as they occur. +#### Bags.fm token creation stream using Solana token supply updates -▶️ [Realtime Liquidity Stream of a Specific Pool](https://ide.bitquery.io/Realtime-Liquidity-Stream-of-a-Specific-Pool_4) +Track Bags FM token creation using the Solana TokenSupply API. This endpoint provides Bags FM token data including supply information and creation timestamps. For the same API as a WebSocket stream. -### Transactions +▶️ [Bags.fm token creation stream using Solana token supply updates](https://ide.bitquery.io/Bagsfm-token-creation-stream-using-Solana-token-supply-updates) -#### Get Transaction Hash +#### Get newly created Moonshot tokens with metadata -In this section we will discuss how we can build eth_getTransactionByHash alternatives using Bitquery APIs. +Now you can track the newly created Moonit Tokens along with their metadata and supply. `PostBalance` will give you the current supply for the token. -▶️ [Get Transaction Hash](https://ide.bitquery.io/Get-Transaction-Hash) +▶️ [Get newly created Moonshot tokens with metadata](https://ide.bitquery.io/Get-newly-created-Moonshot-tokens-with-metadata) -### Events & Calls +#### Newly created PF token, dev address, metadata -#### Stream pool and pair creation on ethereum +Now you can track the newly created Pump Fun Tokens along with their dev address, metadata and supply. `PostBalance` will give you the current supply for the token. -Stream pool and pair creation on ethereum. Uses the `Events` cube. +▶️ [Newly created PF token, dev address, metadata](https://ide.bitquery.io/newly-created-PF-token-dev-address-metadata) -▶️ [Stream pool and pair creation on ethereum](https://ide.bitquery.io/stream-pool-and-pair-creation-on-ethereum_1) +### Liquidity & Pools -#### Subscribe to the Same Event Across Multiple Contracts +#### DEXPool Liquidity Changes -In the below query we listen for a specific event (Approval) across multiple smart contracts on the Ethereum (ETH) network. +This stream provides real time liquidity details for all pools on Solana. -▶️ [Subscribe to the Same Event Across Multiple Contracts](https://ide.bitquery.io/Subscribe-to-the-Same-Event-Across-Multiple-Contracts) +▶️ [DEXPool Liquidity Changes](https://ide.bitquery.io/Solana-DEXPools-stream_2) -### Mempool +#### Latest pools created on trends.fun stream -#### Binance Mempool Transactions +Latest pools created on trends.fun stream. Uses the `Instructions` cube. Replace the address in the `where` clause to use it. -Mempool Transactions API provides real-time data from the Binance mempool. You can use it to build applications that require up-to-date information about transactions associated with a specific address. +▶️ [Latest pools created on trends.fun stream](https://ide.bitquery.io/latest-pools-created-on-trendsfun-stream) -▶️ [Binance Mempool Transactions](https://ide.bitquery.io/Binance-Mempool-Transactions_1) +#### Latest price based on liquidity -#### Eth subscribe("logs") +Latest price based on liquidity. Uses the `DEXPools` cube. -You can subscribe to all incoming logs filtered by any of the fields including method signature, tx value,sender , receiver and so on. In the below example we are tracking only logs where the method name is `transfer`. You can run it. +▶️ [Latest price based on liquidity](https://ide.bitquery.io/latest-price-based-on-liquidity_2) -▶️ [Eth subscribe("logs")](https://ide.bitquery.io/eth_subscribelogs) +#### Liquidity for a launchpad token pair stream -#### Eth subscribe(“pendingTransactions”) +Liquidity for a launchpad token pair stream. Uses the `DEXPools` cube. Replace the address in the `where` clause to use it. -To subscribe to incoming pending transactions, use the below subscription. You can run it. +▶️ [Liquidity for a launchpad token pair stream](https://ide.bitquery.io/liquidity-for-a-launchpad-token-pair-stream) -▶️ [Eth subscribe(“pendingTransactions”)](https://ide.bitquery.io/eth_subscribependingTransactions) +#### Search tokens with liquidity over 1 million -#### Current mempool fees +You can use the below query to get the tokens which are getting traded and have liquidity over 1 million USD. -Gas prices being offered by pending transactions right now. +▶️ [Search tokens with liquidity over 1 million](https://ide.bitquery.io/Search-tokens-with-liquidity-over-1-million) -▶️ [Current mempool fees](https://ide.bitquery.io/Get-Mempool-Fees) +#### Trends fun tokens between 95 and 100 bonding curve progress -#### Mempool event stream +Track Trends.fun tokens that are approaching graduation with high bonding curve progress percentages. Run the query. -This query listens to real-time mempool events on the Ethereum (ETH) blockchain. The query is designed to capture details of transactions, logs, events, and arguments from the Ethereum Virtual Machine (EVM) before they are confirmed in a block. +▶️ [Trends fun tokens between 95 and 100 bonding curve progress](https://ide.bitquery.io/trends-fun-tokens-between-95-and-100-bonding-curve-progress) -▶️ [Mempool event stream](https://ide.bitquery.io/Mempool-event-stream) +### Transactions -#### Pending DEX trades in the mempool +#### Realtime Solana Transactions -Swaps sitting in the mempool — see trades before they confirm. +The subscription query below fetches the most recent transactions on the Solana blockchain. -▶️ [Pending DEX trades in the mempool](https://ide.bitquery.io/mempool-token-trades_1) +▶️ [Realtime Solana Transactions](https://ide.bitquery.io/Realtime-Solana-Transactions) -#### Pending transfers in the mempool +### Events & Calls -Token transfers that are broadcast but not yet mined. +#### ConsumeEvents instruction on OpenBook V2 -▶️ [Pending transfers in the mempool](https://ide.bitquery.io/mempool-transfers_1) +We will use this subscription to listen to `consumeEvents` transactions on OpenBook v2. This instruction processes trade events and other activities such as order cancellations. -#### New pairs being created, from the mempool +▶️ [ConsumeEvents instruction on OpenBook V2](https://ide.bitquery.io/consumeEvents-instruction-on-OpenBook-V2_3) -Catches pool creation at broadcast time rather than after the block. +### Pump.fun -▶️ [New pairs being created, from the mempool](https://ide.bitquery.io/PairCreated-in-Mempool) +#### PumpFun Token Creation -#### Vrs signature +This subscription tracks in real-time newly created Pumpfun tokens, including their metadata and associated developer addresses. -The following subscription query retrieves real-time mempool transactions and includes key details such as the block time, block number, transaction hash, transaction cost, and the V, R, S components of the transaction signature. You can run it. +▶️ [PumpFun Token Creation](https://ide.bitquery.io/newly-created-PF-token-developer-address-metadata) -▶️ [Vrs signature](https://ide.bitquery.io/vrs-signature) +#### PumpFun Trades Stream + +This stream returns the real time trades on Pumpfun platform. This stream could be modified to get real time trades for a particular token or trades by a particular trader. + +▶️ [PumpFun Trades Stream](https://ide.bitquery.io/Pumpfun-DEX-Trades_1) + +#### Pumpswap Trades Stream + +This stream returns the real time trades on Pumpswap exchange. This stream could be modified to get real time trades for a particular token or trades by a particular trader. + +▶️ [Pumpswap Trades Stream](https://ide.bitquery.io/pumpswap-trades) + +#### Get All DEX Trades on Pumpfun With Price, Market Cap, and Supply + +Stream all PumpFun DEX trades in real time with USD price, market cap, FDV, circulating supply, and transaction fee data. Filter by `Pair.Market.ProtocolFamily: Pumpfun` to capture every swap across Pumpfun in a single subscription. + +▶️ [Get All DEX Trades on Pumpfun With Price, Market Cap, and Supply](https://ide.bitquery.io/Get-All-DEX-Trades-on-Pumpfun-With-Price-Market-Cap-and-Supply) + +#### Latest Trades for a token on Pumpswap + +Subscribe to `DEXTradeByTokens` with PumpSwap `ProgramAddress` and the token mint. Each update is a new trade involving that token on PumpSwap—use this to stream per-token activity without polling. + +▶️ [Latest Trades for a token on Pumpswap](https://ide.bitquery.io/Latest-Trades-for-a-token-on-Pumpswap) + +#### Price of a pump fun token using price index in usd + +Live stream of token price updates on Pump.fun. + +▶️ [Price of a pump fun token using price index in usd](https://ide.bitquery.io/Price-of-a-pump-fun-token-using-price-index-in-usd) + +### 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) + +### Meteora + +#### Jup studio token migrations from Meteora DBC to Meteors DEX + +We monitor Meteora DBC program address `dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN` for migration instructions including `migrate_meteora_damm` and `migration_damm_v2`. + +▶️ [Jup studio token migrations from Meteora DBC to Meteors DEX](https://ide.bitquery.io/jup-studio-token-migrations-from-Meteora-DBC-to-Meteors-DEX_1) + +#### Liquidity addition for meteora + +In this section, we will discover data streams that provides us with the real time events of liquidity addition and liquidity removal for the Meteora DEX, which has `Meteora` as the Protocol Family. + +▶️ [Liquidity addition for meteora](https://ide.bitquery.io/liquidity-addition-for-meteora_1) + +#### Liquidity removal for meteora + +Liquidity removal for meteora. Uses the `DEXPools` cube. + +▶️ [Liquidity removal for meteora](https://ide.bitquery.io/liquidity-removal-for-meteora_1) + +#### Meteora DBC token migrations to Meteors DEX + +Below query will give you the latest migrated tokens Meteora DBC in realtime. + +▶️ [Meteora DBC token migrations to Meteors DEX](https://ide.bitquery.io/meteora-DBC-token-migrations-to-Meteors-DEX) + +#### Real time trades on Meteora Dynamic Bonding Curve on Solana + +The below query gets real-time information whenever there's a new trade on the Meteora DBC including detailed information about the trade, including the buy and sell details, the block information, and the transaction specifics. + +▶️ [Real time trades on Meteora Dynamic Bonding Curve on Solana](https://ide.bitquery.io/Real-time-trades-on-Meteora-Dynamic-Bonding-Curve-on-Solana) + +#### Real time trades on MeteoraDAMMv2 DEX on Solana + +This query subscribes to real-time trades on the Meteora DAMM v2 (Dynamic Automated Market Maker) on the Solana blockchain by filtering using the program address `cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG`. + +▶️ [Real time trades on MeteoraDAMMv2 DEX on Solana](https://ide.bitquery.io/Real-time-trades-on-MeteoraDAMMv2-DEX-on-Solana) + +### Orca + +#### Latest pool created on Orca - Websocket + +For instance, Index 1 and 2 represent the tokens involved in the pool, while Index 4 is for the pool's address. Note that the indexing starts from 0. + +▶️ [Latest pool created on Orca - Websocket](https://ide.bitquery.io/Latest-pool-created-on-Orca---Websocket_1) + +#### Liquidity addition for orca whirlpool + +In this section, we will discover data streams that provides us with the real time events of liquidity addition and liquidity removal for the Orca Whirlpool DEX, which has `whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc` as the Program Address. + +▶️ [Liquidity addition for orca whirlpool](https://ide.bitquery.io/liquidity-addition-for-orca-whirlpool_1) + +#### Liquidity removal for orca whirlpool + +With Orca’s program and negative base change, stream liquidity removals from Whirlpool markets. + +▶️ [Liquidity removal for orca whirlpool](https://ide.bitquery.io/liquidity-removal-for-orca-whirlpool_1) + +#### Orca DEX Trades Websocket + +To access a real-time stream of trades for Solana Orca DEX. + +▶️ [Orca DEX Trades Websocket](https://ide.bitquery.io/Orca-DEX-Trades-Websocket) + +#### Orca DEX Trades for a specific currency Websocket + +By setting the limit to 1, you will receive the most recent trade, which reflects the latest price of the token. + +▶️ [Orca DEX Trades for a specific currency Websocket](https://ide.bitquery.io/Orca-DEX-Trades-for-a-specific-currency-Websocket) + +#### Price of a token on Orca + +You can use the following query to get the latest price of a token, we have used WSOL address here in the below example. We are getting realtime price of WSOL on Orca DEX on Solana in different pools. + +▶️ [Price of a token on Orca](https://ide.bitquery.io/Price-of-a-token-on-Orca) + +### Jupiter + +#### Latest Cancel Expired Order Transactions on Jupiter in realtime + +We track Jupiter's Limit Order program address `jupoNjAxXgZ4rjzxzPMP4oxduvQsQtZzyknqvzYNrNu` for `cancelExpiredOrder` instructions. The query returns transaction signatures, account details, and program arguments for expired order cancellations. + +▶️ [Latest Cancel Expired Order Transactions on Jupiter in realtime](https://ide.bitquery.io/Latest-Cancel-Expired-Order-Transactions-on-Jupiter-in-realtime_1) + +#### Latest Cancel Limit Order Transactions on Jupiter in realtime + +We track Jupiter's Limit Order program address `jupoNjAxXgZ4rjzxzPMP4oxduvQsQtZzyknqvzYNrNu` for `cancelOrder` instructions. The query returns input mint addresses, maker addresses, reserve addresses, and cancellation details. + +▶️ [Latest Cancel Limit Order Transactions on Jupiter in realtime](https://ide.bitquery.io/Latest-Cancel-Limit-Order-Transactions-on-Jupiter-in-realtime) + +#### Tokens involved in Jupiter swap, source address, destination address, DEX involved + +We monitor Jupiter's program address `JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4` for `sharedAccountsRoute` instructions to track swap activity. The query returns tokens involved in swaps, source and destination addresses, and routing information. + +▶️ [Tokens involved in Jupiter swap, source address, destination address, DEX involved](https://ide.bitquery.io/Tokens-involved-in-Jupiter-swap-source-address-destination-address-DEX-involved_2) + +## Robinhood Chain + +### Trades + +#### Latest DEX Trades on Robinhood Chain + +Latest DEX trades on Robinhood Chain (chain id 4663) via the Trading API, with price and USD amounts. + +▶️ [Latest DEX Trades on Robinhood Chain](https://ide.bitquery.io/Robinhood-Trades) + +#### Bags amm trade websocket + +Stream every Bags trade as it is indexed via a GraphQL `subscription` on `Trading.Trades`, scoped to the Bags protocol family on Robinhood. Includes side (buy/sell), trader, base/quote amounts (native and USD), market cap, and full transaction header. + +▶️ [Bags amm trade websocket](https://ide.bitquery.io/bags-amm-trade-websocket) + +#### Robinhood Chain API - Trades for a Token + +Using this GraphQL stream you can get real-time trades for a specific token (example: AssetHood, `ASSETH`) with details such as trader address, token details, marketcap, FDV and transaction hash. + +▶️ [Robinhood Chain API - Trades for a Token](https://ide.bitquery.io/Robinhood-Trades-for-a-token) + +#### Stream Robinhood Chain Trades in Real Time + +These are live examples — meme tokens go quiet over time, so swap in any token, pool, or trader you care about. + +▶️ [Stream Robinhood Chain Trades in Real Time](https://ide.bitquery.io/stream-robinhood-chain-trades) + +#### Pools trade Stream new Crowd Launch auctions + +Every Crowd Launch deploys its auction through the auction factory `0x000000001f26a0044baa66024e7b6599c61963f8`, which emits `AuctionCreated(address,address,uint256,bytes)`. + +▶️ [Pools trade Stream new Crowd Launch auctions](https://ide.bitquery.io/Pools-trade-Stream-new-Crowd-Launch-auctions) + +### Transfers + +#### Ape.store Newly created tokens - Websocket + +Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. + +▶️ [Ape.store Newly created tokens - Websocket](https://ide.bitquery.io/Apestore-Newly-created-tokens---Websocket) + +#### Bags.fm Newly created tokens - Websocket + +Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. + +▶️ [Bags.fm Newly created tokens - Websocket](https://ide.bitquery.io/Bagsfm-Newly-created-tokens---Websocket) + +#### Bankr Bot Newly created tokens - Websocket + +Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. + +▶️ [Bankr Bot Newly created tokens - Websocket](https://ide.bitquery.io/Bankr-Bot-Newly-created-tokens---Websocket) + +#### Flap Sh Newly created tokens using transfer data - Websocket + +Track Flap.sh mints as transfers from the zero address with amount `1000000000` in transactions sent to the Flap.sh contract. + +▶️ [Flap Sh Newly created tokens using transfer data - Websocket](https://ide.bitquery.io/Flap-Sh-Newly-created-tokens-using-transfer-data---Websocket) + +#### Hoodfun newly creaed tokens Websocket + +Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. + +▶️ [Hoodfun newly creaed tokens Websocket](https://ide.bitquery.io/hoodfun-newly-creaed-tokens---Websocket) + +#### Klik Finance Newly created tokens using transfers websocket + +Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. + +▶️ [Klik Finance Newly created tokens using transfers websocket](https://ide.bitquery.io/Klik-Finance-Newly-created-tokens-using-transfers-websocket) + +#### Launchpad newly creaed tokens Websocket + +Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. + +▶️ [Launchpad newly creaed tokens Websocket](https://ide.bitquery.io/launchpad-newly-creaed-tokens---Websocket) + +#### Pools trade Stream launches with token detail + +The transfer-based stream returns the token's name, symbol, decimals, and contract in the same payload — everything a sniping bot or listings feed needs, with no follow-up metadata call. It also carries the transaction's gas economics and success flag. + +▶️ [Pools trade Stream launches with token detail](https://ide.bitquery.io/Pools-trade-Stream-launches-with-token-detail) + +#### Real time transfers on robinhood + +Stream live transfers for dashboards, bots, and alerting. + +▶️ [Real time transfers on robinhood](https://ide.bitquery.io/real-time-transfers-on-robinhood) + +### Price & OHLC + +#### Robinhood Chain OHLCV / Candlestick API for a Token Pair + +This GraphQL stream for 1 second OHLCV streams the USD normalised OHLC/K-line data for a token pair, and also contains info such as interval start and end time, marketcap, volume and token details for both base and quote tokens. + +▶️ [Robinhood Chain OHLCV / Candlestick API for a Token Pair](https://ide.bitquery.io/OHLCV-stream-for-a-token-pair-on-robinhood) + +### Liquidity & Pools + +#### Stream New pools.trade Token Launches + +Websocket subscription streaming every new pools.trade token launch on Robinhood Chain the moment it happens. + +▶️ [Stream New pools.trade Token Launches](https://ide.bitquery.io/Pools-trade-Stream-new-launches) + +### Events & Calls + +#### Flap sh Newly created tokens using logs (TokenCreated) - Websocket + +Filter Flap.sh `TokenCreated` events and decode argument values (token address, metadata fields, and related parameters). + +▶️ [Flap sh Newly created tokens using logs (TokenCreated) - Websocket](https://ide.bitquery.io/Flap-sh-Newly-created-tokens-using-logs-TokenCreated---Websocket) + +#### Stream New Tokens on Robinhood Chain (All Launchpads) + +Follow the steps here: How to generate Bitquery API token ➤. + +▶️ [Stream New Tokens on Robinhood Chain (All Launchpads)](https://ide.bitquery.io/stream-new-tokens-robinhood-chain) + +## Polymarket + +### Trades + +#### Real-Time Trades Stream + +Real-Time Trades Stream. + +▶️ [Real-Time Trades Stream](https://ide.bitquery.io/prediction-market-trades-subscription) + +#### Trades for a Specific Market (Stream) + +Subscribe to trades for one market only by filtering on Question.MarketId. Replace the market ID in the query with your target market. + +▶️ [Trades for a Specific Market (Stream)](https://ide.bitquery.io/subscribe-to-specific-market-trades) + +#### Bitcoin Up or Down Trades Stream + +Subscribe to live Polymarket trades for markets whose question title includes "Bitcoin Up or Down". + +▶️ [Bitcoin Up or Down Trades Stream](https://ide.bitquery.io/Bitcoin-Up-or-Down-Trades-Stream) + +#### How do I track high-value or whale trades on Polymarket? + +Use a GraphQL subscription on `PredictionTrades` filtered by `CollateralAmountInUSD: { gt: "10000" }` and `ProtocolName: "polymarket"` to monitor trades exceeding $10,000 USD in real time. Ideal for detecting whale activity and large market movements. + +▶️ [How do I track high-value or whale trades on Polymarket?](https://ide.bitquery.io/How-do-I-track-high-value-or-whale-trades-on-Polymarket) + +#### Large trades on polymarket + +Start by streaming large Polymarket trades. Each event gives you a buyer address to investigate. Change `subscription` to `query` for historical results. + +▶️ [Large trades on polymarket](https://ide.bitquery.io/large-trades--on-polymarket) + +#### Monitoring specific wallets trades in realtime for Ethereum up or down market + +The same wallet-monitoring pattern works for every Polymarket Up or Down market — only the `Question.Title` filter changes. Open any of the pre-built IDE queries below to stream trades for the chain you care about. + +▶️ [Monitoring specific wallets trades in realtime for Ethereum up or down market](https://ide.bitquery.io/monitoring-specific-wallets-trades-in-realtime-for-Ethereum-up-or-down-market) + +#### Monitoring specific wallets trades in realtime for XRP up or down market + +The same wallet-monitoring pattern works for every Polymarket Up or Down market — only the `Question.Title` filter changes. Open any of the pre-built IDE queries below to stream trades for the chain you care about. + +▶️ [Monitoring specific wallets trades in realtime for XRP up or down market](https://ide.bitquery.io/monitoring-specific-wallets-trades-in-realtime-for-XRP-up-or-down-market) + +#### Polymarket AI whale trades stream + +Streams live AI-market trades above a USD threshold (here `$5,000`). This is ideal for whale-alert bots and detecting large, conviction bets. Filter with a `Question.Title` keyword, or swap it for a single-market `MarketId`. + +▶️ [Polymarket AI whale trades stream](https://ide.bitquery.io/Polymarket-AI-whale-trades-stream) + +#### Polymarket whale trades alert + +Stream successful Polymarket trades whose collateral exceeds $10,000 USD. Adjust the threshold string as needed. + +▶️ [Polymarket whale trades alert](https://ide.bitquery.io/polymarket-whale-trades-alert_1) + +### Markets + +#### Real-Time Management Stream (Creations + Resolutions) + +Real-Time Management Stream (Creations + Resolutions). + +▶️ [Real-Time Management Stream (Creations + Resolutions)](https://ide.bitquery.io/Prediction-Managements-subscription-resolutions-creations) + +#### Real-Time Market Creations + +Subscribe only to new market (Created) events. + +▶️ [Real-Time Market Creations](https://ide.bitquery.io/track-realtime-new-polymarket-creations) + +#### Real-Time Market Resolutions + +Subscribe only to Resolved events. Winning outcome is in Prediction.Outcome; token details (e.g. AssetId) in Prediction.OutcomeToken. + +▶️ [Real-Time Market Resolutions](https://ide.bitquery.io/track-realtime-polymarket-resolutions) + +### Settlements + +#### Real-Time Settlement Stream + +Real-Time Settlement Stream. + +▶️ [Real-Time Settlement Stream](https://ide.bitquery.io/realtime-predicion-market-settlements-stream) + +## Perpetuals + +### Hyperliquid + +#### Hyperliquid Real-time Trades Stream (WebSocket) + +Hyperliquid Real-time Trades Stream (WebSocket). + +▶️ [Hyperliquid Real-time Trades Stream (WebSocket)](https://ide.bitquery.io/hyperliquid-trades-stream) + +#### Hyperliquid Price Updates Stream (WebSocket) + +Hyperliquid Price Updates Stream (WebSocket). + +▶️ [Hyperliquid Price Updates Stream (WebSocket)](https://ide.bitquery.io/hyperliquid-price-updates-stream) + +#### Hyperliquid Real-time Candles Stream (WebSocket) -### Blocks & Validators +Hyperliquid Real-time Candles Stream (WebSocket). -#### Balance after gas fee burn +▶️ [Hyperliquid Real-time Candles Stream (WebSocket)](https://ide.bitquery.io/hyperliquid-candles-stream) -Tracks an address's balance alongside the gas it burns. +### Phoenix -▶️ [Balance after gas fee burn](https://ide.bitquery.io/Monitor-balance-and-gas-fee-paid-for-an-address-using-stream_1) +#### Solana Perps Live Trades Stream (Phoenix Fills) -#### Self-destruct balance events +Stream every stop-loss and take-profit placement as it happens. -Balances released when a contract self-destructs. +▶️ [Solana Perps Live Trades Stream (Phoenix Fills)](https://ide.bitquery.io/solana-perps-live-trades-stream) -▶️ [Self-destruct balance events](https://ide.bitquery.io/All-Self-Destruct-Event-Balances-Stream) +#### Solana Perpetuals Mark Price Stream (Phoenix) -#### Block mining rewards +Solana Perpetuals Mark Price Stream (Phoenix). -Reward paid out per block. +▶️ [Solana Perpetuals Mark Price Stream (Phoenix)](https://ide.bitquery.io/solana-perpetuals-mark-price-stream) -▶️ [Block mining rewards](https://ide.bitquery.io/Track-Block-Mining-Rewards) +## TRON -#### MEV-related balance changes +### Trades -Balance movements tied to MEV payouts and builder rewards. +#### Real-time Trades on Sunpump -▶️ [MEV-related balance changes](https://ide.bitquery.io/Track-MEV-Related-Balance-Updates) +This stream returns all the real time DEX trades happening on Sunpump exchange on the Tron network. You can modify this stream to get the trades of a particular token or trades by a particular trader. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Miner balance changes +▶️ [Real-time Trades on Sunpump](https://ide.bitquery.io/real-time-sunswapTrades) -Balance movements on block producers. +#### Real-time Trades on Tron -▶️ [Miner balance changes](https://ide.bitquery.io/Track-Miner-Balance-Updates) +This stream returns all the real time DEX trades happening on the Tron network. You can modify this stream to get DEX trades on a particular DEX or trades of a particular token or trades by a particular trader. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Validator balance changes +▶️ [Real-time Trades on Tron](https://ide.bitquery.io/Latest-trades-on-Tron) -Balance movements on validator addresses. +#### Sunpump trades -▶️ [Validator balance changes](https://ide.bitquery.io/Track-Validator-Balance-Updates) +To subscribe to latest Sunpump trades you can use. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Validator rewards +▶️ [Sunpump trades](https://ide.bitquery.io/Sunpump-trades) -Rewards paid to validators, block by block. +#### USDT TRC20 DEX Trades -▶️ [Validator rewards](https://ide.bitquery.io/Track-Validator-Rewards) +Real-time DEX trades where USDT is the bought currency on Tron — protocol, buyer and seller, amounts and order IDs. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Filter by MEV Bot or Builder Address +▶️ [USDT TRC20 DEX Trades](https://ide.bitquery.io/USDT-TRC20-DEX-Trades) -Track balance changes for specific MEV bots or block builders. +### Transfers -▶️ [Filter by MEV Bot or Builder Address](https://ide.bitquery.io/Filter-by-MEV-Bot-or-Builder-Address) +#### Real-time Tether USDT Transfers -#### Filter by Miner Address +This subscription streams the latest USDT (TRC20) transfers on the TRON network. You can modify the stream to monitor Transfers of USDT from or to a particular address. -Track balance changes for a specific miner address. +▶️ [Real-time Tether USDT Transfers](https://ide.bitquery.io/usdt-trc20-transfers_1) -▶️ [Filter by Miner Address](https://ide.bitquery.io/Filter-by-Miner-Address) +#### Sender is particular address -#### Filter by Validator Address +Sender is particular address. Uses the `Transfers` cube. -Track balance changes for a specific validator address. +▶️ [Sender is particular address](https://ide.bitquery.io/Sender-is-particular-address) -▶️ [Filter by Validator Address](https://ide.bitquery.io/Filter-by-Validator-Address) +#### Whale transfers of USDT on Tron -### Uniswap +The subscription query below fetches the whale transactions on the Tron network. We have used USDT address `TThzxNRLrW2Brp9DcTQU8i4Wd9udCWEdZ3`. -#### New Uniswap v3 pools +▶️ [Whale transfers of USDT on Tron](https://ide.bitquery.io/Whale-transfers-of-USDT-on-Tron) -Pool creation events as they are mined — new pair detection. +### Price & OHLC -▶️ [New Uniswap v3 pools](https://ide.bitquery.io/Latest-pools-created-Uniswap-v3_10_1) +#### Track price of a tron token in realtime -#### Slippage on Uniswap v4 pools +Provides real-time updates on price of token `TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t` in terms of USDT `TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t`, including details about the DEX. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -Per-trade slippage for v4 pools. +▶️ [Track price of a tron token in realtime](https://ide.bitquery.io/Track-price-of-a-tron-token-in-realtime) -▶️ [Slippage on Uniswap v4 pools](https://ide.bitquery.io/realtime-pair-slippage-on-ethereum-uniswap-v4) +### Supply & Market Cap -#### Uniswap trades +#### Get All DEX Trades on Tron With Price, Market Cap, and Supply -Live trades on Uniswap only. +Crypto Trades API: one row per swap, with USD and supply. Filter `Pair.Market.Network: Tron`. When to use this vs chain DEX APIs. -▶️ [Uniswap trades](https://ide.bitquery.io/All-Ethereum-Uniswap-Trade-Stream) +▶️ [Get All DEX Trades on Tron With Price, Market Cap, and Supply](https://ide.bitquery.io/Get-All-DEX-Trades-on-Tron-With-Price-Market-Cap-and-Supply) -#### Currency pair liquidity events stream +### Transactions -If looking to monitor a currency pair across all virtual pools within Uniswap V4, then this subscription works the best. +#### Monitor TRX address transactions -▶️ [Currency pair liquidity events stream](https://ide.bitquery.io/currency-pair-liquidity-events-stream) +The subscription query below fetches the transactions on the Tron network for the wallet address `TDqSquXBgUCLYvYC4XZgrprLK589dkhSCf`. -#### Latest Liquidity Changes of Pools in a Specific DEX Protocol - Uniswap V4 +▶️ [Monitor TRX address transactions](https://ide.bitquery.io/monitor-TRX-address-transactions) -This subscription query monitors real-time liquidity changes for all pools in a specific DEX protocol on Ethereum. Here we have taken example of Uniswap V4. +### Events & Calls -▶️ [Latest Liquidity Changes of Pools in a Specific DEX Protocol - Uniswap V4](https://ide.bitquery.io/Latest-Liquidity-Changes-of-Pools-in-a-Specific-DEX-Protocol---Uniswap-V4_6) +#### Latest Buy on SunPump -#### Latest pools created Uniswap v3 +You can use following stream to get latest buys on Sunpump. You can try. -Open this query on our GraphQL IDE using this. +▶️ [Latest Buy on SunPump](https://ide.bitquery.io/latest-Buy-on-SunPump) -▶️ [Latest pools created Uniswap v3](https://ide.bitquery.io/Latest-pools-created-Uniswap-v3_9) +#### New tokens on sunpump -## Solana +Will subscribe to the latest created sun pump tokens. You will find the newly created token address in `Log { SmartContract }`. -### Trades +▶️ [New tokens on sunpump](https://ide.bitquery.io/New-tokens-on-sunpump_1) -#### Graduated Tokens +#### Sunpump sell event -This query gives you tokens which are graduated from Raydium Launchpad to Raydium. +You can use following stream to get latest sells on Sunpump. You can try. -▶️ [Graduated Tokens](https://ide.bitquery.io/Track-Token-Migrations-to-Raydium-DEX-and-Raydium-CPMM-in-realtime) +▶️ [Sunpump sell event](https://ide.bitquery.io/sunpump-sell-event) -#### Large Token Buys and Sells on Solana DEX +#### Tron sunpump first time buy event -This stream provides real-time large buy and sell on Solana DEXs. +You can use follow stream to get stream of first time buy event for any new token. -▶️ [Large Token Buys and Sells on Solana DEX](https://ide.bitquery.io/big-trades-on-solana) +▶️ [Tron sunpump first time buy event](https://ide.bitquery.io/Tron-sunpump-first-time-buy-event_1) -#### Solana Trades Stream +### Mempool -This subscription streams real-time Solana trades. +#### Events with argumens -▶️ [Solana Trades Stream](https://ide.bitquery.io/solana-trades-subscription_3) +Events with argumens. Uses the `Events` cube. Replace the address in the `where` clause to use it. -#### Specific Token Trades Stream +▶️ [Events with argumens](https://ide.bitquery.io/Events-with-argumens) -This subscription stream uses DexTradeByTokens API to stream real-time specific token trades. +#### Sunpump trades mempool -▶️ [Specific Token Trades Stream](https://ide.bitquery.io/token-trades-subscription) +We simulate transactions in mempool, therefore you can also get trades directly from mempool using. -#### All Trade for Bags.fm tokens +▶️ [Sunpump trades mempool](https://ide.bitquery.io/Sunpump-trades-mempool) -Get all trades of Bags FM tokens from Meteora and other DEXs. This Bags FM token trades WebSocket provides comprehensive trading data. +#### Tron mempool transfers -▶️ [All Trade for Bags.fm tokens](https://ide.bitquery.io/All-Trade-for-Bagsfm-tokens) +Provides real-time data on token transfers happening in the TRON mempool including the value of the transferred amount in USD. -#### CPMM trades +▶️ [Tron mempool transfers](https://ide.bitquery.io/Tron-mempool-transfers) -In this section we will see how to get data on Raydium CPMM trades in real-time. You can check out our Pump Fun docs, Raydium v4 docs and Raydium LaunchPad docs too. +## Cross-Chain -▶️ [CPMM trades](https://ide.bitquery.io/CPMM-trades) +### Price & OHLC -#### Get Solana pair trades data +#### Crypto Price Stream -Will subscribe to real-time trade transactions for a Solana pair, providing a continuous stream of data as new trades are processed and recorded. +This subscription gives you 1-second OHLC, mean price, averages for all tokens across Solana, Ethereum, BNB, Tron. -▶️ [Get Solana pair trades data](https://ide.bitquery.io/Get-Solana-pair-trades-data) +▶️ [Crypto Price Stream](https://ide.bitquery.io/1-second-crypto-price-stream-with-mcap) -#### Get Solana pair trades data just like dexcsreener +#### Stablecoin 1 sec Price Stream -Will subscribe to real-time trade transactions for a Solana pair, providing a continuous stream of data as new trades are processed and recorded. +This subscription gives you 1-second OHLC, mean price, averages for all stablecoins including USDC, USDT, DAI, USDS etc. -▶️ [Get Solana pair trades data just like dexcsreener](https://ide.bitquery.io/Get-Solana-pair-trades-data-just-like-dexcsreener) +▶️ [Stablecoin 1 sec Price Stream](https://ide.bitquery.io/stablecoin-1-second-price-stream) -#### Get Solana pair trades data just like geckoTerminal +## Ethereum -Will subscribe to real-time trade transactions for a Solana pair, providing a continuous stream of data as new trades are processed and recorded. +### Trades -▶️ [Get Solana pair trades data just like geckoTerminal](https://ide.bitquery.io/Get-Solana-pair-trades-data-just-like-geckoTerminal_1) +#### All DEX trades -#### Latest Trades of TESLA onchain xStock +Every Ethereum DEX trade as it happens. Add a `where` filter to narrow to a token or protocol. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -Below query will give you realtime trades of Tesla xStock (TESLAx). +▶️ [All DEX trades](https://ide.bitquery.io/All-Ethereum-Trade-Stream_1) -▶️ [Latest Trades of TESLA onchain xStock](https://ide.bitquery.io/Latest-Trades-of-TESLA-onchain-xStock_1) +#### Trades of a specific trader of a specific token -### Transfers +Crypto Trades API: filter `Pair.Market.Network: Ethereum` and `Trader.Address`. More examples: Trades API. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -#### Token Transfers Stream +▶️ [Trades of a specific trader of a specific token](https://ide.bitquery.io/trades-of-a-specific-trader-of-a-specific-token) -This stream provides all token transfers on the Solana blockchain, including SOL transfers. +#### All swap events -▶️ [Token Transfers Stream](https://ide.bitquery.io/Solana-transfers-stream_3) +Provides information on the latest real-time swap events on Ethereum. You can run it. -#### SPL transfers websocket +▶️ [All swap events](https://ide.bitquery.io/all-swap-events) -One of the most common types of transfers on Solana are SPL token transfers. Let's see an example to get the latest SPL token transfers using our API. Today we are taking an example of JUPITER token transfers. +#### Stream new position mints on Fluid DEX Vault -▶️ [SPL transfers websocket](https://ide.bitquery.io/SPL-transfers-websocket_1) +Track new position mints on the Fluid DEX Vault Factory contract. This query monitors the `NewPositionMinted` event which is emitted when a new position is created on the vault factory. -#### Solana Websocket - Subscribe to all transfers of specific addresses in realtime +▶️ [Stream new position mints on Fluid DEX Vault](https://ide.bitquery.io/stream-new-position-mints-on-Fluid-DEX-Vault) -Websockets are priced based on their running time, not the amount of data delivered. +#### Latest token trades subscription — historical (beyond 30 days) -▶️ [Solana Websocket - Subscribe to all transfers of specific addresses in realtime](https://ide.bitquery.io/Solana-Websocket---Subscribe-to-all-transfers-of-specific-addresses-in-realtime) +Latest token trades subscription. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Subscribe to the all transfers on Solana +▶️ [Latest token trades subscription — historical (beyond 30 days)](https://ide.bitquery.io/latest-token-trades-subscription) -For monitoring the balance changes that result from these transfers, see our Solana Balance Updates API. +#### Real time trades of an ethereum address — historical (beyond 30 days) -▶️ [Subscribe to the all transfers on Solana](https://ide.bitquery.io/Subscribe-to-the-all-transfers-on-Solana) +Real time trades of an ethereum address. Uses the `DEXTrades` cube. Replace the address in the `where` clause to use it. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Transfers of All Tip Payment Accounts on Solana +▶️ [Real time trades of an ethereum address — historical (beyond 30 days)](https://ide.bitquery.io/Real-time-trades-of-an-ethereum-address) -Jito foundation has Tip Payment Program that allows users to transfer tips to a set of static public keys (compared to signing the transaction with the next N leaders) and ensure that the incentives are distributed to the correct block leader, while enabling… +#### Subscribe to dex trades on ethereum mainnet — historical (beyond 30 days) -▶️ [Transfers of All Tip Payment Accounts on Solana](https://ide.bitquery.io/Transfers-of-All-Tip-Payment-Accounts-on-Solana) +Will get the realtime DEX trades happening on Ethereum Mainnet. Open it in the GraphQL IDE using this. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Transfers of Tip Payment Accounts on Solana +▶️ [Subscribe to dex trades on ethereum mainnet — historical (beyond 30 days)](https://ide.bitquery.io/subscribe-to-dex-trades-on-ethereum-mainnet_2) -The subscription that provides you the transfer data of one of these addresses is. +#### Get pair trades data just like dexcsreener — historical (beyond 30 days) -▶️ [Transfers of Tip Payment Accounts on Solana](https://ide.bitquery.io/Transfers-of-Tip-Payment-Accounts-on-Solana_1) +Will subscribe to real-time trade transactions for a pair, providing a continuous stream of data as new trades are processed and recorded. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -#### Transfers where sender is the specified address +▶️ [Get pair trades data just like dexcsreener — historical (beyond 30 days)](https://ide.bitquery.io/Get-pair-trades-data-just-like-dexcsreener) -Transfers where sender is the specified address. Uses the `Transfers` cube. Replace the address in the `where` clause to use it. +#### Get pair trades data just like geckoterminal — historical (beyond 30 days) -▶️ [Transfers where sender is the specified address](https://ide.bitquery.io/transfers-where-sender-is-the-specified-address_1) +Will subscribe to real-time trade transactions for a pair, providing a continuous stream of data as new trades are processed and recorded. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -### Balances & Holders +▶️ [Get pair trades data just like geckoterminal — historical (beyond 30 days)](https://ide.bitquery.io/Get-pair-trades-data-just-like-geckoterminal) -#### Balance Stream +#### Pepe live trades stream — historical (beyond 30 days) -This stream provides all balance updates on the Solana blockchain. +Every PEPE DEX trade as it is confirmed on-chain in real time using Bitquery subscription. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Balance Stream](https://ide.bitquery.io/solana-balance-update-stream_3) +▶️ [Pepe live trades stream — historical (beyond 30 days)](https://ide.bitquery.io/pepe-live-trades-stream) -### Price & OHLC +### Transfers -#### 1-Second OHLC Stream +#### Token transfers -This subscription generates a real-time OHLC (Open, High, Low, Close) K-line chart for Solana in real-time, useful for Tradingview charting in real-time. +Live ERC-20 transfers. Change the token address to follow a different one. -▶️ [1-Second OHLC Stream](https://ide.bitquery.io/1-second-OHLC-k-line-Solana) +▶️ [Token transfers](https://ide.bitquery.io/Subscribe-to-Latest-WETH-token-transfers_3) -#### Real-Time Token Prices in USD on Solana +#### Pepe whale transfer stream -Stream live OHLC (Open, High, Low, Close) price and volume data for all tokens on Solana, quoted directly in USD. Useful for dashboards, analytics, or bots that need stable fiat-based prices. +Subscribe to PEPE transfers above 1 billion tokens the moment they hit the chain. -▶️ [Real-Time Token Prices in USD on Solana](https://ide.bitquery.io/Real-Time-usd-price-on-solana-chain) +▶️ [Pepe whale transfer stream](https://ide.bitquery.io/pepe-whale-transfer-stream) -#### Real-time Token Prices on Solana +#### Subscribe to Latest WETH token transfers -This stream delivers real-time token prices on Solana based on the latest trades. +This example subscribes to WETH (Wrapped Ethereum) token transfers. The contract address is 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2. -▶️ [Real-time Token Prices on Solana](https://ide.bitquery.io/Real-time-price-stream-for-specific-token-on-solana) +▶️ [Subscribe to Latest WETH token transfers](https://ide.bitquery.io/Subscribe-to-Latest-WETH-token-transfers) -#### Byreal token live prices using trades api +#### Subscribe to latest Axie infinity token transfers -Lock onto one token with `Pair.Token.Id` (e.g. `bid:solana:`) and the Byreal program address. +You can open this API on our GraphQL IDE using this. -▶️ [Byreal token live prices using trades api](https://ide.bitquery.io/Byreal-token-live-prices-using-trades-api) +▶️ [Subscribe to latest Axie infinity token transfers](https://ide.bitquery.io/Subscribe-to-latest-Axie-infinity-token-transfers_1) -#### Get Latest Price of SOL in USD Real-time +### Balances & Holders -Get Latest Price of SOL in USD Real-time. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. +#### Balance of a specific address -▶️ [Get Latest Price of SOL in USD Real-time](https://ide.bitquery.io/Get-Latest-Price-of-SOL-in--USD-Real-time) +Live balance updates for one wallet. Replace the address. -#### Get realtime Price of Apple xStock in USD Real-time +▶️ [Balance of a specific address](https://ide.bitquery.io/Stream-Token-Balance-Updates-in-Real-Time) -You can use the following query to get the latest price of a Apple xStock on Solana. +#### All transaction balances -▶️ [Get realtime Price of Apple xStock in USD Real-time](https://ide.bitquery.io/Get-realtime-Price-of-Apple-xStock-in--USD-Real-time) +Every balance change on the chain — high volume, filter before using in production. -#### GoonFi Realtime OHLC, Price, Volume API - Crypto Price API +▶️ [All transaction balances](https://ide.bitquery.io/Subscribe-to-All-Transaction-Balances) -Below API will give you realtime prices, OHLC, and volume data for all GoonFi trading pairs. We have selected `1` sec as the interval for the OHLC, volume or moving average calculation. +#### Transaction balances for one address -▶️ [GoonFi Realtime OHLC, Price, Volume API - Crypto Price API](https://ide.bitquery.io/GoonFi-Realtime-OHLC-Price-Volume-API---Crypto-Price-API_1) +Balance changes scoped to a single wallet. -#### Latest price for more than 1 markets on solana +▶️ [Transaction balances for one address](https://ide.bitquery.io/Subscribe-to-Transaction-Balances-for-a-Specific-Address) -You can retrieve data from multiple Solana DEX markets using our APIs or streams. The. +#### Token balance changes by transaction -▶️ [Latest price for more than 1 markets on solana](https://ide.bitquery.io/latest-price-for-more-than-1-markets-on-solana_1) +Balance deltas for every token, transaction by transaction. -#### Latest price for more than 1 markets on solana for specific currencies +▶️ [Token balance changes by transaction](https://ide.bitquery.io/Track-Any-Token-Balance-Changes-by-Transaction-on-ETH) -Latest price for more than 1 markets on solana for specific currencies. Uses the `DEXTrades` cube. +#### Balance update after transfer received from multiple addresses--stream -▶️ [Latest price for more than 1 markets on solana for specific currencies](https://ide.bitquery.io/latest-price-for-more-than-1-markets-on-solana-for-specific-currencies) +Balance update after transfer received from multiple addresses--stream. Uses the `TransactionBalances` cube. -#### Price of a moonshot token +▶️ [Balance update after transfer received from multiple addresses--stream](https://ide.bitquery.io/Balance-update-after-transfer-received-from-multiple-addresses--stream) -The below query gets real-time price of the specified Token `A1XqfcD1vMEhUNwEKvBVRWFV48ZLDL4oheFVCPEcM3Vk` on the Moonit DEX. +#### Balance update after transfer received--stream -▶️ [Price of a moonshot token](https://ide.bitquery.io/Price-of-a-Moonshot-token) +Balance update after transfer received--stream. Uses the `TransactionBalances` cube. Replace the address in the `where` clause to use it. -### Supply & Market Cap +▶️ [Balance update after transfer received--stream](https://ide.bitquery.io/Balance-update-after-transfer-received--stream) -#### Solana tokens with market cap above $1 million (Trading API) +#### Balance update after transfer sent from multiple addresses--stream -Subscribe when **`Token.Id`** matches Solana and **`Supply.MarketCap`** > 1,000,000 USD. +Balance update after transfer sent from multiple addresses--stream. Uses the `TransactionBalances` cube. -▶️ [Solana tokens with market cap above $1 million (Trading API)](https://ide.bitquery.io/realtime-stream-solana-tokens-with-marketcap-above-1-million) +▶️ [Balance update after transfer sent from multiple addresses--stream](https://ide.bitquery.io/Balance-update-after-transfer-sent-from-multiple-addresses--stream) -#### All trades on Solana with Price, Marketcap, supply +#### Balance update after transfer sent--stream -Stream all Solana DEX trades in real time with USD price, market cap, FDV, circulating supply, and transaction fee data. +Balance update after transfer sent--stream. Uses the `TransactionBalances` cube. Replace the address in the `where` clause to use it. -▶️ [All trades on Solana with Price, Marketcap, supply](https://ide.bitquery.io/All-trades-on-Solana-with-Price-Marketcap-supply) +▶️ [Balance update after transfer sent--stream](https://ide.bitquery.io/Balance-update-after-transfer-sent--stream_3) -#### Bags.fm token creation stream using Solana token supply updates +#### Balance update from transfer for an address--stream -Track Bags FM token creation using the Solana TokenSupply API. This endpoint provides Bags FM token data including supply information and creation timestamps. For the same API as a WebSocket stream. +Balance update from transfer for an address--stream. Uses the `TransactionBalances` cube. Replace the address in the `where` clause to use it. -▶️ [Bags.fm token creation stream using Solana token supply updates](https://ide.bitquery.io/Bagsfm-token-creation-stream-using-Solana-token-supply-updates) +▶️ [Balance update from transfer for an address--stream](https://ide.bitquery.io/balance-update-from-transfer-for-an-address--stream) -#### Get All DEX Trades on DBC With Price, Market Cap, and Supply +#### Balance update from transfer for multiple addresses--stream -Stream all Meteora DBC DEX trades in real time with USD price, market cap, FDV, circulating supply, and transaction fee data. Filter by `Pair.Market.Protocol: dynamic_bonding_curve` to capture every swap across Meteora DBC in a single subscription. +Balance update from transfer for multiple addresses--stream. Uses the `TransactionBalances` cube. -▶️ [Get All DEX Trades on DBC With Price, Market Cap, and Supply](https://ide.bitquery.io/Get-All-DEX-Trades-on-DBC-With-Price-Market-Cap-and-Supply) +▶️ [Balance update from transfer for multiple addresses--stream](https://ide.bitquery.io/balance-update-from-transfer-for-multiple-addresses--stream) -#### Get newly created Moonshot tokens with metadata +### Price & OHLC -Now you can track the newly created Moonit Tokens along with their metadata and supply. `PostBalance` will give you the current supply for the token. +#### 1-second OHLC candles -▶️ [Get newly created Moonshot tokens with metadata](https://ide.bitquery.io/Get-newly-created-Moonshot-tokens-with-metadata) +Rolling one-second candles for charting. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -#### Newly created PF token, dev address, metadata +▶️ [1-second OHLC candles](https://ide.bitquery.io/1-second-OHLC-k-line-Ethereum) -Now you can track the newly created Pump Fun Tokens along with their dev address, metadata and supply. `PostBalance` will give you the current supply for the token. +#### 1 second crypto price stream -▶️ [Newly created PF token, dev address, metadata](https://ide.bitquery.io/newly-created-PF-token-dev-address-metadata) +For a live ticker, use the Crypto Price API stream. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -#### Realtime heaven tokens with marketcap 10k +▶️ [1 second crypto price stream](https://ide.bitquery.io/1-second-crypto-price-stream) -Subscribe when the token is on Solana, `Market.Protocol` is `Heaven`, `Supply.MarketCap` > 10,000 (USD), and interval duration > 1 second. Adjust `gt` to change the threshold. +#### Pepe-ohlcv-stream -▶️ [Realtime heaven tokens with marketcap 10k](https://ide.bitquery.io/realtime-heaven-tokens-with-marketcap-10k) +Stream live PEPE price data with 1-minute candles, moving averages, and USD volume. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -### Liquidity & Pools +▶️ [Pepe-ohlcv-stream](https://ide.bitquery.io/pepe-ohlcv-stream) -#### DEXPool Liquidity Changes +#### Token price stream — historical (beyond 30 days) -This stream provides real time liquidity details for all pools on Solana. +Live USD price updates as trades land. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [DEXPool Liquidity Changes](https://ide.bitquery.io/Solana-DEXPools-stream_2) +▶️ [Token price stream — historical (beyond 30 days)](https://ide.bitquery.io/token-price-stream) -#### Latest pools created on trends.fun stream +### Supply & Market Cap -Latest pools created on trends.fun stream. Uses the `Instructions` cube. Replace the address in the `where` clause to use it. +#### Token market cap stream -▶️ [Latest pools created on trends.fun stream](https://ide.bitquery.io/latest-pools-created-on-trendsfun-stream) +Live market cap updates for Ethereum tokens. -#### Latest price based on liquidity +▶️ [Token market cap stream](https://ide.bitquery.io/ethereum-token-marketcap-stream_1) -Latest price based on liquidity. Uses the `DEXPools` cube. +#### Tokens crossing $1M market cap -▶️ [Latest price based on liquidity](https://ide.bitquery.io/latest-price-based-on-liquidity_2) +Only tokens above a market cap floor. Change the threshold in the `where` clause. -#### Liquidity for a launchpad token pair stream +▶️ [Tokens crossing $1M market cap](https://ide.bitquery.io/realtime-stream-ethereum-tokens-with-marketcap-above-1-million) -Liquidity for a launchpad token pair stream. Uses the `DEXPools` cube. Replace the address in the `where` clause to use it. +#### All trades on Ethereum with Price, Marketcap, supply -▶️ [Liquidity for a launchpad token pair stream](https://ide.bitquery.io/liquidity-for-a-launchpad-token-pair-stream) +Stream all Ethereum DEX trades in real time with USD price, market cap, FDV, circulating supply, and transaction fee data. Filter by `Pair.Market.Network: Ethereum` to capture every swap across all Ethereum DEXs in a single subscription. -#### Search tokens with liquidity over 1 million +▶️ [All trades on Ethereum with Price, Marketcap, supply](https://ide.bitquery.io/All-trades-on-Ethereum-with-Price-Marketcap-supply) -You can use the below query to get the tokens which are getting traded and have liquidity over 1 million USD. +#### Token supply changes -▶️ [Search tokens with liquidity over 1 million](https://ide.bitquery.io/Search-tokens-with-liquidity-over-1-million) +Mints and burns as they change a token's supply. -#### Trends fun tokens between 95 and 100 bonding curve progress +▶️ [Token supply changes](https://ide.bitquery.io/latest-token-supply-on-eth-chain) -Track Trends.fun tokens that are approaching graduation with high bonding curve progress percentages. Run the query. +### Liquidity & Pools -▶️ [Trends fun tokens between 95 and 100 bonding curve progress](https://ide.bitquery.io/trends-fun-tokens-between-95-and-100-bonding-curve-progress) +#### Realtime slippage monitoring -### Transactions +Slippage on every trade as it happens, across all pools. -#### Realtime Solana Transactions +▶️ [Realtime slippage monitoring](https://ide.bitquery.io/realtime-slippage-on-ethereum) -The subscription query below fetches the most recent transactions on the Solana blockchain. +#### Realtime Liquidity Stream -▶️ [Realtime Solana Transactions](https://ide.bitquery.io/Realtime-Solana-Transactions) +This subscription query returns real-time liquidity data for all DEX pools on Ethereum. You can monitor liquidity changes, pool reserves, and spot prices as trades and liquidity modifications occur across all pools. -### Events & Calls +▶️ [Realtime Liquidity Stream](https://ide.bitquery.io/Realtime-Liquidity-Stream_4) -#### ConsumeEvents instruction on OpenBook V2 +#### Realtime Liquidity Stream of a Specific Pool -We will use this subscription to listen to `consumeEvents` transactions on OpenBook v2. This instruction processes trade events and other activities such as order cancellations. +This subscription query monitors real-time liquidity changes for a specific DEX pool on Ethereum. Use this to track liquidity events, pool reserves, and spot prices for a particular pool as they occur. -▶️ [ConsumeEvents instruction on OpenBook V2](https://ide.bitquery.io/consumeEvents-instruction-on-OpenBook-V2_3) +▶️ [Realtime Liquidity Stream of a Specific Pool](https://ide.bitquery.io/Realtime-Liquidity-Stream-of-a-Specific-Pool_4) -### Raydium +### Transactions -#### Latest Pools Created on Raydium +#### Get Transaction Hash -This query returns the latest created pools on Raydium. You can set the limit here also. +In this section we will discuss how we can build eth_getTransactionByHash alternatives using Bitquery APIs. -▶️ [Latest Pools Created on Raydium](https://ide.bitquery.io/Latest-Radiyum-V4-pools-created_1) +▶️ [Get Transaction Hash](https://ide.bitquery.io/Get-Transaction-Hash) -#### Latest Trades on Raydium +### Events & Calls -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. +#### Stream pool and pair creation on ethereum -▶️ [Latest Trades on Raydium](https://ide.bitquery.io/Updated-Real-time-trades-on-Raydium-DEX-on-Solana_1) +Stream pool and pair creation on ethereum. Uses the `Events` cube. -#### New Pool Creation on Raydium CLMM +▶️ [Stream pool and pair creation on ethereum](https://ide.bitquery.io/stream-pool-and-pair-creation-on-ethereum_1) -This stream gives info about the real time liquidity pool creation on Raydium CLMM. +#### Subscribe to the Same Event Across Multiple Contracts -▶️ [New Pool Creation on Raydium CLMM](https://ide.bitquery.io/Raydium-CLMM-Pool-Creation-stream) +In the below query we listen for a specific event (Approval) across multiple smart contracts on the Ethereum (ETH) network. -#### New Pool Creation on Raydium CPMM +▶️ [Subscribe to the Same Event Across Multiple Contracts](https://ide.bitquery.io/Subscribe-to-the-Same-Event-Across-Multiple-Contracts) -This stream gives info about the real time liquidity pool creation on Raydium CPMM. +### Mempool -▶️ [New Pool Creation on Raydium CPMM](https://ide.bitquery.io/CPMM-pools-creation-stream) +#### Binance Mempool Transactions -#### New Pool Creation on Raydium Launchpad +Mempool Transactions API provides real-time data from the Binance mempool. You can use it to build applications that require up-to-date information about transactions associated with a specific address. -This stream gives info about the real time liquidity pool creation on Raydium Launchpad. +▶️ [Binance Mempool Transactions](https://ide.bitquery.io/Binance-Mempool-Transactions_1) -▶️ [New Pool Creation on Raydium Launchpad](https://ide.bitquery.io/Raydium-Launchpad-pool-creations_1) +#### Eth subscribe("logs") -#### New Pool Creation on Raydium v4 +You can subscribe to all incoming logs filtered by any of the fields including method signature, tx value,sender , receiver and so on. In the below example we are tracking only logs where the method name is `transfer`. You can run it. -This stream gives info about the real time liquidity pool creation on Raydium exchange. +▶️ [Eth subscribe("logs")](https://ide.bitquery.io/eth_subscribelogs) -▶️ [New Pool Creation on Raydium v4](https://ide.bitquery.io/Latest-Radiyum-V4-pools-created_5) +#### Eth subscribe(“pendingTransactions”) -#### Track Raydium Launchpad tokens above 95% Bonding Curve Progress in realtime +To subscribe to incoming pending transactions, use the below subscription. You can run it. -Returns Raydium Launchpad tokens which have more than 95% bonding curve progress. +▶️ [Eth subscribe(“pendingTransactions”)](https://ide.bitquery.io/eth_subscribependingTransactions) -▶️ [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) +#### Current mempool fees -### Pump.fun +Gas prices being offered by pending transactions right now. -#### PumpFun Token Creation +▶️ [Current mempool fees](https://ide.bitquery.io/Get-Mempool-Fees) -This subscription tracks in real-time newly created Pumpfun tokens, including their metadata and associated developer addresses. +#### Mempool event stream -▶️ [PumpFun Token Creation](https://ide.bitquery.io/newly-created-PF-token-developer-address-metadata) +This query listens to real-time mempool events on the Ethereum (ETH) blockchain. The query is designed to capture details of transactions, logs, events, and arguments from the Ethereum Virtual Machine (EVM) before they are confirmed in a block. -#### PumpFun Trades Stream +▶️ [Mempool event stream](https://ide.bitquery.io/Mempool-event-stream) -This stream returns the real time trades on Pumpfun platform. This stream could be modified to get real time trades for a particular token or trades by a particular trader. +#### Pending DEX trades in the mempool -▶️ [PumpFun Trades Stream](https://ide.bitquery.io/Pumpfun-DEX-Trades_1) +Swaps sitting in the mempool — see trades before they confirm. -#### Pumpswap Trades Stream +▶️ [Pending DEX trades in the mempool](https://ide.bitquery.io/mempool-token-trades_1) -This stream returns the real time trades on Pumpswap exchange. This stream could be modified to get real time trades for a particular token or trades by a particular trader. +#### Pending transfers in the mempool -▶️ [Pumpswap Trades Stream](https://ide.bitquery.io/pumpswap-trades) +Token transfers that are broadcast but not yet mined. -#### Get All DEX Trades on Pumpfun With Price, Market Cap, and Supply +▶️ [Pending transfers in the mempool](https://ide.bitquery.io/mempool-transfers_1) -Stream all PumpFun DEX trades in real time with USD price, market cap, FDV, circulating supply, and transaction fee data. Filter by `Pair.Market.ProtocolFamily: Pumpfun` to capture every swap across Pumpfun in a single subscription. +#### New pairs being created, from the mempool -▶️ [Get All DEX Trades on Pumpfun With Price, Market Cap, and Supply](https://ide.bitquery.io/Get-All-DEX-Trades-on-Pumpfun-With-Price-Market-Cap-and-Supply) +Catches pool creation at broadcast time rather than after the block. -#### Latest Trades for a token on Pumpswap +▶️ [New pairs being created, from the mempool](https://ide.bitquery.io/PairCreated-in-Mempool) -Subscribe to `DEXTradeByTokens` with PumpSwap `ProgramAddress` and the token mint. Each update is a new trade involving that token on PumpSwap—use this to stream per-token activity without polling. +#### Vrs signature -▶️ [Latest Trades for a token on Pumpswap](https://ide.bitquery.io/Latest-Trades-for-a-token-on-Pumpswap) +The following subscription query retrieves real-time mempool transactions and includes key details such as the block time, block number, transaction hash, transaction cost, and the V, R, S components of the transaction signature. You can run it. -#### Price of a pump fun token using price index in usd +▶️ [Vrs signature](https://ide.bitquery.io/vrs-signature) -Live stream of token price updates on Pump.fun. +### Blocks & Validators -▶️ [Price of a pump fun token using price index in usd](https://ide.bitquery.io/Price-of-a-pump-fun-token-using-price-index-in-usd) +#### Balance after gas fee burn -### Meteora +Tracks an address's balance alongside the gas it burns. -#### Jup studio token migrations from Meteora DBC to Meteors DEX +▶️ [Balance after gas fee burn](https://ide.bitquery.io/Monitor-balance-and-gas-fee-paid-for-an-address-using-stream_1) -We monitor Meteora DBC program address `dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN` for migration instructions including `migrate_meteora_damm` and `migration_damm_v2`. +#### Self-destruct balance events -▶️ [Jup studio token migrations from Meteora DBC to Meteors DEX](https://ide.bitquery.io/jup-studio-token-migrations-from-Meteora-DBC-to-Meteors-DEX_1) +Balances released when a contract self-destructs. -#### Liquidity addition for meteora +▶️ [Self-destruct balance events](https://ide.bitquery.io/All-Self-Destruct-Event-Balances-Stream) -In this section, we will discover data streams that provides us with the real time events of liquidity addition and liquidity removal for the Meteora DEX, which has `Meteora` as the Protocol Family. +#### Block mining rewards -▶️ [Liquidity addition for meteora](https://ide.bitquery.io/liquidity-addition-for-meteora_1) +Reward paid out per block. -#### Liquidity removal for meteora +▶️ [Block mining rewards](https://ide.bitquery.io/Track-Block-Mining-Rewards) -Liquidity removal for meteora. Uses the `DEXPools` cube. +#### MEV-related balance changes -▶️ [Liquidity removal for meteora](https://ide.bitquery.io/liquidity-removal-for-meteora_1) +Balance movements tied to MEV payouts and builder rewards. -#### Meteora DBC token migrations to Meteors DEX +▶️ [MEV-related balance changes](https://ide.bitquery.io/Track-MEV-Related-Balance-Updates) -Below query will give you the latest migrated tokens Meteora DBC in realtime. +#### Miner balance changes -▶️ [Meteora DBC token migrations to Meteors DEX](https://ide.bitquery.io/meteora-DBC-token-migrations-to-Meteors-DEX) +Balance movements on block producers. -#### Real time trades on Meteora Dynamic Bonding Curve on Solana +▶️ [Miner balance changes](https://ide.bitquery.io/Track-Miner-Balance-Updates) -The below query gets real-time information whenever there's a new trade on the Meteora DBC including detailed information about the trade, including the buy and sell details, the block information, and the transaction specifics. +#### Validator balance changes -▶️ [Real time trades on Meteora Dynamic Bonding Curve on Solana](https://ide.bitquery.io/Real-time-trades-on-Meteora-Dynamic-Bonding-Curve-on-Solana) +Balance movements on validator addresses. -#### Real time trades on MeteoraDAMMv2 DEX on Solana +▶️ [Validator balance changes](https://ide.bitquery.io/Track-Validator-Balance-Updates) -This query subscribes to real-time trades on the Meteora DAMM v2 (Dynamic Automated Market Maker) on the Solana blockchain by filtering using the program address `cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG`. +#### Validator rewards -▶️ [Real time trades on MeteoraDAMMv2 DEX on Solana](https://ide.bitquery.io/Real-time-trades-on-MeteoraDAMMv2-DEX-on-Solana) +Rewards paid to validators, block by block. -### Orca +▶️ [Validator rewards](https://ide.bitquery.io/Track-Validator-Rewards) -#### Latest pool created on Orca - Websocket +#### Filter by MEV Bot or Builder Address -For instance, Index 1 and 2 represent the tokens involved in the pool, while Index 4 is for the pool's address. Note that the indexing starts from 0. +Track balance changes for specific MEV bots or block builders. -▶️ [Latest pool created on Orca - Websocket](https://ide.bitquery.io/Latest-pool-created-on-Orca---Websocket_1) +▶️ [Filter by MEV Bot or Builder Address](https://ide.bitquery.io/Filter-by-MEV-Bot-or-Builder-Address) -#### Liquidity addition for orca whirlpool +#### Filter by Miner Address -In this section, we will discover data streams that provides us with the real time events of liquidity addition and liquidity removal for the Orca Whirlpool DEX, which has `whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc` as the Program Address. +Track balance changes for a specific miner address. -▶️ [Liquidity addition for orca whirlpool](https://ide.bitquery.io/liquidity-addition-for-orca-whirlpool_1) +▶️ [Filter by Miner Address](https://ide.bitquery.io/Filter-by-Miner-Address) -#### Liquidity removal for orca whirlpool +#### Filter by Validator Address -With Orca’s program and negative base change, stream liquidity removals from Whirlpool markets. +Track balance changes for a specific validator address. -▶️ [Liquidity removal for orca whirlpool](https://ide.bitquery.io/liquidity-removal-for-orca-whirlpool_1) +▶️ [Filter by Validator Address](https://ide.bitquery.io/Filter-by-Validator-Address) -#### Orca DEX Trades Websocket +### Uniswap -To access a real-time stream of trades for Solana Orca DEX. +#### New Uniswap v3 pools -▶️ [Orca DEX Trades Websocket](https://ide.bitquery.io/Orca-DEX-Trades-Websocket) +Pool creation events as they are mined — new pair detection. -#### Orca DEX Trades for a specific currency Websocket +▶️ [New Uniswap v3 pools](https://ide.bitquery.io/Latest-pools-created-Uniswap-v3_10_1) -By setting the limit to 1, you will receive the most recent trade, which reflects the latest price of the token. +#### Slippage on Uniswap v4 pools -▶️ [Orca DEX Trades for a specific currency Websocket](https://ide.bitquery.io/Orca-DEX-Trades-for-a-specific-currency-Websocket) +Per-trade slippage for v4 pools. -#### Price of a token on Orca +▶️ [Slippage on Uniswap v4 pools](https://ide.bitquery.io/realtime-pair-slippage-on-ethereum-uniswap-v4) -You can use the following query to get the latest price of a token, we have used WSOL address here in the below example. We are getting realtime price of WSOL on Orca DEX on Solana in different pools. +#### Uniswap trades -▶️ [Price of a token on Orca](https://ide.bitquery.io/Price-of-a-token-on-Orca) +Live trades on Uniswap only. -### Jupiter +▶️ [Uniswap trades](https://ide.bitquery.io/All-Ethereum-Uniswap-Trade-Stream) -#### Latest Cancel Expired Order Transactions on Jupiter in realtime +#### Currency pair liquidity events stream -We track Jupiter's Limit Order program address `jupoNjAxXgZ4rjzxzPMP4oxduvQsQtZzyknqvzYNrNu` for `cancelExpiredOrder` instructions. The query returns transaction signatures, account details, and program arguments for expired order cancellations. +If looking to monitor a currency pair across all virtual pools within Uniswap V4, then this subscription works the best. -▶️ [Latest Cancel Expired Order Transactions on Jupiter in realtime](https://ide.bitquery.io/Latest-Cancel-Expired-Order-Transactions-on-Jupiter-in-realtime_1) +▶️ [Currency pair liquidity events stream](https://ide.bitquery.io/currency-pair-liquidity-events-stream) -#### Latest Cancel Limit Order Transactions on Jupiter in realtime +#### Latest Liquidity Changes of Pools in a Specific DEX Protocol - Uniswap V4 -We track Jupiter's Limit Order program address `jupoNjAxXgZ4rjzxzPMP4oxduvQsQtZzyknqvzYNrNu` for `cancelOrder` instructions. The query returns input mint addresses, maker addresses, reserve addresses, and cancellation details. +This subscription query monitors real-time liquidity changes for all pools in a specific DEX protocol on Ethereum. Here we have taken example of Uniswap V4. -▶️ [Latest Cancel Limit Order Transactions on Jupiter in realtime](https://ide.bitquery.io/Latest-Cancel-Limit-Order-Transactions-on-Jupiter-in-realtime) +▶️ [Latest Liquidity Changes of Pools in a Specific DEX Protocol - Uniswap V4](https://ide.bitquery.io/Latest-Liquidity-Changes-of-Pools-in-a-Specific-DEX-Protocol---Uniswap-V4_6) -#### Tokens involved in Jupiter swap, source address, destination address, DEX involved +#### Latest pools created Uniswap v3 -We monitor Jupiter's program address `JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4` for `sharedAccountsRoute` instructions to track swap activity. The query returns tokens involved in swaps, source and destination addresses, and routing information. +Open this query on our GraphQL IDE using this. -▶️ [Tokens involved in Jupiter swap, source address, destination address, DEX involved](https://ide.bitquery.io/Tokens-involved-in-Jupiter-swap-source-address-destination-address-DEX-involved_2) +▶️ [Latest pools created Uniswap v3](https://ide.bitquery.io/Latest-pools-created-Uniswap-v3_9) ## BSC ### Trades -#### Real-time Trades on BSC +#### All BNB Trade Stream -This subscription returns the real-time trades happening on BSC Network. You can modify the stream to get real-time trades for a particular token, a particular token pair and even a particular trader. +Crypto Trades API: one row per swap, with USD and supply. Filter `Pair.Market.Network: Binance Smart Chain`. When to use this vs chain DEX APIs. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -▶️ [Real-time Trades on BSC](https://ide.bitquery.io/subscribe-to-dex-trades-on-BNB-mainnet) +▶️ [All BNB Trade Stream](https://ide.bitquery.io/All-BNB-Trade-Stream) -#### All BNB Trade Stream +#### Real-time Trades on BSC — historical (beyond 30 days) -Crypto Trades API: one row per swap, with USD and supply. Filter `Pair.Market.Network: Binance Smart Chain`. When to use this vs chain DEX APIs. +This subscription returns the real-time trades happening on BSC Network. You can modify the stream to get real-time trades for a particular token, a particular token pair and even a particular trader. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [All BNB Trade Stream](https://ide.bitquery.io/All-BNB-Trade-Stream) +▶️ [Real-time Trades on BSC — historical (beyond 30 days)](https://ide.bitquery.io/subscribe-to-dex-trades-on-BNB-mainnet) -#### Subscribe to bsc dex trades +#### Subscribe to bsc dex trades — historical (beyond 30 days) -This example uses the chain-specific DEXTrades cube via `EVM(network: bsc) { DEXTrades }` (pool-side Buy/Sell; see DEXTrades cube). USD fields can be empty on thin pools. For swap rows with trader + USD, use the stream at the top of this page. +This example uses the chain-specific DEXTrades cube via `EVM(network: bsc) { DEXTrades }` (pool-side Buy/Sell; see DEXTrades cube). USD fields can be empty on thin pools. For swap rows with trader + USD, use the stream at the top of this page. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Subscribe to bsc dex trades](https://ide.bitquery.io/subscribe-to-bsc-dex-trades) +▶️ [Subscribe to bsc dex trades — historical (beyond 30 days)](https://ide.bitquery.io/subscribe-to-bsc-dex-trades) ### Transfers @@ -984,17 +1376,17 @@ Monitor balance and gas fee paid for an address using stream bsc. Uses the `Tran ### Price & OHLC -#### Realtime price of a ETH in terms of WBNB +#### Stream for latest prices for Flap.sh tokens -Provides real-time updates on price of ETH `0x2170Ed0880ac9A755fd29B2688956BD959F933F8` in terms of WBNB `0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c`, including details about the DEX, market, and order specifics. +Subscribe to real-time price updates for all Flap.sh tokens. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -▶️ [Realtime price of a ETH in terms of WBNB](https://ide.bitquery.io/realtime-price-of-a-ETH-in-terms-of-WBNB) +▶️ [Stream for latest prices for Flap.sh tokens](https://ide.bitquery.io/Stream-for-latest-prices-for-Flapsh-tokens) -#### Stream for latest prices for Flap.sh tokens +#### Realtime price of a ETH in terms of WBNB — historical (beyond 30 days) -Subscribe to real-time price updates for all Flap.sh tokens. +Provides real-time updates on price of ETH `0x2170Ed0880ac9A755fd29B2688956BD959F933F8` in terms of WBNB `0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c`, including details about the DEX, market, and order specifics. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Stream for latest prices for Flap.sh tokens](https://ide.bitquery.io/Stream-for-latest-prices-for-Flapsh-tokens) +▶️ [Realtime price of a ETH in terms of WBNB — historical (beyond 30 days)](https://ide.bitquery.io/realtime-price-of-a-ETH-in-terms-of-WBNB) ### Supply & Market Cap @@ -1232,29 +1624,29 @@ Liquidity for v4 pools is reconstructed by stepping through each price range whe ### Trades -#### Base DEX Trades Stream +#### All Base Trade Stream -This stream returns all the real time DEX trades happening on Base. You can modify this stream to get DEX trades on a particular DEX or trades of a particular token or trades by a particular trader. +Crypto Trades API: one row per swap, with USD and supply. Filter `Pair.Market.Network: Base`. When to use this vs chain DEX APIs. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -▶️ [Base DEX Trades Stream](https://ide.bitquery.io/subscribe-to-dex-trades-on-base_1) +▶️ [All Base Trade Stream](https://ide.bitquery.io/All-Base-Trade-Stream) -#### All Base Trade Stream +#### Base DEX Trades Stream — historical (beyond 30 days) -Crypto Trades API: one row per swap, with USD and supply. Filter `Pair.Market.Network: Base`. When to use this vs chain DEX APIs. +This stream returns all the real time DEX trades happening on Base. You can modify this stream to get DEX trades on a particular DEX or trades of a particular token or trades by a particular trader. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [All Base Trade Stream](https://ide.bitquery.io/All-Base-Trade-Stream) +▶️ [Base DEX Trades Stream — historical (beyond 30 days)](https://ide.bitquery.io/subscribe-to-dex-trades-on-base_1) -#### Subscribe to dex trades on base +#### Subscribe to dex trades on base — historical (beyond 30 days) -Read DEXTrades vs DEXTradeByTokens vs Trades cube to get a better understanding on when to use which cube. +Read DEXTrades vs DEXTradeByTokens vs Trades cube to get a better understanding on when to use which cube. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Subscribe to dex trades on base](https://ide.bitquery.io/subscribe-to-dex-trades-on-base) +▶️ [Subscribe to dex trades on base — historical (beyond 30 days)](https://ide.bitquery.io/subscribe-to-dex-trades-on-base) -#### Subscription for Latest Trades for AERO +#### Subscription for Latest Trades for AERO — historical (beyond 30 days) -For this part, we have chosen AERO token as the token is currently trending and have high trade volume. +For this part, we have chosen AERO token as the token is currently trending and have high trade volume. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Subscription for Latest Trades for AERO](https://ide.bitquery.io/Subscription-for-Latest-Trades-for-AERO_1) +▶️ [Subscription for Latest Trades for AERO — historical (beyond 30 days)](https://ide.bitquery.io/Subscription-for-Latest-Trades-for-AERO_1) ### Transfers @@ -1340,35 +1732,35 @@ Monitor transaction fee rewards received by miners. ### Price & OHLC -#### Real-time 1 second OHLC +#### Aerodrome dex - realtime prices, 1-sec ohlc, trading volumes -This stream provides real time price and OHLC stream for all tokens on Base based on trades. +Below API gives you instant access to live Aerodrome market data with pre-calculated OHLC, moving averages, and trading volumes updating every second—no complex calculations needed, just plug and play for your trading bots or analytics platform. -▶️ [Real-time 1 second OHLC](https://ide.bitquery.io/1-second-OHLC-k-line-Base) +▶️ [Aerodrome dex - realtime prices, 1-sec ohlc, trading volumes](https://ide.bitquery.io/aerodrome-dex---realtime-prices-1-sec-ohlc-trading-volumes) -#### Token Price Stream +#### Real-time 1 second OHLC -This stream returns the real time trade price of a token against the token it is traded with and the price in USD. You could modify the stream to get the price of the token for a particular token pair or against a particular token. +This stream provides real time price and OHLC stream for all tokens on Base based on trades. Trading cube — real-time and roughly the last 30 days. For anything older, use the DEXTradeByTokens entries at the bottom of this section. -▶️ [Token Price Stream](https://ide.bitquery.io/token-price-stream_2) +▶️ [Real-time 1 second OHLC](https://ide.bitquery.io/1-second-OHLC-k-line-Base) -#### Aerodrome dex - realtime prices, 1-sec ohlc, trading volumes +#### Price of USDC in terms of DAI on Base network — historical (beyond 30 days) -Below API gives you instant access to live Aerodrome market data with pre-calculated OHLC, moving averages, and trading volumes updating every second—no complex calculations needed, just plug and play for your trading bots or analytics platform. +Provides real-time updates on price of USDC `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913` in terms of DAI `0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb`, including details about the DEX, market, and order specifics. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Aerodrome dex - realtime prices, 1-sec ohlc, trading volumes](https://ide.bitquery.io/aerodrome-dex---realtime-prices-1-sec-ohlc-trading-volumes) +▶️ [Price of USDC in terms of DAI on Base network — historical (beyond 30 days)](https://ide.bitquery.io/Price-of-USDC-in-terms-of-DAI-on-Base-network) -#### Get latest price of DAI in USD on Base +#### Token Price Stream — historical (beyond 30 days) -Retrieves the USD price of a token on Base chain by setting `SmartContract: {is: "0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb"}` . Check the field `PriceInUSD` for the USD value. You can access the query. +This stream returns the real time trade price of a token against the token it is traded with and the price in USD. You could modify the stream to get the price of the token for a particular token pair or against a particular token. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Get latest price of DAI in USD on Base](https://ide.bitquery.io/Get-latest-price-of-DAI-in-USD-on-Base) +▶️ [Token Price Stream — historical (beyond 30 days)](https://ide.bitquery.io/token-price-stream_2) -#### Price of USDC in terms of DAI on Base network +#### Get latest price of DAI in USD on Base — historical (beyond 30 days) -Provides real-time updates on price of USDC `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913` in terms of DAI `0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb`, including details about the DEX, market, and order specifics. +Retrieves the USD price of a token on Base chain by setting `SmartContract: {is: "0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb"}` . Check the field `PriceInUSD` for the USD value. You can access the query. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Price of USDC in terms of DAI on Base network](https://ide.bitquery.io/Price-of-USDC-in-terms-of-DAI-on-Base-network) +▶️ [Get latest price of DAI in USD on Base — historical (beyond 30 days)](https://ide.bitquery.io/Get-latest-price-of-DAI-in-USD-on-Base) ### Supply & Market Cap @@ -1536,7 +1928,7 @@ Stream live liquidity for all Uniswap v4 pools on Base. #### Arbitrum Dextrades subscription -This example uses the chain-specific DEXTrades cube via `EVM(network: arbitrum) { DEXTrades }` (pool-side Buy/Sell; see DEXTrades cube). USD can be weak on thin pools. For trader + USD swap rows, use the stream at the top. +This example uses the chain-specific DEXTrades cube via `EVM(network: arbitrum) { DEXTrades }` (pool-side Buy/Sell; see DEXTrades cube). USD can be weak on thin pools. For trader + USD swap rows, use the stream at the top. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. ▶️ [Arbitrum Dextrades subscription](https://ide.bitquery.io/Arbitrum-Dextrades-subscription) @@ -1602,13 +1994,13 @@ The Uniswap v4 PoolManager contract emits all pool-related events, including poo #### Real time trades for uniswap v4 optimism -The Uniswap v4 PoolManager contract emits all pool-related events, including pool initialization, swaps, and liquidity modifications, and serves as the single on-chain source of truth for Uniswap v4 activity on Optimism. +The Uniswap v4 PoolManager contract emits all pool-related events, including pool initialization, swaps, and liquidity modifications, and serves as the single on-chain source of truth for Uniswap v4 activity on Optimism. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. ▶️ [Real time trades for uniswap v4 optimism](https://ide.bitquery.io/Real-time-trades-for-uniswap-v4-optimism) #### Realtime optimism dex trades websocket -This example uses the chain-specific DEXTrades cube via `EVM(network: optimism) { DEXTrades }` (pool-side Buy/Sell; see DEXTrades cube). USD can be weak on thin pools. For trader + USD swap rows, use the stream at the top. +This example uses the chain-specific DEXTrades cube via `EVM(network: optimism) { DEXTrades }` (pool-side Buy/Sell; see DEXTrades cube). USD can be weak on thin pools. For trader + USD swap rows, use the stream at the top. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. ▶️ [Realtime optimism dex trades websocket](https://ide.bitquery.io/Realtime-optimism-dex-trades-websocket) @@ -1628,17 +2020,17 @@ The subscription query below fetches the whale transactions on the Optimism netw ### Price & OHLC -#### Get latest price of WBTC in USD on optimism +#### Price of WETH in terms of USDC on Optimism -Retrieves the USD price of a token on Optimism by setting `SmartContract: {is: "0x68f180fcCe6836688e9084f035309E29Bf0A2095"}` . Check the field `PriceInUSD` for the USD value. You can access the query. +Provides real-time updates on price of WETH `0x4200000000000000000000000000000000000006` in terms of USD Coin `0x7f5c764cbc14f9669b88837ca1490cca17c31607`, including details about the DEX, market, and order specifics. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Get latest price of WBTC in USD on optimism](https://ide.bitquery.io/Get-latest-price-of-WBTC-in-USD-on-optimism) +▶️ [Price of WETH in terms of USDC on Optimism](https://ide.bitquery.io/Price-of-WETH-in-terms-of-USDC-on-Optimism) -#### Price of WETH in terms of USDC on Optimism +#### Get latest price of WBTC in USD on optimism -Provides real-time updates on price of WETH `0x4200000000000000000000000000000000000006` in terms of USD Coin `0x7f5c764cbc14f9669b88837ca1490cca17c31607`, including details about the DEX, market, and order specifics. +Retrieves the USD price of a token on Optimism by setting `SmartContract: {is: "0x68f180fcCe6836688e9084f035309E29Bf0A2095"}` . Check the field `PriceInUSD` for the USD value. You can access the query. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Price of WETH in terms of USDC on Optimism](https://ide.bitquery.io/Price-of-WETH-in-terms-of-USDC-on-Optimism) +▶️ [Get latest price of WBTC in USD on optimism](https://ide.bitquery.io/Get-latest-price-of-WBTC-in-USD-on-optimism) ## Polygon @@ -1646,13 +2038,13 @@ Provides real-time updates on price of WETH `0x420000000000000000000000000000000 #### Real time trades for uniswap v4 matic -The Uniswap v4 PoolManager contract emits all pool-related events, including pool initialization, swaps, and liquidity modifications, and serves as the single on-chain source of truth for Uniswap v4 activity on Matic. +The Uniswap v4 PoolManager contract emits all pool-related events, including pool initialization, swaps, and liquidity modifications, and serves as the single on-chain source of truth for Uniswap v4 activity on Matic. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. ▶️ [Real time trades for uniswap v4 matic](https://ide.bitquery.io/Real-time-trades-for-uniswap-v4-matic) #### Realtime matic dex trades websocket -Read DEXTrades vs DEXTradeByTokens vs Trades cube to understand when to use which cube. +Read DEXTrades vs DEXTradeByTokens vs Trades cube to understand when to use which cube. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. ▶️ [Realtime matic dex trades websocket](https://ide.bitquery.io/Realtime-matic-dex-trades-websocket) @@ -1666,297 +2058,49 @@ Sender is a particular address. Uses the `Transfers` cube. #### Whale transfers of USDC on matic -The subscription query below fetches the whale transactions on the MATIC network. We have used USDC address `0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359`. - -▶️ [Whale transfers of USDC on matic](https://ide.bitquery.io/Whale-transfers-of-USDC-on-matic) - -### Supply & Market Cap - -#### All trades on Polygon with Price, Marketcap, supply - -Crypto Trades API: one row per swap, with USD and supply. For Polygon use `Pair.Market.Network: Matic`. When to use this vs chain DEX APIs. - -▶️ [All trades on Polygon with Price, Marketcap, supply](https://ide.bitquery.io/All-trades-on-Polygon-with-Price-Marketcap-supply) - -#### Matic token marketcap stream - -Subscribe to `Tokens` where currency id includes `matic`, with interval duration greater than 1 (second). - -▶️ [Matic token marketcap stream](https://ide.bitquery.io/matic-token-marketcap-stream) - -### Liquidity & Pools - -#### Latest Liquidity Changes of Pools in a Specific DEX Protocol - Uniswap V4 - -This subscription query monitors real-time liquidity changes for all pools in a specific DEX protocol on Matic. Here we have taken example of Uniswap V4. - -▶️ [Latest Liquidity Changes of Pools in a Specific DEX Protocol - Uniswap V4](https://ide.bitquery.io/Latest-Liquidity-Changes-of-Pools-in-a-Specific-DEX-Protocol---Uniswap-V4_7) - -#### Realtime Liquidity Stream - -This subscription query returns real-time liquidity data for all DEX pools on Matic. You can monitor liquidity changes, pool reserves, and spot prices as trades and liquidity modifications occur across all pools. - -▶️ [Realtime Liquidity Stream](https://ide.bitquery.io/Realtime-Liquidity-Stream_5) - -#### Realtime Liquidity Stream of a Specific Pool - -This subscription query monitors real-time liquidity changes for a specific DEX pool on Matic. Use this to track liquidity events, pool reserves, and spot prices for a particular pool as they occur. - -▶️ [Realtime Liquidity Stream of a Specific Pool](https://ide.bitquery.io/Realtime-Liquidity-Stream-of-a-Specific-Pool_5) - -#### Realtime slippage on matic - -This subscription query returns real-time slippage data for all DEX pools on Matic. You can monitor price impact and liquidity depth as trades occur. - -▶️ [Realtime slippage on matic](https://ide.bitquery.io/realtime-slippage-on-matic) - -## TRON - -### Trades - -#### Real-time Trades on Sunpump - -This stream returns all the real time DEX trades happening on Sunpump exchange on the Tron network. You can modify this stream to get the trades of a particular token or trades by a particular trader. - -▶️ [Real-time Trades on Sunpump](https://ide.bitquery.io/real-time-sunswapTrades) - -#### Real-time Trades on Tron - -This stream returns all the real time DEX trades happening on the Tron network. You can modify this stream to get DEX trades on a particular DEX or trades of a particular token or trades by a particular trader. - -▶️ [Real-time Trades on Tron](https://ide.bitquery.io/Latest-trades-on-Tron) - -#### Sunpump trades - -To subscribe to latest Sunpump trades you can use. - -▶️ [Sunpump trades](https://ide.bitquery.io/Sunpump-trades) - -#### USDT TRC20 DEX Trades - -Real-time DEX trades where USDT is the bought currency on Tron — protocol, buyer and seller, amounts and order IDs. - -▶️ [USDT TRC20 DEX Trades](https://ide.bitquery.io/USDT-TRC20-DEX-Trades) - -### Transfers - -#### Real-time Tether USDT Transfers - -This subscription streams the latest USDT (TRC20) transfers on the TRON network. You can modify the stream to monitor Transfers of USDT from or to a particular address. - -▶️ [Real-time Tether USDT Transfers](https://ide.bitquery.io/usdt-trc20-transfers_1) - -#### Sender is particular address - -Sender is particular address. Uses the `Transfers` cube. - -▶️ [Sender is particular address](https://ide.bitquery.io/Sender-is-particular-address) - -#### Whale transfers of USDT on Tron - -The subscription query below fetches the whale transactions on the Tron network. We have used USDT address `TThzxNRLrW2Brp9DcTQU8i4Wd9udCWEdZ3`. - -▶️ [Whale transfers of USDT on Tron](https://ide.bitquery.io/Whale-transfers-of-USDT-on-Tron) - -### Price & OHLC - -#### Track price of a tron token in realtime - -Provides real-time updates on price of token `TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t` in terms of USDT `TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t`, including details about the DEX. - -▶️ [Track price of a tron token in realtime](https://ide.bitquery.io/Track-price-of-a-tron-token-in-realtime) - -### Supply & Market Cap - -#### Get All DEX Trades on Tron With Price, Market Cap, and Supply - -Crypto Trades API: one row per swap, with USD and supply. Filter `Pair.Market.Network: Tron`. When to use this vs chain DEX APIs. - -▶️ [Get All DEX Trades on Tron With Price, Market Cap, and Supply](https://ide.bitquery.io/Get-All-DEX-Trades-on-Tron-With-Price-Market-Cap-and-Supply) - -### Transactions - -#### Monitor TRX address transactions - -The subscription query below fetches the transactions on the Tron network for the wallet address `TDqSquXBgUCLYvYC4XZgrprLK589dkhSCf`. - -▶️ [Monitor TRX address transactions](https://ide.bitquery.io/monitor-TRX-address-transactions) - -### Events & Calls - -#### Latest Buy on SunPump - -You can use following stream to get latest buys on Sunpump. You can try. - -▶️ [Latest Buy on SunPump](https://ide.bitquery.io/latest-Buy-on-SunPump) - -#### New tokens on sunpump - -Will subscribe to the latest created sun pump tokens. You will find the newly created token address in `Log { SmartContract }`. - -▶️ [New tokens on sunpump](https://ide.bitquery.io/New-tokens-on-sunpump_1) - -#### Sunpump sell event - -You can use following stream to get latest sells on Sunpump. You can try. - -▶️ [Sunpump sell event](https://ide.bitquery.io/sunpump-sell-event) - -#### Tron sunpump first time buy event - -You can use follow stream to get stream of first time buy event for any new token. - -▶️ [Tron sunpump first time buy event](https://ide.bitquery.io/Tron-sunpump-first-time-buy-event_1) - -### Mempool - -#### Events with argumens - -Events with argumens. Uses the `Events` cube. Replace the address in the `where` clause to use it. - -▶️ [Events with argumens](https://ide.bitquery.io/Events-with-argumens) - -#### Sunpump trades mempool - -We simulate transactions in mempool, therefore you can also get trades directly from mempool using. - -▶️ [Sunpump trades mempool](https://ide.bitquery.io/Sunpump-trades-mempool) - -#### Tron mempool transfers - -Provides real-time data on token transfers happening in the TRON mempool including the value of the transferred amount in USD. - -▶️ [Tron mempool transfers](https://ide.bitquery.io/Tron-mempool-transfers) - -## Robinhood Chain - -### Trades - -#### Latest DEX Trades on Robinhood Chain - -Latest DEX trades on Robinhood Chain (chain id 4663) via the Trading API, with price and USD amounts. - -▶️ [Latest DEX Trades on Robinhood Chain](https://ide.bitquery.io/Robinhood-Trades) - -#### Bags amm trade websocket - -Stream every Bags trade as it is indexed via a GraphQL `subscription` on `Trading.Trades`, scoped to the Bags protocol family on Robinhood. Includes side (buy/sell), trader, base/quote amounts (native and USD), market cap, and full transaction header. - -▶️ [Bags amm trade websocket](https://ide.bitquery.io/bags-amm-trade-websocket) - -#### Pools trade Stream new Crowd Launch auctions - -Every Crowd Launch deploys its auction through the auction factory `0x000000001f26a0044baa66024e7b6599c61963f8`, which emits `AuctionCreated(address,address,uint256,bytes)`. - -▶️ [Pools trade Stream new Crowd Launch auctions](https://ide.bitquery.io/Pools-trade-Stream-new-Crowd-Launch-auctions) - -#### Robinhood Chain API - Trades for a Token - -Using this GraphQL stream you can get real-time trades for a specific token (example: AssetHood, `ASSETH`) with details such as trader address, token details, marketcap, FDV and transaction hash. - -▶️ [Robinhood Chain API - Trades for a Token](https://ide.bitquery.io/Robinhood-Trades-for-a-token) - -#### Stream Robinhood Chain Trades in Real Time - -These are live examples — meme tokens go quiet over time, so swap in any token, pool, or trader you care about. - -▶️ [Stream Robinhood Chain Trades in Real Time](https://ide.bitquery.io/stream-robinhood-chain-trades) - -### Transfers - -#### Ape.store Newly created tokens - Websocket - -Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. - -▶️ [Ape.store Newly created tokens - Websocket](https://ide.bitquery.io/Apestore-Newly-created-tokens---Websocket) - -#### Bags.fm Newly created tokens - Websocket - -Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. - -▶️ [Bags.fm Newly created tokens - Websocket](https://ide.bitquery.io/Bagsfm-Newly-created-tokens---Websocket) - -#### Bankr Bot Newly created tokens - Websocket - -Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. - -▶️ [Bankr Bot Newly created tokens - Websocket](https://ide.bitquery.io/Bankr-Bot-Newly-created-tokens---Websocket) - -#### Flap Sh Newly created tokens using transfer data - Websocket - -Track Flap.sh mints as transfers from the zero address with amount `1000000000` in transactions sent to the Flap.sh contract. - -▶️ [Flap Sh Newly created tokens using transfer data - Websocket](https://ide.bitquery.io/Flap-Sh-Newly-created-tokens-using-transfer-data---Websocket) - -#### Hoodfun newly creaed tokens Websocket - -Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. - -▶️ [Hoodfun newly creaed tokens Websocket](https://ide.bitquery.io/hoodfun-newly-creaed-tokens---Websocket) - -#### Klik Finance Newly created tokens using transfers websocket - -Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. - -▶️ [Klik Finance Newly created tokens using transfers websocket](https://ide.bitquery.io/Klik-Finance-Newly-created-tokens-using-transfers-websocket) - -#### Launchpad newly creaed tokens Websocket - -Every transfer query on this page is identical except two values: the launchpad address in `Transaction.To` and the launch-mint `Amount`. - -▶️ [Launchpad newly creaed tokens Websocket](https://ide.bitquery.io/launchpad-newly-creaed-tokens---Websocket) - -#### Pools trade Stream launches with token detail - -The transfer-based stream returns the token's name, symbol, decimals, and contract in the same payload — everything a sniping bot or listings feed needs, with no follow-up metadata call. It also carries the transaction's gas economics and success flag. - -▶️ [Pools trade Stream launches with token detail](https://ide.bitquery.io/Pools-trade-Stream-launches-with-token-detail) - -#### Real time transfers on robinhood - -Stream live transfers for dashboards, bots, and alerting. +The subscription query below fetches the whale transactions on the MATIC network. We have used USDC address `0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359`. -▶️ [Real time transfers on robinhood](https://ide.bitquery.io/real-time-transfers-on-robinhood) +▶️ [Whale transfers of USDC on matic](https://ide.bitquery.io/Whale-transfers-of-USDC-on-matic) -### Price & OHLC +### Supply & Market Cap -#### Robinhood Chain OHLCV / Candlestick API for a Token Pair +#### All trades on Polygon with Price, Marketcap, supply -This GraphQL stream for 1 second OHLCV streams the USD normalised OHLC/K-line data for a token pair, and also contains info such as interval start and end time, marketcap, volume and token details for both base and quote tokens. +Crypto Trades API: one row per swap, with USD and supply. For Polygon use `Pair.Market.Network: Matic`. When to use this vs chain DEX APIs. -▶️ [Robinhood Chain OHLCV / Candlestick API for a Token Pair](https://ide.bitquery.io/OHLCV-stream-for-a-token-pair-on-robinhood) +▶️ [All trades on Polygon with Price, Marketcap, supply](https://ide.bitquery.io/All-trades-on-Polygon-with-Price-Marketcap-supply) -### Liquidity & Pools +#### Matic token marketcap stream -#### Stream New pools.trade Token Launches +Subscribe to `Tokens` where currency id includes `matic`, with interval duration greater than 1 (second). -Websocket subscription streaming every new pools.trade token launch on Robinhood Chain the moment it happens. +▶️ [Matic token marketcap stream](https://ide.bitquery.io/matic-token-marketcap-stream) -▶️ [Stream New pools.trade Token Launches](https://ide.bitquery.io/Pools-trade-Stream-new-launches) +### Liquidity & Pools -### Events & Calls +#### Latest Liquidity Changes of Pools in a Specific DEX Protocol - Uniswap V4 -#### Flap sh Newly created tokens using logs (TokenCreated) - Websocket +This subscription query monitors real-time liquidity changes for all pools in a specific DEX protocol on Matic. Here we have taken example of Uniswap V4. -Filter Flap.sh `TokenCreated` events and decode argument values (token address, metadata fields, and related parameters). +▶️ [Latest Liquidity Changes of Pools in a Specific DEX Protocol - Uniswap V4](https://ide.bitquery.io/Latest-Liquidity-Changes-of-Pools-in-a-Specific-DEX-Protocol---Uniswap-V4_7) -▶️ [Flap sh Newly created tokens using logs (TokenCreated) - Websocket](https://ide.bitquery.io/Flap-sh-Newly-created-tokens-using-logs-TokenCreated---Websocket) +#### Realtime Liquidity Stream -#### Stream New Tokens on Robinhood Chain (All Launchpads) +This subscription query returns real-time liquidity data for all DEX pools on Matic. You can monitor liquidity changes, pool reserves, and spot prices as trades and liquidity modifications occur across all pools. -Follow the steps here: How to generate Bitquery API token ➤. +▶️ [Realtime Liquidity Stream](https://ide.bitquery.io/Realtime-Liquidity-Stream_5) -▶️ [Stream New Tokens on Robinhood Chain (All Launchpads)](https://ide.bitquery.io/stream-new-tokens-robinhood-chain) +#### Realtime Liquidity Stream of a Specific Pool -## Bitcoin +This subscription query monitors real-time liquidity changes for a specific DEX pool on Matic. Use this to track liquidity events, pool reserves, and spot prices for a particular pool as they occur. -### Price & OHLC +▶️ [Realtime Liquidity Stream of a Specific Pool](https://ide.bitquery.io/Realtime-Liquidity-Stream-of-a-Specific-Pool_5) -#### Latest Bitcoin Price +#### Realtime slippage on matic -You can stream Bitcoin price at 1-second interval using the [Crypto Price APIs](/docs/trading/crypto-price-api/introduction/). +This subscription query returns real-time slippage data for all DEX pools on Matic. You can monitor price impact and liquidity depth as trades occur. -▶️ [Latest Bitcoin Price](https://ide.bitquery.io/Stream-Bitcoin-Price-Across-Chains) +▶️ [Realtime slippage on matic](https://ide.bitquery.io/realtime-slippage-on-matic) ## Trading API @@ -2024,6 +2168,12 @@ There are two ways to track multiple tokens. You can specify token IDs using the ### Price & OHLC +#### Token price stream from top market (rank 1) + +Streams the price of one token from its top market, one-second intervals, quoted in USD. Prices the token from its single top market rather than blending every pool, which is what you want for one specific token. + +▶️ [Token price stream from top market (rank 1)](https://ide.bitquery.io/Token-price-stream-from-top-market--rank-1) + #### FourMeme 1-second Price, OHLC, Volume, SMA, EMA Stream for Traders Track token activity (OHLC, price, volume) every 1 second on FourMeme DEX (BSC). @@ -2042,18 +2192,6 @@ Raydium Launchlab 1-second Price, OHLC, Volume, SMA, EMA Stream for Traders. Use ▶️ [Raydium Launchlab 1-second Price, OHLC, Volume, SMA, EMA Stream for Traders](https://ide.bitquery.io/Raydium-Launchpad-DEX-tokens-1-second-price-stream-with-OHLC) -#### 5 minute price change api on solana - -5 minute price change api on solana. Uses the `Tokens` cube. - -▶️ [5 minute price change api on solana](https://ide.bitquery.io/5-minute-price-change-api-on-solana_6) - -#### Bitcoin currency price stream - -Get real-time Bitcoin OHLC data across all chains. - -▶️ [Bitcoin currency price stream](https://ide.bitquery.io/bitcoin-currency-price-stream) - #### Heaven DEX tokens 1 second price stream with OHLC Real-time (1s) stream of prices, OHLC, and volumes for tokens traded on Heaven DEX (Solana). @@ -2072,6 +2210,18 @@ Real Time USD price on solana chain. Uses the `Pairs` cube. ▶️ [Real Time USD price on solana chain](https://ide.bitquery.io/Real-Time-USD-price-on-solana-chain_2) +#### 5 minute price change api on solana + +5 minute price change api on solana. Uses the `Tokens` cube. + +▶️ [5 minute price change api on solana](https://ide.bitquery.io/5-minute-price-change-api-on-solana_6) + +#### Bitcoin currency price stream + +Get real-time Bitcoin OHLC data across all chains. + +▶️ [Bitcoin currency price stream](https://ide.bitquery.io/bitcoin-currency-price-stream) + ### Supply & Market Cap #### All trades of a specific Ethereum token with Price, Marketcap, supply @@ -2094,20 +2244,6 @@ 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) -### PancakeSwap - -#### Real-time Trades on Pancakeswap - -This subscription returns the real-time trades happening on Pancakeswap. You can modify the stream to get real time trades for a particular token, a particular token pair, and even a particular trader. - -▶️ [Real-time Trades on Pancakeswap](https://ide.bitquery.io/Latest-BSC-PancakeSwap-v3-dextrades---Stream) - -#### PancakeSwap v3 DEX tokens 1 second price stream with OHLC - -PancakeSwap v3 DEX tokens 1 second price stream with OHLC. Uses the `Pairs` cube. Replace the address in the `where` clause to use it. - -▶️ [PancakeSwap v3 DEX tokens 1 second price stream with OHLC](https://ide.bitquery.io/PancakeSwap-v3-DEX-tokens-1-second-price-stream-with-OHLC) - ### Uniswap #### 1-second price, OHLC, volume, SMA and EMA — Uniswap v3 @@ -2148,45 +2284,59 @@ Pump fun token live prices using trades api. Uses the `Trades` cube. ▶️ [Pump fun token live prices using trades api](https://ide.bitquery.io/pump-fun-token-live-prices-using-trades-api_1) +### PancakeSwap + +#### Real-time Trades on Pancakeswap + +This subscription returns the real-time trades happening on Pancakeswap. You can modify the stream to get real time trades for a particular token, a particular token pair, and even a particular trader. + +▶️ [Real-time Trades on Pancakeswap](https://ide.bitquery.io/Latest-BSC-PancakeSwap-v3-dextrades---Stream) + +#### PancakeSwap v3 DEX tokens 1 second price stream with OHLC + +PancakeSwap v3 DEX tokens 1 second price stream with OHLC. Uses the `Pairs` cube. Replace the address in the `where` clause to use it. + +▶️ [PancakeSwap v3 DEX tokens 1 second price stream with OHLC](https://ide.bitquery.io/PancakeSwap-v3-DEX-tokens-1-second-price-stream-with-OHLC) + ## Stablecoins ### Trades #### Solana trades subscription -Solana trades subscription. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. +Solana trades subscription. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. ▶️ [Solana trades subscription](https://ide.bitquery.io/solana-trades-subscription_10_1) -#### Stablecoin Depeg tracking Stream for evm +#### Stablecoin trades for etheruem -Stablecoin Depeg tracking Stream for evm. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. +Stablecoin trades for etheruem. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Stablecoin Depeg tracking Stream for evm](https://ide.bitquery.io/Stablecoin-Depeg-tracking-Stream-for-evm) +▶️ [Stablecoin trades for etheruem](https://ide.bitquery.io/Stablecoin-trades-for-etheruem) -#### Stablecoin Depeg tracking Stream for tron +#### Stablecoin trades for tron -Stablecoin Depeg tracking Stream for tron. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. +Stablecoin trades for tron. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Stablecoin Depeg tracking Stream for tron](https://ide.bitquery.io/Stablecoin-Depeg-tracking-Stream-for-tron) +▶️ [Stablecoin trades for tron](https://ide.bitquery.io/Stablecoin-trades-for-tron) -#### Stablecoin depeg tracking stream for USDC +#### Stablecoin Depeg tracking Stream for evm -Below stream will be able to track specific Stablecoin depeg. In this query example, we are tracking depeg for the stablecoin `EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v` which has a symbol `USDC`. +Stablecoin Depeg tracking Stream for evm. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Stablecoin depeg tracking stream for USDC](https://ide.bitquery.io/stablecoin-depeg-tracking-stream-for-USDC) +▶️ [Stablecoin Depeg tracking Stream for evm](https://ide.bitquery.io/Stablecoin-Depeg-tracking-Stream-for-evm) -#### Stablecoin trades for etheruem +#### Stablecoin Depeg tracking Stream for tron -Stablecoin trades for etheruem. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. +Stablecoin Depeg tracking Stream for tron. Uses the `DEXTradeByTokens` cube. Change the token address in the `where` clause to use it. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Stablecoin trades for etheruem](https://ide.bitquery.io/Stablecoin-trades-for-etheruem) +▶️ [Stablecoin Depeg tracking Stream for tron](https://ide.bitquery.io/Stablecoin-Depeg-tracking-Stream-for-tron) -#### Stablecoin trades for tron +#### Stablecoin depeg tracking stream for USDC -Stablecoin trades for tron. Uses the `DEXTrades` cube. Change the token address in the `where` clause to use it. +Below stream will be able to track specific Stablecoin depeg. In this query example, we are tracking depeg for the stablecoin `EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v` which has a symbol `USDC`. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. -▶️ [Stablecoin trades for tron](https://ide.bitquery.io/Stablecoin-trades-for-tron) +▶️ [Stablecoin depeg tracking stream for USDC](https://ide.bitquery.io/stablecoin-depeg-tracking-stream-for-USDC) ### Transfers @@ -2300,55 +2450,19 @@ Listen to stablecoin payments across all major blockchains. The Mempool option l ▶️ [Latest USDT/USDC Transfer stream on ethereum in Mempool](https://ide.bitquery.io/Latest-USDTUSDC-Transfer-stream-on-ethereum-in-Mempool) -## Perpetuals - -### Trades - -#### Hyperliquid Real-time Trades Stream (WebSocket) - -Hyperliquid Real-time Trades Stream (WebSocket). - -▶️ [Hyperliquid Real-time Trades Stream (WebSocket)](https://ide.bitquery.io/hyperliquid-trades-stream) - -#### Solana Perps Live Trades Stream (Phoenix Fills) - -Stream every stop-loss and take-profit placement as it happens. - -▶️ [Solana Perps Live Trades Stream (Phoenix Fills)](https://ide.bitquery.io/solana-perps-live-trades-stream) - -### Price & OHLC - -#### Hyperliquid Price Updates Stream (WebSocket) - -Hyperliquid Price Updates Stream (WebSocket). - -▶️ [Hyperliquid Price Updates Stream (WebSocket)](https://ide.bitquery.io/hyperliquid-price-updates-stream) - -#### Hyperliquid Real-time Candles Stream (WebSocket) - -Hyperliquid Real-time Candles Stream (WebSocket). - -▶️ [Hyperliquid Real-time Candles Stream (WebSocket)](https://ide.bitquery.io/hyperliquid-candles-stream) - -#### Solana Perpetuals Mark Price Stream (Phoenix) - -Solana Perpetuals Mark Price Stream (Phoenix). - -▶️ [Solana Perpetuals Mark Price Stream (Phoenix)](https://ide.bitquery.io/solana-perpetuals-mark-price-stream) - ## NFTs ### Trades #### NFT Trades on Opensea -This stream allows you to monitor real time NFT trades on OpenSea. It could also be modified to get trades of a particular NFT collection or NFTs traded by a particular trader. +This stream allows you to monitor real time NFT trades on OpenSea. It could also be modified to get trades of a particular NFT collection or NFTs traded by a particular trader. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. ▶️ [NFT Trades on Opensea](https://ide.bitquery.io/Latests-OpenSea-Trades--stream) #### Latest Solana NFT Trades -The subscription query provided below fetches the most recent NFT trades on the Solana blockchain. +The subscription query provided below fetches the most recent NFT trades on the Solana blockchain. Built from raw DEX trades, so it reaches back further than the Trading cube's ~30 days. For live prices prefer the Trading cube entries at the top of this section. ▶️ [Latest Solana NFT Trades](https://ide.bitquery.io/Latest-Solana-NFT-Trades) @@ -2422,92 +2536,6 @@ Monitor NFT transfers for a specific collection across all transactions. This he ▶️ [Track Specific NFT Balance Changes](https://ide.bitquery.io/Track-specific-NFTs-Balance-Changes) -## Polymarket - -### Trades - -#### Real-Time Trades Stream - -Real-Time Trades Stream. - -▶️ [Real-Time Trades Stream](https://ide.bitquery.io/prediction-market-trades-subscription) - -#### Trades for a Specific Market (Stream) - -Subscribe to trades for one market only by filtering on Question.MarketId. Replace the market ID in the query with your target market. - -▶️ [Trades for a Specific Market (Stream)](https://ide.bitquery.io/subscribe-to-specific-market-trades) - -#### Bitcoin Up or Down Trades Stream - -Subscribe to live Polymarket trades for markets whose question title includes "Bitcoin Up or Down". - -▶️ [Bitcoin Up or Down Trades Stream](https://ide.bitquery.io/Bitcoin-Up-or-Down-Trades-Stream) - -#### How do I track high-value or whale trades on Polymarket? - -Use a GraphQL subscription on `PredictionTrades` filtered by `CollateralAmountInUSD: { gt: "10000" }` and `ProtocolName: "polymarket"` to monitor trades exceeding $10,000 USD in real time. Ideal for detecting whale activity and large market movements. - -▶️ [How do I track high-value or whale trades on Polymarket?](https://ide.bitquery.io/How-do-I-track-high-value-or-whale-trades-on-Polymarket) - -#### Large trades on polymarket - -Start by streaming large Polymarket trades. Each event gives you a buyer address to investigate. Change `subscription` to `query` for historical results. - -▶️ [Large trades on polymarket](https://ide.bitquery.io/large-trades--on-polymarket) - -#### Monitoring specific wallets trades in realtime for Ethereum up or down market - -The same wallet-monitoring pattern works for every Polymarket Up or Down market — only the `Question.Title` filter changes. Open any of the pre-built IDE queries below to stream trades for the chain you care about. - -▶️ [Monitoring specific wallets trades in realtime for Ethereum up or down market](https://ide.bitquery.io/monitoring-specific-wallets-trades-in-realtime-for-Ethereum-up-or-down-market) - -#### Monitoring specific wallets trades in realtime for XRP up or down market - -The same wallet-monitoring pattern works for every Polymarket Up or Down market — only the `Question.Title` filter changes. Open any of the pre-built IDE queries below to stream trades for the chain you care about. - -▶️ [Monitoring specific wallets trades in realtime for XRP up or down market](https://ide.bitquery.io/monitoring-specific-wallets-trades-in-realtime-for-XRP-up-or-down-market) - -#### Polymarket AI whale trades stream - -Streams live AI-market trades above a USD threshold (here `$5,000`). This is ideal for whale-alert bots and detecting large, conviction bets. Filter with a `Question.Title` keyword, or swap it for a single-market `MarketId`. - -▶️ [Polymarket AI whale trades stream](https://ide.bitquery.io/Polymarket-AI-whale-trades-stream) - -#### Polymarket whale trades alert - -Stream successful Polymarket trades whose collateral exceeds $10,000 USD. Adjust the threshold string as needed. - -▶️ [Polymarket whale trades alert](https://ide.bitquery.io/polymarket-whale-trades-alert_1) - -### Markets - -#### Real-Time Management Stream (Creations + Resolutions) - -Real-Time Management Stream (Creations + Resolutions). - -▶️ [Real-Time Management Stream (Creations + Resolutions)](https://ide.bitquery.io/Prediction-Managements-subscription-resolutions-creations) - -#### Real-Time Market Creations - -Subscribe only to new market (Created) events. - -▶️ [Real-Time Market Creations](https://ide.bitquery.io/track-realtime-new-polymarket-creations) - -#### Real-Time Market Resolutions - -Subscribe only to Resolved events. Winning outcome is in Prediction.Outcome; token details (e.g. AssetId) in Prediction.OutcomeToken. - -▶️ [Real-Time Market Resolutions](https://ide.bitquery.io/track-realtime-polymarket-resolutions) - -### Settlements - -#### Real-Time Settlement Stream - -Real-Time Settlement Stream. - -▶️ [Real-Time Settlement Stream](https://ide.bitquery.io/realtime-predicion-market-settlements-stream) - ## x402 ### Transfers @@ -2523,19 +2551,3 @@ Real-Time Payment Monitoring for x402 Server. Uses the `Transfers` cube. Real-Time Payment Monitoring for x402 Server on Solana. Uses the `Transfers` cube. Replace the address in the `where` clause to use it. ▶️ [Real-Time Payment Monitoring for x402 Server on Solana](https://ide.bitquery.io/Real-Time---Solana-transfers-stream) - -## Cross-Chain - -### Price & OHLC - -#### Crypto Price Stream - -This subscription gives you 1-second OHLC, mean price, averages for all tokens across Solana, Ethereum, BNB, Tron. - -▶️ [Crypto Price Stream](https://ide.bitquery.io/1-second-crypto-price-stream-with-mcap) - -#### Stablecoin 1 sec Price Stream - -This subscription gives you 1-second OHLC, mean price, averages for all stablecoins including USDC, USDT, DAI, USDS etc. - -▶️ [Stablecoin 1 sec Price Stream](https://ide.bitquery.io/stablecoin-1-second-price-stream) From 74a7e97482933ccbbb649766db714a8936135018 Mon Sep 17 00:00:00 2001 From: Gaurav Agarwal Date: Thu, 27 Aug 2026 13:05:25 +0530 Subject: [PATCH 2/3] docs: add a single-page API reference written for AI assistants New page: docs/start/bitquery-for-ai.md, "Bitquery in One Page". We already publish llms.txt (a curated index of links) and llms-full.txt (the whole corpus, 5 MB). Neither answers "give an AI one thing and let it write correct queries": the index makes it fetch twenty pages, and the corpus is too big and mostly navigation. This page is self-contained instead -- no links to follow, every query written out in full. Covers the endpoints and auth for V2 HTTP, V2 WebSocket and V1; exactly which chains are on V2 (eth, bsc, base, arbitrum, optimism, matic, robinhood, plus Solana, Tron and Hyperliquid) versus V1-only; the cube list per root, taken from schema introspection; datasets and retention; and nine worked queries. Section 6 is the part that matters most for a model, because these are the mistakes that yield a plausible wrong answer rather than an error: - Trading cube token addresses are stored lowercase and the filter is case-sensitive, so a checksummed address returns zero rows and no error. - Balances are cumulative, so a realtime balance is a few hours of delta. - A bare EVM root means Ethereum. - V1 list queries without a date bound die on ClickHouse Code 241. - realtime does not error past its retention window, it just returns less. - Price one token with Pairs + rank 1, not with Tokens. All nine example queries were executed against the live API before publishing. Placed third in the Start sidebar and linked first in llms.txt, so the raw markdown twin at /docs/start/bitquery-for-ai/index.md is the thing to paste into a model. Also splits Perpetuals cleanly by venue: two "Solana perps" queries were sitting in an "Other venues" bucket, but Phoenix is the only Solana perp DEX we index, so they are Phoenix queries that never say the word. Co-Authored-By: Claude Opus 5 --- docs/start/bitquery-for-ai.md | 390 ++++++++++++++++++++++++++++ docs/start/starter-queries.md | 14 +- docs/start/starter-subscriptions.md | 40 +-- sidebars.js | 1 + static/llms.txt | 1 + 5 files changed, 418 insertions(+), 28 deletions(-) create mode 100644 docs/start/bitquery-for-ai.md diff --git a/docs/start/bitquery-for-ai.md b/docs/start/bitquery-for-ai.md new file mode 100644 index 00000000..f82180f4 --- /dev/null +++ b/docs/start/bitquery-for-ai.md @@ -0,0 +1,390 @@ +--- +title: "Bitquery in One Page — Complete Context for AI Assistants" +description: "A single self-contained page describing the Bitquery API: endpoints, chains, cubes, datasets, query rules and worked examples. Paste it into an AI assistant and it can write correct Bitquery queries without reading anything else." +keywords: + [ + "Bitquery for AI", + "Bitquery LLM context", + "blockchain API for AI agents", + "GraphQL blockchain schema", + "Bitquery cheat sheet" + ] +sidebar_position: 2 +--- + +# Bitquery in One Page + +This page is written to be handed to an AI assistant. It is deliberately self-contained: no +navigation, no links to click through, every query written out in full. Paste the whole page +into a model's context and it has enough to write correct Bitquery queries, pick the right +endpoint, and avoid the mistakes that produce silently wrong answers. + +If you are a human, this also works as a one-screen reference. + +--- + +## 1. What Bitquery is + +Bitquery indexes blockchain data — trades, transfers, balances, holders, transactions, events, +contract calls, mempool — and serves it as GraphQL. You do not run nodes. You send a GraphQL +document over HTTP for historical questions, or over WebSocket for a live stream. + +There are two generations of the API and **they are different products with different schemas**. +Choosing the wrong one is the single most common mistake. + +--- + +## 2. Endpoints and authentication + +| Purpose | Endpoint | +| --- | --- | +| V2 queries | `https://streaming.bitquery.io/graphql` | +| V2 subscriptions | `wss://streaming.bitquery.io/graphql` | +| V1 queries | `https://graphql.bitquery.io` | + +Authentication is the same token on both: + +``` +Authorization: Bearer ory_at_YOUR_TOKEN +Content-Type: application/json +``` + +For WebSocket, use the `graphql-transport-ws` (or `graphql-ws`) subprotocol and pass the token +either as an `Authorization` header or as `?token=...` on the URL. Send `connection_init`, wait +for `connection_ack`, then send `subscribe`. + +**Subscriptions only work over WebSocket.** Posting a `subscription` document to the HTTP +endpoint returns `subscriptions must be sent over a websocket connection, not HTTP`. + +--- + +## 3. Which chain lives on which API + +**V2 covers exactly these chains and no others.** + +- EVM root, `network:` argument — `eth`, `bsc`, `base`, `arbitrum`, `optimism`, `matic`, `robinhood` +- `Solana` root — Solana +- `Tron` root — Tron +- `Hyperliquid` root — Hyperliquid perpetuals +- `Trading` root — cross-chain prices and trades, no `network` argument + +**Everything else is V1 only**: Bitcoin, Litecoin, Bitcoin Cash, Dogecoin, Dash, Zcash, +Cardano, Ripple, Stellar, Algorand, Avalanche, Celo, Fantom, Cronos, Klaytn, Moonbeam. + +V1 groups chains under a shared root with a `network` argument: + +- `bitcoin(network: bitcoin | litecoin | bitcash | dogecoin | dash | zcash)` +- `ethereum(network: avalanche | celo_mainnet | fantom | cronos | klaytn | moonbeam | ...)` +- `cardano(network: cardano)`, `ripple(network: ripple)`, `stellar(network: stellar)`, + `algorand(network: algorand)`, `solana(network: solana)` + +**V1 has no subscriptions.** If a chain is V1-only, it has no live stream over GraphQL. + +--- + +## 4. The cubes — which one answers which question + +A "cube" is a top-level dataset. Picking the right cube matters more than writing clever filters. + +**`Trading` (cross-chain, no `network` argument)** — the primary source for prices and trades: + +- `Trading.Pairs` — OHLC and volume for one trading pair on one market. **Use this to price a + single token**, with a rank filter (see §6). +- `Trading.Tokens` — OHLC and volume for a token, blended across every pool it trades in. +- `Trading.Currencies` — a currency across all of its token representations and chains. +- `Trading.Trades` — individual normalised trades across chains. + +**`EVM(network: ...)`** — `Balances`, `Blocks`, `Calls`, `DEXPoolEvents`, `DEXPoolSlippages`, +`DEXTradeByTokens`, `DEXTrades`, `Events`, `Holders`, `MinerRewards`, `PredictionManagements`, +`PredictionSettlements`, `PredictionTrades`, `TransactionBalances`, `Transactions`, `Transfers`, +`Uncles`. + +**`Solana`** — `Blocks`, `DEXOrders`, `DEXPools`, `DEXTradeByTokens`, `DEXTrades`, `Instructions`, +`PerpetualFills`, `PerpetualMarketSummaries`, `PerpetualOrders`, `PerpetualPositions`, +`PerpetualPrices`, `Rewards`, `TokenSupplyUpdates`, `Transactions`, `Transfers`. + +Note: **Solana has no `Balances` cube.** Solana balances are derived from `Transfers`. + +Quick map from question to cube: + +| Question | Cube | +| --- | --- | +| What is this token worth right now? | `Trading.Pairs` with rank 1 | +| Candles for a chart | `Trading.Pairs` (recent) or `DEXTradeByTokens` (older) | +| Every swap on a chain | `EVM.DEXTrades` / `Solana.DEXTrades` | +| Swaps grouped per token | `DEXTradeByTokens` | +| Who holds this token | `EVM.Holders` | +| What does this wallet hold | `EVM.Balances` | +| Token movements | `Transfers` | +| Raw transactions | `Transactions` | +| Decoded logs / contract calls | `Events` / `Calls` | +| Pool reserves, liquidity events | `DEXPoolEvents`, `DEXPools` | +| Pending, not yet mined | any EVM cube with `mempool: true` | + +--- + +## 5. Datasets and how far back data goes + +Every V2 root takes a `dataset` argument: + +- `realtime` — the recent window. This is the **default** if you omit `dataset`. +- `archive` — deep history. +- `combined` — archive and realtime stitched together. + +Retention on `realtime` is short and differs per cube: roughly 12 hours on Solana `DEXTrades`, +about 7 days on Solana `DEXTradeByTokens`, a few days on EVM DEX and transfer cubes, and about +30 days on the `Trading` cubes. + +Two things about this cause most "the data is wrong" reports: + +1. **`realtime` does not error when you ask beyond its window. It silently returns fewer rows.** + A chart just starts late. Always check whether the window you asked for is inside retention. +2. **`archive` and `combined` are not deployed for every cube on every chain.** When they are + not, you get a ClickHouse error like + `no table can query ... consider use realtime dataset`. That is not a bug in your + query, it means that table does not exist for that chain. + +Self-serve plans query `realtime`. Querying `archive` or `combined` needs the historical data +add-on on the plan. + +--- + +## 6. Rules that keep answers correct + +These are the mistakes that produce a plausible-looking wrong number rather than an error. + +**Price one token with `Pairs` and rank 1, not with `Tokens`.** The `Tokens` price is +volume-weighted across every pool, so a thin pool drags it away from the real market. Add +`Ranking: {Position: {eq: 1}}` to take the token's top market only. Always pair it with +`Price: {IsQuotedInUsd: true}` — the rank filter picks the market, not the denomination. + +**In the `Trading` cube, token addresses are stored lowercase and the filter is +case-sensitive.** A checksummed EVM address returns **zero rows and no error**. Lowercase every +address you put in a `Trading` filter. + +**Balances are cumulative, so they cannot be answered from `realtime` alone.** A balance read +from the realtime window is the change over the last few hours, not the balance. Use `archive` +or `combined` for anything balance- or holder-shaped. The same applies to holder counts, token +ownership and net worth. + +**Use the `Trading` cube for recent data and `DEXTradeByTokens` for older.** The `Trading` cubes +cover roughly the last 30 days. Beyond that, rebuild the same numbers from raw trades with +`DEXTradeByTokens`. + +**A bare `EVM` root means Ethereum.** `EVM { ... }` without a `network` argument returns +Ethereum data. Be explicit. + +**On V1, always bound a list query by date.** V1 sorts the whole table otherwise and the query +dies with ClickHouse `Code: 241, memory limit exceeded`. V1 has no relative-date filter, so pass +the date as a variable and move it as needed. + +**Solana `combined` is currently broken** — every Solana cube returns a 500 on +`dataset: combined`. Use `realtime` for recent and `archive` for history. + +**`BalanceUpdates` is being retired.** Do not write new queries against it. + +--- + +## 7. Worked examples + +Every query below was executed against the live API before being written down. + +### Price of one token, from its top market + +```graphql +query ($token: String!, $network: String!) { + Trading { + Pairs( + where: { + Token: { Address: { is: $token }, Network: { is: $network } } + Ranking: { Position: { eq: 1 } } + Interval: { Time: { Duration: { eq: 60 } } } + Price: { IsQuotedInUsd: true } + } + orderBy: { descending: Block_Time } + limit: { count: 1 } + ) { + Token { Symbol Name Address Network } + QuoteToken { Symbol Address } + Market { Name Address } + Price { Ohlc { Open High Low Close } Average { Mean } IsQuotedInUsd } + Volume { Usd Base Quote } + Block { Time } + } + } +} +``` + +Variables — note the lowercase address: + +```json +{ "token": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "network": "Ethereum" } +``` + +`Network` accepts `Ethereum`, `Base`, `Binance Smart Chain`, `Arbitrum`, `Optimism`, `Solana`. + +### Latest DEX trades for a token on an EVM chain + +```graphql +{ + EVM(network: eth) { + DEXTrades( + limit: { count: 10 } + orderBy: { descending: Block_Time } + where: { Trade: { Buy: { Currency: { SmartContract: { is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2" } } } } } + ) { + Block { Time } + Transaction { Hash } + Trade { + Dex { ProtocolName ProtocolFamily } + Buy { Amount Currency { Symbol SmartContract } Buyer } + Sell { Amount Currency { Symbol SmartContract } } + } + } + } +} +``` + +### What a wallet holds + +Balances are cumulative, so this uses `combined`: + +```graphql +query ($address: String!) { + EVM(network: eth, dataset: combined) { + Balances(where: { Balance: { Address: { is: $address } } }) { + Currency { Symbol Name SmartContract } + Balance { Amount(selectWhere: { gt: "0" }) AmountInUSD } + } + } +} +``` + +### Token transfers for a wallet + +```graphql +{ + EVM(network: eth) { + Transfers( + limit: { count: 25 } + orderBy: { descending: Block_Time } + where: { Transfer: { Sender: { is: "0x21a31ee1afc51d94c2efccaa2092ad1028285549" } } } + ) { + Block { Time } + Transaction { Hash } + Transfer { Amount Currency { Symbol SmartContract } Sender Receiver } + } + } +} +``` + +### Solana trades for a token + +```graphql +{ + Solana { + DEXTradeByTokens( + limit: { count: 10 } + orderBy: { descending: Block_Time } + where: { Trade: { Currency: { MintAddress: { is: "So11111111111111111111111111111111111111112" } } } } + ) { + Block { Time } + Trade { + Currency { Symbol MintAddress } + Side { Currency { Symbol MintAddress } } + Dex { ProtocolName } + Price + PriceInUSD + Amount + } + } + } +} +``` + +### A live stream + +Same document shape, `subscription` instead of `query`, sent over WebSocket: + +```graphql +subscription { + EVM(network: eth) { + DEXTrades { + Block { Time } + Trade { + Dex { ProtocolName } + Buy { Amount Currency { Symbol } } + Sell { Amount Currency { Symbol } } + } + } + } +} +``` + +### A V1 chain — Bitcoin and its relatives + +```graphql +{ + bitcoin(network: dogecoin) { + blocks(options: { limit: 10, desc: "height" }) { + height + timestamp { time(format: "%Y-%m-%d %H:%M:%S") } + transactionCount + } + } +} +``` + +Balance of a V1 UTXO address as of a date — received minus spent: + +```graphql +query ($address: String!, $asof: ISO8601DateTime) { + bitcoin(network: bitcoin) { + received: outputs(outputAddress: { is: $address }, date: { till: $asof }) { + value(calculate: sum) + count + } + spent: inputs(inputAddress: { is: $address }, date: { till: $asof }) { + value(calculate: sum) + count + } + } +} +``` + +### Pending transactions, before they are mined + +```graphql +{ + EVM(mempool: true, network: eth) { + Transfers(limit: { count: 10 }) { + Transaction { Hash From To } + Transfer { Amount Currency { Symbol } Sender Receiver } + } + } +} +``` + +--- + +## 8. Errors and what they actually mean + +| Message | Meaning | +| --- | --- | +| `subscriptions must be sent over a websocket connection, not HTTP` | Send the document to `wss://streaming.bitquery.io/graphql` instead. | +| `no table can query ... consider use realtime dataset` | `archive`/`combined` is not deployed for that cube on that chain. | +| `access restricted: your plan only allows "realtime"` | The query asked for `archive` or `combined`; the plan needs the historical data add-on. | +| `402 No active billing period` | No active plan or points on the account. | +| `Code: 241 ... memory limit exceeded` | A V1 list query with no date bound. Add one. | +| `context deadline exceeded` | The server gave up. Narrow the filter or the time window. | +| Zero rows, no error | Either the window is outside `realtime` retention, or a `Trading` address filter was not lowercase. | + +--- + +## 9. Choosing quickly + +1. Is the chain on V2? If not, use V1 and expect no subscriptions. +2. Is the question about price? Use `Trading.Pairs` with rank 1. +3. Is it about balances, holders or ownership? Use `archive`/`combined` — never `realtime`. +4. Is it older than about 30 days? Use `DEXTradeByTokens`, not the `Trading` cubes. +5. Does it need to be live? Same document, `subscription`, over WebSocket. diff --git a/docs/start/starter-queries.md b/docs/start/starter-queries.md index b0ba02cc..3bed4ff0 100644 --- a/docs/start/starter-queries.md +++ b/docs/start/starter-queries.md @@ -1199,20 +1199,18 @@ Stream every stop-loss and take-profit placement as it happens. ▶️ [Phoenix Perps Fills by Trader Wallet - Solana](https://ide.bitquery.io/sol_perps_filled_orders_by_signer) -#### Whale Trades on Solana Perps (Phoenix) - -Positive = received, negative = paid. Replace the field list with `total: sum(of: Position_Funding)` for the net carry cost of holding their positions. - -▶️ [Whale Trades on Solana Perps (Phoenix)](https://ide.bitquery.io/solana-perps-whale-trades) - -### Other venues - #### Trader Realized PnL on Solana Perps Rows with `Size: 0` are markets they've fully closed — drop them and the rest is the live book, with entry prices. ▶️ [Trader Realized PnL on Solana Perps](https://ide.bitquery.io/solana-perps-trader-pnl) +#### Whale Trades on Solana Perps (Phoenix) + +Positive = received, negative = paid. Replace the field list with `total: sum(of: Position_Funding)` for the net carry cost of holding their positions. + +▶️ [Whale Trades on Solana Perps (Phoenix)](https://ide.bitquery.io/solana-perps-whale-trades) + #### Solana Perps OHLC Candles from Mark Price As a `query`, add `orderBy: { descending: Block_Time }` and a `limit` for the recent whale prints. diff --git a/docs/start/starter-subscriptions.md b/docs/start/starter-subscriptions.md index 6b2787b9..f1e0dd4c 100644 --- a/docs/start/starter-subscriptions.md +++ b/docs/start/starter-subscriptions.md @@ -2244,26 +2244,6 @@ 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 - -#### 1-second price, OHLC, volume, SMA and EMA — Uniswap v3 - -One-second candles with moving averages for Uniswap v3 tokens, built for trading front-ends. - -▶️ [1-second price, OHLC, volume, SMA and EMA — Uniswap v3](https://ide.bitquery.io/Uniswap-v3-DEX-tokens-1-second-price-stream-with-OHLC) - -#### Stream all Uniswap Seconds OHLC Kline - -Subscribe to `Trading.Pairs` filtered by Uniswap protocols and 1s interval to power sub-minute charts and HFT analytics. - -▶️ [Stream all Uniswap Seconds OHLC Kline](https://ide.bitquery.io/Stream-all-Uniswap-Seconds-OHLC-Kline) - -#### Uniswap all versions trades stream - -Filter `DEXTrades` with `ProtocolName` in `uniswap_v3`, `uniswap_v2`, `uniswap_v1` to stream only Uniswap family pools on mainnet. - -▶️ [Uniswap all versions trades stream](https://ide.bitquery.io/uniswap-all-versions-trades-stream) - ### Pump.fun #### All Pumpswap Trade Stream @@ -2298,6 +2278,26 @@ 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) +### Uniswap + +#### 1-second price, OHLC, volume, SMA and EMA — Uniswap v3 + +One-second candles with moving averages for Uniswap v3 tokens, built for trading front-ends. + +▶️ [1-second price, OHLC, volume, SMA and EMA — Uniswap v3](https://ide.bitquery.io/Uniswap-v3-DEX-tokens-1-second-price-stream-with-OHLC) + +#### Stream all Uniswap Seconds OHLC Kline + +Subscribe to `Trading.Pairs` filtered by Uniswap protocols and 1s interval to power sub-minute charts and HFT analytics. + +▶️ [Stream all Uniswap Seconds OHLC Kline](https://ide.bitquery.io/Stream-all-Uniswap-Seconds-OHLC-Kline) + +#### Uniswap all versions trades stream + +Filter `DEXTrades` with `ProtocolName` in `uniswap_v3`, `uniswap_v2`, `uniswap_v1` to stream only Uniswap family pools on mainnet. + +▶️ [Uniswap all versions trades stream](https://ide.bitquery.io/uniswap-all-versions-trades-stream) + ## Stablecoins ### Trades diff --git a/sidebars.js b/sidebars.js index c64e50c7..01232e23 100644 --- a/sidebars.js +++ b/sidebars.js @@ -17,6 +17,7 @@ const sidebars = { items: [ "start/learning-path", "start/first-query", + "start/bitquery-for-ai", "start/starter-queries", "start/starter-subscriptions", "tools-directory", diff --git a/static/llms.txt b/static/llms.txt index 6c754280..6ae0da2f 100644 --- a/static/llms.txt +++ b/static/llms.txt @@ -6,6 +6,7 @@ ## Start here +- [**Bitquery in one page**](https://docs.bitquery.io/docs/start/bitquery-for-ai/) — the whole API as one self-contained page: endpoints, chains, cubes, datasets, rules and worked queries. Written to be pasted into an AI assistant's context. Raw markdown: https://docs.bitquery.io/docs/start/bitquery-for-ai/index.md - [Docs home](https://docs.bitquery.io/) — platform overview and navigation - [GraphQL IDE](https://ide.bitquery.io/) — run queries in the browser, no setup - [First query in 5 minutes](https://docs.bitquery.io/docs/start/first-query/) From d1857cde8cc8103bc9ce98106096b551cd10d5df Mon Sep 17 00:00:00 2001 From: Gaurav Agarwal Date: Thu, 27 Aug 2026 13:25:41 +0530 Subject: [PATCH 3/3] docs: correct the V1 streaming claim and record the V1-to-V2 migration Auditing the page I had just written turned up a claim I got wrong. It said "V1 has no subscriptions". Introspecting the V1 schema shows a subscription root does exist -- ethereum(network: EthereumNetwork) -- so the blanket statement is false. What is actually true, and now what the page says: there is no documented V1 WebSocket endpoint, so V2 is the answer for anything live, and the chains outside the V1 EVM family (Bitcoin and relatives, Cardano, Ripple, Stellar, Algorand) genuinely have no GraphQL stream. Adds two facts a model needs and cannot infer: - Ethereum, BSC, Tron and Polygon are migrating off V1, so they should always be queried on V2 even though the V1 schema still accepts them. - Root capitalisation carries the version. V1 roots are lowercase -- ethereum(, tron(, solana(, bitcoin( -- and V2 roots are capitalised -- EVM(, Tron(, Solana(, Trading. A lowercase root means a V1 document. That last one is not cosmetic: an audit script of mine matched roots case-insensitively and reported 20 false V1 violations on Tron, all of which were ordinary V2 Tron( queries. Co-Authored-By: Claude Opus 5 --- docs/start/bitquery-for-ai.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/start/bitquery-for-ai.md b/docs/start/bitquery-for-ai.md index f82180f4..4b676e0f 100644 --- a/docs/start/bitquery-for-ai.md +++ b/docs/start/bitquery-for-ai.md @@ -78,7 +78,17 @@ V1 groups chains under a shared root with a `network` argument: - `cardano(network: cardano)`, `ripple(network: ripple)`, `stellar(network: stellar)`, `algorand(network: algorand)`, `solana(network: solana)` -**V1 has no subscriptions.** If a chain is V1-only, it has no live stream over GraphQL. +**Ethereum, BSC, Tron and Polygon are being migrated off V1. Always query them on V2**, even +though the V1 schema still accepts them. + +**Root names carry the version.** V1 roots are lowercase — `ethereum(`, `tron(`, `solana(`, +`bitcoin(`. V2 roots are capitalised — `EVM(`, `Tron(`, `Solana(`, `Trading`. If you see a +lowercase root, it is a V1 document and belongs on the V1 endpoint. + +**Streaming is a V2 feature.** V1's schema does expose a subscription root, but only +`ethereum(network: ...)`, and there is no documented V1 WebSocket endpoint — use V2 for +anything live. Chains that exist only on V1 and are not in the V1 EVM family — Bitcoin and its +relatives, Cardano, Ripple, Stellar, Algorand — have no GraphQL stream at all. ---