diff --git a/docs/start/starter-queries.md b/docs/start/starter-queries.md index 3bed4ff0..6dcf9c3f 100644 --- a/docs/start/starter-queries.md +++ b/docs/start/starter-queries.md @@ -31,6 +31,8 @@ Every query below is saved in the [Bitquery IDE](https://ide.bitquery.io) and wa - [Polygon](#polygon) - [Avalanche](#avalanche) - [Celo](#celo) +- [Cronos](#cronos) +- [Klaytn](#klaytn) - [Litecoin](#litecoin) - [Bitcoin Cash](#bitcoin-cash) - [Dogecoin](#dogecoin) @@ -38,7 +40,9 @@ Every query below is saved in the [Bitquery IDE](https://ide.bitquery.io) and wa - [Zcash](#zcash) - [Cardano](#cardano) - [Ripple](#ripple) +- [Stellar](#stellar) - [Algorand](#algorand) +- [Filecoin](#filecoin) - [Trading API](#trading-api) - [Stablecoins](#stablecoins) - [NFTs](#nfts) @@ -3461,6 +3465,12 @@ Recent token transfers on Avalanche. Add a `currency` filter to follow one token ### Balances & Holders +#### Balance of an address at a past date + +What one Avalanche address held as of a chosen date. Move the date in the Variables pane. + +▶️ [Balance of an address at a past date](https://ide.bitquery.io/Avalanche-Balance-of-an-address-at-a-past-date) + #### Balances of an address Native and token balances held by one Avalanche address. Replace the address to use it. @@ -3539,6 +3549,116 @@ The most recent blocks on Celo, with height, time, gas used and transaction coun ▶️ [Latest blocks](https://ide.bitquery.io/Celo-Latest-blocks) +## Cronos + +### Transfers + +#### Latest token transfers + +Recent token transfers on Cronos. Add a `currency` filter to follow one token, or a sender/receiver filter to follow one wallet. + +▶️ [Latest token transfers](https://ide.bitquery.io/Cronos-Latest-token-transfers) + +### Balances & Holders + +#### Balance of an address at a past date + +What one Cronos address held as of a chosen date. Move the date in the Variables pane. + +▶️ [Balance of an address at a past date](https://ide.bitquery.io/Cronos-Balance-of-an-address-at-a-past-date) + +#### Balances of an address + +Native and token balances held by one Cronos address. Replace the address to use it. + +▶️ [Balances of an address](https://ide.bitquery.io/Cronos-Balances-of-an-address) + +### Transactions + +#### Latest transactions + +Recent Cronos 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/Cronos-Latest-transactions) + +### Events & Calls + +#### Latest smart contract events + +Decoded event logs on Cronos. Filter by `smartContractAddress` to watch a single contract. + +▶️ [Latest smart contract events](https://ide.bitquery.io/Cronos-Latest-smart-contract-events) + +### Blocks & Validators + +#### Latest blocks + +The most recent Cronos blocks, with gas used and transaction count. Move `since` in the Variables pane. + +▶️ [Latest blocks](https://ide.bitquery.io/Cronos-Latest-blocks) + +## Klaytn + +### Trades + +#### Latest DEX trades + +The most recent DEX trades on Klaytn, with both sides of the pair, the venue and USD value. Add a `baseCurrency` filter to scope it to one token. + +▶️ [Latest DEX trades](https://ide.bitquery.io/Klaytn-Latest-DEX-trades) + +#### Top DEXs by trade count + +Ranks the DEXs on Klaytn by number of trades, so you can see which venues actually carry volume. + +▶️ [Top DEXs by trade count](https://ide.bitquery.io/Klaytn-Top-DEXs-by-trade-count) + +### Transfers + +#### Latest token transfers + +Recent token transfers on Klaytn. Add a `currency` filter to follow one token, or a sender/receiver filter to follow one wallet. + +▶️ [Latest token transfers](https://ide.bitquery.io/Klaytn-Latest-token-transfers) + +### Balances & Holders + +#### Balance of an address at a past date + +What one Klaytn address held as of a chosen date. Move the date in the Variables pane. + +▶️ [Balance of an address at a past date](https://ide.bitquery.io/Klaytn-Balance-of-an-address-at-a-past-date) + +#### Balances of an address + +Native and token balances held by one Klaytn address. Replace the address to use it. + +▶️ [Balances of an address](https://ide.bitquery.io/Klaytn-Balances-of-an-address) + +### Transactions + +#### Latest transactions + +Recent Klaytn 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/Klaytn-Latest-transactions) + +### Events & Calls + +#### Latest smart contract events + +Decoded event logs on Klaytn. Filter by `smartContractAddress` to watch a single contract. + +▶️ [Latest smart contract events](https://ide.bitquery.io/Klaytn-Latest-smart-contract-events) + +### Blocks & Validators + +#### Latest blocks + +The most recent blocks on Klaytn, with height, time, gas used and transaction count. + +▶️ [Latest blocks](https://ide.bitquery.io/Klaytn-Latest-blocks) + ## Litecoin ### Transfers @@ -3865,6 +3985,62 @@ This query uses transaction hash and date range as filter to fetch tx details. ▶️ [Transaction Details using Hash](https://ide.bitquery.io/xrpl-search-tx-details) +## Stellar + +### Trades + +#### Latest DEX trades + +Trades on the Stellar decentralised exchange, with both sides of the pair and the amounts. + +▶️ [Latest DEX trades](https://ide.bitquery.io/Stellar-Latest-DEX-trades) + +### Transfers + +#### Latest payments + +Stellar payment operations — who paid whom, in which asset, and how much. + +▶️ [Latest payments](https://ide.bitquery.io/Stellar-Latest-payments) + +### Balances & Holders + +#### Balance of an address at a past date + +What one Stellar address held as of a chosen date. Move the date in the Variables pane. + +▶️ [Balance of an address at a past date](https://ide.bitquery.io/Stellar-Balance-of-an-address-at-a-past-date) + +#### Balances of an address + +Every asset balance held by one Stellar account. Replace the address to use it. + +▶️ [Balances of an address](https://ide.bitquery.io/Stellar-Balances-of-an-address) + +### Liquidity & Pools + +#### Liquidity pool trades + +Swaps routed through Stellar liquidity pools, with the pool id and both legs. + +▶️ [Liquidity pool trades](https://ide.bitquery.io/Stellar-Liquidity-pool-trades) + +### Transactions + +#### Latest transactions + +Recent Stellar transactions with sender, fee and success flag. Move `since` in the Variables pane to change the window. + +▶️ [Latest transactions](https://ide.bitquery.io/Stellar-Latest-transactions) + +### Blocks & Validators + +#### Latest ledgers + +The most recent Stellar ledgers with close time, transaction count and fee pool. + +▶️ [Latest ledgers](https://ide.bitquery.io/Stellar-Latest-ledgers) + ## Algorand ### Transfers @@ -3909,6 +4085,46 @@ Counts distinct transaction senders on a specific date. ▶️ [Daily Unique Txn Senders on algorand](https://ide.bitquery.io/Daily-Unique-Txn-Senders-on-algorand) +## Filecoin + +### Transfers + +#### Latest transfers + +FIL value moving between addresses. Add a sender or receiver filter to follow one account. + +▶️ [Latest transfers](https://ide.bitquery.io/Filecoin-Latest-transfers) + +### Balances & Holders + +#### Balance of an address at a past date + +What one Filecoin address held as of a chosen date. Move the date in the Variables pane. + +▶️ [Balance of an address at a past date](https://ide.bitquery.io/Filecoin-Balance-of-an-address-at-a-past-date) + +#### Balance of an address + +The FIL balance held by one Filecoin address. Replace the address to use it. + +▶️ [Balance of an address](https://ide.bitquery.io/Filecoin-Balance-of-an-address) + +### Transactions + +#### Latest messages + +Filecoin messages — the chain's transactions — with sender, receiver, value and method. + +▶️ [Latest messages](https://ide.bitquery.io/Filecoin-Latest-messages) + +### Blocks & Validators + +#### Latest tipsets + +The most recent Filecoin tipsets with height and time. + +▶️ [Latest tipsets](https://ide.bitquery.io/Filecoin-Latest-tipsets) + ## Trading API ### Trades diff --git a/docs/start/starter-subscriptions.md b/docs/start/starter-subscriptions.md index f1e0dd4c..9985294a 100644 --- a/docs/start/starter-subscriptions.md +++ b/docs/start/starter-subscriptions.md @@ -326,44 +326,6 @@ We will use this subscription to listen to `consumeEvents` transactions on OpenB ▶️ [ConsumeEvents instruction on OpenBook V2](https://ide.bitquery.io/consumeEvents-instruction-on-OpenBook-V2_3) -### Pump.fun - -#### PumpFun Token Creation - -This subscription tracks in real-time newly created Pumpfun tokens, including their metadata and associated developer addresses. - -▶️ [PumpFun Token Creation](https://ide.bitquery.io/newly-created-PF-token-developer-address-metadata) - -#### 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 @@ -408,6 +370,44 @@ 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) +### Pump.fun + +#### PumpFun Token Creation + +This subscription tracks in real-time newly created Pumpfun tokens, including their metadata and associated developer addresses. + +▶️ [PumpFun Token Creation](https://ide.bitquery.io/newly-created-PF-token-developer-address-metadata) + +#### 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) + ### Meteora #### Jup studio token migrations from Meteora DBC to Meteors DEX @@ -2244,6 +2244,20 @@ 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) + ### Pump.fun #### All Pumpswap Trade Stream @@ -2264,20 +2278,6 @@ 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) - ### Uniswap #### 1-second price, OHLC, volume, SMA and EMA — Uniswap v3 diff --git a/static/llms.txt b/static/llms.txt index 6ae0da2f..ccefa261 100644 --- a/static/llms.txt +++ b/static/llms.txt @@ -11,8 +11,31 @@ - [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/) - [API keys & authentication](https://docs.bitquery.io/docs/authorization/how-to-generate/) +- [Starter queries](https://docs.bitquery.io/docs/start/starter-queries/) — tested queries by chain and data type, the same tree the IDE shows +- [Starter subscriptions](https://docs.bitquery.io/docs/start/starter-subscriptions/) — the real-time half of the same tree - [MCP Server for AI agents](https://docs.bitquery.io/docs/mcp/mcp-server/) +## Endpoints, chains and datasets + +Two generations of the API, with different schemas. Sending a query to the wrong one is the +most common mistake. + +- **V2** — `https://streaming.bitquery.io/graphql`, and `wss://` for subscriptions. Covers + Ethereum, BSC, Base, Arbitrum, Optimism, Polygon, Robinhood Chain, Solana, Tron and + Hyperliquid. Roots are capitalised: `EVM`, `Solana`, `Tron`, `Trading`. +- **V1** — `https://graphql.bitquery.io`. Everything else: Bitcoin, Litecoin, Bitcoin Cash, + Dogecoin, Dash, Zcash, Cardano, Ripple, Stellar, Algorand, Filecoin, Avalanche, Celo, + Cronos, Klaytn, Fantom, Moonbeam. Roots are lowercase: `bitcoin(network:)`, + `ethereum(network:)`, `stellar(network:)`, `filecoin(network:)`. +- Ethereum, BSC, Tron and Polygon are **migrating off V1** — query them on V2. +- Every V2 root takes `dataset:` — `realtime` (default, recent window only), `archive` (full + history), `combined` (both). Archive and combined need the historical data add-on. + +- [Dataset options](https://docs.bitquery.io/docs/graphql/dataset/options/) — realtime vs archive vs combined +- [Archive dataset](https://docs.bitquery.io/docs/graphql/dataset/archive/) — how to query history +- [Data coverage & retention](https://docs.bitquery.io/docs/graphql/data-coverage-retention/) — how far back each cube goes, per chain +- [Endpoints](https://docs.bitquery.io/docs/start/endpoints/) — regional hosts for V1 and V2 + ## Trading data — prices, trades & OHLCV Most teams building charts, bots, or dashboards start here. The **Trading cube** gives you