Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
216 changes: 216 additions & 0 deletions docs/start/starter-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,18 @@ 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)
- [Dash](#dash)
- [Zcash](#zcash)
- [Cardano](#cardano)
- [Ripple](#ripple)
- [Stellar](#stellar)
- [Algorand](#algorand)
- [Filecoin](#filecoin)
- [Trading API](#trading-api)
- [Stablecoins](#stablecoins)
- [NFTs](#nfts)
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
104 changes: 52 additions & 52 deletions docs/start/starter-subscriptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
Loading
Loading