Developer Tools · Data & Analytics

Bitquery MCP

Bitquery MCP lets agents query on-chain blockchain data across EVM chains, Solana, Tron, Cardano, Hyperliquid and Polymarket, including token transfers, trades, holders, prices and address activity.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Arc flows between

    FLOWS BETWEEN TWO ADDRESS SETS on Arc (arc, ARC, Arc Network, Circle Arc): every successful transfer (tokens and native USDC) from any address of set A to any address of set B, and back, in ONE call - "did these wallets ever pay those wallets", "how much moved between my suspects and the exchange wallets", "which of these deposit addresses sent to that hot wallet". Pass up to 50 addresses per set separated by "|" (0xabc…|0xdef…). A longer list is not an error: the first 50 distinct addresses of each set are used and the rest are ignored - every row reports A_Addresses_Requested / A_Addresses_Used and B_Addresses_Requested / B_Addresses_Used, so compare them and split a longer set into several calls. Leave addresses_b EMPTY to get every counterparty of the A set, both directions, grouped per A address - the multi-address form of arc_flow_edges. mode="summary" (default) returns one row per (Direction, Sender, Receiver, token) with Transfers, total Amount, First_Time, Last_Time and the latest Tx, ordered by `sort`. mode="rows" returns the individual transfers newest first; page with cursor: pass the Cursor value of the LAST row, with all other arguments unchanged, to get the next page (a summary row carries no Cursor). A rows-mode row is a LEDGER LINE: besides the amount it carries Amount_Raw (the exact integer amount in the token's smallest unit) with Decimals, Block and Tx_Index, and Price_Usd (the token's USD price at the time of the transfer), Value_Usd = Amount x Price_Usd and Price_Status - "ok"; "no_price" = no price is known for this token at that time, so Price_Usd and Value_Usd are empty (never read that as zero); "suspect" = the stored price is more than twice the price one day earlier AND one day later, or less than half of both - a likely data glitch - so Value_Usd is left empty - check it with price_at. A token has ONE price per day, so its value is approximate. USDC on Arc - the native coin and the ERC-20 at 0x3600000000000000000000000000000000000000 - always reads no_price here: it is USDC, so price it as USDC on Ethereum with price_at. On a summary row those seven columns are empty: a total over a period has no single price. Self = 1 (both modes) marks a movement whose counterparty is another address of set A - a move inside the set, not income and not spending. Direction A_TO_B = sent by an A address to a B address, B_TO_A = sent by a B address to an A address; an address listed in both sets appears in both directions. With addresses_b empty the same holds for a transfer between two A addresses: it is listed as A_TO_B for its sender AND as B_TO_A for its receiver, so never add rows of both directions together. WINDOW: the last `days` days (default 30, at most 366) ending at before_time, or now; after_time sets the start instead, within the same 366-day limit. Window_From / Window_To on every row show the range searched; for an older period set before_time. An empty result means no transfer between the sets in that window. COST: the search is keyed on set A, so put the SMALLER and less busy set in addresses_a - individual wallets, not exchange hot wallets, bridges or token contracts. If the call fails with a row-limit error ("Limit for rows ... exceeded"), swap the two sets, shorten days, or split set A. Cost also grows with the number of addresses in set A times the window. Each row carries the token Contract (empty for native USDC); a symbol alone can match look-alike clones, so pin one token with contract, or restrict to native or tokens with asset_type. Amount is in TOKEN UNITS: totals of different tokens must not be compared or added together, there is no usd filter (min_amount is in token units), and sort="amount" is only meaningful with one token pinned. To identify the addresses, pass them to labels_for_addresses. USDC ON ARC IS ONE ASSET WITH TWO INTERFACES that share a single balance: the NATIVE coin that pays for gas (Native = 1, no contract, 18 decimals) and the ERC-20 token at 0x3600000000000000000000000000000000000000 (6 decimals). Each movement is listed once, under the interface that carried it, so the two together are the address's USDC flow - asset_type="usdc" selects both at once. Over a thousand OTHER contracts on this chain also print the symbol USDC and they are unrelated tokens: never identify an asset by its symbol, use Contract and Native. On Arc most USDC moves through contract code, so internal transfers are counted by default; pass include_internal=0 for top-level transfers only. For the full labelled list in USD, totals by label type, or a set of addresses → counterparties.

  • Arc native balances

    NATIVE COIN BALANCE of up to 50 Arc (arc, ARC, Arc Network, Circle Arc) addresses you ALREADY HAVE: each address's current USDC balance (the coin that pays gas) - for filtering a known set of wallets down to the funded ones, e.g. an airdrop cohort. To discover holders you do not have yet, use arc_token_holders. NOT one address's transfer history → use arc_address_flow_summary. Pass the addresses separated by "|" (0x..) - up to 50; addresses after the 50th distinct one are ignored (compare Addresses_Requested with Addresses_Used), so split a longer list into several calls. WINDOW: only balances UPDATED within the last `since_days` days (default 7) are read, so an address that has not moved its native coin in that window returns NO row. Use the same window you searched for activity - e.g. the window of arc_token_senders - because an active wallet's balance is always fresh there; a wider window costs more for no gain on active wallets. Native_Balance is in USDC (18 decimals); Native_Balance_Raw is the exact integer amount (wei); Balance_As_Of is when that balance was last updated. To identify the addresses, pass them to labels_for_addresses. Each row: Address, Native_Balance, Native_Balance_Raw, Balance_As_Of, Addresses_Requested, Addresses_Used.

  • Arc token holders

    TOP HOLDERS of an Arc (arc, ARC, Arc Network, Circle Arc) token by CURRENT on-chain balance — holder address + balance, largest first. Use for token analysis: whales, holder concentration, distribution. Pass the token CONTRACT address (not a wallet). Label the returned holders with labels_for_addresses to spot CEX / team / LP / bridge wallets. This is real on-chain balance, NOT DEX-trade PnL — for trader profitability use profitable_traders_by_token / trader_positions. Balances exclude NFTs (fungible only). SCOPE. days=0 (default) ranks EVERY holder over the token's whole history, and Holders_In_Window is then the token's holder count (positive balances). A very widely held token - a major stablecoin, for example - has too much history for that: the call answers at once with one Status=TOO_LARGE row instead of timing out. Then call with days=30 (days=7 if that is still TOO_LARGE): it ranks the holders whose balance CHANGED in that window, and their balances are still exact current balances. A holder that did not move the token in the window is absent, so on such a token the page is the top of the ACTIVE holders, not a guaranteed global top. To reach quieter holders pass Next_Cursor as cursor: each page covers the next older window of `days` and lists only holders whose LAST balance change falls inside it, so no holder appears on two pages and the top N of all pages merged is the global top N. Each page also checks all later activity up to today, so paging far back on a very busy token ends in TOO_LARGE - stop there and say the list covers only the windows read. Next_Cursor is empty when the token has nothing older. Window_From / Window_To are the dates a page covers (Window_From empty = whole history). A row with an empty Holder is a status row: read Status (TOO_LARGE / NO_HOLDERS / BAD_CURSOR). Balance is in the token's OWN units, never USD - no USD value is available in this data, so there is no usd filter and balances of different tokens are not comparable. `Decimals` gives the scale. Holders whose recorded balance is NEGATIVE are dropped and counted in Negative_Balances_Excluded: the transfer history behind them is inconsistent (typically a transfer recorded twice or missing), so that balance cannot be trusted - and the same kind of error can inflate a positive balance of that token. A balance far above the token's total supply is such an artifact, not a whale: check it with token_supply or the holder's transfers before reporting it. `Symbol_NonAscii` = 1 flags a symbol that is not plain ASCII: normal for CJK / emoji names, but also how a scam token impersonates a major one with Cyrillic or Greek look-alike letters - never treat such a token as the asset it resembles. FOR USDC HOLDERS PASS token=native. USDC here is one asset with two interfaces sharing a single balance, and only the native side is kept current: the snapshot behind the ERC-20 interface at 0x3600000000000000000000000000000000000000 advances only when that interface is used, so it goes stale while the balance keeps moving (one wallet on 2026-09-24: 600.63 native, last changed that morning, against 803.78 through the ERC-20 view, last changed two days earlier - the native figure is the real one). Over a thousand other contracts on this chain print the symbol USDC and are unrelated tokens, so any other "USDC" ranking is the ranking of the ONE contract passed in token.

  • Arc token senders

    TOKEN SENDERS COHORT on Arc (arc, ARC, Arc Network, Circle Arc): the addresses that SENT a given token at least `min_transfers` times inside a time window, most recently active first - "wallets that actively use this token", "build a cohort or airdrop list of recent senders of this token". NOT one wallet's own outgoing transfers → use arc_transfers_out. This counts SENDERS of the token, one row per sender; it does not value or label them - pass the returned addresses to labels_for_addresses, and to arc_native_balances to keep only funded wallets. By default only normal user wallets (EOAs) that sent the token in their OWN transaction count (eoa_only=1); set eoa_only=0 to include contract senders. Pass the token's CONTRACT address in token (0x-hex (case-insensitive)); a symbol also matches clone tokens, so pin the exact contract. WINDOW: the last `days` days (default 1, at most 30) ending at before_time or now; after_time sets the start instead. A sender must reach `min_transfers` sends WITHIN this window, so a short recent window keeps only clearly-active wallets - the recency the cohort wants. There is no full-history mode: to go further back, page with before_time. PAGING: newest-active first, at most `limit` rows. If the result has `limit` rows there may be more - set before_time to the oldest Last_Transfer_Time returned and call again, then combine and de-duplicate the pages. COST grows with the token's volume times the window: widen `days` step by step. A row-limit error ("Limit for rows ... exceeded") means the token is too busy for that window - shorten days. Each row: Address, Transfers, First_Transfer_Time, Last_Transfer_Time.

  • Arc trace dominant path

    AUTO-WALK the dominant (largest-total-amount) OUTGOING edge of ONE token from an Arc (arc, ARC, Arc Network, Circle Arc) address, hop by hop, up to 5 hops — collapses ~5 manual arc_trace_next_hop calls into one. Every hop returns Hop*_To (the address that received), Hop*_Token (the contract of the token that moved) and Hop*_Edge_Total, plus Hops_Found (how many hops resolved) and Path_Status for the walk itself. Hop*_Edge_Total is NOT the amount that travelled along the path: it is the ALL-TIME total of EVERY transfer of that token between that hop's sender and receiver, so it can be orders of magnitude larger than the sum you are tracing and the hop totals are not comparable with each other. To break one edge down — its transfer count (Transfers), first/last seen, and the full ranking of that address's edges — call arc_trace_next_hop on the hop's sender. The walk NEVER goes back to an address it has already visited (the seed included), so it cannot bounce back and forth between the same two wallets — each hop is the largest edge to a NEW address. READ Path_Status FIRST — NO_MATCH means the token filter matched nothing (wrong symbol, or that symbol belongs to a different token — pass `contract`), PATH_END means the trail really ran out, DEPTH_LIMIT means it may continue past hop 5. All-NULL hops with NO_MATCH are a filter problem, not a dead end. Pass the hop addresses to labels_for_addresses and read down to the FIRST labeled address (CEX / mixer / bridge) — that's the destination. Pin the token with `contract` whenever you know it — a SYMBOL is not unique, clone tokens reuse popular symbols, and with a symbol alone the hops can drift between look-alike tokens; compare the per-hop token contract to spot that. LIMITS: follows only the single biggest edge per hop (misses splits / fan-outs), fixed depth 5, and transfers to the burn address are not followed. For branching / adaptive tracing call arc_trace_next_hop hop by hop, identify each hop with labels_for_addresses and choose the next address yourself (prompt_playbook with playbook=money_flow returns the full step-by-step procedure); for one hop's full ranking use arc_trace_next_hop. Heavy multi-hop walk — can time out on a very busy address; retry, or narrow it with `contract` / a less-busy token. Hop*_Token is the contract of the token that moved, and it is EMPTY when that hop moved the native USDC coin. Over a thousand contracts on this chain print the symbol USDC and are unrelated tokens, so currency="USDC" lets the walk drift between them: pass asset_type=usdc to follow the gas asset through both of its interfaces, or contract to pin one exact token, and read Hop*_Token on every hop. On Arc most USDC moves through contract code, so internal transfers are counted by default; pass include_internal=0 for top-level transfers only. A transaction's own transfer is top-level, not internal.

  • Arc trace next hop

    CONVERGENCE primitive for Arc (arc, ARC, Arc Network, Circle Arc) tracing: aggregate an address's OUTGOING flow by counterparty (Σ amount, count, first/last seen), largest first. NOT edges for a diagram → use arc_flow_edges. NOT an automatic walk along the largest edge → use arc_trace_dominant_path. Answers "where did the bulk of the funds go" in one shot. Narrow with currency (recommended), after_time (= when funds reached this hop), min_amount. Pass the top counterparties to labels_for_addresses to spot a CEX / mixer / bridge (= the destination, stop there). One row per (counterparty, TOKEN); identify a token by Contract, not Currency. On a very high-traffic address (an exchange or bridge hub) this aggregates a lot of history and can take tens of seconds — narrow it with contract or currency to one token, and with after_time to one period, which is far faster than one wide call. Amounts here are TOKEN UNITS, never USD - no USD value is available in this data, so there is no usd filter and totals for different tokens must not be compared or added together. For a ranking you can reason about, pin ONE token with contract, or bound the range with min_amount / max_amount. Every row carries Native (1 = the native coin) next to Contract, so a counterparty reached through both USDC interfaces is TWO rows; asset_type=usdc keeps both, and their amounts do add up because each movement is listed once. On Arc most USDC moves through contract code, so internal transfers are counted by default; pass include_internal=0 for top-level transfers only. A transaction's own transfer is top-level, not internal. USDC ON ARC IS ONE ASSET WITH TWO INTERFACES that share a single balance: the NATIVE coin that pays for gas (Native = 1, no contract, 18 decimals) and the ERC-20 token at 0x3600000000000000000000000000000000000000 (6 decimals). Each movement is listed once, under the interface that carried it, so the two together are the address's USDC flow - asset_type="usdc" selects both at once, and Contract tells you which interface a row used. Over a thousand OTHER contracts on this chain print the symbol USDC too and they are unrelated tokens: never identify an asset by its symbol, use Contract and Native. System rows that only repeat a USDC movement already listed here are left out, so nothing is counted twice. Returns up to top_n rows (default 10, at most 10000), largest Total_Amount first; no rows = nothing matched. `Symbol_NonAscii` = 1 flags a symbol that is not plain ASCII: normal for CJK / emoji names, also how a look-alike imitates a major token. For the full labelled list in USD, totals by label type, or a set of addresses → counterparties. Each row: Counterparty, Currency, Symbol_NonAscii, Contract, Native, Total_Amount, Transfers, First_Seen, Last_Seen.

  • Arc transactions

    Paginated TRANSACTION HISTORY of an Arc (arc, ARC, Arc Network, Circle Arc) address — every transaction it sent or received directly (its own From or To; a token it received inside someone else's transaction is in arc_transfers_in), newest first. Page back: pass the last Tx of the previous page as `before` to get strictly older transactions (an unknown hash returns an empty page); `until` returns only transactions strictly newer than that hash. NOT a token-transfer list — for token/native transfer flows use arc_transfers_in / arc_transfers_out; to inspect one transaction's transfers use arc_tx_transfers. Value and Fee are USDC, in the native 18-decimal form. The ERC-20 interface of the same asset at 0x3600000000000000000000000000000000000000 shows the same balance with 6 decimals; the other contracts on this chain that print the symbol USDC are unrelated tokens. Each row also carries the exact fee: Fee_Wei is the fee in the smallest unit of native USDC (18 decimals) as a decimal string; Fee is the same amount rounded to 8 decimals. Fee_Usd is empty and Fee_Price_Status is no_price here: the fee is a USDC amount, and USDC on Arc is priced as USDC on Ethereum (price_at) - never read the empty Fee_Usd as zero. A failed transaction (Success = 0) still paid its fee: treat it as a fee-only row. Fee_Status is ok. The fee was paid by the sender (From): count it for this address only on rows where From is the address. Returns up to limit transactions per page (default 25, at most 10000), newest first, failed transactions (Success = 0) included unless only_successful=1; a page shorter than limit is the last one. An unknown `until` hash is not applied (no lower bound); `before` and `until` together bound one range. With after_time / before_time only that period is read, so the cost follows the period, not the address's whole history; pass the same pair with every page. Each row: Tx, Time, Block, TxIndex, From, To, Value, Success, Fee, Fee_Status, Fee_Wei, Fee_Usd, Fee_Price_Status.

  • Arc transfers in

    INCOMING Arc (arc, ARC, Arc Network, Circle Arc) transfers to an address — where this wallet received funds from. NOT the opposite direction → use arc_transfers_out. NOT totals per sender → use arc_address_flow_summary. Returns up to limit transfers (default 20, at most 10000), newest first by default; page back with the last row's Cursor. Use to trace the source of funds backwards. For an address with many transfers set min_amount or sort='amount', else large sources hide behind recent dust. Query WITHOUT a currency filter to see where the bulk of funds originated. To identify counterparties, pass the returned addresses to labels_for_addresses. Each row carries the token Contract — a symbol alone can match look-alike clones, so pin the real token with the contract param. Amount is in TOKEN UNITS; amounts of different tokens must never be added together. Each row also carries Price_Usd - the token's USD price at the time of the transfer - and Value_Usd = Amount x Price_Usd, with Price_Status: "ok"; "no_price" = no price is known for this token at that time, so Price_Usd and Value_Usd are empty (never read that as zero); "suspect" = the stored price is more than twice the price one day earlier AND one day later, or less than half of both - a likely data glitch - so Value_Usd is left empty - check the price with price_at. A token has ONE price per day, so its value is approximate. USDC ON ARC IS NOT PRICED HERE: the native coin and the ERC-20 at 0x3600000000000000000000000000000000000000 always read no_price - it is USDC, so price it as USDC on Ethereum with price_at. There is no usd filter: min_amount / max_amount are in token units. For a ranking you can reason about, pin ONE token with contract, or bound the range with min_amount / max_amount. Amount_Raw is the exact amount as an integer in the token's smallest unit and Decimals its scale (Amount = Amount_Raw / 10^Decimals); Block and Tx_Index place the row in the chain. Every row carries Native (1 = the native coin) next to Contract, and Internal = 1 marks a transfer moved by contract code inside a transaction. On Arc most USDC moves through contract code, so internal transfers are counted by default; pass include_internal=0 for top-level transfers only. A transaction's own transfer is top-level, not internal. USDC ON ARC IS ONE ASSET WITH TWO INTERFACES that share a single balance: the NATIVE coin that pays for gas (Native = 1, no contract, 18 decimals) and the ERC-20 token at 0x3600000000000000000000000000000000000000 (6 decimals). Each movement is listed once, under the interface that carried it, so the two together are the address's USDC flow - asset_type="usdc" selects both at once, and Contract tells you which interface a row used. Over a thousand OTHER contracts on this chain print the symbol USDC too and they are unrelated tokens: never identify an asset by its symbol, use Contract and Native. System rows that only repeat a USDC movement already listed here are left out, so nothing is counted twice. `Symbol_NonAscii` = 1 flags a symbol that is not plain ASCII: normal for CJK / emoji names, also how a look-alike imitates a major token. Each row: Time, Sender, Currency, Symbol_NonAscii, Contract, Native, Amount, Internal, Tx, Cursor, Amount_Raw, Decimals, Block, Tx_Index, Price_Status, Price_Usd, Value_Usd.

  • Arc transfers out

    OUTGOING Arc (arc, ARC, Arc Network, Circle Arc) transfers from an address — where this wallet sent funds. Narrow with after_time (flows after funds arrived), currency (follow one asset), min_amount (drop dust). For an aggregated "where did the bulk go" view use arc_trace_next_hop; for incoming use arc_transfers_in. For an address with many transfers set min_amount or sort='amount', else large counterparties hide behind recent dust. Query WITHOUT a currency filter to surface the token → USDC off-ramp. Page back through history with cursor: pass the Cursor value of the LAST row of a page to get the next one — unlike before_time it never skips rows that share a timestamp. To identify counterparties, pass the returned addresses to labels_for_addresses. Each row carries the token Contract — a symbol alone can match look-alike clones, so pin the real token with the contract param. Amount is in TOKEN UNITS; amounts of different tokens must never be added together. Each row also carries Price_Usd - the token's USD price at the time of the transfer - and Value_Usd = Amount x Price_Usd, with Price_Status: "ok"; "no_price" = no price is known for this token at that time, so Price_Usd and Value_Usd are empty (never read that as zero); "suspect" = the stored price is more than twice the price one day earlier AND one day later, or less than half of both - a likely data glitch - so Value_Usd is left empty - check the price with price_at. A token has ONE price per day, so its value is approximate. USDC ON ARC IS NOT PRICED HERE: the native coin and the ERC-20 at 0x3600000000000000000000000000000000000000 always read no_price - it is USDC, so price it as USDC on Ethereum with price_at. There is no usd filter: min_amount / max_amount are in token units. For a ranking you can reason about, pin ONE token with contract, or bound the range with min_amount / max_amount. Amount_Raw is the exact amount as an integer in the token's smallest unit and Decimals its scale (Amount = Amount_Raw / 10^Decimals); Block and Tx_Index place the row in the chain. Every row carries Native (1 = the native coin) next to Contract, and Internal = 1 marks a transfer moved by contract code inside a transaction. On Arc most USDC moves through contract code, so internal transfers are counted by default; pass include_internal=0 for top-level transfers only. A transaction's own transfer is top-level, not internal. USDC ON ARC IS ONE ASSET WITH TWO INTERFACES that share a single balance: the NATIVE coin that pays for gas (Native = 1, no contract, 18 decimals) and the ERC-20 token at 0x3600000000000000000000000000000000000000 (6 decimals). Each movement is listed once, under the interface that carried it, so the two together are the address's USDC flow - asset_type="usdc" selects both at once, and Contract tells you which interface a row used. Over a thousand OTHER contracts on this chain print the symbol USDC too and they are unrelated tokens: never identify an asset by its symbol, use Contract and Native. System rows that only repeat a USDC movement already listed here are left out, so nothing is counted twice.

  • Arc transfers raw sql

    LAST RESORT — arbitrary READ-ONLY SQL against the Arc transfers database. The Bitquery MCP specialized arc_* tools are the PRIORITY; use this ONLY when none of them can answer (e.g. an uncovered table). No query optimizer here — naive SQL full-scans huge tables and JOINs time out. Runs read-only ClickHouse SQL. SQL reference: https://clickhouse.com/docs/reference/home FAST-QUERY RULES: filter on the indexed key tables — `arc_api.transfers_sender` (by sender / outgoing), `arc_api.transfers_receiver` (by receiver / incoming), `arc_api.transfers_tx` (by tx hash); NEVER JOIN big tables — use `WHERE col IN (SELECT …)` (use `GLOBAL IN` when the subquery is referenced inside another subquery, otherwise its result is not available where it is used). A subquery that itself reads a transfers table (`IN (SELECT Transfer_Sender FROM …transfers_… WHERE …)`) is re-run for every shard and rescans that table — run it as its OWN query first, then pass the result back as a literal list (`IN (unhex('a'), unhex('b'))`). To filter transfers by a specific token, read `transfers_currency` (keyed by the token contract + `Block_Time`); `transfers_sender` / `transfers_receiver` are keyed by address, so filtering those by a token contract scans the table. Addresses are RAW BYTES `FixedString(20)` in `Transfer_Sender` / `Transfer_Receiver` (there are NO plain string address columns) → `Transfer_Sender = unhex(substring(lower('0x…'),3))`, output `concat('0x',lower(hex(col)))`. Tx hash is `Transaction_Hash` `FixedString(32)` (same unhex/hex pattern). A SET of hashes or addresses must have the column's exact type: `Transaction_Hash IN (SELECT toFixedString(unhex(h), 32) FROM …)`, `toFixedString(…, 20)` for an address. A plain `unhex(…)` set, or a JOIN on a String key, silently misses every value ending in `00`; `=` and a literal list `IN (unhex('a'), unhex('b'))` are safe. Currency symbol + decimals are INLINE columns (no dictionaries): amount = `toFloat64(Transfer_Amount) / pow(10, Transfer_Currency_Decimals)`; symbol = `Transfer_Currency_Symbol`; token contract = `Transfer_Currency_SmartContract` — itself RAW BYTES in a `String` column (not text), so filter it `= unhex('<40 hex, no 0x>')` and read it back `concat('0x',lower(hex(…)))`; a `'0x…'` text literal matches nothing. Always add `AND Transfer_Success = 1`. DO NOT copy the `Transfer_Type IN ('token','transaction')` filter used on other chains — here it drops almost every USDC movement. `Transfer_Type`: 'token' = a log, 'transaction' = a plain value send, 'call' = a value move read from the call trace, which is how most USDC moves. A transaction's OWN transfer is a 'call' with `Call_Index = 0`, so "internal" is `Transfer_Type = 'call' AND Call_Index != 0`, never `Transfer_Type = 'call'` alone. USDC IS ONE ASSET WITH TWO INTERFACES sharing one balance: the native coin (`Transfer_Currency_Native = 1`, empty contract, 18 decimals) and the ERC-20 at 0x3600000000000000000000000000000000000000 (6 decimals). Each movement appears once, under the interface used, so `Transfer_Currency_Native = 1 OR Transfer_Currency_SmartContract = unhex('3600000000000000000000000000000000000000')` is the whole USDC flow. ALWAYS EXCLUDE `Transfer_Currency_SmartContract = unhex('fffffffffffffffffffffffffffffffffffffffe')`: that address only repeats a USDC movement already present (up to 2026-09-18), so leaving it in counts USDC twice. Over a thousand other contracts print the symbol USDC and are unrelated tokens. Time = `Block_Time`; history starts in May 2026. Date-time values come back as ISO-8601 UTC, e.g. 2026-09-21T15:04:18Z (toString() of a date-time gives 2026-09-21 15:04:18). Other `arc_api.*` tables (calls, transactions, balances) are reachable with an explicit db prefix. `arc_api.dex_trades_tx` holds this chain's DEX trades from 2026-05-27, earlier than the trade tools reach, and is the only way at that first period. In the `balances_*` tables `Balance_Amount` is an aggregate state, not a number — read it as `reinterpretAsInt256(argMaxMerge(Balance_Amount))` with a GROUP BY, or it comes back as unreadable bytes. Counterparty labels are NOT available for this chain — describe an address from its transfer profile instead. Read-only; always add a LIMIT of at most 10,000 — a larger answer fails with an error, so aggregate (GROUP BY, count) instead. 64-bit integers come back as JSON numbers, exact only up to 2^53: return a hash such as cityHash64(...) or any other 64-bit id as toString(x). Exact table and column names first: chain_list_tables, chain_describe_table and chain_search_columns with database=arc_api.

  • Arc tx events

    ALL EVENT LOGS in one or more Arc (arc, ARC, Arc Network, Circle Arc) transactions, including decoded arguments plus raw topics and data. Use after arc_find_events identifies a transaction, or whenever a tx receipt's complete event payload is needed. Accepts up to 50 transaction hashes separated by "|". `Parsed=0` means no ABI matched: Event, Signature and Arguments can then be empty, but Topic0, Topics and Data remain usable. NOT the value moved in a transaction → use arc_tx_transfers. Arguments are named objects with Name, Type, string Value and Indexed; integer values are decimal strings to avoid JSON-number precision loss; use raw Topics/Data for values wider than the decoded numeric fields. Argument names come from one known ABI for the Signature and can be another contract's wording - Topics and Data are the log's own. By default, reverted call-frame logs, removed logs and failed transactions are excluded; set only_successful=0 to inspect them with the returned status fields.

  • Arc tx transfers

    All token & native transfers inside ONE Arc (arc, ARC, Arc Network, Circle Arc) transaction — or a BATCH of transactions (pass several hashes separated by "|") — sender → receiver, currency, amount, plus the method that produced each transfer. Rows are grouped per tx (Tx column). Entry point for tracing when you have tx hashes. NOT the event logs of a transaction → use arc_tx_events. For an address's flow over time use arc_transfers_out / arc_transfers_in. To identify the addresses, pass them to labels_for_addresses. FRESHNESS: transfers reach this data some minutes after the trade tools see a swap, so a hash that trader_trades or tx_trades already shows can return NO rows here yet - that is lag, not a missing transaction: retry in a few minutes. Each row carries the token Contract and Native (1 = the native coin), and Internal = 1 marks a transfer moved by contract code deeper inside the transaction - the transfer the transaction makes itself is not internal. Call_Index and Log_Index give each row its position inside the transaction, which is what tells apart several transfers of the same amount between the same two addresses. On Arc most USDC moves through contract code, so internal transfers are counted by default; pass include_internal=0 for top-level transfers only. A transaction's own transfer is top-level, not internal. USDC ON ARC IS ONE ASSET WITH TWO INTERFACES that share a single balance: the NATIVE coin that pays for gas (Native = 1, no contract, 18 decimals) and the ERC-20 token at 0x3600000000000000000000000000000000000000 (6 decimals). Each movement is listed once, under the interface that carried it, so the two together are the address's USDC flow - asset_type="usdc" selects both at once, and Contract tells you which interface a row used. Over a thousand OTHER contracts on this chain print the symbol USDC too and they are unrelated tokens: never identify an asset by its symbol, use Contract and Native. System rows that only repeat a USDC movement already listed here are left out, so nothing is counted twice.

  • Base address flow summary

    ADDRESS FLOW SUMMARY / top counterparties: who a Base (base, L2, Coinbase L2) address sends funds TO and receives funds FROM, in one call — profile (sent/received transfer counts, distinct receivers/senders) + TOP receivers AND TOP senders. Collapses address_profile + trace_next_hop(out) + an incoming convergence into a single call — call this FIRST when triaging a hop. Returns a computed Role: receive_only (no outgoing transfer in the period) / send_only (no incoming one) / no_transfers (neither) / consolidator (senders ≫ receivers) / distributor (receivers ≫ senders) / hub (thousands of both — don't trace deeper) / relay. The profile counts and Role ALWAYS cover all tokens: currency and contract narrow only the top arrays (base_address_profile applies them to every count). Pass the returned counterparties to labels_for_addresses to identify them. For raw rows use base_transfers_in/out; for one direction's full ranking use base_trace_next_hop. READING THE TOP ARRAYS: one entry per (counterparty, TOKEN) — the same address repeats once per token it moved. Symbols are not unique; identify a token by `contract`. On a very high-traffic address (an exchange or bridge hub) this aggregates a lot of history and can take tens of seconds — narrow it with contract or currency to one token to make it far faster. Amounts here are TOKEN UNITS, never USD - no USD value is available in this data, so there is no usd filter and totals for different tokens must not be compared or added together. For a ranking you can reason about, pin ONE token with contract, or bound the range with min_amount / max_amount. `Symbol_NonAscii` = 1 flags a symbol that is not plain ASCII: normal for CJK / emoji names, but also how a scam token impersonates a major one with Cyrillic or Greek look-alike letters - never treat such a token as the asset it resembles. In the top arrays it is the `symbol_nonascii` field of each entry. after_time / before_time bound BOTH the profile counts and the top arrays to one period (without them both cover the whole history). Counts and arrays are the transfers OF THIS ADDRESS itself. A bot account signs its transactions while a contract it controls holds and moves the tokens - the contract its transactions go TO, or a separate one - so a very active trader (the trading tools' Trader_Address is the signer) can show few or no outgoing transfers here. To find the address that really moves its tokens, open one of its Tx_Hash values from trader_trades with base_tx_transfers, then trace that address (base_transactions lists where this account's transactions go). A transaction's own transfer is TOP-LEVEL, not internal, and is always counted. ETH moved by contract code deeper inside a transaction (an internal transfer) is left out unless you pass include_internal=1. For the full labelled list in USD, totals by label type, or a set of addresses → counterparties.

  • Base address profile

    Base (base, L2, Coinbase L2) address STATISTICS — successful transfer counts out/in and distinct counterparties (receivers/senders), across all tokens. Fast triage of an address during tracing. For one-call triage that ALSO returns the top counterparties, prefer base_address_flow_summary. Role from the ratio (cheap triage before flow_edges): senders ≫ receivers = consolidator / sweep; receivers ≫ senders = distributor; ~1↔1 = relay (layering); thousands of both = mega-hub (exchange / treasury — don't trace deeper). No outgoing transfers at all = receive-only and no incoming = send-only, not a consolidator / distributor. First_Sent / Last_Sent / First_Received / Last_Received = first and last transfer in each direction. Bound a period with after_time / before_time; restrict to one token with contract (or currency) to also get Sent_Amount / Received_Amount in that token's units - without a token filter the amounts are NULL, because different tokens cannot be added. currency / contract (like after_time / before_time) narrow EVERY count, time and amount here - unlike base_address_flow_summary, whose profile counts always cover all tokens. The counts are the transfers OF THIS ADDRESS itself. A bot account signs its transactions while a contract it controls holds and moves the tokens - the contract its transactions go TO, or a separate one - so a very active trader (the trading tools' Trader_Address is the signer) can show few or no outgoing transfers here. To find the address that really moves its tokens, open one of its Tx_Hash values from trader_trades with base_tx_transfers, then trace that address (base_transactions lists where this account's transactions go). A transaction's own transfer is TOP-LEVEL, not internal, and is always counted. ETH moved by contract code deeper inside a transaction (an internal transfer) is left out unless you pass include_internal=1.

  • Base contract creator

    WHO CREATED a Base (base, L2, Coinbase L2) contract, and what a creator deployed. Answers "who created / deployed this token", "who is behind this contract", "what else did this deployer launch", and "were these tokens made by the same person" (serial deployers, rug and clone farms). NOT who funded a wallet → use base_first_funder. On this chain a token IS a contract, so pass the TOKEN'S CONTRACT ADDRESS in contracts. TWO WAYS TO CALL IT, pick one - setting both is refused, because the two answer different questions and their shared-creator counters would be mixed: contracts="0x..|0x.." - up to 50 contracts, one row each: Creator (the address whose code ran CREATE), Signer, Created_At, Block_Number, Tx, Deploy_Value, Gas_Used and Deploy_Success. Rows whose creator or signer is SHARED come first: Creator_Shared / Signer_Shared count how many of the requested contracts have that same creator / signer, which is what exposes one person behind many tokens. A longer list is not an error: the first 50 distinct addresses are used and the rest ignored - compare Contracts_Requested with Contracts_Used and split a longer list into several calls. creator="0x.." - the contracts THAT address deployed, newest first, inside the window (days, after_time, before_time), at most `limit` rows. Use it on the Creator or Signer a first call returned, to see the rest of that deployer's output. Creator_Shared is empty in this form - every row has the same creator by construction, so the counter would only repeat the row count. Creator_Is_Contract = 1 means the contract was deployed BY OTHER CONTRACT CODE - a token factory, a launchpad or a DEX pair factory - and then Creator is that factory, which is the SAME address for every token it ever made, while Signer is the person who asked for it. On a factory-made token read Signer, not Creator. Deploy_Depth is how deep inside the transaction the deployment happened (0 = the transaction itself) and Call_Index is the deployment's position in that transaction - one transaction can deploy several contracts, and Call_Index is what tells those rows apart when everything else about them looks the same. Status = NOT_FOUND means no deployment is recorded for that address: it is a plain wallet, not a contract, or the deployment is older than the recorded history of this chain. Creations is normally 1; a higher number means the address was created more than once (destroyed and redeployed), and the row describes the EARLIEST creation. THE CREATOR'S STORY IS NOT IN THIS TOOL - build it from the returned addresses: labels_for_addresses (is the creator a known entity, exchange or scammer), base_first_funder (who funded the creator, and whether several creators share one sponsor), base_address_profile and base_transfers_in / base_transfers_out (what that wallet does), base_flows_between (what moved between the creator and the token). The token's own name, symbol, price and market cap come from find_token_by_address; its first buyers from early_buyers. Amounts are the native coin, never USD. COST: a contract lookup has to walk every call that address ever received, so a handful of ordinary tokens answer in a second or two while one exchange-scale contract can take ~20 s on its own. If you already know roughly when the contract appeared, bound it with after_time / before_time - that alone took one busy token from 21 s to 2 s. A row-limit error ("Limit for rows ... exceeded") means the batch is too busy: bound it that way, or split the list.

  • Base find calls

    FIND SMART-CONTRACT CALLS of a specific (even rare) method on ONE Base (base, L2, Coinbase L2) contract in a single filtered query — match by method NAME (e.g. "transfer"), full SIGNATURE (e.g. "transfer(address,uint256)"), or raw 4-byte hex SELECTOR (e.g. "a9059cbb"); optionally narrow to one caller. Answers "who called method X on contract Y, when, did it succeed". NOT what one address signed or received → use base_transactions. Returns up to limit calls (default 20, at most 10000), newest first; page back with the last row's Cursor - each page covers the days window ending there. Searches a recent window — defaults to the last 7 days (ending at the cursor's time, before_time, or now); widen with after_time; a wider window is slower on busy contracts. For token transfers use base_transfers_out/in; for event logs use base_find_events. SCAN COST scales with the window, not with the limit: on a very high-traffic contract set days=1 and page back with cursor - several times cheaper than a 7-day window for the same page. Widen days for quiet contracts or rare matches. Calls inside one transaction come back in no particular order - sort them by CallPath if you need execution order. A call to a proxy contract is recorded twice here: once as the call itself and once as the DELEGATECALL the proxy runs for it. Only the first is returned by default; Delegated = 1 marks the repeats, which include_delegatecall=1 adds back. Each row carries the call's decoded input Arguments (Name, Type, Value; integers are decimal strings in raw units, NOT divided by token decimals; addresses as 0x-hex) - at most 32 per row: ArgumentCount is the full number and ArgumentsTruncated=1 marks a cut list (every array element counts as one). A method the decoder does not recognise has no Arguments. Value is the ETH attached to the call. Each row: Tx, Time, Block, Caller, Method, Signature, Selector, CallPath, Value, Success, Reverted, Error, GasUsed, Delegated, Cursor, Arguments, ArgumentCount, ArgumentsTruncated.

  • Base find events

    FIND EVENT LOGS of ONE Base (base, L2, Coinbase L2) contract — match by event NAME (e.g. "Transfer") or full SIGNATURE (e.g. "Transfer(address,address,uint256)"), case-insensitive. `contract` matches logs that contract EMITTED ITSELF (a proxy token is found by its public address), plus — when it is a proxy's implementation — the logs its code emitted for that proxy. Logs emitted by OTHER contracts it calls are NOT included: a DEX router's swaps are logged by the pair/pool it calls, not by the router, so contract=<router> with event=Swap returns NOTHING even when the router executed thousands of swaps. An empty result for a router, aggregator or smart wallet does NOT mean there was no activity. To get those logs, pass the pair/pool (or token) address as `contract`; if it is unknown, list the router's transactions with base_find_calls (contract=<router>) and pass their Tx hashes (up to 50, "|"-separated) to base_tx_events with event=Swap — its CallPath shows which call produced each log. Narrow matched rows with `emitter`. Returns tx, emitter, event name/signature, log index, tx sender. Searches a recent window — defaults to the last 7 days (ending at the cursor's time, before_time, or now); widen with after_time (wider = slower). Page back through history with cursor: pass the Cursor value of the LAST row of a page to get the next one — unlike before_time it never skips rows that share a timestamp, and a busy contract emits hundreds of logs in one second. For the calls themselves use base_find_calls; for token transfers use base_transfers_out/in. Each row carries the log's decoded Arguments (Name, Type, Value, Indexed; integers are decimal strings in raw units, NOT divided by token decimals; addresses as 0x-hex) - at most 32 per row: ArgumentCount is the full number and ArgumentsTruncated=1 marks a cut list (every array element counts as one). Parsed=0 rows have no Arguments. Argument NAMES come from one known ABI for the Signature: a contract that emits the same Signature with other parameter names gets those names too, so a Name can be wrong for this contract - identify an argument by its position and Type, and check a doubtful one against the raw Topics/Data. For raw Topics/Data, or the rest of a cut list, pass the Tx to base_tx_events. Unrecognized events can be found here by `topic0`. ONE ROW = ONE EVENT LOG. A contract can be called many times inside a single transaction and each of those internal calls can emit its own logs, so the same event name legitimately repeats within one transaction - that is NOT duplication. Rows are told apart by CallIndex (which internal call emitted the log) together with LogInCall (the log's position inside that call); that pair is unique within a transaction. To COUNT events, count the returned rows - never de-duplicate on Tx/Event/Emitter, which would merge genuinely different logs into one. SCAN COST scales with the window, not with the limit: on a very high-traffic contract set days=1 and page back with cursor - several times cheaper than a 7-day window for the same page. Widen days for quiet contracts or rare matches. Rows inside one transaction come back in no particular order - sort them by CallIndex then LogInCall if you need emission order.

  • Base first funder

    FIRST FUNDER / COMMON SPONSOR of up to 50 Base (base, L2, Coinbase L2) addresses: for each address the EARLIEST incoming transfer INSIDE THE WINDOW (by default the last 180 days - not necessarily the first ever, see WINDOW) - who sent it (Funder), who signed that transaction (Tx_From), when (First_Time), how much of which token, and the Tx. Answers "who funded these wallets" and "do these wallets share a sponsor" (sybil, sniper and airdrop-farming clusters). NOT who deployed a contract → use base_contract_creator. Pass the addresses separated by "|". A longer list is not an error: the first 50 distinct addresses are used and the rest are ignored - every row reports Addresses_Requested / Addresses_Used, so compare them and split a longer list into several calls. One row per used address, and rows whose funder is shared come FIRST: Funder_Shared = how many of the requested addresses have that same first funder, Tx_From_Shared = the same count for the transaction's signer - it catches wallets funded through a public batch-sending contract, where Funder is the contract and the signer is the real sponsor. Funder_In_Set = 1 when the funder is itself one of the requested addresses (a funding chain). Via_Internal_Call = 1 marks funding sent by contract code deeper inside a transaction; the transfer a transaction makes itself is top-level, so it reads 0. Incoming_In_Window = how many qualifying incoming transfers the address had in the window. WHAT COUNTS AS FUNDING: by default native ETH only (asset_type="native"), including ETH sent by contract code (include_internal=1); set asset_type="token" or "all", or pin one token with contract, to look at token funding instead. Zero-amount transfers, mints and self-transfers never count; raise min_amount to skip dust. WINDOW: the first funding INSIDE the last `days` days (default 180, at most 730) ending at before_time or now, or starting at after_time within the same limit. Status = FIRST_IN_WINDOW: the earliest qualifying funding between Window_From and Window_To. It is the address's first-ever funding ONLY if the address had no activity before Window_From, and this tool does not check that. To check one address, compare First_Time with the First_Received of base_address_profile for it (an earlier First_Received means it already received something before the window). To look further back, call again with before_time set to the row's Window_From. Status = NO_INCOMING_IN_WINDOW means nothing qualifying arrived in the window: call again for those addresses with before_time set to their Window_From to look further back. COST grows with the number of addresses times the length of the window: for dozens of addresses keep days at 180 and page back with before_time rather than widening days (this chain is among the slowest for this lookup: keep it to about 10 addresses and 180 days per call). A row-limit error ("Limit for rows ... exceeded") means an address in the list is too busy (an exchange, bridge or popular contract) or the window is too long - drop that address or shorten days. Amounts are TOKEN UNITS, never USD. To identify funders, pass them to labels_for_addresses; to see everything that moved between the funders and the wallets, use base_flows_between.

  • Base flow edges

    MONEYFLOW GRAPH EDGES out of a Base (base, L2, Coinbase L2) address: one row per counterparty — Source → Target, total Amount, Currency. NOT choosing which counterparty to follow next → use base_trace_next_hop. Building block for a MoneyFlow DIAGRAM. HOW TO DRAW: call this per address/hop, collect the edges, and emit a Mermaid `graph LR` (one node per address; each edge labeled with Amount+Currency). Pass the Target addresses to labels_for_addresses to flag CEX / mixer / bridge nodes and STOP expanding those branches. Pass a currency to avoid spam-token noise; call WITHOUT a currency filter to spot a token → USDT off-ramp at the edge. For raw per-transfer rows use base_transfers_out. Each edge carries the token Contract — pin one exact token with the contract param. On a very high-traffic address (an exchange or bridge hub) this aggregates a lot of history and can take tens of seconds — narrow it with contract or currency to one token to make it far faster. Amounts here are TOKEN UNITS, never USD - no USD value is available in this data, so there is no usd filter and totals for different tokens must not be compared or added together. For a ranking you can reason about, pin ONE token with contract, or bound the range with min_amount / max_amount. `Symbol_NonAscii` = 1 flags a symbol that is not plain ASCII: normal for CJK / emoji names, but also how a scam token impersonates a major one with Cyrillic or Greek look-alike letters - never treat such a token as the asset it resembles. In the top arrays it is the `symbol_nonascii` field of each entry. Bound one period with after_time / before_time. First_Seen / Last_Seen give each edge's first and last transfer. A transaction's own transfer is TOP-LEVEL, not internal, and is always counted. ETH moved by contract code deeper inside a transaction (an internal transfer) is left out unless you pass include_internal=1.

  • Base flows between

    FLOWS BETWEEN TWO ADDRESS SETS on Base (base, L2, Coinbase L2): every successful transfer (tokens and native ETH) from any address of set A to any address of set B, and back, in ONE call - "did these wallets ever pay those wallets", "how much moved between my suspects and the exchange wallets", "which of these deposit addresses sent to that hot wallet". Pass up to 50 addresses per set separated by "|" (0xabc…|0xdef…). A longer list is not an error: the first 50 distinct addresses of each set are used and the rest are ignored - every row reports A_Addresses_Requested / A_Addresses_Used and B_Addresses_Requested / B_Addresses_Used, so compare them and split a longer set into several calls. Leave addresses_b EMPTY to get every counterparty of the A set, both directions, grouped per A address - the multi-address form of base_flow_edges. mode="summary" (default) returns one row per (Direction, Sender, Receiver, token) with Transfers, total Amount, First_Time, Last_Time and the latest Tx, ordered by `sort`. mode="rows" returns the individual transfers newest first; page with cursor: pass the Cursor value of the LAST row, with all other arguments unchanged, to get the next page (a summary row carries no Cursor). A rows-mode row is a LEDGER LINE: besides the amount it carries Amount_Raw (the exact integer amount in the token's smallest unit) with Decimals, Block and Tx_Index, and Price_Usd (the token's USD price at the time of the transfer), Value_Usd = Amount x Price_Usd and Price_Status - "ok"; "no_price" = no price is known for this token at that time, so Price_Usd and Value_Usd are empty (never read that as zero); "suspect" = the stored price is more than twice the price one day earlier AND one day later, or less than half of both - a likely data glitch - so Value_Usd is left empty - check it with price_at. ETH and the major tokens are priced to 5 minutes, every other token has ONE price per day, so the value of a small token is approximate. On a summary row those seven columns are empty: a total over a period has no single price. Self = 1 (both modes) marks a movement whose counterparty is another address of set A - a move inside the set, not income and not spending. Direction A_TO_B = sent by an A address to a B address, B_TO_A = sent by a B address to an A address; an address listed in both sets appears in both directions. With addresses_b empty the same holds for a transfer between two A addresses: it is listed as A_TO_B for its sender AND as B_TO_A for its receiver, so never add rows of both directions together. WINDOW: the last `days` days (default 30, at most 366) ending at before_time, or now; after_time sets the start instead, within the same 366-day limit. Window_From / Window_To on every row show the range searched; for an older period set before_time. An empty result means no transfer between the sets in that window. COST: the search is keyed on set A, so put the SMALLER and less busy set in addresses_a - individual wallets, not exchange hot wallets, bridges or token contracts. If the call fails with a row-limit error ("Limit for rows ... exceeded"), swap the two sets, shorten days, or split set A. Cost also grows with the number of addresses in set A times the window - this chain is among the slowest for it: keep set A to about 10 addresses (fewer addresses help far more than a shorter window). Each row carries the token Contract (empty for native ETH); a symbol alone can match look-alike clones, so pin one token with contract, or restrict to native or tokens with asset_type. Amount is in TOKEN UNITS: totals of different tokens must not be compared or added together, there is no usd filter (min_amount is in token units), and sort="amount" is only meaningful with one token pinned. To identify the addresses, pass them to labels_for_addresses. For the full labelled list in USD, totals by label type, or a set of addresses → counterparties.

PreviousPage 3 / 18Next