diff --git a/docs/blockchain/Arbitrum/DexTrades.mdx b/docs/blockchain/Arbitrum/DexTrades.mdx index 625d5a8f1..61a44f3e4 100644 --- a/docs/blockchain/Arbitrum/DexTrades.mdx +++ b/docs/blockchain/Arbitrum/DexTrades.mdx @@ -6,7 +6,7 @@ description: "Arbitrum DEX Trades API: get Arbitrum DEX swaps, prices, and OHLC # Arbitrum DEX Trades API :::tip Need real-time Arbitrum DEX data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API** (filter with `Pair.Market.Network: Arbitrum`). Use this page when you need **historical Arbitrum data older than ~30 days** (with `dataset: combined` or `archive`), raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API** (filter with `Pair.Market.Network: Arbitrum`). Use this page when you need **historical Arbitrum data older than ~30 days** (with `dataset: combined` or `archive`), raw per-swap detail, or call / event context. ::: In this section we will see how to get Arbitrum DEX trades information using our API. diff --git a/docs/blockchain/Arbitrum/index.mdx b/docs/blockchain/Arbitrum/index.mdx index 6b11d541c..1b5608559 100644 --- a/docs/blockchain/Arbitrum/index.mdx +++ b/docs/blockchain/Arbitrum/index.mdx @@ -28,7 +28,7 @@ Need help crafting a query or subscription? Message us on [support](https://t.me ## What is the Bitquery Arbitrum API? :::tip Building a trading app or DEX UI on Arbitrum? -For **real-time trades and prices on Arbitrum** (and the last ~30 days), use the curated [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. For **historical Arbitrum data older than ~30 days**, use the chain-level `DEXTrades` / `DEXTradeByTokens` APIs documented below. +For **real-time trades and prices on Arbitrum** (and the last ~30 days), use the curated [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. For **historical Arbitrum data older than ~30 days**, use the chain-level `DEXTrades` / `DEXTradeByTokens` APIs documented below. ::: It's a GraphQL interface over curated, indexed Arbitrum data. Write powerful queries instead of building and maintaining your own indexer for the fastest L2 solution. diff --git a/docs/blockchain/BSC/bsc-dextrades.mdx b/docs/blockchain/BSC/bsc-dextrades.mdx index 36d3bb388..5ab01729f 100644 --- a/docs/blockchain/BSC/bsc-dextrades.mdx +++ b/docs/blockchain/BSC/bsc-dextrades.mdx @@ -6,7 +6,7 @@ description: "BNB Chain DEXtrades API: get BNB Chain DEX swaps, prices, and OHLC # BNB DEX Trades API :::tip Need real-time BNB / BSC DEX data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API** (filter with `Pair.Market.Network: Binance Smart Chain`). Use this page when you need **historical BNB / BSC data older than ~30 days** (with `dataset: combined` or `archive`), raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API** (filter with `Pair.Market.Network: Binance Smart Chain`). Use this page when you need **historical BNB / BSC data older than ~30 days** (with `dataset: combined` or `archive`), raw per-swap detail, or call / event context. ::: Bitquery provides BSC DEX trade data through APIs, Streams, and Data Dumps. diff --git a/docs/blockchain/BSC/four-meme-api.mdx b/docs/blockchain/BSC/four-meme-api.mdx index fd3c77542..82384df72 100644 --- a/docs/blockchain/BSC/four-meme-api.mdx +++ b/docs/blockchain/BSC/four-meme-api.mdx @@ -26,7 +26,7 @@ See the [migration mapping](/docs/cubes/balances-cube/#migrating-from-balanceupd :::tip Need real-time Four.meme data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Four.meme examples using `Trading.Trades` are also shown in the **"Trader-Focused Trade APIs"** section below. Use the raw chain-level queries on this page when you need **historical Four.meme data older than ~30 days** or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Four.meme examples using `Trading.Trades` are also shown in the **"Trader-Focused Trade APIs"** section below. Use the raw chain-level queries on this page when you need **historical Four.meme data older than ~30 days** or call / event context. ::: Bitquery exposes **four.meme (Four Meme)** on **BNB Chain** through GraphQL: **live trades** (`fourmeme_v1`), **TokenCreate** events on the exchange proxy, **bonding curve** math from proxy balances, **migrations** to PancakeSwap, **OHLCV**, **liquidity** events, and **leaderboards**. Use **subscriptions** for real-time streams and **`dataset: combined`** for history. The Four Meme exchange proxy used in examples is **`0x5c952063c7fc8610ffdb798152d69f0b9550762b`** (see below). diff --git a/docs/blockchain/BSC/four-meme-mempool-API.md b/docs/blockchain/BSC/four-meme-mempool-API.md index 43c498d81..887958a17 100644 --- a/docs/blockchain/BSC/four-meme-mempool-API.md +++ b/docs/blockchain/BSC/four-meme-mempool-API.md @@ -7,7 +7,7 @@ import FAQ from "@site/src/components/FAQ"; # Four Meme Mempool API - Real-Time Pre-Confirmation Monitoring :::tip Need real-time Four.meme data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Four.meme swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Four.meme data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Four.meme swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Four.meme data older than ~30 days**, raw per-swap detail, or call / event context. ::: Monitor Four Meme memecoin activity in the BSC mempool before transactions are confirmed on-chain. Track pending trades, new token launches, bonding curve progress, and detect MEV opportunities with Bitquery's ultra-low latency Mempool APIs and Kafka Streams. diff --git a/docs/blockchain/BSC/gra-fun-api.md b/docs/blockchain/BSC/gra-fun-api.md index fff8044e0..4e75cb36b 100644 --- a/docs/blockchain/BSC/gra-fun-api.md +++ b/docs/blockchain/BSC/gra-fun-api.md @@ -5,7 +5,7 @@ description: "BNB Chain Gra Fun API: query and stream BNB Chain on-chain data wi # GRA.fun API :::tip Need real-time GRA.fun data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered GRA.fun swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical GRA.fun data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered GRA.fun swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical GRA.fun data older than ~30 days**, raw per-swap detail, or call / event context. ::: In this section we'll have a look at some examples using the BSC Transfers API. diff --git a/docs/blockchain/BSC/index.mdx b/docs/blockchain/BSC/index.mdx index 188a5c5af..621a14808 100644 --- a/docs/blockchain/BSC/index.mdx +++ b/docs/blockchain/BSC/index.mdx @@ -21,7 +21,7 @@ import FAQ from "@site/src/components/FAQ"; # BSC API Documentation :::tip Building a trading app or DEX UI on BNB Chain (BSC)? -For **real-time trades and prices on BNB Chain (BSC)** (and the last ~30 days), use the curated [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. For **historical BNB Chain (BSC) data older than ~30 days**, use the chain-level `DEXTrades` / `DEXTradeByTokens` APIs documented below. +For **real-time trades and prices on BNB Chain (BSC)** (and the last ~30 days), use the curated [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. For **historical BNB Chain (BSC) data older than ~30 days**, use the chain-level `DEXTrades` / `DEXTradeByTokens` APIs documented below. ::: In this section we will see how to fetch data on different tokens, transactions, DEXs like Uniswap, Pancakeswap, Four Meme, liquidity pools, and slippage data etc via APIs and Streams. diff --git a/docs/blockchain/BSC/pancake-swap-api.md b/docs/blockchain/BSC/pancake-swap-api.md index d4a3dd7b1..dbf94c21a 100644 --- a/docs/blockchain/BSC/pancake-swap-api.md +++ b/docs/blockchain/BSC/pancake-swap-api.md @@ -19,7 +19,7 @@ See the [migration mapping](/docs/cubes/balances-cube/#migrating-from-balanceupd :::tip Need real-time PancakeSwap data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered PancakeSwap swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical PancakeSwap data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered PancakeSwap swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical PancakeSwap data older than ~30 days**, raw per-swap detail, or call / event context. ::: In this section we will use APIs from Bitquery to get the on-chain trade related data, trade metrics, trades for a token or a trader on the Pancake Swap DEX. diff --git a/docs/blockchain/Base/ai-agent-base-data.mdx b/docs/blockchain/Base/ai-agent-base-data.mdx index c0d1c5e72..4ac151f78 100644 --- a/docs/blockchain/Base/ai-agent-base-data.mdx +++ b/docs/blockchain/Base/ai-agent-base-data.mdx @@ -37,7 +37,7 @@ Run it [in the IDE](https://ide.bitquery.io/Trading-API-Trending-Tokens-Base). ### Live Base trade stream -Run it [in the IDE](https://ide.bitquery.io/Trading-API-Live-Trades-All-Chains) — scoped here to Base; drop the `Network` filter to stream all 9 chains. +Run it [in the IDE](https://ide.bitquery.io/Trading-API-Live-Trades-All-Chains) — scoped here to Base; drop the `Network` filter to stream all 10 chains. ```graphql subscription { diff --git a/docs/blockchain/Base/base-dextrades.mdx b/docs/blockchain/Base/base-dextrades.mdx index 311b8075f..1b1a77c49 100644 --- a/docs/blockchain/Base/base-dextrades.mdx +++ b/docs/blockchain/Base/base-dextrades.mdx @@ -9,7 +9,7 @@ import ProductCTA from "@site/src/components/ProductCTA"; # Base Chain DEX Trades API :::tip Need real-time Base DEX data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API** (filter with `Pair.Market.Network: Base`). Use this page when you need **historical Base data older than ~30 days** (with `dataset: combined` or `archive`), raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API** (filter with `Pair.Market.Network: Base`). Use this page when you need **historical Base data older than ~30 days** (with `dataset: combined` or `archive`), raw per-swap detail, or call / event context. For full-chain coverage — Aerodrome and Uniswap trades, transfers, balances and bridge flows — see the [Base API](https://bitquery.io/blockchains/base-blockchain-api) page. ::: diff --git a/docs/blockchain/Base/base-uniswap-api.md b/docs/blockchain/Base/base-uniswap-api.md index 2fbb6d366..59a5fdf5f 100644 --- a/docs/blockchain/Base/base-uniswap-api.md +++ b/docs/blockchain/Base/base-uniswap-api.md @@ -10,7 +10,7 @@ import VideoPlayer from "../../../src/components/videoplayer.js"; # Base Uniswap API :::tip Need real-time Base Uniswap data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Base Uniswap swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Base Uniswap data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Base Uniswap swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Base Uniswap data older than ~30 days**, raw per-swap detail, or call / event context. ::: Bitquery provides Uniswap data through APIs, Streams and Data Dumps. diff --git a/docs/blockchain/Base/index.mdx b/docs/blockchain/Base/index.mdx index 9959fbe6e..bcd9f7345 100644 --- a/docs/blockchain/Base/index.mdx +++ b/docs/blockchain/Base/index.mdx @@ -23,7 +23,7 @@ import FAQ from "@site/src/components/FAQ"; # Base API Documentation :::tip Building a trading app or DEX UI on Base? -For **real-time trades and prices on Base** (and the last ~30 days), use the curated [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. For **historical Base data older than ~30 days**, use the chain-level `DEXTrades` / `DEXTradeByTokens` APIs documented below. +For **real-time trades and prices on Base** (and the last ~30 days), use the curated [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. For **historical Base data older than ~30 days**, use the chain-level `DEXTrades` / `DEXTradeByTokens` APIs documented below. ::: ## Overview diff --git a/docs/blockchain/Ethereum/dextrades/dex-api.md b/docs/blockchain/Ethereum/dextrades/dex-api.md index 0afe7c47c..b4305a72d 100644 --- a/docs/blockchain/Ethereum/dextrades/dex-api.md +++ b/docs/blockchain/Ethereum/dextrades/dex-api.md @@ -14,7 +14,7 @@ import FAQ from "@site/src/components/FAQ"; # Ethereum DEX Trades API: Every DEX, Pair Stats, Traders and Latest Swaps -Two cubes hold Ethereum's DEX swaps. `DEXTrades` has one row per swap with both sides, the pool and the protocol, and reaches history on the archive dataset. `DEXTradeByTokens` has one row per swap per token, which is the shape for anything grouped by token, pair, protocol or trader. The [Trading cube](/docs/trading/crypto-trades-api/trades-api) adds a third option for the last month or so: swaps with the trader, USD price, market cap and supply on every row across nine chains, and it is the better start for live feeds. This page uses the two chain cubes to answer the questions people ask about Ethereum DEXs as a whole: which ones trade, how much, who trades on them, what just happened. Every example runs in the [IDE](https://ide.bitquery.io) on a free account. One caution runs through the page: a few swaps in thin pools carry absurd USD values, so every sum here caps the USD of a single trade with `Side: { AmountInUSD: { lt: "10000000" } }`; drop the cap if you want raw totals. +Two cubes hold Ethereum's DEX swaps. `DEXTrades` has one row per swap with both sides, the pool and the protocol, and reaches history on the archive dataset. `DEXTradeByTokens` has one row per swap per token, which is the shape for anything grouped by token, pair, protocol or trader. The [Trading cube](/docs/trading/crypto-trades-api/trades-api) adds a third option for the last month or so: swaps with the trader, USD price, market cap and supply on every row across ten chains, and it is the better start for live feeds. This page uses the two chain cubes to answer the questions people ask about Ethereum DEXs as a whole: which ones trade, how much, who trades on them, what just happened. Every example runs in the [IDE](https://ide.bitquery.io) on a free account. One caution runs through the page: a few swaps in thin pools carry absurd USD values, so every sum here caps the USD of a single trade with `Side: { AmountInUSD: { lt: "10000000" } }`; drop the cap if you want raw totals. ## Which DEXs trade on Ethereum, and how much diff --git a/docs/blockchain/Ethereum/dextrades/evm-bullx-api.md b/docs/blockchain/Ethereum/dextrades/evm-bullx-api.md index e5f157cd7..2496e982f 100644 --- a/docs/blockchain/Ethereum/dextrades/evm-bullx-api.md +++ b/docs/blockchain/Ethereum/dextrades/evm-bullx-api.md @@ -21,7 +21,7 @@ A trading terminal like BullX is built from a few feeds: the trades of the pair ### Live trades with USD price, market cap and supply -Streams MEV-filtered trades across all 9 chains; the network filter scopes it to Ethereum. Run it [in the IDE](https://ide.bitquery.io/Trading-API-Live-Trades-All-Chains). +Streams MEV-filtered trades across all 10 chains; the network filter scopes it to Ethereum. Run it [in the IDE](https://ide.bitquery.io/Trading-API-Live-Trades-All-Chains). ```graphql subscription { diff --git a/docs/blockchain/Ethereum/dextrades/evm-geckoterminal-api.md b/docs/blockchain/Ethereum/dextrades/evm-geckoterminal-api.md index cbf74f258..84a856bd5 100644 --- a/docs/blockchain/Ethereum/dextrades/evm-geckoterminal-api.md +++ b/docs/blockchain/Ethereum/dextrades/evm-geckoterminal-api.md @@ -21,7 +21,7 @@ GeckoTerminal is organised around pools: a ranked list of them, and for each one ### Live trades with USD price, market cap and supply -Every Ethereum DEX trade with the trader, USD amounts and the market on the row, MEV trades filtered out; drop the network filter for all nine chains. Run it [in the IDE](https://ide.bitquery.io/Trading-API-Live-Trades-All-Chains). +Every Ethereum DEX trade with the trader, USD amounts and the market on the row, MEV trades filtered out; drop the network filter for all ten chains. Run it [in the IDE](https://ide.bitquery.io/Trading-API-Live-Trades-All-Chains). ```graphql subscription { diff --git a/docs/blockchain/Ethereum/dextrades/evm-gmgn-api.md b/docs/blockchain/Ethereum/dextrades/evm-gmgn-api.md index 70c6dba72..248980d2d 100644 --- a/docs/blockchain/Ethereum/dextrades/evm-gmgn-api.md +++ b/docs/blockchain/Ethereum/dextrades/evm-gmgn-api.md @@ -20,7 +20,7 @@ GMGN is a discovery screen: tokens that just started trading, the ones being bou ### Live trades with USD price, market cap and supply -Streams MEV-filtered trades across all 9 chains; the network filter scopes it to Ethereum. Run it [in the IDE](https://ide.bitquery.io/Trading-API-Live-Trades-All-Chains). +Streams MEV-filtered trades across all 10 chains; the network filter scopes it to Ethereum. Run it [in the IDE](https://ide.bitquery.io/Trading-API-Live-Trades-All-Chains). ```graphql subscription { diff --git a/docs/blockchain/Ethereum/dextrades/evm-photon-api.md b/docs/blockchain/Ethereum/dextrades/evm-photon-api.md index 37340d7a0..2e25ba806 100644 --- a/docs/blockchain/Ethereum/dextrades/evm-photon-api.md +++ b/docs/blockchain/Ethereum/dextrades/evm-photon-api.md @@ -10,7 +10,7 @@ description: "Ethereum EVM Photon API: get Ethereum DEX swaps, prices, and OHLC ### Live trades with USD price, market cap and supply -Streams MEV-filtered trades across all 9 chains — add `Network: {is: "Ethereum"}` inside `Pair.Market` to scope to one chain. Run it [in the IDE](https://ide.bitquery.io/Trading-API-Live-Trades-All-Chains). +Streams MEV-filtered trades across all 10 chains — add `Network: {is: "Ethereum"}` inside `Pair.Market` to scope to one chain. Run it [in the IDE](https://ide.bitquery.io/Trading-API-Live-Trades-All-Chains). ```graphql subscription { diff --git a/docs/blockchain/Ethereum/dextrades/fluid-dex-api.md b/docs/blockchain/Ethereum/dextrades/fluid-dex-api.md index 7a970a591..51bdf436e 100644 --- a/docs/blockchain/Ethereum/dextrades/fluid-dex-api.md +++ b/docs/blockchain/Ethereum/dextrades/fluid-dex-api.md @@ -6,7 +6,7 @@ description: "Ethereum Fluid DEX API: get Ethereum DEX swaps, prices, and OHLC w # Fluid DEX API :::tip Need real-time Fluid DEX data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Fluid DEX swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Fluid DEX data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Fluid DEX swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Fluid DEX data older than ~30 days**, raw per-swap detail, or call / event context. ::: Fluid DEX is a decentralized exchange protocol built on Ethereum and other EVM chains. Bitquery's APIs support tracking Fluid DEX vault positions, events, and contract interactions in real-time and across historical data. diff --git a/docs/blockchain/Ethereum/dextrades/token-trades-apis.mdx b/docs/blockchain/Ethereum/dextrades/token-trades-apis.mdx index c2a4a0c23..9e1d3df40 100644 --- a/docs/blockchain/Ethereum/dextrades/token-trades-apis.mdx +++ b/docs/blockchain/Ethereum/dextrades/token-trades-apis.mdx @@ -6,7 +6,7 @@ description: "Ethereum Token Trades Apis: get Ethereum DEX swaps, prices, and OH # Token Trades API :::tip Need real-time token trade data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered token trade swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical token trade data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered token trade swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical token trade data older than ~30 days**, raw per-swap detail, or call / event context. ::: We have three main APIs to get DEX trading data. diff --git a/docs/blockchain/Ethereum/ethers-library/eth_blockNumber.md b/docs/blockchain/Ethereum/ethers-library/eth_blockNumber.md index 2e8e2f4a5..59e6effc6 100644 --- a/docs/blockchain/Ethereum/ethers-library/eth_blockNumber.md +++ b/docs/blockchain/Ethereum/ethers-library/eth_blockNumber.md @@ -14,7 +14,7 @@ import FAQ from "@site/src/components/FAQ"; # Get the Latest Block Number with Bitquery Instead of eth_blockNumber -`eth_blockNumber` is the JSON-RPC call that returns the height of the newest block. On Bitquery the same answer comes from the `Blocks` cube in two shapes: a query that returns the newest block with its timestamp, and a subscription that pushes a row every time a block is produced, so you never poll. Both run on Ethereum and, by changing `network`, on BNB Chain, Base, Arbitrum, Optimism, Polygon and Robinhood Chain. No node, no RPC key: an access token from [account.bitquery.io](https://account.bitquery.io/) and the same query runs in the [IDE](https://ide.bitquery.io) on a free account. +`eth_blockNumber` is the JSON-RPC call that returns the height of the newest block. On Bitquery the same answer comes from the `Blocks` cube in two shapes: a query that returns the newest block with its timestamp, and a subscription that pushes a row every time a block is produced, so you never poll. Both run on Ethereum and, by changing `network`, on BNB Chain, Base, Arbitrum, Optimism, Polygon, Robinhood Chain and Arc. No node, no RPC key: an access token from [account.bitquery.io](https://account.bitquery.io/) and the same query runs in the [IDE](https://ide.bitquery.io) on a free account. ## Latest block number as a query @@ -51,7 +51,7 @@ subscription { ## Other EVM chains -Change the network name and nothing else. This is the BNB Chain stream, saved [here](https://ide.bitquery.io/eth_blockNumber-stream-bsc); `base`, `arbitrum`, `optimism`, `matic` and `robinhood` work the same way. +Change the network name and nothing else. This is the BNB Chain stream, saved [here](https://ide.bitquery.io/eth_blockNumber-stream-bsc); `base`, `arbitrum`, `optimism`, `matic`, `robinhood` and `arc` work the same way. ```graphql subscription { @@ -73,7 +73,7 @@ Add fields to the same selection: `Block { Hash ParentHash Time Number GasUsed G items={[ { q: "How do I get the latest Ethereum block number without an RPC node?", a: "Query the Blocks cube with limit 1 and orderBy descending Block_Number; the row carries the number and the timestamp. Or open a subscription on Blocks to receive each new block as it is produced." }, { q: "Is the block number from Bitquery the same as eth_blockNumber from a node?", a: "It is the height of the newest block Bitquery has indexed, which trails the chain tip by the indexing delay of the realtime pipeline. For most uses that is a matter of seconds; for chain-tip-critical logic, compare with your node." }, - { q: "Does this work on chains other than Ethereum?", a: "Yes. The Blocks cube exists under EVM(network: ...) for BNB Chain, Base, Arbitrum, Optimism, Polygon and Robinhood Chain, and Solana has its own Blocks cube under the Solana root." }, + { q: "Does this work on chains other than Ethereum?", a: "Yes. The Blocks cube exists under EVM(network: ...) for BNB Chain, Base, Arbitrum, Optimism, Polygon, Robinhood Chain and Arc, and Solana has its own Blocks cube under the Solana root." }, { q: "Can I get the block hash and gas fields with the number?", a: "Yes. Add Hash, ParentHash, Time, GasUsed, GasLimit, BaseFee or Difficulty to the Block selection, and TxCount for the number of transactions." }, ]} /> diff --git a/docs/blockchain/Ethereum/index.md b/docs/blockchain/Ethereum/index.md index f90ae38b0..610d446ef 100644 --- a/docs/blockchain/Ethereum/index.md +++ b/docs/blockchain/Ethereum/index.md @@ -27,7 +27,7 @@ import FAQ from "@site/src/components/FAQ"; # Ethereum API - Complete Developer Guide :::tip Building a trading app or DEX UI on Ethereum? -For **real-time trades and prices on Ethereum** (and the last ~30 days), use the curated [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. For **historical Ethereum data older than ~30 days**, use the chain-level `DEXTrades` / `DEXTradeByTokens` APIs documented below. +For **real-time trades and prices on Ethereum** (and the last ~30 days), use the curated [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. For **historical Ethereum data older than ~30 days**, use the chain-level `DEXTrades` / `DEXTradeByTokens` APIs documented below. ::: ## What is Bitquery? diff --git a/docs/blockchain/Ethereum/token-supply/evm-token-supply.md b/docs/blockchain/Ethereum/token-supply/evm-token-supply.md index 8d3336496..930357c21 100644 --- a/docs/blockchain/Ethereum/token-supply/evm-token-supply.md +++ b/docs/blockchain/Ethereum/token-supply/evm-token-supply.md @@ -239,6 +239,7 @@ Maintain audit trails of supply changes for regulatory compliance and financial | Polygon | `matic` | Polygon PoS | | Optimism | `optimism` | Optimism L2 | | Robinhood| `robinhood` | Robinhood network | +| Arc | `arc` | Arc mainnet | --- @@ -261,4 +262,3 @@ Maintain audit trails of supply changes for regulatory compliance and financial 3. **Integrate**: Use the GraphQL endpoint in your application For more information on authentication and API usage, see our [Getting Started Guide](/docs/start/first-query/). - diff --git a/docs/blockchain/Matic/index.mdx b/docs/blockchain/Matic/index.mdx index 3d012d923..a6b9bc0f5 100644 --- a/docs/blockchain/Matic/index.mdx +++ b/docs/blockchain/Matic/index.mdx @@ -26,7 +26,7 @@ Need help crafting a query or subscription? Message us on [support](https://t.me ## What is the Bitquery Polygon (MATIC) API? :::tip Building a trading app or DEX UI on Polygon (MATIC)? -For **real-time trades and prices on Polygon (MATIC)** (and the last ~30 days), use the curated [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. For **historical Polygon (MATIC) data older than ~30 days**, use the chain-level `DEXTrades` / `DEXTradeByTokens` APIs documented below. +For **real-time trades and prices on Polygon (MATIC)** (and the last ~30 days), use the curated [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. For **historical Polygon (MATIC) data older than ~30 days**, use the chain-level `DEXTrades` / `DEXTradeByTokens` APIs documented below. ::: It's a GraphQL interface over curated, indexed Polygon (MATIC) data. Write concise queries instead of building and maintaining your own indexer. diff --git a/docs/blockchain/Matic/matic-dextrades.md b/docs/blockchain/Matic/matic-dextrades.md index c5ac57429..a266f8c3c 100644 --- a/docs/blockchain/Matic/matic-dextrades.md +++ b/docs/blockchain/Matic/matic-dextrades.md @@ -6,7 +6,7 @@ description: "Query Polygon DEX trades with Bitquery: live swap streams, OHLC ca # Polygon (MATIC) DEX Trades API :::tip Want structured trades, OHLC and USD on every row? Start with the Trading API -The [**Trading API**](/docs/trading/trading-data-overview) is the fastest path to clean Polygon market data. [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) returns **MEV-filtered swaps with USD price, market cap and supply on every row**, across **9 chains in one API** — filter with `Pair.Market.Network: Matic`. Pre-aggregated OHLC down to one second comes from [`Trading.Tokens`](/docs/trading/crypto-price-api/tokens) and [`Trading.Pairs`](/docs/trading/crypto-price-api/pairs), so you never have to build candles yourself. +The [**Trading API**](/docs/trading/trading-data-overview) is the fastest path to clean Polygon market data. [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) returns **MEV-filtered swaps with USD price, market cap and supply on every row**, across **10 chains in one API** — filter with `Pair.Market.Network: Matic`. Pre-aggregated OHLC down to one second comes from [`Trading.Tokens`](/docs/trading/crypto-price-api/tokens) and [`Trading.Pairs`](/docs/trading/crypto-price-api/pairs), so you never have to build candles yourself. Reach for the chain-level queries on this page when you need something the Trading API deliberately does not carry: **history older than the Trading window** (via `dataset: combined` or `archive`), **raw per-swap detail**, pool internals, or **call and event context**. Both are shown below, starting with the Trading API. ::: @@ -560,6 +560,6 @@ You can run this query [in the Bitquery IDE](https://ide.bitquery.io/Top-Traders - [Polygon (MATIC) Address Balance API](/docs/blockchain/Matic/matic-balance-api) — token and native balances - [Polygon (MATIC) Transfers API](/docs/blockchain/Matic/matic-transfers) — ERC-20 and native transfers - [Polymarket API](/docs/examples/polymarket-api/) — prediction market trades and outcome prices on Polygon -- [Trading API overview](/docs/trading/trading-data-overview) — structured trades, prices and OHLC across 9 chains +- [Trading API overview](/docs/trading/trading-data-overview) — structured trades, prices and OHLC across 10 chains --- diff --git a/docs/blockchain/Matic/uniswap-v4-api.md b/docs/blockchain/Matic/uniswap-v4-api.md index df54d3690..e9ed0c9c1 100644 --- a/docs/blockchain/Matic/uniswap-v4-api.md +++ b/docs/blockchain/Matic/uniswap-v4-api.md @@ -5,7 +5,7 @@ description: "Polygon Uniswap V4 API: query Polygon Uniswap trades, pools, and p # Uniswap V4 API - Track Trader Activities, Token Trades and Market Behavior :::tip Need real-time Uniswap V4 (Polygon) data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Uniswap V4 (Polygon) swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Uniswap V4 (Polygon) data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Uniswap V4 (Polygon) swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Uniswap V4 (Polygon) data older than ~30 days**, raw per-swap detail, or call / event context. ::: Uniswap v4 introduces a major shift in protocol architecture. Instead of deploying a separate smart contract for each liquidity pool, Uniswap v4 uses a singleton PoolManager contract that manages all pools internally as structured state. diff --git a/docs/blockchain/Optimism/index.mdx b/docs/blockchain/Optimism/index.mdx index 070b184a6..7b0e27ca2 100644 --- a/docs/blockchain/Optimism/index.mdx +++ b/docs/blockchain/Optimism/index.mdx @@ -21,7 +21,7 @@ keywords: # Optimism API Documentation :::tip Building a trading app or DEX UI on Optimism? -For **real-time trades and prices on Optimism** (and the last ~30 days), use the curated [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. For **historical Optimism data older than ~30 days**, use the chain-level `DEXTrades` / `DEXTradeByTokens` APIs documented below. +For **real-time trades and prices on Optimism** (and the last ~30 days), use the curated [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. For **historical Optimism data older than ~30 days**, use the chain-level `DEXTrades` / `DEXTradeByTokens` APIs documented below. ::: ## Overview diff --git a/docs/blockchain/Solana/Believe-API.md b/docs/blockchain/Solana/Believe-API.md index 5a9506349..8cfd18a6f 100644 --- a/docs/blockchain/Solana/Believe-API.md +++ b/docs/blockchain/Solana/Believe-API.md @@ -7,7 +7,7 @@ description: "Believe Launchpad API: query and stream Solana on-chain data with import VideoPlayer from "../../../src/components/videoplayer.js"; :::tip Need real-time Believe data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Believe data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Believe data older than ~30 days**, raw per-swap detail, or call / event context. ::: ## 🎯 What is Believe Launchpad? diff --git a/docs/blockchain/Solana/Boop-Fun-API.md b/docs/blockchain/Solana/Boop-Fun-API.md index 0877390a9..1f305e8aa 100644 --- a/docs/blockchain/Solana/Boop-Fun-API.md +++ b/docs/blockchain/Solana/Boop-Fun-API.md @@ -7,7 +7,7 @@ description: "Solana Boop Fun API: query and stream Solana on-chain data with Bi import VideoPlayer from "../../../src/components/videoplayer.js"; :::tip Need real-time Boop.fun data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Boop.fun data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Boop.fun data older than ~30 days**, raw per-swap detail, or call / event context. ::: In this document, we will explore several examples related to Boop fun data. We also have [Raydium Launchpad APIs](/docs/blockchain/Solana/launchpad-raydium/). diff --git a/docs/blockchain/Solana/Meteora-DAMM-v2-API.md b/docs/blockchain/Solana/Meteora-DAMM-v2-API.md index 8feef2752..e85e6d8e0 100644 --- a/docs/blockchain/Solana/Meteora-DAMM-v2-API.md +++ b/docs/blockchain/Solana/Meteora-DAMM-v2-API.md @@ -24,7 +24,7 @@ Meteora DAMM v2 is Meteora's current constant-product AMM on Solana, built on th If you arrived looking for the DAMM v2 SDK or IDL, those build and sign transactions. This page is the other half: reading what those transactions did, across every DAMM v2 pool at once. :::tip Start with the Trading API -Most questions on this page are answered fastest by the [**Trading API**](/docs/trading/trading-data-overview). [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) returns **MEV-filtered swaps with USD price, market cap and supply on every row**, across **9 chains in one API**, and [`Trading.Pairs`](/docs/trading/crypto-price-api/pairs) gives pre-aggregated OHLC per pool down to one second. Filter either with `Pair: { Market: { Protocol: { is: "cp_amm" } } }` for DAMM v2. +Most questions on this page are answered fastest by the [**Trading API**](/docs/trading/trading-data-overview). [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) returns **MEV-filtered swaps with USD price, market cap and supply on every row**, across **10 chains in one API**, and [`Trading.Pairs`](/docs/trading/crypto-price-api/pairs) gives pre-aggregated OHLC per pool down to one second. Filter either with `Pair: { Market: { Protocol: { is: "cp_amm" } } }` for DAMM v2. Drop to the chain-level cubes further down when you need what the Trading API does not carry: **history older than about 30 days**, pool reserves, or per-instruction detail such as pool creation. ::: diff --git a/docs/blockchain/Solana/Meteora-DLMM-API.md b/docs/blockchain/Solana/Meteora-DLMM-API.md index a6c3c4890..10f222725 100644 --- a/docs/blockchain/Solana/Meteora-DLMM-API.md +++ b/docs/blockchain/Solana/Meteora-DLMM-API.md @@ -22,7 +22,7 @@ import FAQ from "@site/src/components/FAQ"; Meteora DLMM (Dynamic Liquidity Market Maker) is Meteora's concentrated-liquidity DEX on Solana. It runs on the `lb_clmm` program at `LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo`, holds liquidity in discrete price bins, and raises fees when volatility rises. Bitquery reads that program's activity into GraphQL queries, WebSocket subscriptions, Kafka and gRPC streams: live swaps, new pools, token prices, OHLC candles, pool reserves, top traders and volume. Every query below runs as written in the [Bitquery IDE](https://ide.bitquery.io) with a free trial token. Meteora's own [DLMM Data API](#does-meteora-have-an-api) serves pool state, positions and per-pool candles but has no trade feed and no streaming; the queries below cover both, with history back to mid-2024. :::tip Start with the Trading API -The [**Trading API**](/docs/trading/trading-data-overview) answers most questions on this page fastest. [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) returns **MEV-filtered swaps with USD price, market cap and supply on every row**, across **9 chains in one API**, and [`Trading.Pairs`](/docs/trading/crypto-price-api/pairs) gives pre-aggregated OHLC per DLMM pool down to one second. +The [**Trading API**](/docs/trading/trading-data-overview) answers most questions on this page fastest. [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) returns **MEV-filtered swaps with USD price, market cap and supply on every row**, across **10 chains in one API**, and [`Trading.Pairs`](/docs/trading/crypto-price-api/pairs) gives pre-aggregated OHLC per DLMM pool down to one second. Drop to the chain-level cubes further down for what the Trading API does not carry: **history older than about 30 days**, pool reserves, and per-instruction detail such as pool creation. ::: diff --git a/docs/blockchain/Solana/Moonshot-API.md b/docs/blockchain/Solana/Moonshot-API.md index a125415b5..f2f607270 100644 --- a/docs/blockchain/Solana/Moonshot-API.md +++ b/docs/blockchain/Solana/Moonshot-API.md @@ -5,7 +5,7 @@ description: "Solana Moonshot API: real-time Solana memecoin and DEX data via Bi # Moonit API :::tip Need real-time Moonit data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Moonit data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Moonit data older than ~30 days**, raw per-swap detail, or call / event context. ::: In this section we will see how to get real-time data on Moonit trades, transactions and wallet updates. Similarly you can get [pump.fun data here](/docs/blockchain/Solana/Pumpfun/Pump-Fun-API/) diff --git a/docs/blockchain/Solana/Orbic-API.md b/docs/blockchain/Solana/Orbic-API.md index 5fdaa3c9f..0d314ba82 100644 --- a/docs/blockchain/Solana/Orbic-API.md +++ b/docs/blockchain/Solana/Orbic-API.md @@ -5,7 +5,7 @@ description: "Solana Orbic API: query and stream Solana on-chain data with Bitqu # Orbic API :::tip Need real-time Orbic data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Orbic swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Orbic data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Orbic swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Orbic data older than ~30 days**, raw per-swap detail, or call / event context. ::: import VideoPlayer from "../../../src/components/videoplayer.js"; diff --git a/docs/blockchain/Solana/Pumpfun/Pump-Fun-API.mdx b/docs/blockchain/Solana/Pumpfun/Pump-Fun-API.mdx index 76dc5e004..20e89fe33 100644 --- a/docs/blockchain/Solana/Pumpfun/Pump-Fun-API.mdx +++ b/docs/blockchain/Solana/Pumpfun/Pump-Fun-API.mdx @@ -25,7 +25,7 @@ import FAQ from "@site/src/components/FAQ"; Pump.fun does not run a hosted data API. It publishes program documentation and IDLs for its on-chain programs on GitHub ([pump-public-docs](https://github.com/pump-fun/pump-public-docs)), and the hosts its web app calls are undocumented, so there is no supported endpoint for trades, prices, candles or new launches. This page is the query reference for the Bitquery Pump.fun API, which reads that activity from the chain: live trades, new token launches, prices and OHLCV, bonding curve progress, graduations to PumpSwap, holders and top traders, over GraphQL, WebSocket, gRPC and Kafka, filtered by the Pump.fun program address `6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P`. Every query runs as written in the [Bitquery IDE](https://ide.bitquery.io) with a free trial token. Delivery options, latency and pricing are on the [Pump.fun API product page](https://bitquery.io/products/pumpfun-api). :::tip Want structured trades, OHLC and market cap? Start with the Trading API -The [**Trading API**](/docs/trading/trading-data-overview) is the fastest path to clean Pump.fun market data. [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) returns **MEV-filtered swaps with USD price, market cap and supply on every row**, across **9 chains in one API**, and [`Trading.Tokens`](/docs/trading/crypto-price-api/tokens) gives pre-aggregated OHLC down to one second — so you never build candles yourself. Worked Pump.fun examples are in [Trader-Focused Trade APIs](#trader-focused-trade-apis-with-usd-price-market-cap--supply) below. +The [**Trading API**](/docs/trading/trading-data-overview) is the fastest path to clean Pump.fun market data. [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) returns **MEV-filtered swaps with USD price, market cap and supply on every row**, across **10 chains in one API**, and [`Trading.Tokens`](/docs/trading/crypto-price-api/tokens) gives pre-aggregated OHLC down to one second — so you never build candles yourself. Worked Pump.fun examples are in [Trader-Focused Trade APIs](#trader-focused-trade-apis-with-usd-price-market-cap--supply) below. Reach for the raw chain-level queries on this page when you need what the Trading API deliberately does not carry: **history older than the Trading window**, **bonding-curve internals**, per-instruction detail, or call / event context. ::: diff --git a/docs/blockchain/Solana/Pumpfun/Pump-Fun-Marketcap-Bonding-Curve-API.mdx b/docs/blockchain/Solana/Pumpfun/Pump-Fun-Marketcap-Bonding-Curve-API.mdx index 229ac4d3c..e46fe95e0 100644 --- a/docs/blockchain/Solana/Pumpfun/Pump-Fun-Marketcap-Bonding-Curve-API.mdx +++ b/docs/blockchain/Solana/Pumpfun/Pump-Fun-Marketcap-Bonding-Curve-API.mdx @@ -11,7 +11,7 @@ keywords: # Pump.fun Marketcap & Bonding Curve API :::tip Need real-time Pump.fun market-cap data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Pump.fun market-cap swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Pump.fun market-cap data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Pump.fun market-cap swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Pump.fun market-cap data older than ~30 days**, raw per-swap detail, or call / event context. ::: For delivery channels, pricing and the free trial, see the [Pump.fun API product page](https://bitquery.io/products/pumpfun-api). diff --git a/docs/blockchain/Solana/Pumpfun/index.mdx b/docs/blockchain/Solana/Pumpfun/index.mdx index fbb9f1ed8..c8d4cf0be 100644 --- a/docs/blockchain/Solana/Pumpfun/index.mdx +++ b/docs/blockchain/Solana/Pumpfun/index.mdx @@ -15,7 +15,7 @@ keywords: # PumpFun API Documentation :::tip Want structured trades, OHLC and market cap? Start with the Trading API -The [**Trading API**](/docs/trading/trading-data-overview) is the fastest path to clean Pump.fun and PumpSwap market data. [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) returns **MEV-filtered swaps with USD price, market cap and supply on every row**, across **9 chains in one API**. Pre-aggregated OHLC down to one second comes from [`Trading.Tokens`](/docs/trading/crypto-price-api/tokens) and [`Trading.Pairs`](/docs/trading/crypto-price-api/pairs), so you never build candles yourself. +The [**Trading API**](/docs/trading/trading-data-overview) is the fastest path to clean Pump.fun and PumpSwap market data. [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) returns **MEV-filtered swaps with USD price, market cap and supply on every row**, across **10 chains in one API**. Pre-aggregated OHLC down to one second comes from [`Trading.Tokens`](/docs/trading/crypto-price-api/tokens) and [`Trading.Pairs`](/docs/trading/crypto-price-api/pairs), so you never build candles yourself. Reach for the chain-level Pump.fun pages below when you need what the Trading API deliberately does not carry: **history older than the Trading window**, **bonding-curve internals**, or raw per-instruction detail. ::: diff --git a/docs/blockchain/Solana/Pumpfun/pump-fun-to-pump-swap.md b/docs/blockchain/Solana/Pumpfun/pump-fun-to-pump-swap.md index 7e3e5f582..f2fe87934 100644 --- a/docs/blockchain/Solana/Pumpfun/pump-fun-to-pump-swap.md +++ b/docs/blockchain/Solana/Pumpfun/pump-fun-to-pump-swap.md @@ -14,7 +14,7 @@ import ProductCTA from "@site/src/components/ProductCTA"; # Understanding Pump.fun: From Launchpad to PumpSwap :::tip Need real-time Pump.fun & PumpSwap data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Pump.fun & PumpSwap swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Pump.fun & PumpSwap data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Pump.fun & PumpSwap swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Pump.fun & PumpSwap data older than ~30 days**, raw per-swap detail, or call / event context. Post-migration AMM activity is covered end-to-end by the [PumpSwap API](https://bitquery.io/products/pumpswap-api) — the product page lists swaps, pools and OHLCV coverage with plans. ::: diff --git a/docs/blockchain/Solana/Pumpfun/pump-swap-api.md b/docs/blockchain/Solana/Pumpfun/pump-swap-api.md index 153ce428b..fac6d29d1 100644 --- a/docs/blockchain/Solana/Pumpfun/pump-swap-api.md +++ b/docs/blockchain/Solana/Pumpfun/pump-swap-api.md @@ -11,7 +11,7 @@ keywords: # PumpSwap API :::tip Need real-time PumpSwap data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered PumpSwap swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical PumpSwap data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered PumpSwap swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical PumpSwap data older than ~30 days**, raw per-swap detail, or call / event context. ::: For delivery channels, pricing and the free trial, see the [PumpSwap API product page](https://bitquery.io/products/pumpswap-api). diff --git a/docs/blockchain/Solana/SolFi-api.md b/docs/blockchain/Solana/SolFi-api.md index e1ecd2b82..9b3ce83c4 100644 --- a/docs/blockchain/Solana/SolFi-api.md +++ b/docs/blockchain/Solana/SolFi-api.md @@ -5,7 +5,7 @@ description: "Solana Solfi API: query and stream Solana on-chain data with Bitqu # SolFi DEX API :::tip Need real-time SolFi data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered SolFi swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical SolFi data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered SolFi swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical SolFi data older than ~30 days**, raw per-swap detail, or call / event context. ::: import VideoPlayer from "../../../src/components/videoplayer.js"; diff --git a/docs/blockchain/Solana/Solana-AldrinAmm-api.md b/docs/blockchain/Solana/Solana-AldrinAmm-api.md index c154ceaca..5a7317591 100644 --- a/docs/blockchain/Solana/Solana-AldrinAmm-api.md +++ b/docs/blockchain/Solana/Solana-AldrinAmm-api.md @@ -5,7 +5,7 @@ description: "Solana Aldrinamm API: query and stream Solana on-chain data with B # AldrinAmm DEX API :::tip Need real-time AldrinAmm data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered AldrinAmm swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical AldrinAmm data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered AldrinAmm swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical AldrinAmm data older than ~30 days**, raw per-swap detail, or call / event context. ::: :::note diff --git a/docs/blockchain/Solana/Solana-DEX-Orders-API.md b/docs/blockchain/Solana/Solana-DEX-Orders-API.md index 9f5c10751..de0226d23 100644 --- a/docs/blockchain/Solana/Solana-DEX-Orders-API.md +++ b/docs/blockchain/Solana/Solana-DEX-Orders-API.md @@ -7,7 +7,7 @@ import FAQ from "@site/src/components/FAQ"; # Solana DEX Orders API :::tip Need real-time Solana DEX orders data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Solana DEX orders swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Solana DEX orders data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Solana DEX orders swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Solana DEX orders data older than ~30 days**, raw per-swap detail, or call / event context. ::: In this section, you'll learn how to access Solana-based decentralized exchange (DEX) trading data using our DEX Orders API. diff --git a/docs/blockchain/Solana/Solana-DexPools-API.md b/docs/blockchain/Solana/Solana-DexPools-API.md index 783e4b0da..80cc7f171 100644 --- a/docs/blockchain/Solana/Solana-DexPools-API.md +++ b/docs/blockchain/Solana/Solana-DexPools-API.md @@ -9,7 +9,7 @@ import ProductCTA from "@site/src/components/ProductCTA"; # Solana DEX Pools API :::tip Need real-time Solana DEX pool data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Solana DEX pool swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Solana DEX pool data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Solana DEX pool swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Solana DEX pool data older than ~30 days**, raw per-swap detail, or call / event context. Pool and liquidity data ships with the [Solana DEX API](https://bitquery.io/products/solana-dex-api) — the product page covers venues, plans and real-time delivery. ::: diff --git a/docs/blockchain/Solana/Solana-Jito-Bundle-api.mdx b/docs/blockchain/Solana/Solana-Jito-Bundle-api.mdx index 0b9269ed5..18b980f25 100644 --- a/docs/blockchain/Solana/Solana-Jito-Bundle-api.mdx +++ b/docs/blockchain/Solana/Solana-Jito-Bundle-api.mdx @@ -5,7 +5,7 @@ description: "Solana Jito Bundle API: query and stream Solana on-chain data with # Jito Bundle API :::tip Need real-time Jito bundle data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Jito bundle swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Jito bundle data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Jito bundle swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Jito bundle data older than ~30 days**, raw per-swap detail, or call / event context. ::: In this section, we will show you how to access information about Jito Bundles using Bitquery APIs. diff --git a/docs/blockchain/Solana/Solana-Lifinity-dex-api.mdx b/docs/blockchain/Solana/Solana-Lifinity-dex-api.mdx index 9b42a27de..22f054410 100644 --- a/docs/blockchain/Solana/Solana-Lifinity-dex-api.mdx +++ b/docs/blockchain/Solana/Solana-Lifinity-dex-api.mdx @@ -5,7 +5,7 @@ description: "Query Lifinity on Solana with Bitquery GraphQL: real-time trades, # Lifinity DEX API :::tip Need real-time Lifinity data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Lifinity swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Lifinity data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Lifinity swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Lifinity data older than ~30 days**, raw per-swap detail, or call / event context. Lifinity trades ship as part of the [Solana DEX API](https://bitquery.io/products/solana-dex-api) — one schema across all major Solana venues. ::: diff --git a/docs/blockchain/Solana/Solana-OpenBook-api.mdx b/docs/blockchain/Solana/Solana-OpenBook-api.mdx index 7203a0230..9c73968c9 100644 --- a/docs/blockchain/Solana/Solana-OpenBook-api.mdx +++ b/docs/blockchain/Solana/Solana-OpenBook-api.mdx @@ -5,7 +5,7 @@ description: "Query OpenBook v2 on Solana with Bitquery GraphQL: real-time trade # OpenBook DEX API :::tip Need real-time OpenBook data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered OpenBook swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical OpenBook data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered OpenBook swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical OpenBook data older than ~30 days**, raw per-swap detail, or call / event context. OpenBook markets are covered by the [Solana DEX API](https://bitquery.io/products/solana-dex-api) alongside Raydium, Orca and Jupiter. ::: diff --git a/docs/blockchain/Solana/Solana-Phoenix-api.md b/docs/blockchain/Solana/Solana-Phoenix-api.md index e84b7f835..5b1c543bb 100644 --- a/docs/blockchain/Solana/Solana-Phoenix-api.md +++ b/docs/blockchain/Solana/Solana-Phoenix-api.md @@ -14,7 +14,7 @@ Phoenix order-book data is available as a product — see the [Phoenix Trades AP ::: :::tip Need real-time Phoenix data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Phoenix swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Phoenix data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Phoenix swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Phoenix data older than ~30 days**, raw per-swap detail, or call / event context. ::: import VideoPlayer from "../../../src/components/videoplayer.js"; diff --git a/docs/blockchain/Solana/Solana-Raydium-DEX-API.mdx b/docs/blockchain/Solana/Solana-Raydium-DEX-API.mdx index 25b38a29b..3a7bddf7b 100644 --- a/docs/blockchain/Solana/Solana-Raydium-DEX-API.mdx +++ b/docs/blockchain/Solana/Solana-Raydium-DEX-API.mdx @@ -9,7 +9,7 @@ import ProductCTA from "@site/src/components/ProductCTA"; # Raydium DEX API - Solana Trades, Pools, OHLC :::tip Need real-time Raydium data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Raydium swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Raydium data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Raydium swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Raydium data older than ~30 days**, raw per-swap detail, or call / event context. For an overview of what the [Raydium API](https://bitquery.io/products/raydium-api) covers — AMM, CLMM and CPMM trades, pools and OHLC — with plans and trial access, see the product page. ::: diff --git a/docs/blockchain/Solana/ai-agent-solana-data.mdx b/docs/blockchain/Solana/ai-agent-solana-data.mdx index da1b409c7..4bcf86371 100644 --- a/docs/blockchain/Solana/ai-agent-solana-data.mdx +++ b/docs/blockchain/Solana/ai-agent-solana-data.mdx @@ -37,7 +37,7 @@ Run it [in the IDE](https://ide.bitquery.io/Trading-API-Trending-Tokens-Solana). ### Live Solana trade stream -Run it [in the IDE](https://ide.bitquery.io/Trading-API-Live-Trades-All-Chains) — scoped here to Solana; drop the `Network` filter to stream all 9 chains. +Run it [in the IDE](https://ide.bitquery.io/Trading-API-Live-Trades-All-Chains) — scoped here to Solana; drop the `Network` filter to stream all 10 chains. ```graphql subscription { diff --git a/docs/blockchain/Solana/bags-fm-api.md b/docs/blockchain/Solana/bags-fm-api.md index f3707837f..be6bd8d7e 100644 --- a/docs/blockchain/Solana/bags-fm-api.md +++ b/docs/blockchain/Solana/bags-fm-api.md @@ -17,7 +17,7 @@ keywords: # Bags FM API Documentation :::tip Need real-time Bags FM data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Bags FM data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Bags FM data older than ~30 days**, raw per-swap detail, or call / event context. ::: Welcome to the **Bags FM API documentation**, powered by **Bitquery blockchain data APIs**. diff --git a/docs/blockchain/Solana/goonfi-api.md b/docs/blockchain/Solana/goonfi-api.md index f3b79b497..d5cfd160b 100644 --- a/docs/blockchain/Solana/goonfi-api.md +++ b/docs/blockchain/Solana/goonfi-api.md @@ -5,7 +5,7 @@ description: "Solana Goonfi API: query and stream Solana on-chain data with Bitq # GoonFi API :::tip Need real-time GoonFi data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered GoonFi swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical GoonFi data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered GoonFi swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical GoonFi data older than ~30 days**, raw per-swap detail, or call / event context. ::: import VideoPlayer from "../../../src/components/videoplayer.js"; diff --git a/docs/blockchain/Solana/heaven-dex-api.md b/docs/blockchain/Solana/heaven-dex-api.md index 93825dc2d..c8fdf69ca 100644 --- a/docs/blockchain/Solana/heaven-dex-api.md +++ b/docs/blockchain/Solana/heaven-dex-api.md @@ -5,7 +5,7 @@ description: "Solana Heaven DEX API: query and stream Solana on-chain data with # Heaven DEX API :::tip Need real-time Heaven DEX data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Heaven DEX swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Heaven DEX data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Heaven DEX swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Heaven DEX data older than ~30 days**, raw per-swap detail, or call / event context. ::: import VideoPlayer from "../../../src/components/videoplayer.js"; diff --git a/docs/blockchain/Solana/index.mdx b/docs/blockchain/Solana/index.mdx index b01480f5e..10e0fc836 100644 --- a/docs/blockchain/Solana/index.mdx +++ b/docs/blockchain/Solana/index.mdx @@ -23,7 +23,7 @@ import FAQ from "@site/src/components/FAQ"; # Solana API - DEX Trades, Token Data, Real-Time Streams :::tip Building a trading app or DEX UI on Solana? -For **real-time trades and prices on Solana** (and the last ~30 days), use the curated [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. For **historical Solana data older than ~30 days**, use the chain-level `DEXTrades` / `DEXTradeByTokens` APIs documented below. +For **real-time trades and prices on Solana** (and the last ~30 days), use the curated [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. For **historical Solana data older than ~30 days**, use the chain-level `DEXTrades` / `DEXTradeByTokens` APIs documented below. ::: Access data from **[Pump.fun API](/docs/blockchain/Solana/Pumpfun/Pump-Fun-API/)**, **[Raydium DEX API](/docs/blockchain/Solana/Solana-Raydium-DEX-API)**, **[Orca API](/docs/blockchain/Solana/solana-orca-dex-api)**, **[DEXScreener API](/docs/blockchain/Solana/DEXScreener/solana_dexscreener/)**, **[Jupiter API](/docs/blockchain/Solana/solana-jupiter-api)**, **[Meteora](/docs/blockchain/Solana/Meteora-DLMM-API)**, **[GMGN](/docs/blockchain/Solana/solana-gmgn-api)**, **[Phoenix](/docs/blockchain/Solana/Solana-Phoenix-api)**, and more via GraphQL APIs and Streams. diff --git a/docs/blockchain/Solana/jupiter-studio-api.md b/docs/blockchain/Solana/jupiter-studio-api.md index 1a6a7ce6b..e5b17c257 100644 --- a/docs/blockchain/Solana/jupiter-studio-api.md +++ b/docs/blockchain/Solana/jupiter-studio-api.md @@ -5,7 +5,7 @@ description: "Solana Jupiter Studio API: real-time Solana memecoin and DEX data # Jupiter Studio API - Live Token Launches, Trades, OHLC, Migration Data :::tip Need real-time Jupiter Studio data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Jupiter Studio data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Jupiter Studio data older than ~30 days**, raw per-swap detail, or call / event context. ::: Get ultra low latency Jupiter Studio launchpad data, token trades, OHLC, migration tracking, and Meteora DBC analytics from Jupiter Studio API, Streams and Data Dumps. diff --git a/docs/blockchain/Solana/launchpad-raydium.md b/docs/blockchain/Solana/launchpad-raydium.md index 73e56e28c..21d1733be 100644 --- a/docs/blockchain/Solana/launchpad-raydium.md +++ b/docs/blockchain/Solana/launchpad-raydium.md @@ -5,7 +5,7 @@ description: "Raydium Launchpad API: real-time Solana memecoin and DEX data via # Raydium Launchpad API :::tip Need real-time Raydium Launchpad data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Raydium Launchpad swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Raydium Launchpad data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Raydium Launchpad swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Raydium Launchpad data older than ~30 days**, raw per-swap detail, or call / event context. ::: import VideoPlayer from "../../../src/components/videoplayer.js"; diff --git a/docs/blockchain/Solana/letsbonk-api.md b/docs/blockchain/Solana/letsbonk-api.md index 4e23a59ca..3c93c9c02 100644 --- a/docs/blockchain/Solana/letsbonk-api.md +++ b/docs/blockchain/Solana/letsbonk-api.md @@ -9,7 +9,7 @@ import FAQ from "@site/src/components/FAQ"; import VideoPlayer from "../../../src/components/videoplayer.js"; :::tip Need real-time LetsBonk.fun data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical LetsBonk.fun data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical LetsBonk.fun data older than ~30 days**, raw per-swap detail, or call / event context. ::: In this document, we will explore several examples related to LetsBonk.fun. You can also check out our [Pump Fun API Docs](/docs/blockchain/Solana/Pumpfun/Pump-Fun-API/) and [FourMeme API Docs](/docs/blockchain/BSC/four-meme-api/). For StonkFun launches on the same Raydium LaunchLab program, see the [StonkFun API](/docs/blockchain/Solana/stonkfun-api/) docs. For live DEX prices and volume across LetsBonk tokens, see [DEXrabbit's LetsBonk category](https://dexrabbit.bitquery.io/categories/letsbonk-fun-ecosystem). diff --git a/docs/blockchain/Solana/raydium-clmm-API.md b/docs/blockchain/Solana/raydium-clmm-API.md index 8086f9aaf..6bbcf505d 100644 --- a/docs/blockchain/Solana/raydium-clmm-API.md +++ b/docs/blockchain/Solana/raydium-clmm-API.md @@ -7,7 +7,7 @@ import FAQ from "@site/src/components/FAQ"; # Raydium CLMM API :::tip Need real-time Raydium CLMM data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Raydium CLMM swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Raydium CLMM data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Raydium CLMM swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Raydium CLMM data older than ~30 days**, raw per-swap detail, or call / event context. ::: Bitquery provides comprehensive real-time and historical data APIs and Streams for the Solana blockchain, enabling developers and traders to build powerful applications and execute trades based on reliable information. diff --git a/docs/blockchain/Solana/raydium-cpmm-API.md b/docs/blockchain/Solana/raydium-cpmm-API.md index 8821d13d2..8310778a4 100644 --- a/docs/blockchain/Solana/raydium-cpmm-API.md +++ b/docs/blockchain/Solana/raydium-cpmm-API.md @@ -5,7 +5,7 @@ description: "Solana Raydium Cpmm API: real-time Solana memecoin and DEX data vi # Raydium CPMM API :::tip Need real-time Raydium CPMM data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Raydium CPMM swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Raydium CPMM data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Raydium CPMM swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Raydium CPMM data older than ~30 days**, raw per-swap detail, or call / event context. ::: 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](/docs/blockchain/Solana/Pumpfun/Pump-Fun-API/), [Raydium v4 docs](/docs/blockchain/Solana/Solana-Raydium-DEX-API/) and [Raydium LaunchPad docs](/docs/blockchain/Solana/launchpad-raydium/) too. diff --git a/docs/blockchain/Solana/solana-bullx-api.md b/docs/blockchain/Solana/solana-bullx-api.md index 9818e61eb..7108e6321 100644 --- a/docs/blockchain/Solana/solana-bullx-api.md +++ b/docs/blockchain/Solana/solana-bullx-api.md @@ -6,7 +6,7 @@ description: "Solana Bullx API: query and stream Solana on-chain data with Bitqu # BullX Solana API :::tip Need real-time BullX-style trader data or anything from the last ~30 days? -For **real-time trader and wallet data over the last ~30 days** across **9 chains in one API**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **`Trader.Address`** as a first-class filter plus **USD price, market cap, and supply on every row**. Use this page when you need **historical BullX-style trader data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time trader and wallet data over the last ~30 days** across **10 chains in one API**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **`Trader.Address`** as a first-class filter plus **USD price, market cap, and supply on every row**. Use this page when you need **historical BullX-style trader data older than ~30 days**, raw per-swap detail, or call / event context. ::: This section will guide you through different APIs which will tell you how to get data like realtime trades just like how BullX shows for Solana. diff --git a/docs/blockchain/Solana/solana-dextrades.mdx b/docs/blockchain/Solana/solana-dextrades.mdx index 42ca0982b..85188c3f3 100644 --- a/docs/blockchain/Solana/solana-dextrades.mdx +++ b/docs/blockchain/Solana/solana-dextrades.mdx @@ -9,7 +9,7 @@ import ProductCTA from "@site/src/components/ProductCTA"; # Solana DEX Trades API :::tip Need real-time Solana DEX data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API** (filter with `Pair.Market.Network: Solana`). Use this page when you need **historical Solana data older than ~30 days** (with `dataset: archive`), raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API** (filter with `Pair.Market.Network: Solana`). Use this page when you need **historical Solana data older than ~30 days** (with `dataset: archive`), raw per-swap detail, or call / event context. Everything on this page is part of the [Solana DEX API](https://bitquery.io/products/solana-dex-api) — the product page summarizes venues, OHLCV, pools and streaming latency. diff --git a/docs/blockchain/Solana/solana-geckoterminal-api.md b/docs/blockchain/Solana/solana-geckoterminal-api.md index 5805f6bff..b09419c15 100644 --- a/docs/blockchain/Solana/solana-geckoterminal-api.md +++ b/docs/blockchain/Solana/solana-geckoterminal-api.md @@ -22,7 +22,7 @@ A GeckoTerminal pool page is a handful of numbers over one market: the trades sc ### Live trades with USD price, market cap and supply -Streams MEV-filtered trades across all 9 chains; add `Network: {is: "Solana"}` inside `Pair.Market` to scope to one chain. Run it [in the IDE](https://ide.bitquery.io/Trading-API-Live-Trades-All-Chains). +Streams MEV-filtered trades across all 10 chains; add `Network: {is: "Solana"}` inside `Pair.Market` to scope to one chain. Run it [in the IDE](https://ide.bitquery.io/Trading-API-Live-Trades-All-Chains). ```graphql subscription { diff --git a/docs/blockchain/Solana/solana-gmgn-api.md b/docs/blockchain/Solana/solana-gmgn-api.md index 119109221..bbf96d28a 100644 --- a/docs/blockchain/Solana/solana-gmgn-api.md +++ b/docs/blockchain/Solana/solana-gmgn-api.md @@ -20,7 +20,7 @@ import FAQ from "@site/src/components/FAQ"; # GMGN Solana API :::tip Need real-time GMGN-style trader data or anything from the last ~30 days? -For **real-time trader and wallet data over the last ~30 days** across **9 chains in one API**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **`Trader.Address`** as a first-class filter plus **USD price, market cap, and supply on every row**. Use this page when you need **historical GMGN-style trader data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time trader and wallet data over the last ~30 days** across **10 chains in one API**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **`Trader.Address`** as a first-class filter plus **USD price, market cap, and supply on every row**. Use this page when you need **historical GMGN-style trader data older than ~30 days**, raw per-swap detail, or call / event context. ::: Replicate **GMGN**-style **Solana** analytics with Bitquery: **trending tokens**, **top DEX pairs**, **aggregate stats** (buys, sells, buy/sell volume, makers, buyers, sellers), **live trades per pair**, **OHLC** for charts, **volume by token**, and **top traded pairs**. Uses **`DEXTradeByTokens`** and **`Solana`** GraphQL—some patterns work as **queries** only when they rely on heavy aggregates (see notes below). diff --git a/docs/blockchain/Solana/solana-jupiter-api.mdx b/docs/blockchain/Solana/solana-jupiter-api.mdx index e0030254f..e5a532797 100644 --- a/docs/blockchain/Solana/solana-jupiter-api.mdx +++ b/docs/blockchain/Solana/solana-jupiter-api.mdx @@ -8,7 +8,7 @@ import FAQ from "@site/src/components/FAQ"; # Solana Jupiter API - Live Swaps, Limit Orders, DEX Aggregator Data :::tip Need real-time Jupiter data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Jupiter swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Jupiter data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Jupiter swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Jupiter data older than ~30 days**, raw per-swap detail, or call / event context. ::: Get ultra low latency Jupiter DEX Aggregator swaps, limit orders, routing data, and trading analytics from Jupiter API, Streams and Data Dumps. diff --git a/docs/blockchain/Solana/solana-orca-dex-api.mdx b/docs/blockchain/Solana/solana-orca-dex-api.mdx index 124847e63..117a68799 100644 --- a/docs/blockchain/Solana/solana-orca-dex-api.mdx +++ b/docs/blockchain/Solana/solana-orca-dex-api.mdx @@ -9,7 +9,7 @@ import ProductCTA from "@site/src/components/ProductCTA"; # Orca DEX API :::tip Need real-time Orca data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Orca swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Orca data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Orca swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Orca data older than ~30 days**, raw per-swap detail, or call / event context. Orca is one of the venues covered by our [Solana DEX API](https://bitquery.io/products/solana-dex-api), which unifies Raydium, Orca, Meteora, Pump.fun and Jupiter trades in one schema. ::: diff --git a/docs/blockchain/Solana/solana-photon-api.md b/docs/blockchain/Solana/solana-photon-api.md index 794b87fbc..f4c67ea05 100644 --- a/docs/blockchain/Solana/solana-photon-api.md +++ b/docs/blockchain/Solana/solana-photon-api.md @@ -9,7 +9,7 @@ import ProductCTA from "@site/src/components/ProductCTA"; # Photon Solana API :::tip Need real-time Photon-style trader data or anything from the last ~30 days? -For **real-time trader and wallet data over the last ~30 days** across **9 chains in one API**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **`Trader.Address`** as a first-class filter plus **USD price, market cap, and supply on every row**. Use this page when you need **historical Photon-style trader data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time trader and wallet data over the last ~30 days** across **10 chains in one API**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **`Trader.Address`** as a first-class filter plus **USD price, market cap, and supply on every row**. Use this page when you need **historical Photon-style trader data older than ~30 days**, raw per-swap detail, or call / event context. The queries below run on the same data that powers Photon-style terminals — the [Solana DEX API](https://bitquery.io/products/solana-dex-api) page covers venues, latency and plans. ::: diff --git a/docs/blockchain/Solana/solana-token-marketcap-api.md b/docs/blockchain/Solana/solana-token-marketcap-api.md index b1e191252..38cb65e91 100644 --- a/docs/blockchain/Solana/solana-token-marketcap-api.md +++ b/docs/blockchain/Solana/solana-token-marketcap-api.md @@ -12,7 +12,7 @@ import VideoPlayer from "../../../src/components/videoplayer.js"; :::tip Need real-time Solana token market-cap data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Solana token market-cap swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Solana token market-cap data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Solana token market-cap swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Solana token market-cap data older than ~30 days**, raw per-swap detail, or call / event context. ::: Use Bitquery’s **Trading** API **`Tokens`** cube to stream or query **market cap**, **fully diluted valuation (USD)**, **total supply**, **price** (OHLC and averages), and **volume** for tokens on **Solana**. Filter with **`solana:`** plus the token **mint** in **`Token.Id`** / **`Currency.Id`**; ranked queries below use **`Token.Network`** **`Solana`**. diff --git a/docs/blockchain/Solana/solana-trader-API.md b/docs/blockchain/Solana/solana-trader-API.md index e23ffdbd2..f1108718d 100644 --- a/docs/blockchain/Solana/solana-trader-API.md +++ b/docs/blockchain/Solana/solana-trader-API.md @@ -5,7 +5,7 @@ description: "Solana Trader API: query and stream Solana on-chain data with Bitq # Solana Trader API :::tip Need real-time Solana trader data or anything from the last ~30 days? -For **real-time trader and wallet data over the last ~30 days** across **9 chains in one API**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **`Trader.Address`** as a first-class filter plus **USD price, market cap, and supply on every row**. Use this page when you need **historical Solana trader data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time trader and wallet data over the last ~30 days** across **10 chains in one API**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **`Trader.Address`** as a first-class filter plus **USD price, market cap, and supply on every row**. Use this page when you need **historical Solana trader data older than ~30 days**, raw per-swap detail, or call / event context. ::: In this section we will see how to get Solana trader information using our API. More queries on DEX trades including latest trades, OHLC, and other data points can be found in the [Solana DEX Trades API page](/docs/blockchain/Solana/solana-dextrades/). diff --git a/docs/blockchain/Solana/solana-zeta.mdx b/docs/blockchain/Solana/solana-zeta.mdx index 74fcc1d4e..b4c5a686b 100644 --- a/docs/blockchain/Solana/solana-zeta.mdx +++ b/docs/blockchain/Solana/solana-zeta.mdx @@ -6,7 +6,7 @@ description: "Solana Zeta: query and stream Solana on-chain data with Bitquery G # ZETA DEX API :::tip Need real-time Zeta data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Zeta swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical Zeta data older than ~30 days**, raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered Zeta swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical Zeta data older than ~30 days**, raw per-swap detail, or call / event context. ::: In this section, we'll show you how to access information about Zeta DEX data using Bitquery APIs. diff --git a/docs/blockchain/Solana/xstocks-api.md b/docs/blockchain/Solana/xstocks-api.md index bb40ea85e..7b4ea291e 100644 --- a/docs/blockchain/Solana/xstocks-api.md +++ b/docs/blockchain/Solana/xstocks-api.md @@ -5,7 +5,7 @@ description: "Solana Xstocks API: query and stream Solana on-chain data with Bit # xStocks API :::tip These examples use the Trading API -The queries on this page use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered xStocks swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**, and [`Trading.Tokens`](/docs/trading/crypto-price-api/tokens) / [`Trading.Pairs`](/docs/trading/crypto-price-api/pairs) give you ready-made OHLC candles. `Trading.Trades` covers **real-time and roughly the last 30 days**; for xStocks history older than that, drop down to the chain-level [`DEXTradeByTokens`](/docs/cubes/dextradesbyTokens) cube. +The queries on this page use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered xStocks swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**, and [`Trading.Tokens`](/docs/trading/crypto-price-api/tokens) / [`Trading.Pairs`](/docs/trading/crypto-price-api/pairs) give you ready-made OHLC candles. `Trading.Trades` covers **real-time and roughly the last 30 days**; for xStocks history older than that, drop down to the chain-level [`DEXTradeByTokens`](/docs/cubes/dextradesbyTokens) cube. ::: :::note Some tickers only trade via RFQ diff --git a/docs/blockchain/Tron/index.mdx b/docs/blockchain/Tron/index.mdx index 441ae1f8b..5b8af382e 100644 --- a/docs/blockchain/Tron/index.mdx +++ b/docs/blockchain/Tron/index.mdx @@ -25,7 +25,7 @@ keywords: # Tron API Documentation :::tip Building a trading app or DEX UI on Tron? -For **real-time trades and prices on Tron** (and the last ~30 days), use the curated [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. For **historical Tron data older than ~30 days**, use the chain-level `DEXTrades` / `DEXTradeByTokens` APIs documented below. +For **real-time trades and prices on Tron** (and the last ~30 days), use the curated [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. For **historical Tron data older than ~30 days**, use the chain-level `DEXTrades` / `DEXTradeByTokens` APIs documented below. ::: ## Overview diff --git a/docs/blockchain/Tron/tron-dextrades.md b/docs/blockchain/Tron/tron-dextrades.md index 69714930a..f6a54c798 100644 --- a/docs/blockchain/Tron/tron-dextrades.md +++ b/docs/blockchain/Tron/tron-dextrades.md @@ -6,7 +6,7 @@ description: "Tron DEXtrades API: get Tron DEX swaps, prices, and OHLC with Bitq # Tron DEX Trades API :::tip Need real-time Tron DEX data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API** (filter with `Pair.Market.Network: Tron`). Use this page when you need **historical Tron data older than ~30 days** (with `dataset: combined` or `archive`), raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API** (filter with `Pair.Market.Network: Tron`). Use this page when you need **historical Tron data older than ~30 days** (with `dataset: combined` or `archive`), raw per-swap detail, or call / event context. ::: **Tron DEX Trades** help you see **who swapped what, when, and at what price** on Tron decentralized exchanges which is useful for dashboards, alerts, research, and trading tools. The examples below are ready-to-run **GraphQL** queries and subscriptions you can copy into the [Bitquery IDE](https://ide.bitquery.io). You can also stream at scale via [Apache Kafka](/docs/streams/kafka-streaming-concepts/). diff --git a/docs/blockchain/Tron/usdt-trc20-api.md b/docs/blockchain/Tron/usdt-trc20-api.md index ed6a841c8..8b00a4c72 100644 --- a/docs/blockchain/Tron/usdt-trc20-api.md +++ b/docs/blockchain/Tron/usdt-trc20-api.md @@ -439,4 +439,4 @@ subscription { - [Tron Transfers API](/docs/blockchain/Tron/tron-transfers) — all TRC10/TRC20 and native TRX transfers - [Tron DEX Trades API](/docs/blockchain/Tron/tron-dextrades) — SunSwap and other Tron DEX activity - [SunSwap API](/docs/blockchain/Tron/sunswap-api) — Tron's largest DEX -- [Trading API overview](/docs/trading/trading-data-overview) — structured trades and prices across 9 chains +- [Trading API overview](/docs/trading/trading-data-overview) — structured trades and prices across 10 chains diff --git a/docs/blockchain/arc-mainnet/arc-mainnet-balances-api.md b/docs/blockchain/arc-mainnet/arc-mainnet-balances-api.md new file mode 100644 index 000000000..b610765a8 --- /dev/null +++ b/docs/blockchain/arc-mainnet/arc-mainnet-balances-api.md @@ -0,0 +1,372 @@ +--- +title: "Arc Mainnet Balances & Token Supply API" +description: "Query Arc mainnet wallet balances, balance history, token holders and total supply with Bitquery GraphQL APIs, including multi-wallet portfolio queries." +sidebar_position: 6 +keywords: + - Arc mainnet balances API + - Arc mainnet wallet balance + - Arc mainnet USDC balance + - Arc mainnet portfolio API + - Arc mainnet balance history + - Arc mainnet token supply + - Arc mainnet eth_getBalance alternative + - Circle Arc balances API + - arc Balances + - Bitquery Arc mainnet +--- +# Arc Mainnet Balances & Token Supply API + +Query **wallet balances, holders and token supply on Arc mainnet** with Bitquery GraphQL. Four cubes on `network: arc` cover it: + +| Cube | What it returns | +| --- | --- | +| `Balances` | Computed current balance per address and currency, with first and last change time and update count | +| `Holders` | Current holder and token pairs, ranked by token balance | +| `BalanceUpdates` | Every individual balance change, with the transaction that caused it | +| `TransactionBalances` | Per-transaction post-balances and the token's `TotalSupply` | + +Every query on this page was executed against the production endpoint before publishing. + +:::info Availability checked 16 September 2026 +`Balances`, `Holders`, `BalanceUpdates` and `TransactionBalances` all returned mainnet data. Only the realtime path answered, so leave the `dataset` argument out until `archive` and `combined` are enabled. Join balances to the [latest price query](/docs/blockchain/arc-mainnet/arc-mainnet-trades-api/#latest-price-of-a-token) when you need a USD value. +::: + +:::note API Key Required +To query or stream data outside the Bitquery IDE, you need an API access token. + +Follow the steps here: [How to generate Bitquery API token ➤](/docs/authorization/how-to-generate/) +::: + +:::tip Related docs +- [Arc Mainnet API overview](/docs/blockchain/arc-mainnet/) — network facts, every cube and stream in one place +- [Arc Mainnet Transfers API](/docs/blockchain/arc-mainnet/arc-mainnet-transfers-api/) +- [Arc Mainnet DEX Trades API](/docs/blockchain/arc-mainnet/arc-mainnet-trades-api/) +- [EVM Balances schema](/docs/schema/evm/balances/) +- [EVM Token Supply API](/docs/blockchain/Ethereum/token-supply/evm-token-supply/) +::: + +**On this page:** [Portfolio](#portfolio-of-a-wallet) · [One token](#balance-of-one-token) · [Batch](#balances-of-several-wallets) · [Top holders](#top-holders-of-a-token) · [History](#balance-history-of-a-wallet) · [Stream](#stream-balance-changes) · [Supply](#total-supply-of-a-token) · [Supply stream](#stream-supply-changes) · [FAQ](#faq) + +--- + +## Portfolio of a wallet + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-docs-balances-portfolio-of-a-wallet) + +Every currency an address holds, with the computed balance and when it last changed. Native USDC has `Native: true`; the ERC-20 interface at `0x3600...` is listed separately. + +```graphql +{ + EVM(network: arc) { + Balances( + where: {Balance: {Address: {is: "0xada5bb90d0de0bd1b6f3938708f49295a8d1f7cb"}}} + orderBy: {descending: Balance_Amount} + ) { + Currency { + Name + Symbol + SmartContract + Native + } + Balance { + Amount + FirstChangeTime + LastChangeTime + UpdateCount + } + } + } +} +``` + +--- + +## Balance of one token + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-docs-balances-balance-of-one-token) + +The `balanceOf` equivalent for ERC-20 USDC. For the gas token use `Currency: {Native: true}` instead of a contract filter. + +```graphql +{ + EVM(network: arc) { + Balances( + where: { + Balance: {Address: {is: "0xada5bb90d0de0bd1b6f3938708f49295a8d1f7cb"}} + Currency: {SmartContract: {is: "0x3600000000000000000000000000000000000000"}} + } + ) { + Currency { + Symbol + Decimals + } + Balance { + Amount + LastChangeTime + } + } + } +} +``` + +--- + +## Balances of several wallets + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-docs-balances-balances-of-several-wallets) + +One call for a batch of addresses, grouped by address and currency. + +```graphql +{ + EVM(network: arc) { + Balances( + where: { + Balance: { + Address: { + in: [ + "0xada5bb90d0de0bd1b6f3938708f49295a8d1f7cb" + "0xb40bd0f6b1332daf9e987a0ca33efe6e90d0b938" + "0x2bf981e99011ae4050aaa6f33af4bfc26b89f224" + ] + } + } + Currency: {SmartContract: {is: "0x3600000000000000000000000000000000000000"}} + } + orderBy: {descending: Balance_Amount} + ) { + Balance { + Address + Amount + } + Currency { + Symbol + } + } + } +} +``` + +--- + +## Top holders of a token + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-docs-balances-top-holders-of-a-token) + +Current EURC holders ranked by token balance. Add `Balance: {Amount: {gt: "0"}}` so wallets that once held the token but now hold zero do not appear. + +```graphql +{ + EVM(network: arc) { + Holders( + where: { + Currency: {SmartContract: {is: "0xbef5f6d51cb62b58e6a8f77868681825c6fe21c1"}} + Balance: {Amount: {gt: "0"}} + } + orderBy: {descending: Balance_Amount} + limit: {count: 20} + ) { + Holder { + Address + } + Balance { + Amount + FirstChangeTime + LastChangeTime + UpdateCount + } + } + } +} +``` + +--- + +## Balance history of a wallet + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-docs-balances-balance-history-of-a-wallet) + +Each change to a wallet's ERC-20 USDC balance, newest first, with the transaction behind it. Positive amounts are inflows. + +```graphql +{ + EVM(network: arc) { + BalanceUpdates( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: { + BalanceUpdate: {Address: {is: "0xada5bb90d0de0bd1b6f3938708f49295a8d1f7cb"}} + Currency: {SmartContract: {is: "0x3600000000000000000000000000000000000000"}} + } + ) { + Block { + Number + Time + } + Transaction { + Hash + } + BalanceUpdate { + Amount + Type + } + Currency { + Symbol + } + } + } +} +``` + +### Net change per currency over a window + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-docs-balances-net-change-per-currency-over-a-window) + +Sum the updates per currency to see what a wallet gained or lost over the last 24 hours. + +```graphql +{ + EVM(network: arc) { + BalanceUpdates( + where: { + BalanceUpdate: {Address: {is: "0xada5bb90d0de0bd1b6f3938708f49295a8d1f7cb"}} + Block: {Time: {since_relative: {hours_ago: 24}}} + } + orderBy: {descendingByField: "netChange"} + ) { + Currency { + Symbol + SmartContract + Native + } + netChange: sum(of: BalanceUpdate_Amount) + inflow: sum(of: BalanceUpdate_Amount, if: {BalanceUpdate: {Amount: {gt: "0"}}}) + outflow: sum(of: BalanceUpdate_Amount, if: {BalanceUpdate: {Amount: {lt: "0"}}}) + updates: count + } + } +} +``` + +--- + +## Stream balance changes + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-docs-balances-stream-balance-changes) + +Every balance change of a wallet as it happens. Widen the filter to a list of addresses or a single token to build alerts. + +```graphql +subscription { + EVM(network: arc) { + BalanceUpdates( + where: { + BalanceUpdate: {Address: {is: "0xada5bb90d0de0bd1b6f3938708f49295a8d1f7cb"}} + } + ) { + Block { + Number + Time + } + Transaction { + Hash + } + BalanceUpdate { + Amount + Type + } + Currency { + Symbol + SmartContract + Native + } + } + } +} +``` + +--- + +## Total supply of a token + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-docs-balances-total-supply-of-a-token) + +`TransactionBalances` records the token's total supply after each transaction that touched it. The latest row is the current supply, already adjusted for decimals. + +```graphql +{ + EVM(network: arc) { + TransactionBalances( + limit: {count: 1} + orderBy: {descending: Block_Time} + where: { + TokenBalance: { + Currency: {SmartContract: {is: "0xbef5f6d51cb62b58e6a8f77868681825c6fe21c1"}} + } + } + ) { + Block { + Time + } + TokenBalance { + Currency { + Symbol + SmartContract + } + TotalSupply + } + } + } +} +``` + +--- + +## Stream supply changes + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-docs-balances-stream-supply-changes) + +A new row arrives whenever a mint or burn changes the supply of the token. + +```graphql +subscription { + EVM(network: arc) { + TransactionBalances( + where: { + TokenBalance: { + Currency: {SmartContract: {is: "0xbef5f6d51cb62b58e6a8f77868681825c6fe21c1"}} + } + } + ) { + Block { + Time + } + Transaction { + Hash + } + TokenBalance { + Currency { + Symbol + } + TotalSupply + } + } + } +} +``` + +--- + +## FAQ + +**Does the `Holders` cube work?** +Yes. It returned Arc mainnet holder rows in the production check on 16 September 2026. Filter `Balance.Amount` above zero for current holders. + +**Why does the same wallet show USDC twice?** +Native USDC (`Native: true`, 18 decimals) and the ERC-20 USDC interface (`0x3600...`, 6 decimals) appear as separate Bitquery currencies. Arc's ERC-20 interface acts on the native balance, so do not add the rows without checking the flow you are measuring. A third row with contract `0xfff...fffe` and no symbol is a system ledger mirror and can be ignored. + +**Are USD values available?** +The balance cubes return token amounts. Join them to `DEXTradeByTokens` or `Trading.Trades` prices when you need USD values. + +**Is `TotalSupply` raw or decimal-adjusted?** +Decimal-adjusted. A token with a billion supply reads `1000000000.000000000000000000`. diff --git a/docs/blockchain/arc-mainnet/arc-mainnet-calls-api.md b/docs/blockchain/arc-mainnet/arc-mainnet-calls-api.md new file mode 100644 index 000000000..fb65fb717 --- /dev/null +++ b/docs/blockchain/arc-mainnet/arc-mainnet-calls-api.md @@ -0,0 +1,431 @@ +--- +title: "Arc Mainnet Calls & Traces API" +description: "Query and stream Arc mainnet smart contract calls and traces with Bitquery GraphQL, including selectors, internal calls, deployments, reverts and top methods." +sidebar_position: 4 +keywords: + - Arc mainnet calls API + - Arc mainnet internal transactions + - Arc mainnet traces API + - Arc mainnet contract deployments + - Arc mainnet debug_traceTransaction alternative + - Arc mainnet reverted calls + - Circle Arc calls API + - arc Calls + - Bitquery Arc mainnet +--- +# Arc Mainnet Calls & Traces API + +Query and stream **smart contract calls on Arc mainnet** with Bitquery GraphQL. The `EVM.Calls` cube on `network: arc` holds every call in every transaction, including internal calls, with the decoded method signature, the call path, value, gas, success and revert flags, and the enclosing transaction. It returns what `debug_traceTransaction` and `trace_filter` return, without running a node, and the same query runs as a subscription. + +Every query on this page was executed against the production endpoint before publishing. Change `query` to `subscription` on any of them to stream the same rows. + +:::info Availability checked 16 September 2026 +The realtime path returned live calls and populated USD fields. Leave the `dataset` argument out until `combined` and `archive` are enabled. +::: + +:::note API Key Required +To query or stream data outside the Bitquery IDE, you need an API access token. + +Follow the steps here: [How to generate Bitquery API token ➤](/docs/authorization/how-to-generate/) +::: + +:::tip Related docs +- [Arc Mainnet API overview](/docs/blockchain/arc-mainnet/) — network facts, every cube and stream in one place +- [Arc Mainnet Events API](/docs/blockchain/arc-mainnet/arc-mainnet-events-api/) +- [Arc Mainnet Transactions API](/docs/blockchain/arc-mainnet/arc-mainnet-transactions-api/) +- [EVM Calls schema](/docs/schema/evm/calls/) +- [Transfers vs Events vs Calls](/docs/start/mental-model-transfers-events-calls/) +::: + +**On this page:** [Call anatomy](#what-one-call-row-contains) · [Stream](#stream-calls-to-a-contract) · [Latest](#latest-calls) · [By method](#calls-of-one-method) · [By selector](#calls-by-4-byte-selector) · [Internal calls of a transaction](#internal-calls-of-a-transaction) · [Deployments](#contract-deployments) · [Reverts](#reverted-calls) · [Top methods](#most-called-methods) · [Value-carrying calls](#calls-that-move-native-usdc) · [FAQ](#faq) + +--- + +## What one call row contains + +| Group | What it gives you | +| --- | --- | +| `Call` | `From`, `To`, `Value`, `Input`, `Output`, `Gas`, `GasUsed`, `Success`, `Reverted`, `Error`, `Create`, `Delegated`, `SelfDestruct`, `CallPath`, `Index`, `Depth` | +| `Call.Signature` | `Name`, full `Signature`, `SignatureHash` (the 4-byte selector, without `0x`) | +| `Arguments` | Decoded, typed inputs for registered ABIs | +| `Transaction` | Hash, `From`, `To`, value, gas and fee fields | +| `Receipt` | `Status`, `GasUsed`, deployed `ContractAddress` | +| `Block` | `Number`, `Time` | + +A transaction's top-level call has `Call.Index` 0 and an empty `CallPath`; internal calls have deeper paths. Filter `Call: {Index: {eq: 0}}` when you want one row per transaction. + +### Example addresses on this page + +| Item | Address | +| --- | --- | +| Uniswap v4 PoolManager | `0x8366a39cc670b4001a1121b8f6a443a643e40951` | +| USDC (ERC-20) | `0x3600000000000000000000000000000000000000` | + +--- + +## Stream calls to a contract + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-stream-calls-to-contract) + +Every call into the Uniswap v4 PoolManager, internal or top-level, as it happens. + +```graphql +subscription { + EVM(network: arc) { + Calls( + where: {Call: {To: {is: "0x8366a39cc670b4001a1121b8f6a443a643e40951"}}} + ) { + Block { + Number + Time + } + Transaction { + Hash + From + } + Call { + From + To + Value + Success + CallPath + Signature { + Name + Signature + SignatureHash + } + } + } + } +} +``` + +--- + +## Latest calls + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-latest-calls) + +The most recent top-level calls, one per transaction. + +```graphql +{ + EVM(network: arc) { + Calls( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: {Call: {Index: {eq: 0}}} + ) { + Block { + Number + Time + } + Transaction { + Hash + } + Call { + From + To + Value + Success + Gas + GasUsed + Signature { + Name + SignatureHash + } + } + } + } +} +``` + +--- + +## Calls of one method + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-calls-of-a-method) + +Filter on the decoded method name and the contract. This reads `transfer` calls into the ERC-20 USDC contract with their decoded arguments. + +```graphql +{ + EVM(network: arc) { + Calls( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: { + Call: { + To: {is: "0x3600000000000000000000000000000000000000"} + Signature: {Name: {is: "transfer"}} + } + } + ) { + Block { + Time + } + Transaction { + Hash + } + Call { + From + Success + Signature { + Signature + } + } + Arguments { + Name + Value { + ... on EVM_ABI_Address_Value_Arg { + address + } + ... on EVM_ABI_BigInt_Value_Arg { + bigInteger + } + } + } + } + } +} +``` + +--- + +## Calls by 4-byte selector + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-calls-by-selector) + +When the ABI is not registered, filter on the selector in `Call.Input` instead. This matches `approve(address,uint256)` by its `0x095ea7b3` prefix on any contract. + +```graphql +{ + EVM(network: arc) { + Calls( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: {Call: {Input: {startsWith: "0x095ea7b3"}}} + ) { + Block { + Time + } + Transaction { + Hash + } + Call { + From + To + Input + Success + Signature { + Name + } + } + } + } +} +``` + +--- + +## Internal calls of a transaction + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-internal-calls-of-transaction) + +The full call tree of one transaction, ordered by call index. Replace the hash with any recent transaction from the [Transactions API](/docs/blockchain/arc-mainnet/arc-mainnet-transactions-api/). + +```graphql +{ + EVM(network: arc) { + Calls( + orderBy: {ascending: Call_Index} + where: { + Transaction: { + Hash: {is: "0x3fb2f3f18ae8ef86dbf6d25f268c861d2982f67308031df45574b5a7fcc02b9f"} + } + } + ) { + Call { + Index + Depth + CallPath + From + To + Value + Gas + GasUsed + Success + Reverted + Delegated + Signature { + Name + Signature + } + } + } + } +} +``` + +--- + +## Contract deployments + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-contract-deployments) + +`Call.Create: true` marks a call that deployed a contract. The new address is in `Receipt.ContractAddress` for top-level deployments; for factory deployments read `Call.To` on the create call. + +```graphql +{ + EVM(network: arc) { + Calls( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: {Call: {Create: true}} + ) { + Block { + Time + Number + } + Transaction { + Hash + From + } + Call { + From + To + Success + CallPath + } + Receipt { + ContractAddress + } + } + } +} +``` + +--- + +## Reverted calls + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-reverted-calls) + +Calls that reverted, with the error string when the EVM returned one. Useful for debugging a contract under test. + +```graphql +{ + EVM(network: arc) { + Calls( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: {Call: {Reverted: true}} + ) { + Block { + Time + } + Transaction { + Hash + From + } + Call { + From + To + Error + CallPath + Signature { + Name + } + } + } + } +} +``` + +--- + +## Most called methods + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-most-called-methods) + +Method signatures ranked by call count over 24 hours. ERC-20 `transfer`, `balanceOf` and `approve` dominate, followed by Uniswap v4 hook callbacks. + +```graphql +{ + EVM(network: arc) { + Calls( + limit: {count: 20} + orderBy: {descendingByField: "count"} + where: { + Block: {Time: {since_relative: {hours_ago: 24}}} + Call: {Signature: {Name: {not: ""}}} + } + ) { + Call { + Signature { + Name + Signature + SignatureHash + } + } + count + contracts: uniq(of: Call_To) + } + } +} +``` + +--- + +## Calls that move native USDC + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-calls-with-value) + +Internal calls that carried native USDC value. This is how value moves between contracts shows up, since those movements are not ERC-20 `Transfer` events. + +```graphql +{ + EVM(network: arc) { + Calls( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: {Call: {Value: {gt: "10"}}} + ) { + Block { + Time + } + Transaction { + Hash + } + Call { + From + To + Value + Index + Signature { + Name + } + } + } + } +} +``` + +--- + +## FAQ + +**How do I get one row per transaction?** +Filter `Call: {Index: {eq: 0}}`. Every other row is an internal call. + +**Why is `Signature.Name` empty on some calls?** +The ABI is not registered. The raw `Input` and the selector prefix are still there, so filter with `Input: {startsWith: ...}`, and ask support to register the ABI if you need decoded arguments. + +**Is `Call.Value` in USDC?** +Yes. The gas token on Arc is USDC, so `Call.Value` and `Transaction.Value` are native USDC amounts. `ValueInUSD` also returned populated values in the launch-day check. + +**Does this replace `debug_traceTransaction`?** +For call trees, yes: `CallPath`, `Depth`, `Index`, gas per call and revert reasons are all here. Opcode-level traces are not. + +**Can I read calls older than the realtime window?** +Not yet. Only the realtime path answered on 16 September 2026. Retry `archive` and `combined` before using them. diff --git a/docs/blockchain/arc-mainnet/arc-mainnet-events-api.md b/docs/blockchain/arc-mainnet/arc-mainnet-events-api.md new file mode 100644 index 000000000..c9a5b6fd8 --- /dev/null +++ b/docs/blockchain/arc-mainnet/arc-mainnet-events-api.md @@ -0,0 +1,519 @@ +--- +title: "Arc Mainnet Events API & WebSocket Streams" +description: "Query and stream Arc mainnet smart contract events with Bitquery GraphQL, including decoded logs, topics, arguments and new Uniswap pool events in real time." +sidebar_position: 3 +keywords: + - Arc mainnet events API + - Arc mainnet smart contract events + - Arc mainnet logs API + - Arc mainnet eth_getLogs alternative + - Arc mainnet event stream websocket + - Arc mainnet Uniswap v4 Initialize + - Arc mainnet new pools + - Circle Arc events API + - arc Events + - Bitquery Arc mainnet +--- +# Arc Mainnet Events API & WebSocket Streams + +Stream **every smart contract event on Arc mainnet** with Bitquery GraphQL. The `EVM.Events` cube on `network: arc` returns each log with decoded, typed arguments for known signatures, the raw topics, and the transaction, internal call and receipt that produced it. It covers what `eth_getLogs` and `eth_subscribe("logs")` return, and adds server-side filtering on decoded values. + +Every query on this page was executed against the production endpoint before publishing. Change `query` to `subscription` on any of them to stream the same rows. + +:::info Availability checked 16 September 2026 +The realtime path and USD fields returned live data. Leave the `dataset` argument out until `combined` and `archive` are enabled. +::: + +:::note API Key Required +To query or stream data outside the Bitquery IDE, you need an API access token. + +Follow the steps here: [How to generate Bitquery API token ➤](/docs/authorization/how-to-generate/) +::: + +:::tip Related docs +- [Arc Mainnet API overview](/docs/blockchain/arc-mainnet/) — network facts, every cube and stream in one place +- [Arc Mainnet Calls API](/docs/blockchain/arc-mainnet/arc-mainnet-calls-api/) +- [Arc Mainnet DEX Trades API](/docs/blockchain/arc-mainnet/arc-mainnet-trades-api/) +- [Arc Mainnet Transfers API](/docs/blockchain/arc-mainnet/arc-mainnet-transfers-api/) +- [EVM Events schema](/docs/schema/evm/events/) +- [Transfers vs Events vs Calls](/docs/start/mental-model-transfers-events-calls/) +::: + +**On this page:** [Event anatomy](#what-one-event-row-contains) · [Firehose](#stream-all-events) · [By contract](#events-from-one-contract) · [By signature](#one-event-across-all-contracts) · [By topic0](#filter-by-raw-topic0) · [By argument](#filter-by-a-decoded-argument) · [New v4 pools](#new-uniswap-v4-pools) · [New v3 and v2 pools](#new-uniswap-v3-and-v2-pools) · [Busiest contracts](#busiest-contracts-and-signatures) · [Undecoded events](#undecoded-events) · [FAQ](#faq) + +--- + +## What one event row contains + +| Group | What it gives you | +| --- | --- | +| `Log` | `SmartContract` (the code that produced the log), log `Index`, and `Signature` (`Name`, full `Signature`, `SignatureHash`) | +| `LogHeader` | `Address`, the emitting address as `eth_getLogs` would return it | +| `Topics` | The raw indexed topics; topic0 is the signature hash | +| `Arguments` | Decoded, typed values (`address`, `bigInteger`, `string`, `hex`, `bool`, `integer`) with names | +| `Transaction` | Hash, `From`, `To`, value, gas and fee fields | +| `Call` | The internal call that emitted the log, with its signature and success flags | +| `Receipt` | `GasUsed`, `CumulativeGasUsed`, deployed `ContractAddress` | +| `Block` | `Number`, `Time` | + +Hash fields (`SignatureHash`, `Topics.Hash`) are hex strings **without** a `0x` prefix. + +### Example addresses on this page + +| Item | Address | +| --- | --- | +| Uniswap v4 PoolManager | `0x8366a39cc670b4001a1121b8f6a443a643e40951` | +| Uniswap v3 factory seen at launch | `0xf0db7b58379503491d857db50ac9ece64c653918` | +| Uniswap v2 factory seen at launch | `0x89e5db8b5aa49aa85ac63f691524311aeb649eba` | +| USDC (ERC-20) | `0x3600000000000000000000000000000000000000` | +| EURC | `0xbef5f6d51cb62b58e6a8f77868681825c6fe21c1` | + +--- + +## Stream all events + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-stream-all-events) + +One socket, every event on the chain. Good for building an indexer; heavy for anything else, so use the filtered streams below in production. + +```graphql +subscription { + EVM(network: arc) { + Events { + Block { + Number + Time + } + Transaction { + Hash + From + To + } + LogHeader { + Address + } + Log { + Index + Signature { + Name + Signature + SignatureHash + } + } + Topics { + Hash + } + Arguments { + Name + Type + Value { + ... on EVM_ABI_Integer_Value_Arg { + integer + } + ... on EVM_ABI_String_Value_Arg { + string + } + ... on EVM_ABI_Address_Value_Arg { + address + } + ... on EVM_ABI_BigInt_Value_Arg { + bigInteger + } + ... on EVM_ABI_Bytes_Value_Arg { + hex + } + ... on EVM_ABI_Boolean_Value_Arg { + bool + } + } + } + } + } +} +``` + +--- + +## Events from one contract + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-events-from-a-contract) + +`LogHeader.Address` is the `address` filter of `eth_getLogs`. This reads the latest events of the ERC-20 USDC contract. + +```graphql +{ + EVM(network: arc) { + Events( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: { + LogHeader: {Address: {is: "0x3600000000000000000000000000000000000000"}} + } + ) { + Block { + Time + } + Transaction { + Hash + } + Log { + Signature { + Name + } + } + Arguments { + Name + Value { + ... on EVM_ABI_Address_Value_Arg { + address + } + ... on EVM_ABI_BigInt_Value_Arg { + bigInteger + } + } + } + } + } +} +``` + +--- + +## One event across all contracts + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-swap-events) + +Filter by decoded signature name to watch one event type from every contract that emits it. This catches every `Swap`, from Uniswap v2 pairs, v3 pools and the v4 PoolManager alike. + +```graphql +{ + EVM(network: arc) { + Events( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: {Log: {Signature: {Name: {is: "Swap"}}}} + ) { + Block { + Time + } + Transaction { + Hash + } + LogHeader { + Address + } + Log { + Signature { + Signature + } + } + Arguments { + Name + Value { + ... on EVM_ABI_Address_Value_Arg { + address + } + ... on EVM_ABI_BigInt_Value_Arg { + bigInteger + } + ... on EVM_ABI_Bytes_Value_Arg { + hex + } + } + } + } + } +} +``` + +--- + +## Filter by raw topic0 + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-events-by-topic0) + +When you have the signature hash rather than the name, filter on `Log.Signature.SignatureHash`. This is the ERC-20 `Transfer(address,address,uint256)` hash, written without `0x`. + +```graphql +{ + EVM(network: arc) { + Events( + limit: {count: 10} + orderBy: {descending: Block_Time} + where: { + Log: { + Signature: { + SignatureHash: {is: "ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"} + } + } + } + ) { + Block { + Time + } + Transaction { + Hash + } + LogHeader { + Address + } + Topics { + Hash + } + Arguments { + Name + Value { + ... on EVM_ABI_Address_Value_Arg { + address + } + ... on EVM_ABI_BigInt_Value_Arg { + bigInteger + } + } + } + } + } +} +``` + +--- + +## Filter by a decoded argument + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-events-by-argument) + +Server-side filtering on decoded values is what a node cannot do. This finds every event whose argument named `to` equals a wallet, across all contracts and signatures. + +```graphql +{ + EVM(network: arc) { + Events( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: { + Arguments: { + includes: { + Name: {is: "to"} + Value: {Address: {is: "0xada5bb90d0de0bd1b6f3938708f49295a8d1f7cb"}} + } + } + } + ) { + Block { + Time + } + Transaction { + Hash + } + LogHeader { + Address + } + Log { + Signature { + Name + } + } + Arguments { + Name + Value { + ... on EVM_ABI_Address_Value_Arg { + address + } + ... on EVM_ABI_BigInt_Value_Arg { + bigInteger + } + } + } + } + } +} +``` + +--- + +## New Uniswap v4 pools + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-new-uniswap-v4-pools) + +Uniswap v4 carried most launch-day swaps. A new pool is an `Initialize` event on the PoolManager; its arguments give the pool `id`, the two currencies, the fee tier, tick spacing, hook address and opening price. + +```graphql +{ + EVM(network: arc) { + Events( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: { + LogHeader: {Address: {is: "0x8366a39cc670b4001a1121b8f6a443a643e40951"}} + Log: {Signature: {Name: {is: "Initialize"}}} + } + ) { + Block { + Time + Number + } + Transaction { + Hash + From + } + Arguments { + Name + Type + Value { + ... on EVM_ABI_Address_Value_Arg { + address + } + ... on EVM_ABI_BigInt_Value_Arg { + bigInteger + } + ... on EVM_ABI_Integer_Value_Arg { + integer + } + ... on EVM_ABI_Bytes_Value_Arg { + hex + } + } + } + } + } +} +``` + +Change `query` to `subscription` and drop `limit` and `orderBy` to get each new pool the moment it is created. + +--- + +## New Uniswap v3 and v2 pools + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-new-v3-v2-pools) + +Several v3 and v2 factory deployments appeared on mainnet, so filter on the event name rather than one factory address. `PoolCreated` is v3, `PairCreated` is v2; both carry the two tokens and the new pool address in their arguments. + +```graphql +{ + EVM(network: arc) { + Events( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: {Log: {Signature: {Name: {in: ["PoolCreated", "PairCreated"]}}}} + ) { + Block { + Time + } + Transaction { + Hash + } + LogHeader { + Address + } + Log { + Signature { + Name + } + } + Arguments { + Name + Value { + ... on EVM_ABI_Address_Value_Arg { + address + } + ... on EVM_ABI_BigInt_Value_Arg { + bigInteger + } + ... on EVM_ABI_Integer_Value_Arg { + integer + } + } + } + } + } +} +``` + +--- + +## Busiest contracts and signatures + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-busiest-event-contracts) + +Which contracts and event types dominate the log stream over 24 hours. Run this first on any network you have not explored yet. + +```graphql +{ + EVM(network: arc) { + contracts: Events( + limit: {count: 10} + orderBy: {descendingByField: "count"} + where: {Block: {Time: {since_relative: {hours_ago: 24}}}} + ) { + LogHeader { + Address + } + count + } + signatures: Events( + limit: {count: 10} + orderBy: {descendingByField: "count"} + where: {Block: {Time: {since_relative: {hours_ago: 24}}}} + ) { + Log { + Signature { + Name + Signature + } + } + count + } + } +} +``` + +--- + +## Undecoded events + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-undecoded-events) + +Events whose ABI is not registered arrive with an empty `Signature.Name` and no `Arguments`, but the raw `Topics` and `Log.SmartContract` are still there. This lists the contracts emitting the most undecoded events; if one matters to you, ask support to register its ABI. + +```graphql +{ + EVM(network: arc) { + Events( + limit: {count: 10} + orderBy: {descendingByField: "count"} + where: { + Block: {Time: {since_relative: {hours_ago: 24}}} + Log: {Signature: {Name: {is: ""}}} + } + ) { + LogHeader { + Address + } + Topics { + Hash + } + count + } + } +} +``` + +--- + +## FAQ + +**How do I map my `eth_getLogs` filter?** +`address` becomes `LogHeader.Address`, `topics[0]` becomes `Log.Signature.SignatureHash` (without `0x`), and a fixed block range becomes a `Block.Number` filter. Everything else on this page is extra: decoded arguments, argument filters and joined transaction context. + +**`LogHeader.Address` or `Log.SmartContract`?** +`LogHeader.Address` is the emitting address. `Log.SmartContract` is the code that produced the log, which differs behind proxies. Filter on `LogHeader.Address` to watch a deployed address. + +**Why do some events have an empty name?** +Their ABI is not registered yet. The raw topics and data are still delivered. See [Undecoded events](#undecoded-events). + +**Can I get history beyond the realtime window?** +Not yet. Only the realtime path answered on 16 September 2026. Retry `archive` and `combined` before using them. + +**How do I follow one Uniswap v4 pool?** +Take the pool `id` from its `Initialize` event and filter `Swap` events on the PoolManager whose first argument (`id`) matches it, using the [argument filter](#filter-by-a-decoded-argument) with `Value: {Bytes: ...}`, or read the pool's trades through the [DEX Trades API](/docs/blockchain/arc-mainnet/arc-mainnet-trades-api/) by its two currencies. diff --git a/docs/blockchain/arc-mainnet/arc-mainnet-launchpads-api.md b/docs/blockchain/arc-mainnet/arc-mainnet-launchpads-api.md new file mode 100644 index 000000000..71cd4c0af --- /dev/null +++ b/docs/blockchain/arc-mainnet/arc-mainnet-launchpads-api.md @@ -0,0 +1,390 @@ +--- +title: "Arc Mainnet Launchpads API & Streams" +description: "Find and stream token launches from verified Arc mainnet launchpads with Bitquery GraphQL, then query trades, prices and OHLCV for each launched token." +sidebar_position: 2 +keywords: + - Arc mainnet launchpads API + - Arc token launches + - Arc new tokens API + - Arc launchpad stream + - Argus launchpad API + - RadarDEX launchpad API + - Tolly launchpad API + - Warp launchpad API + - Archemist launchpad API + - PEGD launchpad API + - Bitquery Arc mainnet +--- +# Arc Mainnet Launchpads API & Streams + +Find and stream **new token launches on Arc mainnet**, then follow each token into its first trades. The queries use `EVM.Events` for launch contracts and `EVM.DEXTradeByTokens` for market data. + +This page covers six launchpads whose own sites publish Arc contracts or contract interfaces and whose launch events were found through Bitquery: [Argus](https://argus.world/docs), [RadarDEX](https://www.radardex.pro/), [Tolly](https://tollylabs.com/guide), [Warp](https://circlewarp.fun/), [Archemist](https://archemist.fun/docs), and [PEGD](https://pegd.fun/docs). + +Every query on this page was executed against the production endpoint before publishing. + +:::info Availability checked 16 September 2026 +The realtime path returned live launch events and trades. Leave the `dataset` argument out until `combined` and `archive` are enabled for Arc mainnet. +::: + +:::note API Key Required +To query or stream data outside the Bitquery IDE, you need an API access token. + +Follow the steps here: [How to generate Bitquery API token ➤](/docs/authorization/how-to-generate/) +::: + +:::tip Related docs +- [Arc Mainnet API overview](/docs/blockchain/arc-mainnet/) +- [Arc Mainnet DEX Trades API](/docs/blockchain/arc-mainnet/arc-mainnet-trades-api/) +- [Arc Mainnet Events API](/docs/blockchain/arc-mainnet/arc-mainnet-events-api/) +- [EVM Events schema](/docs/schema/evm/events/) +- [EVM DEXTrades schema](/docs/schema/evm/dextrades/) +::: + +**On this page:** [Launchpad contracts](#verified-launchpad-contracts) · [Event topics](#read-the-launched-token-address) · [Stream launches](#stream-launches) · [Latest launches](#latest-launches) · [Launch counts](#launch-count-by-platform) · [Token trades](#trades-for-a-launched-token) · [OHLCV](#ohlcv-for-a-launched-token) + +--- + +## Verified launchpad contracts + +The contract and event pair is the stable ID for each launchpad. Display names can change; contracts and event hashes do not. + +| Launchpad | Arc mainnet launch contract | Launch event | Signature hash | +| --- | --- | --- | --- | +| Argus | `0xa5628a11c412596e1f63b75a2c0284f843c549d6` | `TokenCreated` | `1d8917231579f8ce39407f0d616f36f357b07329b0ce5164d0754ac15145ce0a` | +| RadarDEX Classic | `0x4b638c1502a07a8e1a26112ee98f51a3f34bc93a` | `TokenLaunched` | `851d681a32f0efba577c4a1bd412f74b575764a6b91e499a05a48a23f3821d66` | +| RadarDEX Reflection | `0x2d933ce4bde6f3d99540b5d7886b383e59b2b2f8` | `TokenLaunched` | `851d681a32f0efba577c4a1bd412f74b575764a6b91e499a05a48a23f3821d66` | +| Tolly | `0xcad7ee36ac193bf2eddb7b3e2736c5bdb8269c8b` | `TokenCreated` | `875522b092d9e19a1de359e4bd218090d582fa521c9733889acf1a5ff1941255` | +| Warp | `0x0dcad158e98bc24455f9e94f46709d8a5f6d1255` | `TokenCreated` | `0b4cfda446fdf9ec5a85855f088c154869eb62e3e723d7d80319b680f90e0cfd` | +| Archemist V2 | `0x297cebc4de347347205cd08667b56ee951dd8810` | `TokenCreated` | `8e83c293b82cf6e864a90c1ccffea5e0f1ec23b271eff78e78f1dbd5e32a9c7d` | +| PEGD V4 | `0xd0aa679ec263e8f9bc929426eb9eab2e061d2c5f` | `KeyLaunched` | `4b5a1abdb5ebec3e01fa29e6e1f5e3095f8b3cfaed9ffcd46ad35e7ebc58039e` | + +Sources: [Argus contract bundle](https://argus.world/argus-v4.json), [RadarDEX launch page](https://www.radardex.pro/), [Tolly guide](https://tollylabs.com/guide), [Warp contracts](https://circlewarp.fun/), [Archemist protocol reference](https://archemist.fun/docs), and [PEGD developer API](https://pegd.fun/docs#developer-api). + +The table lists current contracts observed on 16 September 2026. Keep old addresses in your index if you need launches from earlier contract versions. + +--- + +## Read the launched token address + +Bitquery exposes the raw indexed values in `Topics`: + +- `Topics[0]` is the event signature hash. +- For Argus, RadarDEX, Tolly, Warp, and Archemist, `Topics[1]` contains the launched token address. +- For PEGD, `Topics[2]` contains the launched token address; `Topics[1]` is the launch ID. +- The address is left-padded to 32 bytes. Take its final 40 hex characters and add `0x`. + +For example, this topic: + +```text +00000000000000000000000091dbd2d6cfe189bea443a9aaab5019d432f7fd99 +``` + +maps to this token: + +```text +0x91dbd2d6cfe189bea443a9aaab5019d432f7fd99 +``` + +Custom launch events may have an empty decoded `Name`. Filter on `SignatureHash` and read `Topics`; both are present even when the ABI is not in the decoder. + +--- + +## Stream launches + +Change nothing else to receive launches from all six platforms over one WebSocket. Add or remove contract and signature pairs as launchpads deploy new versions. + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-docs-launchpads-stream-launches) + +```graphql +subscription { + EVM(network: arc) { + Events( + where: { + LogHeader: { + Address: { + in: [ + "0xa5628a11c412596e1f63b75a2c0284f843c549d6" + "0x4b638c1502a07a8e1a26112ee98f51a3f34bc93a" + "0x2d933ce4bde6f3d99540b5d7886b383e59b2b2f8" + "0xcad7ee36ac193bf2eddb7b3e2736c5bdb8269c8b" + "0x0dcad158e98bc24455f9e94f46709d8a5f6d1255" + "0x297cebc4de347347205cd08667b56ee951dd8810" + "0xd0aa679ec263e8f9bc929426eb9eab2e061d2c5f" + ] + } + } + Log: { + Signature: { + SignatureHash: { + in: [ + "1d8917231579f8ce39407f0d616f36f357b07329b0ce5164d0754ac15145ce0a" + "851d681a32f0efba577c4a1bd412f74b575764a6b91e499a05a48a23f3821d66" + "875522b092d9e19a1de359e4bd218090d582fa521c9733889acf1a5ff1941255" + "0b4cfda446fdf9ec5a85855f088c154869eb62e3e723d7d80319b680f90e0cfd" + "8e83c293b82cf6e864a90c1ccffea5e0f1ec23b271eff78e78f1dbd5e32a9c7d" + "4b5a1abdb5ebec3e01fa29e6e1f5e3095f8b3cfaed9ffcd46ad35e7ebc58039e" + ] + } + } + } + } + ) { + Block { + Number + Time + } + Transaction { + Hash + From + } + LogHeader { + Address + } + Log { + Signature { + SignatureHash + } + } + Topics { + Hash + } + } + } +} +``` + +Map `LogHeader.Address` to the contract table to name the launchpad. + +--- + +## Latest launches + +Use the same filters with `query`, a row limit, and descending block time to fetch the newest launches. + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-docs-launchpads-latest-launches) + +```graphql +{ + EVM(network: arc) { + Events( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: { + LogHeader: { + Address: { + in: [ + "0xa5628a11c412596e1f63b75a2c0284f843c549d6" + "0x4b638c1502a07a8e1a26112ee98f51a3f34bc93a" + "0x2d933ce4bde6f3d99540b5d7886b383e59b2b2f8" + "0xcad7ee36ac193bf2eddb7b3e2736c5bdb8269c8b" + "0x0dcad158e98bc24455f9e94f46709d8a5f6d1255" + "0x297cebc4de347347205cd08667b56ee951dd8810" + "0xd0aa679ec263e8f9bc929426eb9eab2e061d2c5f" + ] + } + } + Log: { + Signature: { + SignatureHash: { + in: [ + "1d8917231579f8ce39407f0d616f36f357b07329b0ce5164d0754ac15145ce0a" + "851d681a32f0efba577c4a1bd412f74b575764a6b91e499a05a48a23f3821d66" + "875522b092d9e19a1de359e4bd218090d582fa521c9733889acf1a5ff1941255" + "0b4cfda446fdf9ec5a85855f088c154869eb62e3e723d7d80319b680f90e0cfd" + "8e83c293b82cf6e864a90c1ccffea5e0f1ec23b271eff78e78f1dbd5e32a9c7d" + "4b5a1abdb5ebec3e01fa29e6e1f5e3095f8b3cfaed9ffcd46ad35e7ebc58039e" + ] + } + } + } + } + ) { + Block { + Number + Time + } + Transaction { + Hash + From + } + LogHeader { + Address + } + Log { + Signature { + SignatureHash + } + } + Topics { + Hash + } + } + } +} +``` + +--- + +## Launch count by platform + +Group launch events by emitting contract to compare activity during the last hour. The result uses contract addresses, so map them to the table above in your app. + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-docs-launchpads-launch-count-by-platform) + +```graphql +{ + EVM(network: arc) { + Events( + limit: {count: 10} + orderBy: {descendingByField: "count"} + where: { + Block: {Time: {since_relative: {hours_ago: 1}}} + LogHeader: { + Address: { + in: [ + "0xa5628a11c412596e1f63b75a2c0284f843c549d6" + "0x4b638c1502a07a8e1a26112ee98f51a3f34bc93a" + "0x2d933ce4bde6f3d99540b5d7886b383e59b2b2f8" + "0xcad7ee36ac193bf2eddb7b3e2736c5bdb8269c8b" + "0x0dcad158e98bc24455f9e94f46709d8a5f6d1255" + "0x297cebc4de347347205cd08667b56ee951dd8810" + "0xd0aa679ec263e8f9bc929426eb9eab2e061d2c5f" + ] + } + } + Log: { + Signature: { + SignatureHash: { + in: [ + "1d8917231579f8ce39407f0d616f36f357b07329b0ce5164d0754ac15145ce0a" + "851d681a32f0efba577c4a1bd412f74b575764a6b91e499a05a48a23f3821d66" + "875522b092d9e19a1de359e4bd218090d582fa521c9733889acf1a5ff1941255" + "0b4cfda446fdf9ec5a85855f088c154869eb62e3e723d7d80319b680f90e0cfd" + "8e83c293b82cf6e864a90c1ccffea5e0f1ec23b271eff78e78f1dbd5e32a9c7d" + "4b5a1abdb5ebec3e01fa29e6e1f5e3095f8b3cfaed9ffcd46ad35e7ebc58039e" + ] + } + } + } + } + ) { + LogHeader { + Address + } + count + } + } +} +``` + +--- + +## Trades for a launched token + +Copy the token address from `Topics[1]` into `Trade.Currency.SmartContract`. This example follows a token launched through RadarDEX. + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-docs-launchpads-trades-for-a-launched-token) + +```graphql +{ + EVM(network: arc) { + DEXTradeByTokens( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: { + Trade: { + Currency: { + SmartContract: { + is: "0x91dbd2d6cfe189bea443a9aaab5019d432f7fd99" + } + } + } + } + ) { + Block { + Number + Time + } + Transaction { + Hash + From + } + Trade { + Amount + Price + PriceInUSD + Currency { + Name + Symbol + SmartContract + } + Side { + Type + Amount + AmountInUSD + Currency { + Symbol + SmartContract + } + } + Dex { + ProtocolName + SmartContract + } + } + } + } +} +``` + +Change `query` to `subscription` and remove `limit` and `orderBy` to stream the token's trades as they arrive. + +--- + +## OHLCV for a launched token + +This query builds five-minute candles for the same token against Arc's ERC-20 USDC interface. It returns USD volume, open, high, low, close, and trade count. + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-docs-launchpads-ohlcv-for-a-launched-token) + +```graphql +{ + EVM(network: arc) { + DEXTradeByTokens( + limit: {count: 12} + orderBy: {descendingByField: "Block_Time"} + where: { + Trade: { + Currency: { + SmartContract: { + is: "0x91dbd2d6cfe189bea443a9aaab5019d432f7fd99" + } + } + Side: { + Currency: { + SmartContract: { + is: "0x3600000000000000000000000000000000000000" + } + } + } + } + } + ) { + Block { + Time(interval: {in: minutes, count: 5}) + } + volume: sum(of: Trade_Side_AmountInUSD) + Trade { + high: PriceInUSD(maximum: Trade_PriceInUSD) + low: PriceInUSD(minimum: Trade_PriceInUSD) + open: PriceInUSD(minimum: Block_Number) + close: PriceInUSD(maximum: Block_Number) + } + count + } + } +} +``` + +Some launchpads create Uniswap v3 pools, while others use v4 or a bonding curve before moving liquidity. `DEXTradeByTokens` keeps the token filter the same across those routes. diff --git a/docs/blockchain/arc-mainnet/arc-mainnet-trades-api.md b/docs/blockchain/arc-mainnet/arc-mainnet-trades-api.md new file mode 100644 index 000000000..3ecf616b0 --- /dev/null +++ b/docs/blockchain/arc-mainnet/arc-mainnet-trades-api.md @@ -0,0 +1,552 @@ +--- +title: "Arc Mainnet DEX Trades API & Streams" +description: "Query and stream Arc mainnet DEX trades with Bitquery GraphQL, including Uniswap and Curve swaps, OHLCV candles, prices, top tokens and trader activity." +sidebar_position: 1 +keywords: + - Arc mainnet trades API + - Arc mainnet DEX trades + - Arc mainnet Uniswap v4 trades + - Arc mainnet OHLCV + - Arc mainnet token price + - Arc mainnet swap stream + - Circle Arc DEX API + - Arc blockchain trades API + - arc DEXTrades + - arc DEXTradeByTokens + - Bitquery Arc mainnet +--- +# Arc Mainnet DEX Trades API & Streams + +Query and stream **DEX trades on Arc mainnet** with Bitquery GraphQL. Arc is Circle's EVM Layer 1 for stablecoin finance, exposed as `EVM(network: arc)`. The `DEXTrades` and `DEXTradeByTokens` cubes return decoded Uniswap v4, v3 and v2 swaps with buy and sell sides, USD values, the DEX contract, the trader and the transaction. + +Every query on this page was executed against the production endpoint before publishing. Change `query` to `subscription` on any of them to stream the same rows over WebSocket. + +:::info Availability checked 16 September 2026 +- `AmountInUSD` and `PriceInUSD` returned populated values. +- `Trading.Trades` included Arc under `Pair.Market.Network: "Arc"`, with token IDs beginning `bid:arc:`. +- Only the realtime EVM path answered. Leave the `dataset` argument out until `combined` and `archive` are enabled. +::: + +:::note API Key Required +To query or stream data outside the Bitquery IDE, you need an API access token. + +Follow the steps here: [How to generate Bitquery API token ➤](/docs/authorization/how-to-generate/) +::: + +:::tip Related docs +- [Arc Mainnet API overview](/docs/blockchain/arc-mainnet/) — network facts, every cube and stream in one place +- [Arc Mainnet Transfers API](/docs/blockchain/arc-mainnet/arc-mainnet-transfers-api/) +- [Arc Mainnet Events API](/docs/blockchain/arc-mainnet/arc-mainnet-events-api/) — Uniswap v4 `Initialize`, v3 `PoolCreated`, v2 `PairCreated` +- [Arc Mainnet Balances API](/docs/blockchain/arc-mainnet/arc-mainnet-balances-api/) +- [DEXTrades vs DEXTradeByTokens vs Trading.Trades](/docs/cubes/dextrades-dextradebytokens-trading-trades/) +- [EVM DEXTrades schema](/docs/schema/evm/dextrades/) +::: + +**On this page:** [Identifiers](#network-and-example-addresses) · [Stream](#stream-real-time-trades) · [Latest](#latest-trades) · [By token](#trades-of-a-token) · [By DEX](#trades-on-one-dex) · [By pool](#trades-in-one-pool) · [By trader](#trades-of-a-wallet) · [OHLCV](#ohlcv-candles-for-a-token) · [Latest price](#latest-price-of-a-token) · [Top tokens](#most-traded-tokens) · [DEX breakdown](#trade-count-by-dex-protocol) · [Top traders](#most-active-traders) · [FAQ](#faq) + +--- + +## Network and example addresses + +| Item | Value | +| --- | --- | +| Network argument | `EVM(network: arc)` | +| Chain ID | `5042` | +| Native gas token | USDC. Appears as `SmartContract: "0x0000000000000000000000000000000000000000"` with symbol `USDC` and name `USD Coin` in `DEXTrades` and `DEXTradeByTokens`; as `"0x"` with `Currency.Native: true` in `Transfers` and `Balances` | +| USDC (ERC-20 interface, 6 decimals) | `0x3600000000000000000000000000000000000000` | +| EURC (6 decimals) | `0xbef5f6d51cb62b58e6a8f77868681825c6fe21c1` | +| MOCHI (live launch-day example) | `0x9f367725848793152175ff077e885a32430dfaa7` | +| Uniswap v4 PoolManager | `0x8366a39cc670b4001a1121b8f6a443a643e40951`, the `Dex.SmartContract` on every v4 trade | +| Uniswap v3 BUILDOG/USDC pool | `0x01be77f0a364bddafd34521892ea4745ebf9b5a2` | +| Uniswap v2 ARCAT/USDC pair | `0xcf924acee7eb1f169a922bf19b0a732810971985` | + +These are live launch-day examples. Token and pool activity changes, so swap in the asset, pool or trader you care about. + +:::info Uniswap v4 pools have no address +On v4 every pool lives inside the singleton PoolManager, so `Trade.Dex.SmartContract` is the PoolManager and `Trade.Dex.Pair.SmartContract` is the zero address. Identify a v4 pool by its two currencies, or by the `id` argument of the `Initialize` event on the [Events API](/docs/blockchain/arc-mainnet/arc-mainnet-events-api/#new-uniswap-v4-pools). +::: + +--- + +## Stream real-time trades + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-stream-dex-trades) + +One WebSocket delivers every swap on the network as blocks are indexed, with both sides, the protocol and the trader. + +```graphql +subscription { + EVM(network: arc) { + DEXTrades { + Block { + Number + Time + } + Transaction { + Hash + From + } + Trade { + Dex { + ProtocolFamily + ProtocolName + SmartContract + } + Buy { + Amount + Buyer + Seller + Price + Currency { + Name + Symbol + SmartContract + } + } + Sell { + Amount + Buyer + Seller + Price + Currency { + Name + Symbol + SmartContract + } + } + } + } + } +} +``` + +--- + +## Latest trades + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-latest-dex-trades) + +The most recent swaps on the network. `Trade.Buy` is the currency the trader received and `Trade.Sell` is what they paid. + +```graphql +{ + EVM(network: arc) { + DEXTrades( + limit: {count: 20} + orderBy: {descending: Block_Time} + ) { + Block { + Number + Time + } + Transaction { + Hash + From + } + Trade { + Dex { + ProtocolName + SmartContract + } + Buy { + Amount + Currency { + Symbol + SmartContract + } + Price + } + Sell { + Amount + Currency { + Symbol + SmartContract + } + } + } + } + } +} +``` + +--- + +## Trades of a token + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-trades-of-a-token) + +`DEXTradeByTokens` returns one row per token side of every trade, so a token filter catches it whether it was bought or sold. `Side.Type` says which direction the trade was from the token's point of view. + +```graphql +{ + EVM(network: arc) { + DEXTradeByTokens( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: { + Trade: { + Currency: {SmartContract: {is: "0xbef5f6d51cb62b58e6a8f77868681825c6fe21c1"}} + } + } + ) { + Block { + Time + } + Transaction { + Hash + } + Trade { + Amount + Price + Currency { + Symbol + } + Side { + Type + Amount + Currency { + Symbol + SmartContract + } + } + Dex { + ProtocolName + } + } + } + } +} +``` + +--- + +## Trades on one DEX + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-uniswap-v4-trades) + +Filter by `Dex.ProtocolName`. Values seen on Arc mainnet are `uniswap_v4`, `uniswap_v3`, `uniswap_v2`, `curve_v1` and `aerodrome_v1`. + +```graphql +{ + EVM(network: arc) { + DEXTrades( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: {Trade: {Dex: {ProtocolName: {is: "uniswap_v4"}}}} + ) { + Block { + Time + } + Transaction { + Hash + } + Trade { + Dex { + ProtocolName + SmartContract + } + Buy { + Amount + Currency { + Symbol + SmartContract + } + } + Sell { + Amount + Currency { + Symbol + SmartContract + } + } + } + } + } +} +``` + +--- + +## Trades in one pool + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-trades-in-a-pool) + +For Uniswap v2 and v3 the pool has its own address in `Trade.Dex.SmartContract`. This example reads a live v3 BUILDOG/USDC pool. + +```graphql +{ + EVM(network: arc) { + DEXTrades( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: { + Trade: { + Dex: {SmartContract: {is: "0x01be77f0a364bddafd34521892ea4745ebf9b5a2"}} + } + } + ) { + Block { + Time + } + Transaction { + Hash + From + } + Trade { + Buy { + Amount + Currency { + Symbol + } + Price + } + Sell { + Amount + Currency { + Symbol + } + } + } + } + } +} +``` + +--- + +## Trades of a wallet + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-trades-of-a-wallet) + +`Transaction.From` is the externally owned account that signed the swap. `Trade.Buy.Buyer` and `Trade.Sell.Seller` are the addresses that received and paid the tokens, which can be a router rather than the signer. + +```graphql +{ + EVM(network: arc) { + DEXTrades( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: { + Transaction: {From: {is: "0xada5bb90d0de0bd1b6f3938708f49295a8d1f7cb"}} + } + ) { + Block { + Time + } + Transaction { + Hash + } + Trade { + Dex { + ProtocolName + } + Buy { + Amount + Currency { + Symbol + } + Buyer + } + Sell { + Amount + Currency { + Symbol + } + Seller + } + } + } + } +} +``` + +--- + +## OHLCV candles for a token + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-ohlcv-candles) + +Hourly candles for EURC priced in ERC-20 USDC. `Block.Time(interval: ...)` buckets the trades; `open` and `close` take the price at the lowest and highest block in the bucket. Change `count` and `in` for other intervals. + +```graphql +{ + EVM(network: arc) { + DEXTradeByTokens( + limit: {count: 24} + orderBy: {descendingByField: "Block_Time"} + where: { + Trade: { + Currency: {SmartContract: {is: "0xbef5f6d51cb62b58e6a8f77868681825c6fe21c1"}} + Side: { + Currency: {SmartContract: {is: "0x3600000000000000000000000000000000000000"}} + } + } + } + ) { + Block { + Time(interval: {in: hours, count: 1}) + } + volume: sum(of: Trade_Amount) + Trade { + high: Price(maximum: Trade_Price) + low: Price(minimum: Trade_Price) + open: Price(minimum: Block_Number) + close: Price(maximum: Block_Number) + } + count + } + } +} +``` + +--- + +## Latest price of a token + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-latest-token-price) + +The price of the most recent EURC trade against ERC-20 USDC. `Trade.PriceInUSD` is populated on Arc mainnet. + +```graphql +{ + EVM(network: arc) { + DEXTradeByTokens( + limit: {count: 1} + orderBy: {descending: Block_Time} + where: { + Trade: { + Currency: {SmartContract: {is: "0xbef5f6d51cb62b58e6a8f77868681825c6fe21c1"}} + Side: { + Currency: {SmartContract: {is: "0x3600000000000000000000000000000000000000"}} + } + } + } + ) { + Block { + Time + } + Trade { + Price + PriceInUSD + Currency { + Symbol + } + Side { + Currency { + Symbol + } + } + Dex { + ProtocolName + } + } + } + } +} +``` + +--- + +## Most traded tokens + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-most-traded-tokens) + +Tokens ranked by trade count over the last 24 hours. Native USDC is the quote on most pools, so it tops the list; the rows under it are the tokens people actually trade. + +```graphql +{ + EVM(network: arc) { + DEXTradeByTokens( + limit: {count: 20} + orderBy: {descendingByField: "count"} + where: {Block: {Time: {since_relative: {hours_ago: 24}}}} + ) { + Trade { + Currency { + Symbol + Name + SmartContract + } + } + count + volume: sum(of: Trade_Amount) + traders: uniq(of: Transaction_From) + } + } +} +``` + +--- + +## Trade count by DEX protocol + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-trades-by-dex) + +Which DEXes carry mainnet volume. Uniswap v4 led the launch-day check. + +```graphql +{ + EVM(network: arc) { + DEXTrades( + limit: {count: 10} + orderBy: {descendingByField: "count"} + where: {Block: {Time: {since_relative: {hours_ago: 24}}}} + ) { + Trade { + Dex { + ProtocolFamily + ProtocolName + } + } + count + pools: uniq(of: Trade_Dex_SmartContract) + traders: uniq(of: Transaction_From) + } + } +} +``` + +--- + +## Most active traders + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-most-active-traders) + +Signers ranked by swap count. The top rows often include bots and routers, so inspect the address before treating it as a person. + +```graphql +{ + EVM(network: arc) { + DEXTrades( + limit: {count: 20} + orderBy: {descendingByField: "count"} + where: {Block: {Time: {since_relative: {hours_ago: 24}}}} + ) { + Transaction { + From + } + count + tokens: uniq(of: Trade_Buy_Currency_SmartContract) + } + } +} +``` + +--- + +## FAQ + +**Are `AmountInUSD` and `PriceInUSD` available?** +Yes. Both returned populated values in the production check on 16 September 2026. `Trade.Price` remains the direct ratio between the two sides. + +**Can I use `Trading.Trades` with `bid:arc`?** +Yes. Filter `Pair.Market.Network` by `Arc`. Use the chain-level cubes when you also need EVM calls, logs or transfers. + +**How far back does the data go?** +Only the realtime path answered on 16 September 2026. Measure it with `Block { Time(minimum: Block_Time) }` rather than assuming a depth. Retry `archive` and `combined` before using them. + +**Why does native USDC show two different contract addresses?** +The native gas token is USDC. The trade cubes report it as the zero address with name `USD Coin`; `Transfers` and `Balances` report it as `"0x"` with `Currency.Native: true`. The ERC-20 interface at `0x3600000000000000000000000000000000000000` is a separate currency with 6 decimals and name `USDC`. + +**Do Solidity selectors and topic hashes work the same as on Ethereum?** +Yes. Arc is EVM-compatible, so ABIs, 4-byte selectors and topic0 hashes carry over unchanged. diff --git a/docs/blockchain/arc-mainnet/arc-mainnet-transactions-api.md b/docs/blockchain/arc-mainnet/arc-mainnet-transactions-api.md new file mode 100644 index 000000000..f56218557 --- /dev/null +++ b/docs/blockchain/arc-mainnet/arc-mainnet-transactions-api.md @@ -0,0 +1,380 @@ +--- +title: "Arc Mainnet Transactions, Blocks & Fees API" +description: "Query and stream Arc mainnet transactions, blocks and USDC gas fees with Bitquery GraphQL, including hashes, address history, failures and fee analytics." +sidebar_position: 5 +keywords: + - Arc mainnet transactions API + - Arc mainnet blocks API + - Arc mainnet gas fees USDC + - Arc mainnet transaction by hash + - Arc mainnet receipts + - Arc mainnet block explorer API + - Arc mainnet eth_getTransactionByHash alternative + - Circle Arc transactions API + - arc Transactions + - Bitquery Arc mainnet +--- +# Arc Mainnet Transactions, Blocks & Fees API + +Query and stream **transactions, receipts and blocks on Arc mainnet** with Bitquery GraphQL. The `EVM.Transactions` and `EVM.Blocks` cubes on `network: arc` cover what a block explorer shows for a hash, an address or a block, with fees in **USDC** because USDC is the chain's gas token. + +Every query on this page was executed against the production endpoint before publishing. Change `query` to `subscription` on any of them to stream the same rows. + +:::info Availability checked 16 September 2026 +The realtime path returned transactions and blocks. `CostInUSD`, `GasPriceInUSD` and `Fee.SenderFeeInUSD` were populated. Leave the `dataset` argument out until `combined` and `archive` are enabled. +::: + +:::note API Key Required +To query or stream data outside the Bitquery IDE, you need an API access token. + +Follow the steps here: [How to generate Bitquery API token ➤](/docs/authorization/how-to-generate/) +::: + +:::tip Related docs +- [Arc Mainnet API overview](/docs/blockchain/arc-mainnet/) — network facts, every cube and stream in one place +- [Arc Mainnet Calls API](/docs/blockchain/arc-mainnet/arc-mainnet-calls-api/) — the call tree inside a transaction +- [Arc Mainnet Transfers API](/docs/blockchain/arc-mainnet/arc-mainnet-transfers-api/) +- [EVM Transactions schema](/docs/schema/evm/transactions/) +- [EVM Blocks schema](/docs/schema/evm/blocks/) +::: + +**On this page:** [Stream](#stream-transactions) · [Latest](#latest-transactions) · [By hash](#transaction-by-hash) · [By address](#transactions-of-an-address) · [Failed](#failed-transactions) · [Fees](#gas-fees-in-usdc) · [Latest blocks](#latest-blocks) · [Block by number](#block-by-number) · [Block stats](#block-and-throughput-statistics) · [FAQ](#faq) + +--- + +## Stream transactions + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-stream-transactions) + +Every transaction as blocks are indexed. Arc produces a block well under every second, so expect a steady feed. + +```graphql +subscription { + EVM(network: arc) { + Transactions { + Block { + Number + Time + } + Transaction { + Hash + From + To + Value + Gas + Type + Nonce + } + Receipt { + Status + GasUsed + ContractAddress + } + Fee { + SenderFee + EffectiveGasPrice + } + } + } +} +``` + +--- + +## Latest transactions + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-latest-transactions) + +```graphql +{ + EVM(network: arc) { + Transactions( + limit: {count: 20} + orderBy: {descending: Block_Time} + ) { + Block { + Number + Time + } + Transaction { + Hash + From + To + Value + Type + } + Receipt { + Status + GasUsed + } + Fee { + SenderFee + } + } + } +} +``` + +--- + +## Transaction by hash + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-transaction-by-hash) + +The equivalent of `eth_getTransactionByHash` plus `eth_getTransactionReceipt` in one call. The example hash is a live USDC value transfer; replace it with any recent hash. + +```graphql +{ + EVM(network: arc) { + Transactions( + where: { + Transaction: { + Hash: {is: "0x3fb2f3f18ae8ef86dbf6d25f268c861d2982f67308031df45574b5a7fcc02b9f"} + } + } + ) { + Block { + Number + Time + Hash + } + Transaction { + Hash + From + To + Value + Gas + GasPrice + GasFeeCap + GasTipCap + Nonce + Type + Index + } + Receipt { + Status + GasUsed + CumulativeGasUsed + ContractAddress + } + Fee { + SenderFee + EffectiveGasPrice + PriorityFeePerGas + Burnt + } + } + } +} +``` + +--- + +## Transactions of an address + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-transactions-of-an-address) + +Sent and received transactions of one address, newest first. This is the explorer's address page. + +```graphql +{ + EVM(network: arc) { + Transactions( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: { + any: [ + {Transaction: {From: {is: "0xada5bb90d0de0bd1b6f3938708f49295a8d1f7cb"}}} + {Transaction: {To: {is: "0xada5bb90d0de0bd1b6f3938708f49295a8d1f7cb"}}} + ] + } + ) { + Block { + Number + Time + } + Transaction { + Hash + From + To + Value + } + Receipt { + Status + } + Fee { + SenderFee + } + } + } +} +``` + +--- + +## Failed transactions + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-failed-transactions) + +Transactions whose receipt status is 0. Join the [reverted calls](/docs/blockchain/arc-mainnet/arc-mainnet-calls-api/#reverted-calls) query on the hash to see the revert reason. + +```graphql +{ + EVM(network: arc) { + Transactions( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: {TransactionStatus: {Success: false}} + ) { + Block { + Time + } + Transaction { + Hash + From + To + Gas + } + Receipt { + GasUsed + } + Fee { + SenderFee + } + } + } +} +``` + +--- + +## Gas fees in USDC + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-gas-fee-statistics) + +Because gas is paid in USDC, `Fee.SenderFee` is already a dollar amount. This gives the average, median and total fee per hour along with the average effective gas price. + +```graphql +{ + EVM(network: arc) { + Transactions( + orderBy: {descendingByField: "Block_Time"} + limit: {count: 24} + ) { + Block { + Time(interval: {in: hours, count: 1}) + } + count + totalFees: sum(of: Fee_SenderFee) + avgFee: average(of: Fee_SenderFee) + medianFee: median(of: Fee_SenderFee) + avgGasPrice: average(of: Fee_EffectiveGasPrice) + avgGasUsed: average(of: Receipt_GasUsed) + } + } +} +``` + +--- + +## Latest blocks + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-latest-blocks) + +```graphql +{ + EVM(network: arc) { + Blocks( + limit: {count: 20} + orderBy: {descending: Block_Number} + ) { + Block { + Number + Time + Hash + TxCount + GasUsed + GasLimit + BaseFee + Coinbase + } + } + } +} +``` + +Change `query` to `subscription` and drop `limit` and `orderBy` to receive each block header as it is indexed. + +--- + +## Block by number + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-block-by-number) + +```graphql +{ + EVM(network: arc) { + Blocks(where: {Block: {Number: {eq: "21124027"}}}) { + Block { + Number + Time + Hash + ParentHash + TxCount + GasUsed + GasLimit + BaseFee + Coinbase + Difficulty + } + } + } +} +``` + +--- + +## Block and throughput statistics + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-block-statistics) + +Blocks, transactions, average transactions per block and average gas per block for each of the last 24 hours. Divide the block count by 3600 to get blocks per second. + +```graphql +{ + EVM(network: arc) { + Blocks( + orderBy: {descendingByField: "Block_Time"} + limit: {count: 24} + ) { + Block { + Time(interval: {in: hours, count: 1}) + } + blocks: count + transactions: sum(of: Block_TxCount) + avgTxPerBlock: average(of: Block_TxCount) + avgGasUsed: average(of: Block_GasUsed) + medianGasUsed: median(of: Block_GasUsed) + } + } +} +``` + +--- + +## FAQ + +**What unit is `Fee.SenderFee` in?** +Native USDC. Arc pays gas in USDC, so a fee of `0.0025` is a quarter of a cent. The USD fee fields were also populated in the launch-day check. + +**Which gas-price field should I use?** +For EIP-1559 type 2 transactions, use `Fee.EffectiveGasPrice` for the price paid. `Transaction.GasFeeCap` and `Transaction.GasTipCap` show the sender's limits. + +**How fast are blocks?** +Well under a second on average. Measure the current rate with the [block statistics](#block-and-throughput-statistics) query rather than assuming a fixed interval. + +**Can I get a transaction's internal calls and logs from here?** +Use the same hash on the [Calls API](/docs/blockchain/arc-mainnet/arc-mainnet-calls-api/#internal-calls-of-a-transaction) for the call tree and the [Events API](/docs/blockchain/arc-mainnet/arc-mainnet-events-api/) for the logs. + +**Is there a block explorer?** +Arc's mainnet explorer is [explorer.arc.io](https://explorer.arc.io). Bitquery is an indexed data API rather than an explorer, and every explorer lookup on this page can be run in bulk or streamed. diff --git a/docs/blockchain/arc-mainnet/arc-mainnet-transfers-api.md b/docs/blockchain/arc-mainnet/arc-mainnet-transfers-api.md new file mode 100644 index 000000000..78eda66ad --- /dev/null +++ b/docs/blockchain/arc-mainnet/arc-mainnet-transfers-api.md @@ -0,0 +1,482 @@ +--- +title: "Arc Mainnet Transfers API & Streams" +description: "Query and stream Arc mainnet token transfers with Bitquery GraphQL, including native USDC, ERC-20 USDC, EURC, wallet history, large transfers and daily volume." +sidebar_position: 2 +keywords: + - Arc mainnet transfers API + - Arc mainnet USDC transfers + - Arc mainnet EURC transfers + - Arc mainnet token transfers + - Arc mainnet wallet transfers + - Circle Arc transfers API + - arc Transfers + - stream Arc mainnet transfers + - Bitquery Arc mainnet +--- +# Arc Mainnet Transfers API & Streams + +Query and stream **token transfers on Arc mainnet** with Bitquery GraphQL. This is the shared **EVM `Transfers`** cube scoped to `network: arc`, so a query written for Ethereum or Base runs here by changing the network name. + +Arc's native gas token is **USDC**, and the chain carries an ERC-20 USDC interface, EURC, USYC and user-issued assets. Every query on this page was executed against the production endpoint before publishing. Change `query` to `subscription` on any of them to stream the same rows over WebSocket. + +:::info Availability checked 16 September 2026 +`Transfer.AmountInUSD` returned populated values. Only the realtime path answered, so leave the `dataset` argument out until `archive` and `combined` are enabled. +::: + +:::note API Key Required +To query or stream data outside the Bitquery IDE, you need an API access token. + +Follow the steps here: [How to generate Bitquery API token ➤](/docs/authorization/how-to-generate/) +::: + +:::tip Related docs +- [Arc Mainnet API overview](/docs/blockchain/arc-mainnet/) — network facts, every cube and stream in one place +- [Arc Mainnet DEX Trades API](/docs/blockchain/arc-mainnet/arc-mainnet-trades-api/) +- [Arc Mainnet Balances API](/docs/blockchain/arc-mainnet/arc-mainnet-balances-api/) +- [Arc Mainnet Events API](/docs/blockchain/arc-mainnet/arc-mainnet-events-api/) +- [Transfers vs Events vs Calls](/docs/start/mental-model-transfers-events-calls/) +- [EVM Transfers schema](/docs/schema/evm/transfers/) +::: + +**On this page:** [Currencies](#how-usdc-appears-in-transfers) · [Stream](#stream-real-time-transfers) · [Latest](#latest-transfers) · [Native USDC](#native-usdc-transfers) · [By token](#transfers-of-a-token) · [By address](#transfers-of-an-address) · [Between two addresses](#transfers-between-two-addresses) · [Large transfers](#large-transfers) · [Top tokens](#most-transferred-tokens) · [Hourly volume](#hourly-transfer-volume-of-a-token) · [FAQ](#faq) + +--- + +## How USDC appears in Transfers + +USDC exists in three forms on Arc mainnet. Check which one a row is before you sum or rank anything. + +| Currency | `SmartContract` | `Native` | Decimals | What it is | +| --- | --- | --- | --- | --- | +| USDC (native) | `0x` | `true` | 18 | The gas token and native value-transfer form. Read transaction fee fields for gas fees. | +| USDC (ERC-20) | `0x3600000000000000000000000000000000000000` | `false` | 6 | The ERC-20 interface most contracts and wallets call. Symbol `USDC`, name `USDC`. | +| System ledger | `0xfffffffffffffffffffffffffffffffffffffffe` | `false` | 0 | A system address that emits a raw `Transfer` event mirroring native USDC movements as 18-decimal integers with no symbol. Exclude it from token rankings. | + +Official tokens on Arc mainnet: + +| Token | Address | Decimals | +| --- | --- | --- | +| EURC | `0xbef5f6d51cb62b58e6a8f77868681825c6fe21c1` | 6 | +| USYC | `0x8a5d989bbb96929f689b0200f435f53da42bf490` | 6 | + +--- + +## Stream real-time transfers + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-stream-transfers) + +Every transfer on the network as it is indexed. Filter inside `where` to narrow the socket to a token, an address or a size floor. + +```graphql +subscription { + EVM(network: arc) { + Transfers { + Block { + Number + Time + } + Transaction { + Hash + From + To + } + Transfer { + Amount + Sender + Receiver + Type + Currency { + Name + Symbol + SmartContract + Native + Decimals + } + } + } + } +} +``` + +--- + +## Latest transfers + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-latest-transfers) + +```graphql +{ + EVM(network: arc) { + Transfers( + limit: {count: 20} + orderBy: {descending: Block_Time} + ) { + Block { + Number + Time + } + Transaction { + Hash + } + Transfer { + Amount + Sender + Receiver + Currency { + Symbol + SmartContract + Native + } + } + } + } +} +``` + +--- + +## Native USDC transfers + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-native-usdc-transfers) + +`Currency: {Native: true}` selects value transfers of the gas token. The floor of 100 USDC keeps dust and fee movements out. + +```graphql +{ + EVM(network: arc) { + Transfers( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: { + Transfer: { + Currency: {Native: true} + Amount: {gt: "100"} + } + } + ) { + Block { + Time + } + Transaction { + Hash + } + Transfer { + Amount + Sender + Receiver + Currency { + Symbol + Native + } + } + } + } +} +``` + +--- + +## Transfers of a token + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-erc20-usdc-transfers) + +Filter on the token contract. This example reads the ERC-20 USDC interface; swap in EURC or any test token. + +```graphql +{ + EVM(network: arc) { + Transfers( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: { + Transfer: { + Currency: {SmartContract: {is: "0x3600000000000000000000000000000000000000"}} + } + } + ) { + Block { + Time + } + Transaction { + Hash + } + Transfer { + Amount + Sender + Receiver + Currency { + Symbol + Decimals + } + } + } + } +} +``` + +--- + +## Transfers of an address + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-transfers-of-an-address) + +Incoming and outgoing transfers in one list. Replace the address with any wallet or contract. + +```graphql +{ + EVM(network: arc) { + Transfers( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: { + any: [ + {Transfer: {Sender: {is: "0xada5bb90d0de0bd1b6f3938708f49295a8d1f7cb"}}} + {Transfer: {Receiver: {is: "0xada5bb90d0de0bd1b6f3938708f49295a8d1f7cb"}}} + ] + } + ) { + Block { + Time + } + Transaction { + Hash + } + Transfer { + Amount + Sender + Receiver + Currency { + Symbol + SmartContract + Native + } + } + } + } +} +``` + +### Sent and received totals per token + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-address-sent-received) + +Two aliased selections give the outbound and inbound sums per currency for a wallet. + +```graphql +{ + EVM(network: arc) { + sent: Transfers( + where: {Transfer: {Sender: {is: "0xada5bb90d0de0bd1b6f3938708f49295a8d1f7cb"}}} + orderBy: {descendingByField: "amount"} + limit: {count: 10} + ) { + Transfer { + Currency { + Symbol + SmartContract + } + } + amount: sum(of: Transfer_Amount) + count + } + received: Transfers( + where: {Transfer: {Receiver: {is: "0xada5bb90d0de0bd1b6f3938708f49295a8d1f7cb"}}} + orderBy: {descendingByField: "amount"} + limit: {count: 10} + ) { + Transfer { + Currency { + Symbol + SmartContract + } + } + amount: sum(of: Transfer_Amount) + count + } + } +} +``` + +--- + +## Transfers between two addresses + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-transfers-between-addresses) + +Flows from one address to another, in either direction. Useful for tracing a faucet, a bridge or a counterparty. + +```graphql +{ + EVM(network: arc) { + Transfers( + limit: {count: 20} + orderBy: {descending: Block_Time} + where: { + any: [ + { + Transfer: { + Sender: {is: "0xada5bb90d0de0bd1b6f3938708f49295a8d1f7cb"} + Receiver: {is: "0xb92fe925dc43a0ecde6c8b1a2709c170ec4fff4f"} + } + } + { + Transfer: { + Sender: {is: "0xb92fe925dc43a0ecde6c8b1a2709c170ec4fff4f"} + Receiver: {is: "0xada5bb90d0de0bd1b6f3938708f49295a8d1f7cb"} + } + } + ] + } + ) { + Block { + Time + } + Transaction { + Hash + } + Transfer { + Amount + Sender + Receiver + Currency { + Symbol + Native + } + } + } + } +} +``` + +--- + +## Large transfers + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-large-usdc-transfers) + +This catches ERC-20 USDC moves above 10,000 and returns both token and USD amounts. + +```graphql +{ + EVM(network: arc) { + Transfers( + limit: {count: 20} + orderBy: {descending: Transfer_Amount} + where: { + Block: {Time: {since_relative: {hours_ago: 24}}} + Transfer: { + Currency: {SmartContract: {is: "0x3600000000000000000000000000000000000000"}} + Amount: {gt: "10000"} + } + } + ) { + Block { + Time + } + Transaction { + Hash + } + Transfer { + Amount + AmountInUSD + Sender + Receiver + Currency { + Symbol + } + } + } + } +} +``` + +--- + +## Most transferred tokens + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-most-transferred-tokens) + +Tokens ranked by transfer count over 24 hours, with distinct senders and receivers. The system ledger address is excluded. + +```graphql +{ + EVM(network: arc) { + Transfers( + limit: {count: 20} + orderBy: {descendingByField: "count"} + where: { + Block: {Time: {since_relative: {hours_ago: 24}}} + Transfer: { + Currency: {SmartContract: {not: "0xfffffffffffffffffffffffffffffffffffffffe"}} + } + } + ) { + Transfer { + Currency { + Symbol + Name + SmartContract + Native + } + } + count + amount: sum(of: Transfer_Amount) + senders: uniq(of: Transfer_Sender) + receivers: uniq(of: Transfer_Receiver) + } + } +} +``` + +--- + +## Hourly transfer volume of a token + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-hourly-transfer-volume) + +Transfer volume of ERC-20 USDC bucketed by hour, for charts and alerts. + +```graphql +{ + EVM(network: arc) { + Transfers( + orderBy: {descendingByField: "Block_Time"} + limit: {count: 24} + where: { + Transfer: { + Currency: {SmartContract: {is: "0x3600000000000000000000000000000000000000"}} + } + } + ) { + Block { + Time(interval: {in: hours, count: 1}) + } + amount: sum(of: Transfer_Amount) + count + senders: uniq(of: Transfer_Sender) + } + } +} +``` + +--- + +## FAQ + +**Does `AmountInUSD` work?** +Yes. It returned populated values in the production check on 16 September 2026. + +**Which USDC address should I filter on?** +For gas-token value transfers use `Currency: {Native: true}`. For the ERC-20 interface that wallets and contracts call, use `0x3600000000000000000000000000000000000000`. Do not filter on `0xfffffffffffffffffffffffffffffffffffffffe`; it is a system ledger that duplicates native movements as raw integers. + +**Why are native amounts 18 decimals when USDC has 6?** +The EVM represents the gas token in wei-style 18-decimal units regardless of what the token is called. Bitquery applies those 18 decimals to native rows and the contract's own 6 decimals to ERC-20 rows, so `Amount` is a whole-token value in both cases. + +**Should I add native and ERC-20 USDC transfers together?** +No. Arc's ERC-20 interface acts on the native USDC balance, so the two views can describe linked activity. Choose the form that matches the action you track and guard against double counting. + +**Can I read history older than the realtime window?** +Not yet. Only the realtime path answered on 16 September 2026. Check the window with `Block { Time(minimum: Block_Time) }` and retry `archive` or `combined` before using them. + +**How do I stream transfers for one wallet?** +Take the [transfers of an address](#transfers-of-an-address) query, change `query` to `subscription` and drop `limit` and `orderBy`. diff --git a/docs/blockchain/arc-mainnet/index.md b/docs/blockchain/arc-mainnet/index.md new file mode 100644 index 000000000..821afe01c --- /dev/null +++ b/docs/blockchain/arc-mainnet/index.md @@ -0,0 +1,197 @@ +--- +title: "Circle Arc Blockchain API with GraphQL and WebSocket" +description: "Query and stream Circle Arc blockchain mainnet data (chain ID 5042) with Bitquery APIs for trades, transfers, balances, events, calls, transactions and blocks." +sidebar_position: 0 +keywords: + - Circle Arc blockchain + - Arc mainnet API + - Arc blockchain API + - Circle Arc API + - Arc mainnet GraphQL + - Arc mainnet WebSocket + - Arc mainnet chain ID 5042 + - Arc USDC gas token + - Arc mainnet explorer API + - Arc mainnet Uniswap v4 + - EVM network arc + - Bitquery Arc API +--- + +import FAQ from "@site/src/components/FAQ"; + +# Circle Arc Blockchain API with GraphQL and WebSocket + +Bitquery indexes **Circle Arc blockchain data** from mainnet as `EVM(network: arc)`. Use the same EVM cubes as Ethereum or Base to query and stream swaps, transfers, balances, logs, calls, transactions and blocks. + +Arc is Circle's EVM-compatible Layer 1. USDC pays gas, blocks reach finality in under a second, and the network is built for payments, foreign exchange and tokenized assets. [Arc Public Mainnet launched](https://www.arc.io/blog/arc-mainnet-goes-live-on-september-16-2026) on **16 September 2026**. Circle's current RPC reference still labels its listed mainnet endpoints and explorer as permissioned; Bitquery's indexed API is live. + +:::info Availability checked 16 September 2026 +The `realtime` dataset, USD fields, `Holders`, and `Trading.Trades` returned live Arc data in production tests. `dataset: combined` and `dataset: archive` did not answer yet. Leave the dataset argument out until those modes are enabled. +::: + +:::note API Key Required +To query or stream outside the Bitquery IDE, create an [API access token](/docs/authorization/how-to-generate/). +::: + +--- + +## Arc mainnet at a glance {#network-facts} + +| Property | Value | +| --- | --- | +| Bitquery network | `arc` in `EVM(network: arc)` | +| Chain ID | `5042` | +| Gas token | USDC, tracked as `Currency.Native: true` | +| USDC ERC-20 interface | `0x3600000000000000000000000000000000000000` (6 decimals) | +| EURC | `0xbEf5f6d51CB62b58e6A8f77868681825C6fe21c1` (6 decimals) | +| USYC | `0x8a5D989Bbb96929F689B0200f435f53dA42bF490` (6 decimals) | +| Uniswap v4 PoolManager seen by Bitquery | `0x8366a39cc670b4001a1121b8f6a443a643e40951` | +| Mainnet explorer | [explorer.arc.io](https://explorer.arc.io) (listed as permissioned in Arc's RPC reference) | +| Arc RPC | `https://rpc.mainnet.arc.io` (listed as permissioned in Arc's RPC reference) | +| Bitquery GraphQL | `https://streaming.bitquery.io/graphql` | + +Arc's [network reference](https://docs.arc.io/arc/references/rpc-endpoints) confirms chain ID `5042`, USDC as the currency symbol, the RPC and the explorer. Arc's [contract list](https://docs.arc.io/arc/references/contract-addresses) gives the stablecoin addresses. + +--- + +## Quick start: latest Arc mainnet swaps {#quick-start} + +This query returns the newest swaps with USD values and the DEX name. + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-docs-overview-quick-start-latest-arc-mainnet-swaps) + +```graphql +{ + EVM(network: arc) { + DEXTrades( + limit: {count: 10} + orderBy: {descending: Block_Time} + ) { + Block { + Number + Time + } + Transaction { + Hash + From + } + Trade { + Dex { + ProtocolName + SmartContract + } + Buy { + Amount + AmountInUSD + Currency { + Name + Symbol + SmartContract + } + } + Sell { + Amount + AmountInUSD + Currency { + Name + Symbol + SmartContract + } + } + } + } + } +} +``` + +Change `query` to `subscription`, remove `limit` and `orderBy`, then send it to `wss://streaming.bitquery.io/graphql` for a live feed. + +--- + +## Pick the right API {#pick-the-right-api} + +| What you need | Cube | Guide | +| --- | --- | --- | +| Swaps, prices, OHLCV, tokens and traders | `DEXTrades`, `DEXTradeByTokens` | [DEX Trades API](/docs/blockchain/arc-mainnet/arc-mainnet-trades-api/) | +| New tokens from verified launchpads, then their first trades | `Events`, `DEXTradeByTokens` | [Launchpads API](/docs/blockchain/arc-mainnet/arc-mainnet-launchpads-api/) | +| Token and native USDC movement | `Transfers` | [Transfers API](/docs/blockchain/arc-mainnet/arc-mainnet-transfers-api/) | +| Decoded logs and new pool events | `Events` | [Events API](/docs/blockchain/arc-mainnet/arc-mainnet-events-api/) | +| Method calls, call trees and reverts | `Calls` | [Calls API](/docs/blockchain/arc-mainnet/arc-mainnet-calls-api/) | +| Transactions, receipts, blocks and fees | `Transactions`, `Blocks` | [Transactions API](/docs/blockchain/arc-mainnet/arc-mainnet-transactions-api/) | +| Portfolios, holders, balance history and supply | `Balances`, `Holders`, `BalanceUpdates`, `TransactionBalances` | [Balances API](/docs/blockchain/arc-mainnet/arc-mainnet-balances-api/) | + +--- + +## USDC on Arc {#usdc} + +Native USDC and the ERC-20 interface share Arc's USDC model, but Bitquery exposes separate rows so each source stays clear. + +| Form | Bitquery fields | Decimals | +| --- | --- | --- | +| Native USDC | `Currency.Native: true`, `SmartContract: "0x"` in `Transfers` and `Balances`; zero address in DEX cubes | 18 | +| ERC-20 USDC | `SmartContract: "0x3600000000000000000000000000000000000000"` | 6 | +| System ledger mirror | `0xfffffffffffffffffffffffffffffffffffffffe`, no symbol | raw integer | + +Filter on `Native: true` for gas-token value transfers. Use the `0x3600...` address for ERC-20 calls and transfers. Exclude the system ledger mirror from token rankings. + +--- + +## DEX data on launch day {#dexes} + +Production checks found active Uniswap v4, v3 and v2 markets. Uniswap v4 used PoolManager `0x8366...0951` for most swaps. The chain-level cubes also decoded Seaport sales, so filter `Trade.Dex.ProtocolFamily` when you need swaps only. + +Arc is also present in the multi-chain `Trading.Trades` cube as network `Arc`, with token IDs beginning `bid:arc:`. Use `EVM(network: arc)` when you need EVM log, call or transfer context on each trade. + +--- + +## Datasets and history {#datasets} + +On 16 September 2026, only the realtime path answered. Its depth changes, so measure the current window before running a long-range query: + +▶️ [Run in IDE](https://ide.bitquery.io/arc-mainnet-docs-overview-datasets-and-history) + +```graphql +{ + EVM(network: arc) { + Blocks { + count + earliest: Block { + Number(minimum: Block_Number) + Time(minimum: Block_Time) + } + latest: Block { + Number(maximum: Block_Number) + Time(maximum: Block_Time) + } + } + } +} +``` + +`dataset: combined` returned an unavailable-data error and `dataset: archive` could not reach its backing host during the check. Retry before treating those modes as live. + +--- + +## Real-time streams {#streaming} + +Every page in this section includes queries that can run as WebSocket subscriptions. Connect to `wss://streaming.bitquery.io/graphql`, change `query` to `subscription`, and drop query-only paging fields such as `limit` and `orderBy`. + +See [WebSocket subscriptions](/docs/subscriptions/websockets/) and [WebSocket authorization](/docs/authorization/websocket/). + +--- + +{"Use "}{"EVM(network: arc)"}{". Arc mainnet's chain ID is "}{"5042"}{"."}

}, + { q: "Are USD fields available?", id: "are-usd-fields-available", a: "Yes. AmountInUSD, PriceInUSD, CostInUSD and fee USD fields returned populated values in production checks on 16 September 2026.", + answer:

{"Yes. "}{"AmountInUSD"}{", "}{"PriceInUSD"}{", "}{"CostInUSD"}{" and fee USD fields returned populated values in production checks on 16 September 2026."}

}, + { q: "How far back does Arc mainnet data go?", id: "how-far-back-does-arc-mainnet-data-go", a: "The realtime dataset was live at launch. Combined and archive were not ready during the 16 September check. Run the dataset probe before assuming a time range.", + answer:

{"The realtime dataset was live at launch. Combined and archive were not ready during the 16 September check. Run the "}{"dataset probe"}{" before assuming a time range."}

}, + { q: "Can I use Trading.Trades for Arc?", id: "can-i-use-trading-trades-for-arc", a: "Yes. Filter Pair.Market.Network by Arc. Arc token IDs use the bid:arc: prefix.", + answer:

{"Yes. Filter "}{"Pair.Market.Network"}{" by "}{"Arc"}{". Arc token IDs use the "}{"bid:arc:"}{" prefix."}

}, + { q: "Does Bitquery provide Arc RPC access?", id: "does-bitquery-provide-arc-rpc-access", a: "No. Bitquery is an indexed data API. Use Arc's RPC for state calls and transaction submission; use Bitquery for indexed queries and streams.", + answer:

{"No. Bitquery is an indexed data API. Use Arc's RPC for state calls and transaction submission; use Bitquery for indexed queries and streams."}

}, + ]} +/> diff --git a/docs/blockchain/arc-testnet/arc-testnet-balances-api.md b/docs/blockchain/arc-testnet/arc-testnet-balances-api.md index abe05b072..712247751 100644 --- a/docs/blockchain/arc-testnet/arc-testnet-balances-api.md +++ b/docs/blockchain/arc-testnet/arc-testnet-balances-api.md @@ -16,6 +16,10 @@ keywords: --- # Arc Testnet Balances & Token Supply API +:::tip Arc mainnet is live +Most production integrations should use the [Arc Mainnet Balances & Token Supply API](/docs/blockchain/arc-mainnet/arc-mainnet-balances-api/) with `EVM(network: arc)`. Use this page only for Arc testnet data. +::: + Query **wallet balances and token supply on Arc testnet** with Bitquery GraphQL. Three cubes on `network: arc_testnet` cover it: | Cube | What it returns | @@ -356,7 +360,7 @@ subscription { ## FAQ **Why is the `Holders` cube missing?** -`Holders` is built from the archive dataset, and the testnet has none. Rank holders by summing `BalanceUpdates` per address within the realtime window, as shown above. Arc mainnet will have the full cube. +`Holders` is built from the archive dataset, and the testnet has none. Rank holders by summing `BalanceUpdates` per address within the realtime window, as shown above. The [Arc mainnet balances guide](/docs/blockchain/arc-mainnet/arc-mainnet-balances-api/) uses the full `Holders` cube. **Why does the same wallet show USDC twice?** Native USDC (`Native: true`, 18 decimals) and the ERC-20 USDC interface (`0x3600...`, 6 decimals) are tracked as two currencies. Sum them yourself if you want one USDC figure. A third row with contract `0xfff...fffe` and no symbol is a system ledger mirror and can be ignored. diff --git a/docs/blockchain/arc-testnet/arc-testnet-calls-api.md b/docs/blockchain/arc-testnet/arc-testnet-calls-api.md index 45eb76f3f..57cdd7a6e 100644 --- a/docs/blockchain/arc-testnet/arc-testnet-calls-api.md +++ b/docs/blockchain/arc-testnet/arc-testnet-calls-api.md @@ -15,6 +15,10 @@ keywords: --- # Arc Testnet Calls & Traces API +:::tip Arc mainnet is live +Most production integrations should use the [Arc Mainnet Calls & Traces API](/docs/blockchain/arc-mainnet/arc-mainnet-calls-api/) with `EVM(network: arc)`. Use this page only for Arc testnet data. +::: + Query and stream **smart contract calls on Arc testnet** with Bitquery GraphQL. The `EVM.Calls` cube on `network: arc_testnet` holds every call in every transaction, including internal calls, with the decoded method signature, the call path, value, gas, success and revert flags, and the enclosing transaction. It returns what `debug_traceTransaction` and `trace_filter` return, without running a node, and the same query runs as a subscription. Every query on this page was executed against the production endpoint before publishing. Change `query` to `subscription` on any of them to stream the same rows. diff --git a/docs/blockchain/arc-testnet/arc-testnet-events-api.md b/docs/blockchain/arc-testnet/arc-testnet-events-api.md index 119cd205f..b489a3383 100644 --- a/docs/blockchain/arc-testnet/arc-testnet-events-api.md +++ b/docs/blockchain/arc-testnet/arc-testnet-events-api.md @@ -16,6 +16,10 @@ keywords: --- # Arc Testnet Events API & WebSocket Streams +:::tip Arc mainnet is live +Most production integrations should use the [Arc Mainnet Events API](/docs/blockchain/arc-mainnet/arc-mainnet-events-api/) with `EVM(network: arc)`. Use this page only for Arc testnet data. +::: + Stream **every smart contract event on Arc testnet** with Bitquery GraphQL. The `EVM.Events` cube on `network: arc_testnet` returns each log with decoded, typed arguments for known signatures, the raw topics, and the transaction, internal call and receipt that produced it. It covers what `eth_getLogs` and `eth_subscribe("logs")` return, and adds server-side filtering on decoded values. Every query on this page was executed against the production endpoint before publishing. Change `query` to `subscription` on any of them to stream the same rows. diff --git a/docs/blockchain/arc-testnet/arc-testnet-trades-api.md b/docs/blockchain/arc-testnet/arc-testnet-trades-api.md index d696c8d44..9076c7863 100644 --- a/docs/blockchain/arc-testnet/arc-testnet-trades-api.md +++ b/docs/blockchain/arc-testnet/arc-testnet-trades-api.md @@ -17,6 +17,10 @@ keywords: --- # Arc Testnet DEX Trades API & Streams +:::tip Arc mainnet is live +Most production integrations should use the [Arc Mainnet DEX Trades API](/docs/blockchain/arc-mainnet/arc-mainnet-trades-api/) with `EVM(network: arc)`. Use this page only for Arc testnet data. +::: + Query and stream **DEX trades on Arc testnet** with Bitquery GraphQL. Arc is Circle's EVM Layer 1 for stablecoin finance, and its testnet is exposed as `EVM(network: arc_testnet)`. The `DEXTrades` and `DEXTradeByTokens` cubes carry every swap on **Uniswap v4, v3 and v2, Curve and Aerodrome** with buy and sell sides, native-unit prices, the DEX contract, the trader and the transaction. Every query on this page was executed against the production endpoint before publishing. Change `query` to `subscription` on any of them to stream the same rows over WebSocket. @@ -26,7 +30,7 @@ Every query on this page was executed against the production endpoint before pub - The multi-chain `Trading` cubes (`Trading.Trades`, `Tokens`, `Pairs`) do **not** include Arc testnet. Use the chain-level `DEXTrades` and `DEXTradeByTokens` cubes on this page. - Only `dataset: realtime` (the default) is served. There is no archive for the testnet, so leave the `dataset` argument out. -USD pricing and an archive dataset are planned for Arc **mainnet** once it is indexed. +For live data with USD pricing, use the [Arc Mainnet DEX Trades API](/docs/blockchain/arc-mainnet/arc-mainnet-trades-api/). The mainnet `archive` and `combined` datasets are not enabled yet. ::: :::note API Key Required diff --git a/docs/blockchain/arc-testnet/arc-testnet-transactions-api.md b/docs/blockchain/arc-testnet/arc-testnet-transactions-api.md index cde4b6aac..41598b8b5 100644 --- a/docs/blockchain/arc-testnet/arc-testnet-transactions-api.md +++ b/docs/blockchain/arc-testnet/arc-testnet-transactions-api.md @@ -16,6 +16,10 @@ keywords: --- # Arc Testnet Transactions, Blocks & Fees API +:::tip Arc mainnet is live +Most production integrations should use the [Arc Mainnet Transactions, Blocks & Fees API](/docs/blockchain/arc-mainnet/arc-mainnet-transactions-api/) with `EVM(network: arc)`. Use this page only for Arc testnet data. +::: + Query and stream **transactions, receipts and blocks on Arc testnet** with Bitquery GraphQL. The `EVM.Transactions` and `EVM.Blocks` cubes on `network: arc_testnet` cover what a block explorer shows for a hash, an address or a block, with fees in **USDC** because USDC is the chain's gas token. Every query on this page was executed against the production endpoint before publishing. Change `query` to `subscription` on any of them to stream the same rows. diff --git a/docs/blockchain/arc-testnet/arc-testnet-transfers-api.md b/docs/blockchain/arc-testnet/arc-testnet-transfers-api.md index 16c6f42ff..702858c19 100644 --- a/docs/blockchain/arc-testnet/arc-testnet-transfers-api.md +++ b/docs/blockchain/arc-testnet/arc-testnet-transfers-api.md @@ -15,6 +15,10 @@ keywords: --- # Arc Testnet Transfers API & Streams +:::tip Arc mainnet is live +Most production integrations should use the [Arc Mainnet Transfers API](/docs/blockchain/arc-mainnet/arc-mainnet-transfers-api/) with `EVM(network: arc)`. Use this page only for Arc testnet data. +::: + Query and stream **token transfers on Arc testnet** with Bitquery GraphQL. This is the shared **EVM `Transfers`** cube scoped to `network: arc_testnet`, so a query written for Ethereum or Base runs here by changing the network name. Arc's native gas token is **USDC**, and the chain carries an ERC-20 USDC interface, **EURC**, a testnet **USDT** and thousands of test tokens. Every query on this page was executed against the production endpoint before publishing. Change `query` to `subscription` on any of them to stream the same rows over WebSocket. diff --git a/docs/blockchain/arc-testnet/index.md b/docs/blockchain/arc-testnet/index.md index ccc536deb..9d6e7c4a8 100644 --- a/docs/blockchain/arc-testnet/index.md +++ b/docs/blockchain/arc-testnet/index.md @@ -24,7 +24,11 @@ import FAQ from "@site/src/components/FAQ"; # Arc Testnet API: Circle's Stablecoin L1 via GraphQL, WebSocket and Kafka -**Arc** is Circle's EVM-compatible Layer 1 built for stablecoin finance: **USDC is the native gas token**, blocks finalize in well under a second on the Malachite BFT consensus, and the chain carries USDC, EURC and a growing set of DeFi deployments led by Uniswap v4. Bitquery indexes the **Arc testnet** as `EVM(network: arc_testnet)` and publishes it as Kafka topics under `arc-testnet.*`, so you can build and test against the chain before mainnet with the same queries you already use on Ethereum, Base or Robinhood Chain. +:::tip Arc mainnet is live +Most production integrations should use the [Arc Mainnet API](/docs/blockchain/arc-mainnet/) with `EVM(network: arc)`. Use this page only for Arc testnet data. +::: + +**Arc** is Circle's EVM-compatible Layer 1 built for stablecoin finance: **USDC is the native gas token**, blocks finalize in well under a second on the Malachite BFT consensus, and the chain carries USDC, EURC and a growing set of DeFi deployments led by Uniswap v4. Bitquery indexes the **Arc testnet** as `EVM(network: arc_testnet)` and publishes it as Kafka topics under `arc-testnet.*`, so you can test before deploying the same queries to mainnet, Ethereum, Base or Robinhood Chain. This page is the map. Use it to pick the cube that answers your question, then jump to the linked guide. @@ -64,7 +68,7 @@ Arc testnet is indexed with the same EVM schema as every other chain, with four | **No `Trading` cubes** | `Trading.Trades`, `Tokens` and `Pairs` cover mainnet chains with USD pricing. Use the chain-level `DEXTrades` and `DEXTradeByTokens` cubes. | | **Some cubes are unavailable** | `Holders` needs the archive and is not served. `DEXPoolEvents` and `DEXPoolSlippages` have no data yet. `Balances`, `BalanceUpdates` and `TransactionBalances` work. | -Arc **mainnet** will be indexed with USD pricing from the token price index and an archive dataset. +Arc **mainnet** is indexed with USD pricing, the `Trading` cubes and the `Holders` cube. Use the [Arc Mainnet API](/docs/blockchain/arc-mainnet/) for production data. Its `archive` and `combined` datasets are not enabled yet. --- @@ -192,7 +196,7 @@ Only the **`realtime`** dataset exists for Arc testnet. It holds a rolling windo } ``` -`dataset: archive` and `dataset: combined` return errors on the testnet. The archive dataset, and with it the `Holders` cube and long time ranges, will be available for Arc mainnet. +`dataset: archive` and `dataset: combined` return errors on the testnet. Arc mainnet serves the `Holders` cube, but its `archive` and `combined` datasets are not enabled yet. --- @@ -201,8 +205,8 @@ Only the **`realtime`** dataset exists for Arc testnet. It holds a rolling windo items={[ { q: "What is Arc and what is its chain ID?", id: "what-is-arc-and-what-is-its-chain-id", a: "Arc is Circle's EVM-compatible Layer 1 for stablecoin finance, with USDC as the native gas token and sub-second finality on the Malachite BFT consensus. The testnet chain ID is 5042002. In Bitquery it is EVM(network: arc_testnet). Solidity ABIs, topic0 hashes and 4-byte selectors work exactly as they do on Ethereum.", answer:

{"Arc is Circle's EVM-compatible Layer 1 for stablecoin finance, with USDC as the native gas token and sub-second finality on the Malachite BFT consensus. The testnet chain ID is "}{"5042002"}{". In Bitquery it is "}{"EVM(network: arc_testnet)"}{". Solidity ABIs, topic0 hashes and 4-byte selectors work exactly as they do on Ethereum."}

}, - { q: "Why are all USD values zero?", id: "why-are-all-usd-values-zero", a: "There is no token price index for a testnet, so every ...InUSD field is 0. Native prices such as Trade.Price are correct, and because most pairs quote in USDC they are effectively dollar prices. Arc mainnet will carry USD values from the price index.", - answer:

{"There is no token price index for a testnet, so every "}{"...InUSD"}{" field is 0. Native prices such as "}{"Trade.Price"}{" are correct, and because most pairs quote in USDC they are effectively dollar prices. Arc mainnet will carry USD values from the price index."}

}, + { q: "Why are all USD values zero?", id: "why-are-all-usd-values-zero", a: "There is no token price index for a testnet, so every ...InUSD field is 0. Native prices such as Trade.Price are correct, and because most pairs quote in USDC they are effectively dollar prices. Arc mainnet carries USD values from the price index.", + answer:

{"There is no token price index for a testnet, so every "}{"...InUSD"}{" field is 0. Native prices such as "}{"Trade.Price"}{" are correct, and because most pairs quote in USDC they are effectively dollar prices. Arc mainnet carries USD values from the price index."}

}, { q: "How far back does Arc testnet data go?", id: "how-far-back-does-arc-testnet-data-go", a: "Only the realtime dataset exists, holding a rolling window of recent blocks. There is no archive for the testnet, so dataset: archive and dataset: combined return errors. Measure the window with a Block Time(minimum) query before assuming a range.", answer:

{"Only the "}{"realtime"}{" dataset exists, holding a rolling window of recent blocks. There is no archive for the testnet, so "}{"dataset: archive"}{" and "}{"dataset: combined"}{" return errors. Measure the window with the "}{"dataset probe"}{" before assuming a range."}

}, { q: "Can I use the Trading cubes or the Holders cube on Arc testnet?", id: "can-i-use-the-trading-cubes-or-the-holders-cube-on-arc-testnet", a: "No. The Trading cubes cover mainnet chains with USD pricing, and Holders is served from the archive dataset. Use DEXTrades and DEXTradeByTokens for trades, and Balances grouped by address for holder rankings.", diff --git a/docs/blockchain/introduction.md b/docs/blockchain/introduction.md index 9ed852c2d..3c5c81c6f 100644 --- a/docs/blockchain/introduction.md +++ b/docs/blockchain/introduction.md @@ -1,13 +1,13 @@ --- title: "Blockchain Data APIs Overview" description: "Explore Bitquery multi-chain blockchain APIs for trades, transfers, balances, NFTs, mempool data, and real-time streams." -keywords: ["blockchain API", "blockchain data API", "multi-chain API", "Ethereum API", "Solana API", "BSC API", "Arbitrum API", "Base API", "Polygon API", "Tron API", "blockchain GraphQL API", "real-time blockchain data", "historical blockchain data", "DEX API", "DeFi API", "NFT API", "token API", "transaction API", "balance API", "smart contract API", "mempool API", "blockchain streaming", "WebSocket blockchain", "Kafka blockchain", "blockchain analytics", "blockchain developer tools", "blockchain infrastructure", "blockchain indexing", "blockchain data platform", "stablecoin API", "MEV detection", "mempool monitoring", "crypto price API", "real-time trading data", "cross-chain analytics", "blockchain compliance", "payment processing API"] +keywords: ["blockchain API", "blockchain data API", "multi-chain API", "Ethereum API", "Solana API", "BSC API", "Arbitrum API", "Base API", "Polygon API", "Tron API", "Arc blockchain API", "blockchain GraphQL API", "real-time blockchain data", "historical blockchain data", "DEX API", "DeFi API", "NFT API", "token API", "transaction API", "balance API", "smart contract API", "mempool API", "blockchain streaming", "WebSocket blockchain", "Kafka blockchain", "blockchain analytics", "blockchain developer tools", "blockchain infrastructure", "blockchain indexing", "blockchain data platform", "stablecoin API", "MEV detection", "mempool monitoring", "crypto price API", "real-time trading data", "cross-chain analytics", "blockchain compliance", "payment processing API"] --- import FAQ from "@site/src/components/FAQ"; # Blockchain Data APIs -Bitquery provides the most comprehensive blockchain data platform, offering real-time and historical access to data across **40+ blockchains** including Bitcoin, Ethereum, Solana, BSC, Arbitrum, Base, Polygon, Tron, and more. Our platform serves as the backbone for thousands of developers building DeFi applications, trading tools, analytics dashboards, and blockchain infrastructure. +Bitquery provides real-time and historical access to data across **40+ blockchains** including Bitcoin, Ethereum, Solana, BSC, Arbitrum, Base, Polygon, Tron and Arc. Thousands of developers use the APIs for DeFi apps, trading tools, analytics dashboards and blockchain infrastructure. ## Why Choose Bitquery's Blockchain Data APIs? @@ -37,6 +37,7 @@ Our V2 API version with enhanced features and real-time streaming: - **[Optimism](/docs/blockchain/Optimism/)** - **[opBNB](/docs/blockchain/supported-chains/)** (IDE / limited docs) - **[Robinhood](/docs/blockchain/robinhood/)** +- **[Arc Mainnet](/docs/blockchain/arc-mainnet/)** (Circle Arc; live queries and WebSocket streams) - **[Arc Testnet](/docs/blockchain/arc-testnet/)** (Circle Arc, testnet; realtime dataset only) **Non-EVM Chains:** @@ -58,7 +59,7 @@ Our comprehensive V1 API supporting 40+ blockchains with historical data: ## Bitquery's Core Blockchain Data Capabilities -**Popular APIs:** [Solana API](/docs/blockchain/Solana/) (DEX trades, Pump.fun, Raydium) · [Polymarket API](/docs/examples/polymarket-api/polymarket-api) · [BSC API](/docs/blockchain/BSC/) · [Base API](/docs/blockchain/Base/) · [DEX API](/docs/blockchain/Ethereum/dextrades/dex-api) · [Crypto Price API](/docs/trading/crypto-price-api/) +**Popular APIs:** [Arc Mainnet API](/docs/blockchain/arc-mainnet/) · [Solana API](/docs/blockchain/Solana/) (DEX trades, Pump.fun, Raydium) · [Polymarket API](/docs/examples/polymarket-api/polymarket-api) · [BSC API](/docs/blockchain/BSC/) · [Base API](/docs/blockchain/Base/) · [DEX API](/docs/blockchain/Ethereum/dextrades/dex-api) · [Crypto Price API](/docs/trading/crypto-price-api/) ### **Crypto Price API - Real-Time Multi-Chain Price Data** @@ -546,4 +547,3 @@ Ready to start building with blockchain data? Here's your path forward: --- **Start building the future of blockchain applications today with Bitquery's comprehensive multi-chain data platform.** - diff --git a/docs/blockchain/supported-chains.mdx b/docs/blockchain/supported-chains.mdx index c28dff6a7..e7f8c0ac0 100644 --- a/docs/blockchain/supported-chains.mdx +++ b/docs/blockchain/supported-chains.mdx @@ -13,6 +13,7 @@ keywords: - ClickHouse blockchain replica - cloud Parquet blockchain datasets - BNB Chain Polygon Base Arbitrum + - Circle Arc blockchain API - blockchain data platform networks - GraphQL WebSocket chains - real-time crypto data chains @@ -42,7 +43,7 @@ import Head from "@docusaurus/Head"; # Supported blockchains & networks -This guide lists **which blockchains Bitquery indexes** and how that lines up with each **delivery interface** on **[bitquery.io](https://bitquery.io/)**: legacy **[V1 GraphQL](https://docs.bitquery.io/v1/)** (broad catalog—schema reference), **[Data streams & GraphQL](https://bitquery.io/products/data-streams)** and **[WebSocket streams](https://bitquery.io/products/websocket-streams)** for real time, **[Kafka streams](https://bitquery.io/products/kafka-streams)** (protobuf), **[Solana gRPC (CoreCast)](https://bitquery.io/products/solana-grpc-streams)**, **[ClickHouse data warehouse](https://bitquery.io/products/data-warehouse)** with **[MCP server](https://bitquery.io/products/bitquery-mcp-server)** for AI clients, and **[cloud datashares & exports](https://bitquery.io/products/streaming)** (S3, Snowflake, BigQuery, and more). Major networks include **Bitcoin**, **Ethereum**, **Solana**, **BNB Chain**, **Polygon**, **Tron**, **Base**, **Arbitrum**, **Optimism**, and **Cardano**, plus additional L1s in the [matrix below](#supported-chains-matrix)—always validate your plan, entitlement, and live **[GraphQL IDE](https://ide.bitquery.io/)** before shipping. +This guide lists **which blockchains Bitquery indexes** and how that lines up with each **delivery interface** on **[bitquery.io](https://bitquery.io/)**: legacy **[V1 GraphQL](https://docs.bitquery.io/v1/)** (broad catalog—schema reference), **[Data streams & GraphQL](https://bitquery.io/products/data-streams)** and **[WebSocket streams](https://bitquery.io/products/websocket-streams)** for real time, **[Kafka streams](https://bitquery.io/products/kafka-streams)** (protobuf), **[Solana gRPC (CoreCast)](https://bitquery.io/products/solana-grpc-streams)**, **[ClickHouse data warehouse](https://bitquery.io/products/data-warehouse)** with **[MCP server](https://bitquery.io/products/bitquery-mcp-server)** for AI clients, and **[cloud datashares & exports](https://bitquery.io/products/streaming)** (S3, Snowflake, BigQuery, and more). Major networks include **Bitcoin**, **Ethereum**, **Solana**, **BNB Chain**, **Polygon**, **Tron**, **Base**, **Arbitrum**, **Optimism**, **Arc**, and **Cardano**, plus additional L1s in the [matrix below](#supported-chains-matrix)—always validate your plan, entitlement, and live **[GraphQL IDE](https://ide.bitquery.io/)** before shipping. **Legend:** ✓ = included in this product line’s chain catalog below. **—** = not listed in that line’s default set (other Bitquery products or plans may still apply—ask support). @@ -77,12 +78,15 @@ This guide lists **which blockchains Bitquery indexes** and how that lines up wi | Optimism | — | ✓ | ✓ | ✓ | ✓ | | Base | — | ✓ | ✓ | ✓ | ✓ | | Robinhood | — | ✓ | ✓ | ✓ | ✓ | +| Arc Mainnet | — | ✓ | — | — | — | | Arc Testnet | — | ✓ | ✓ | — | — | :::note More networks **V1** historically covers **40+** blockchains—see the [V1 docs](https://docs.bitquery.io/v1/) for the full, schema-accurate list and **[Bitquery platform](https://bitquery.io/)** for plans. **V2** may also expose additional networks in the IDE (for example **opBNB**, **TON**) that are not repeated in the short list above—check live schema and [chain docs](/docs/blockchain/introduction/). +**Arc mainnet** is live in V2 GraphQL, WebSocket subscriptions and the cross-chain `Trading` cubes. Use `EVM(network: arc)` or `Pair.Market.Network: "Arc"`; see the [Arc Mainnet API guides](/docs/blockchain/arc-mainnet/). The matrix does not list chain-level Kafka, cloud or ClickHouse coverage for Arc mainnet. + **Kafka** also exposes multi-chain **`trading.prices`** and **`trading.trades`** topics—see **[Kafka streams](https://bitquery.io/products/kafka-streams)** and [Kafka streaming concepts](/docs/streams/kafka-streaming-concepts/). ::: @@ -101,7 +105,7 @@ This guide lists **which blockchains Bitquery indexes** and how that lines up wi | Product | Get started | |--------|-------------| -| **V2** | [Bitquery platform](https://bitquery.io/) · [Data streams](https://bitquery.io/products/data-streams) · [WebSocket streams](https://bitquery.io/products/websocket-streams) · Docs: [Intro](/docs/intro/) · Chains: [Ethereum](https://bitquery.io/blockchains/ethereum-blockchain-api), [BNB Chain](/docs/blockchain/BSC/), [Arbitrum](https://bitquery.io/blockchains/arbitrum-blockchain-api), [Optimism](https://bitquery.io/blockchains/optimism-blockchain-api), [Base](https://bitquery.io/blockchains/base-blockchain-api), [Polygon](https://bitquery.io/blockchains/polygon-blockchain-api), [Solana](https://bitquery.io/blockchains/solana-blockchain-api), [Tron](https://bitquery.io/blockchains/tron-blockchain-api), [Robinhood](/docs/blockchain/robinhood/), [Arc Testnet](/docs/blockchain/arc-testnet/) | +| **V2** | [Bitquery platform](https://bitquery.io/) · [Data streams](https://bitquery.io/products/data-streams) · [WebSocket streams](https://bitquery.io/products/websocket-streams) · Docs: [Intro](/docs/intro/) · Chains: [Ethereum](https://bitquery.io/blockchains/ethereum-blockchain-api), [BNB Chain](/docs/blockchain/BSC/), [Arbitrum](https://bitquery.io/blockchains/arbitrum-blockchain-api), [Optimism](https://bitquery.io/blockchains/optimism-blockchain-api), [Base](https://bitquery.io/blockchains/base-blockchain-api), [Polygon](https://bitquery.io/blockchains/polygon-blockchain-api), [Solana](https://bitquery.io/blockchains/solana-blockchain-api), [Tron](https://bitquery.io/blockchains/tron-blockchain-api), [Robinhood](/docs/blockchain/robinhood/), [Arc Mainnet](/docs/blockchain/arc-mainnet/), [Arc Testnet](/docs/blockchain/arc-testnet/) | | **V1** | [Bitquery platform](https://bitquery.io/) · [V1 documentation](https://docs.bitquery.io/v1/) · [V1 vs V2 (IDE & schema)](https://docs.bitquery.io/v1/docs/graphql-ide/v1-and-v2) | | **Kafka** | [Kafka streams](https://bitquery.io/products/kafka-streams) · [Real-time streaming hub](https://bitquery.io/products/streaming) · Docs: [Streams overview](/docs/streams/) · [Kafka concepts](/docs/streams/kafka-streaming-concepts/) | | **Cloud** | [Streaming & datashares](https://bitquery.io/products/streaming) · Docs: [Cloud data](/docs/cloud/) · [EVM](/docs/cloud/evm/) · [Solana](/docs/cloud/solana/) · [Bitcoin](/docs/cloud/bitcoin/) · [Tron](/docs/cloud/tron/) | diff --git a/docs/cubes/dextrades-dextradebytokens-trading-trades.md b/docs/cubes/dextrades-dextradebytokens-trading-trades.md index b82fc1ce3..df74510d6 100644 --- a/docs/cubes/dextrades-dextradebytokens-trading-trades.md +++ b/docs/cubes/dextrades-dextradebytokens-trading-trades.md @@ -9,7 +9,7 @@ description: "DEXTrades vs DEXTradeByTokens vs Trades cube: Bitquery documentati Bitquery exposes **three** common ways to work with **DEX swap–level** data. They differ by **GraphQL root**, **row shape** (how each swap is represented), and **what fields are normalized for you**. :::tip Time window decides first, row shape second -- **Real-time + last ~30 days** → **`Trading { Trades }`** (and `Tokens` / `Pairs` / `Currencies` for OHLC). USD price, market cap, and supply on every row; MEV-filtered; 9 chains in one API. +- **Real-time + last ~30 days** → **`Trading { Trades }`** (and `Tokens` / `Pairs` / `Currencies` for OHLC). USD price, market cap, and supply on every row; MEV-filtered; 10 chains in one API. - **Older than ~30 days** → chain-level **`DEXTrades`** / **`DEXTradeByTokens`** with `dataset: combined` / `archive` — the Trading cube is a **rolling ~30-day window** and does not reach further back. Pick the cube by row shape (below) only after the time window has narrowed the choice. See the [Trading Data Overview](/docs/trading/trading-data-overview). @@ -70,7 +70,7 @@ The [DEXTradesByTokens](/docs/cubes/dextradesbyTokens) / **`DEXTradeByTokens`** The **`Trades`** field under **`Trading`** is documented as the [Crypto Trades API — real-time DEX trade streams](/docs/trading/crypto-trades-api/trades-api). It is **not** nested under `EVM` / `Solana` per chain in the same way; you use **`Trading { Trades }`** and narrow with **`Pair.Market.Network`**, token ids, and **`Trader.Address`**. -**Trader-first model:** Rows are built for **who traded**—**`Trader.Address`** is a first-class filter—alongside **`Pair`**, **`Side`**, and amounts. That is the natural API for **wallet streams**, **leaderboards**, and **per-user** trade history across **Solana**, **Ethereum**, **BSC**, **Base**, **Arbitrum**, **Optimism**, **Polygon**, **Tron**, and **Robinhood** in one schema ([Trades API](/docs/trading/crypto-trades-api/trades-api)). +**Trader-first model:** Rows are built for **who traded**—**`Trader.Address`** is a first-class filter—alongside **`Pair`**, **`Side`**, and amounts. That is the natural API for **wallet streams**, **leaderboards**, and **per-user** trade history across **Solana**, **Ethereum**, **BSC**, **Base**, **Arbitrum**, **Optimism**, **Polygon**, **Tron**, **Robinhood**, and **Arc** in one schema ([Trades API](/docs/trading/crypto-trades-api/trades-api)). **USD vs chain DEX cubes:** On **`DEXTrades`** / **`DEXTradeByTokens`**, **`PriceInUSD`** is often **missing or zero** for **meme or thinly traded** tokens (see [DEXTrades cube](/docs/cubes/dextrades) pricing notes). The **`Trades`** cube is different: **`PriceInUsd`** and **`AmountsInUsd`** are tied to the **Trading price index**, so you **usually get usable USD** for the same long-tail assets where raw chain DEX USD fields fail. Details: [Price Index Algorithm](/docs/trading/crypto-price-api/price-index-algorithm). diff --git a/docs/cubes/dextrades.mdx b/docs/cubes/dextrades.mdx index d54040f2f..30eb623d6 100644 --- a/docs/cubes/dextrades.mdx +++ b/docs/cubes/dextrades.mdx @@ -7,7 +7,7 @@ description: "Use Bitquery’s DEX Trades cube to query swap-level DEX activity import VideoPlayer from "../../src/components/videoplayer.js"; :::tip Need real-time data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this page when you need **historical data older than ~30 days** (with `dataset: combined` or `archive`), raw per-swap detail, or call / event context. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this page when you need **historical data older than ~30 days** (with `dataset: combined` or `archive`), raw per-swap detail, or call / event context. ::: > **Before you start**: Not sure when to use DexTrades vs DexTradesByTokens vs Events vs Calls? Read our [Mental Model guide](/docs/start/mental-model-transfers-events-calls) to understand which primitive to use for your use case. For a 1-page comparison of these three trade cubes, see [DEXTrades vs DEXTradeByTokens vs Trades cube](/docs/cubes/dextrades-dextradebytokens-trading-trades). diff --git a/docs/cubes/dextradesbyTokens.md b/docs/cubes/dextradesbyTokens.md index 871a00f80..0a5f1b457 100644 --- a/docs/cubes/dextradesbyTokens.md +++ b/docs/cubes/dextradesbyTokens.md @@ -5,7 +5,7 @@ description: "DEXTradesByTokens Cube: Bitquery documentation with GraphQL exampl # DEXTradesByTokens Cube :::tip Need real-time data or anything from the last ~30 days? -For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **9 chains in one API**. Use this cube when you need **historical data older than ~30 days** (with `dataset: combined` or `archive`), custom OHLC intervals, or token-expanded rows. +For **real-time + last ~30 days**, use the [**Trading cube**](/docs/trading/trading-data-overview) — [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) gives you clean, MEV-filtered swaps with **USD price, market cap, and supply on every row** across **10 chains in one API**. Use this cube when you need **historical data older than ~30 days** (with `dataset: combined` or `archive`), custom OHLC intervals, or token-expanded rows. ::: > **Before you start**: Not sure when to use DexTradesByTokens vs DexTrades vs Events vs Calls? Read our [Mental Model guide](/docs/start/mental-model-transfers-events-calls) to understand which primitive to use for your use case. For a 1-page comparison of these three trade cubes, see [DEXTrades vs DEXTradeByTokens vs Trades cube](/docs/cubes/dextrades-dextradebytokens-trading-trades). diff --git a/docs/cubes/evm-cubes.md b/docs/cubes/evm-cubes.md index 2411c9036..9232cd2b3 100644 --- a/docs/cubes/evm-cubes.md +++ b/docs/cubes/evm-cubes.md @@ -1,6 +1,6 @@ --- title: "EVM Cubes: Trades, Transfers, Balances, Calls and Events" -description: "The cubes under EVM(network: ...) for Ethereum, BNB Chain, Base, Arbitrum, Optimism, Polygon and Robinhood Chain: what each holds, how far back, which to query." +description: "The cubes under EVM(network: ...) for Ethereum, BNB Chain, Base, Arbitrum, Optimism, Polygon, Robinhood and Arc: what each holds and which to query." slug: /category/evm-cube sidebar_label: "EVM Cubes" keywords: @@ -16,7 +16,7 @@ import FAQ from "@site/src/components/FAQ"; # EVM Cubes: Trades, Transfers, Balances, Calls and Events -Every EVM chain Bitquery indexes is queried through one root, `EVM(network: ...)`, with the same cubes underneath: `DEXTrades`, `DEXTradeByTokens`, `DEXPools`, `Transfers`, `Balances`, `Holders`, `BalanceUpdates`, `Transactions`, `Calls`, `Events`, `Blocks` and `MinerRewards`. A query written for Ethereum runs on BNB Chain, Base, Arbitrum, Optimism, Polygon or Robinhood Chain by changing the network name. Each cube takes `where`, `orderBy` and `limit`, supports `count`, `sum`, `uniq` and the other aggregates, and streams as a subscription. This page is the map; the [EVM builder terms](/docs/cubes/EVM) page lists every field. +Every EVM chain Bitquery indexes is queried through one root, `EVM(network: ...)`, with the same cubes underneath: `DEXTrades`, `DEXTradeByTokens`, `DEXPools`, `Transfers`, `Balances`, `Holders`, `BalanceUpdates`, `Transactions`, `Calls`, `Events`, `Blocks` and `MinerRewards`. A query written for Ethereum runs on BNB Chain, Base, Arbitrum, Optimism, Polygon, Robinhood Chain or Arc by changing the network name. Each cube takes `where`, `orderBy` and `limit`, supports `count`, `sum`, `uniq` and the other aggregates, and streams as a subscription. This page is the map; the [EVM builder terms](/docs/cubes/EVM) page lists every field. ## The cubes @@ -35,7 +35,7 @@ Every EVM chain Bitquery indexes is queried through one root, `EVM(network: ...) ## Networks -`eth`, `bsc`, `base`, `arbitrum`, `optimism`, `matic`, `robinhood` and `arc_testnet` work in `EVM(network: ...)`. Arc testnet is realtime-only with USD fields at 0; see the [Arc Testnet hub](/docs/blockchain/arc-testnet/). The chain hubs under [Blockchain](/docs/blockchain/Ethereum/) carry worked examples per chain; the schema is the same. +`eth`, `bsc`, `base`, `arbitrum`, `optimism`, `matic`, `robinhood`, `arc` and `arc_testnet` work in `EVM(network: ...)`. Arc mainnet has live USD fields and is documented in the [Arc Mainnet hub](/docs/blockchain/arc-mainnet/). Arc testnet is realtime-only with USD fields at 0; see the [Arc Testnet hub](/docs/blockchain/arc-testnet/). The schema is shared across these EVM networks. ## Datasets and depth @@ -83,7 +83,7 @@ Add `dataset: archive` or `dataset: combined` for history; without it a cube ret Streaming live **token trades or prices**? Subscribe to the [Trading API](/docs/trading/trading-data-overview/) cubes (`Trading.Trades`, `Trading.Tokens`, `Trading.Pairs`) rather than raw per-chain `DEXTrades` — one stream covers 9 chains with USD prices, market cap, and MEV-filtered trades built in. +> Streaming live **token trades or prices**? Subscribe to the [Trading API](/docs/trading/trading-data-overview/) cubes (`Trading.Trades`, `Trading.Tokens`, `Trading.Pairs`) rather than raw per-chain `DEXTrades` — one stream covers 10 chains with USD prices, market cap, and MEV-filtered trades built in. ### High-Performance Kafka Blockchain Streams {#kafka-streams} **Multichain Support** | **Ultra-low latency** | **High throughput** @@ -124,6 +124,7 @@ Our newest **ultra-low latency streaming technology** provides the fastest **Sol - **[Ethereum](/docs/blockchain/Ethereum/)** & Layer 2s ([Arbitrum](/docs/blockchain/Arbitrum/), [Optimism](/docs/blockchain/Optimism/), [Base](/docs/blockchain/Base/), [Polygon](/docs/blockchain/Matic/)) - **[Binance Smart Chain (BSC)](/docs/blockchain/BSC/)** - **[Robinhood](/docs/blockchain/robinhood/)** +- **[Arc Mainnet](/docs/blockchain/arc-mainnet/)** (GraphQL and WebSocket subscriptions) - **[Arc Testnet](/docs/blockchain/arc-testnet/)** - **[Solana](/docs/blockchain/Solana/)** - **[TRON](/docs/blockchain/Tron/)** diff --git a/docs/subscriptions/subscription.md b/docs/subscriptions/subscription.md index 627b0efb0..304fc8a93 100644 --- a/docs/subscriptions/subscription.md +++ b/docs/subscriptions/subscription.md @@ -22,7 +22,7 @@ Trading cube queries are the main exception — see [What does not survive streaming](/docs/subscriptions/what-does-not-survive-streaming/). :::tip Streaming token trades or prices? Use the Trading API -If your subscription is a `DEXTrades` / `DEXTradeByTokens` stream filtered to specific tokens just to get live trades or prices, use the **Trading API** (`Trading.Trades`, `Trading.Tokens`, `Trading.Pairs`, `Trading.Currencies`) instead. It covers 9 chains in one stream, has USD price, market cap, and supply on every row, is MEV/outlier-filtered, and ships pre-aggregated OHLC down to 1-second candles — so you stream far fewer rows for the same signal. See the [Trading Data Overview](/docs/trading/trading-data-overview/) for when to use which. +If your subscription is a `DEXTrades` / `DEXTradeByTokens` stream filtered to specific tokens just to get live trades or prices, use the **Trading API** (`Trading.Trades`, `Trading.Tokens`, `Trading.Pairs`, `Trading.Currencies`) instead. It covers 10 chains in one stream, has USD price, market cap, and supply on every row, is MEV/outlier-filtered, and ships pre-aggregated OHLC down to 1-second candles — so you stream far fewer rows for the same signal. See the [Trading Data Overview](/docs/trading/trading-data-overview/) for when to use which. ::: When creating queries for GraphQL subscriptions, here are some tips to consider: diff --git a/docs/trading/crypto-price-api/crypto-marketcap-api.md b/docs/trading/crypto-price-api/crypto-marketcap-api.md index 0b7b01591..a4fb6bf4d 100644 --- a/docs/trading/crypto-price-api/crypto-marketcap-api.md +++ b/docs/trading/crypto-price-api/crypto-marketcap-api.md @@ -408,7 +408,7 @@ Query **`Trading.Tokens`** with a **300s** interval, filter by **minimum USD vol ## Recommended: stream trades via `Trading.Trades` -For real-time multi-chain trades **with USD price, market cap, and supply on every row** (MEV-filtered, 9 chains in one stream), subscribe to [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) — run it [in the IDE](https://ide.bitquery.io/Trading-API-Live-Trades-All-Chains). The chain-level `DEXTrades` subscriptions below are for per-protocol/pool detail and transaction context. +For real-time multi-chain trades **with USD price, market cap, and supply on every row** (MEV-filtered, 10 chains in one stream), subscribe to [`Trading.Trades`](/docs/trading/crypto-trades-api/trades-api) — run it [in the IDE](https://ide.bitquery.io/Trading-API-Live-Trades-All-Chains). The chain-level `DEXTrades` subscriptions below are for per-protocol/pool detail and transaction context. ```graphql subscription { diff --git a/docs/trading/crypto-price-api/crypto-ohlc-candle-k-line-api.md b/docs/trading/crypto-price-api/crypto-ohlc-candle-k-line-api.md index d953c24bf..0e394f07d 100644 --- a/docs/trading/crypto-price-api/crypto-ohlc-candle-k-line-api.md +++ b/docs/trading/crypto-price-api/crypto-ohlc-candle-k-line-api.md @@ -5,7 +5,7 @@ keywords: ["OHLC API", "crypto candle data", "K-line API", "real-time price data --- # Crypto Tokens OHLC Candle K-Line API - Real-Time & Historical Price Data -Get real-time and historical OHLC (Open, High, Low, Close) candle data, K-line charts, and price analytics for crypto tokens across all supported blockchains including Ethereum, Solana, BSC, Polygon, Tron, and Robinhood. +Get real-time and historical OHLC (Open, High, Low, Close) candle data, K-line charts, and price analytics for crypto tokens across supported blockchains including Ethereum, Solana, BSC, Polygon, Tron, Robinhood and Arc. **Recommendation:** Use the **[Crypto Price API](/docs/trading/crypto-price-api/)** as your **main source** for OHLC and K-line data—**real-time streams** and **pre-aggregated** bars (low-latency, easy to use). When you need **full historical OHLC** (deep backfill, archive ranges, or candles built from raw DEX trades), use **`DEXTradeByTokens`** on **`EVM`** or **`Solana`** and aggregate trades into candles—see [comparison below](#crypto-price-api-vs-dextradebytoken). diff --git a/docs/trading/crypto-price-api/introduction.mdx b/docs/trading/crypto-price-api/introduction.mdx index 4c3d935f6..7e612111c 100644 --- a/docs/trading/crypto-price-api/introduction.mdx +++ b/docs/trading/crypto-price-api/introduction.mdx @@ -2,7 +2,7 @@ title: "Crypto Price API: Real-Time Token Prices, OHLC and Market Cap" slug: /trading/crypto-price-api sidebar_label: "Crypto Price API" -description: "Crypto price API for any token on nine chains: live and 30-day USD prices, OHLC from one second, market cap and supply via GraphQL, WebSocket and Kafka." +description: "Crypto price API for any token on ten chains: live and 30-day USD prices, OHLC from one second, market cap and supply via GraphQL, WebSocket and Kafka." keywords: - "crypto price API" - "cryptocurrency price api" @@ -35,7 +35,7 @@ import ProductCTA from "@site/src/components/ProductCTA"; # Crypto Price API: Real-Time Token Prices, OHLC and Market Cap -The Bitquery Crypto Price API returns the price of any token that trades on-chain, not only listed coins: real-time and the last 30 days for Solana, Ethereum, BNB Smart Chain, Base, Arbitrum, Optimism, Polygon, Tron and Robinhood Chain, in USD or against any quote token. Every row carries OHLC for intervals from one second up, mean and moving-average prices, volume, market cap and supply, over GraphQL queries, WebSocket subscriptions and Kafka. Prices are built from DEX trades with outlier filtering, and a cross-chain view aggregates the same asset across networks, so `bid:bitcoin` returns one Bitcoin price. Every query below runs as written in the [Bitquery IDE](https://ide.bitquery.io) on a free account; the trial includes complete history. For older candles, use [DEXTradeByTokens](/docs/cubes/dextradesbyTokens) or the [Solana historical page](/docs/blockchain/Solana/historical-aggregate-data/). +The Bitquery Crypto Price API returns the price of any token that trades on-chain, not only listed coins: real-time and the last 30 days for Solana, Ethereum, BNB Smart Chain, Base, Arbitrum, Optimism, Polygon, Tron, Robinhood Chain and Arc, in USD or against any quote token. Every row carries OHLC for intervals from one second up, mean and moving-average prices, volume, market cap and supply, over GraphQL queries, WebSocket subscriptions and Kafka. Prices are built from DEX trades with outlier filtering, and a cross-chain view aggregates the same asset across networks, so `bid:bitcoin` returns one Bitcoin price. Every query below runs as written in the [Bitquery IDE](https://ide.bitquery.io) on a free account; the trial includes complete history. For older candles, use [DEXTradeByTokens](/docs/cubes/dextradesbyTokens) or the [Solana historical page](/docs/blockchain/Solana/historical-aggregate-data/). :::tip Real-time + last ~30 days only The Crypto Price API cubes (`Trading.Tokens`, `Trading.Currencies`, `Trading.Pairs`) are part of the **Trading cube** family — built for **real-time and the last ~30 days**. For OHLC built from raw trades **older than ~30 days**, use chain-level [`DEXTradeByTokens`](/docs/cubes/dextradesbyTokens) instead. See the [**Trading Data Overview**](/docs/trading/trading-data-overview) for the side-by-side comparison. @@ -58,7 +58,7 @@ While you can access the aggregated price for a single trading pair, the Price I - **Pre-aggregated data**: OHLC, SMA, WMA, EMA, and mean prices calculated automatically - **Real-time streaming**: 1-second granularity via GraphQL subscriptions and Kafka -- **Multi-chain support**: Ethereum, Solana, BSC, Arbitrum, Base, Optimism, Polygon, Robinhood, and more +- **Multi-chain support**: Ethereum, Solana, BSC, Arbitrum, Base, Optimism, Polygon, Tron, Robinhood and Arc - **Clean data**: Automatic filtering of low-quality trades and outliers - **Cross-chain aggregation**: Unified view of token prices across multiple ecosystems @@ -73,6 +73,7 @@ While you can access the aggregated price for a single trading pair, the Price I - Tron - Optimism - Robinhood +- Arc :::tip Faster queries: filter with `NetworkBid` instead of `Network` @@ -91,6 +92,7 @@ Use the same **`bid:`** convention as **`Token.Id`**. | Tron | `bid:tron` | | Optimism | `bid:optimism` | | Robinhood | `bid:robinhood` | +| Arc | `bid:arc` | ::: diff --git a/docs/trading/crypto-trades-api/trades-api.md b/docs/trading/crypto-trades-api/trades-api.md index 8f62c8165..6efaaf844 100644 --- a/docs/trading/crypto-trades-api/trades-api.md +++ b/docs/trading/crypto-trades-api/trades-api.md @@ -60,6 +60,7 @@ se the same **`bid:`** convention as **`Pair.Token.Id`**. | Tron | `bid:tron` | | Optimism | `bid:optimism` | | Robinhood | `bid:robinhood` | +| Arc | `bid:arc` | The same **`NetworkBid`** pattern applies on the **[Crypto Price API](/docs/trading/crypto-price-api/)** for **`Token.NetworkBid`** and **`Market.NetworkBid`** on **Tokens** and **Pairs**. @@ -2341,7 +2342,7 @@ You can run this query [in the Bitquery IDE](https://ide.bitquery.io/first-50-bu **TL;DR** — **Last 30 days + real-time → Trading cube. Older than 30 days → DEXTrades / DEXTradeByTokens.** Same trades underneath: the Trading cube reads from DEXTrades, attaches Price-Index USD + supply, drops MEV / bad trades, and ships a clean multi-chain stream — but only for the rolling 30-day window. For anything deeper into history, drop down to the chain-level archive. @@ -79,7 +79,7 @@ Learn more: [DEX Trades API (EVM)](/docs/schema/evm/dextrades) · [DEXTradeByTok The Trading cube is the **product layer** built on top of chain-level trades. It is designed for people who want **trade and price data they can put straight into a UI, bot, or chart** without writing aggregation logic. -It is exposed under a single `Trading` root and covers **9 chains in one API**: Ethereum, BSC, Solana, Base, Arbitrum, Tron, Optimism, Polygon, and Robinhood. +It is exposed under a single `Trading` root and covers **10 chains in one API**: Ethereum, BSC, Solana, Base, Arbitrum, Tron, Optimism, Polygon, Robinhood, and Arc. :::note Network filters take the API's own names `Network` values are **case-sensitive display names**, and a wrong value returns 0 rows with no @@ -136,7 +136,7 @@ Learn more: [Crypto Trades API](/docs/trading/crypto-trades-api/trades-api) · [ │ Bitquery Price Index attaches USD + supply ▼ ┌──────────────────────────────────────────────────────────────┐ - │ Trading Cube (9 chains under one API) │ + │ Trading Cube (10 chains under one API) │ │ Trading.Trades — clean swap-level rows + USD │ │ Trading.Tokens — pre-aggregated token OHLC │ │ Trading.Currencies — cross-chain currency OHLC │ @@ -161,7 +161,7 @@ The first two rows answer the question for 80% of users — pick by **how far ba | Power a price ticker / candle chart with ready USD values | `Trading.Tokens` or `Trading.Pairs` | | Get the **most accurate price for one specific token** | [`Trading.Pairs` + `Ranking: { Position: { eq: 1 } }`](/docs/trading/crypto-price-api/pairs#most-accurate-token-price) — prices from the token's top market instead of a blend across all its pools | | Get a chain-agnostic price for an asset (e.g. BTC across all chains) | `Trading.Currencies` | -| Stream all swaps on 9 chains in **one** subscription | `Trading.Trades` | +| Stream all swaps on 10 chains in **one** subscription | `Trading.Trades` | | Build OHLC at a **custom** interval (e.g. 7-second, 4-hour) | `DEXTradeByTokens` (in-query aggregation) | | Join trades to the originating **call / instruction / event log** | `EVM.DEXTrades` / `Solana.DEXTrades` | | Analyze MEV, sandwich attacks, or raw flow | Chain-level (Trading cube filters these out) | @@ -202,10 +202,10 @@ concentration statistics and wallet overlap — see diff --git a/docs/usecases/ohlcv-complete-guide.md b/docs/usecases/ohlcv-complete-guide.md index 5c5f439f7..a0ad88ea0 100644 --- a/docs/usecases/ohlcv-complete-guide.md +++ b/docs/usecases/ohlcv-complete-guide.md @@ -85,6 +85,7 @@ To fetch OHLC (Open, High, Low, Close) data for a specific token pair on EVM-com - **Base** → `EVM(network: base)` - **Optimism** → `EVM(network: optimism)` - **Robinhood** → `EVM(network: robinhood)` +- **Arc Mainnet** → `EVM(network: arc)` ([Arc DEX trades and OHLCV guide](/docs/blockchain/arc-mainnet/arc-mainnet-trades-api/)) - **Arc Testnet** → `EVM(network: arc_testnet)` (chain-level cubes only; no `Trading` cube, USD fields are 0) For full API documentation, refer to: diff --git a/sidebars.js b/sidebars.js index 84ff47c60..22b3f7016 100644 --- a/sidebars.js +++ b/sidebars.js @@ -919,6 +919,23 @@ const sidebars = { "blockchain/robinhood/robinhood-token-supply", ], }, + { + type: "category", + label: "Arc Mainnet", + link: { + type: "doc", + id: "blockchain/arc-mainnet/index", + }, + items: [ + "blockchain/arc-mainnet/arc-mainnet-trades-api", + "blockchain/arc-mainnet/arc-mainnet-launchpads-api", + "blockchain/arc-mainnet/arc-mainnet-transfers-api", + "blockchain/arc-mainnet/arc-mainnet-events-api", + "blockchain/arc-mainnet/arc-mainnet-calls-api", + "blockchain/arc-mainnet/arc-mainnet-transactions-api", + "blockchain/arc-mainnet/arc-mainnet-balances-api", + ], + }, { type: "category", label: "Arc Testnet", diff --git a/src/components/HomepageFeatures/icons.js b/src/components/HomepageFeatures/icons.js index 31bebfb3f..1575d5851 100644 --- a/src/components/HomepageFeatures/icons.js +++ b/src/components/HomepageFeatures/icons.js @@ -268,6 +268,15 @@ export function ChainIcon({ id }) { ); + case "arc": + return ( + + + + A + + + ); default: return null; } diff --git a/src/components/HomepageFeatures/searchIndex.js b/src/components/HomepageFeatures/searchIndex.js index d838b0ca9..16d3f28df 100644 --- a/src/components/HomepageFeatures/searchIndex.js +++ b/src/components/HomepageFeatures/searchIndex.js @@ -187,6 +187,12 @@ export const SEARCH_INDEX = [ g: "Chains", u: "/docs/blockchain/robinhood/", }, + { + t: "Arc Mainnet", + s: "Circle Arc trades, launchpads & transfers", + g: "Chains", + u: "/docs/blockchain/arc-mainnet/", + }, { t: "Supported chains", s: "All 40+ networks across V1, V2 & Kafka", diff --git a/src/components/HomepageFeatures/sectionsData.js b/src/components/HomepageFeatures/sectionsData.js index 0d631138e..66443f28a 100644 --- a/src/components/HomepageFeatures/sectionsData.js +++ b/src/components/HomepageFeatures/sectionsData.js @@ -204,6 +204,7 @@ export const chains = [ { label: "Tron", to: "/docs/blockchain/Tron/", id: "tron" }, { label: "Bitcoin", to: "/docs/blockchain/Bitcoin/", id: "btc" }, { label: "Robinhood", to: "/docs/blockchain/robinhood/", id: "rh" }, + { label: "Arc Mainnet", to: "/docs/blockchain/arc-mainnet/", id: "arc" }, ]; export const personas = [