Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Eth find calls
BITQUERY_MCP_ETH_FIND_CALLSFIND SMART-CONTRACT CALLS on one Ethereum (eth, ETH, mainnet, L1) contract by method — "who called method X on contract Y, when, did it succeed" in one filtered query. NOT event logs a contract emitted → use eth_find_events. NOT what one address signed or received → use eth_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. Match by method name (e.g. "transfer"), full signature ("transfer(address,uint256)"), or raw 4-byte selector (e.g. "a9059cbb"); optionally restrict to one caller. Searches the last 7 days by default — set after_time to reach further back. Includes reverted calls when only_successful=0 (with error text). Then inspect a transaction's fund movements with eth_tx_transfers. 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. 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, Cursor, Arguments, ArgumentCount, ArgumentsTruncated.
Eth find events
BITQUERY_MCP_ETH_FIND_EVENTSFIND EVENT LOGS on one Ethereum (eth, ETH, mainnet, L1) contract by event name — e.g. every "Transfer", or a rare custom event. `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 eth_find_calls (contract=<router>) and pass their Tx hashes (up to 50, "|"-separated) to eth_tx_events with event=Swap — its CallPath shows which call produced each log. Narrow matched rows to one emitting contract with `emitter`. Match by event name or full signature (case-insensitive). Searches the last 7 days by default — set after_time to reach further back, or page back with cursor: pass the Cursor value of the LAST row of a page to get the next one, and that page covers the same number of days ending at that row. Unlike before_time, a cursor never skips rows that share a timestamp — a busy contract can emit hundreds of logs in one second. Then inspect a transaction's fund movements with eth_tx_transfers. For finding the CALLS themselves (method, selector, revert info) use eth_find_calls. 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 eth_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. Rows inside one transaction come back in no particular order - sort them by CallIndex then LogInCall if you need emission order. 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.
Eth first funder
BITQUERY_MCP_ETH_FIRST_FUNDERFIRST FUNDER / COMMON SPONSOR of up to 50 Ethereum (eth, ETH, mainnet, L1) 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 eth_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 eth_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. 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 eth_flows_between.
Eth flow edges
BITQUERY_MCP_ETH_FLOW_EDGESMONEYFLOW GRAPH EDGES out of an Ethereum (eth, ETH, mainnet, L1) address: one row per counterparty — Source → Target, total Amount, Currency. NOT choosing which counterparty to follow next → use eth_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 eth_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. Amount is in TOKEN UNITS and totals for different tokens must not be compared or added together. Amount_Usd values the edge in US dollars (to the cent) at each transfer's own time, summed over the period; it is set only for the native coin and a few major tokens, and is empty - never zero - for any other token, or when the stored price looks unreliable. Usd_Priced_Share is the share of the edge's amount that could be priced (0 to 1); when it is below 1 Amount_Usd covers only that priced part, and Unpriced_Transfers counts the transfers left unpriced. Filter edges by US dollars with min_usd, and set order_by=usd to rank by Amount_Usd, unpriced edges last, instead of by token amount. For a token-unit ranking 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. NOT a multi-hop trace - this is ONE address's direct outgoing edges. To FOLLOW the money across up to 3 hops in a single call (USD-valued, labelled, with exchange / mixer / bridge stops), use flow_graph (chain=ethereum).
Eth flows between
BITQUERY_MCP_ETH_FLOWS_BETWEENFLOWS BETWEEN TWO ADDRESS SETS on Ethereum (eth, ETH, mainnet, L1): 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 eth_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. 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.
Eth native balances
BITQUERY_MCP_ETH_NATIVE_BALANCESNATIVE COIN BALANCE of up to 50 Ethereum (eth, ETH, mainnet, L1) addresses you ALREADY HAVE: each address's current ETH 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 eth_token_holders. NOT one address's transfer history → use eth_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 eth_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 ETH (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.
Eth token holders
BITQUERY_MCP_ETH_TOKEN_HOLDERSTOP HOLDERS of an Ethereum (eth, ETH, mainnet, L1) 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.
Eth token senders
BITQUERY_MCP_ETH_TOKEN_SENDERSTOKEN SENDERS COHORT on Ethereum (eth, ETH, mainnet, L1): 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 eth_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 eth_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.
Eth trace dominant path
BITQUERY_MCP_ETH_TRACE_DOMINANT_PATHAUTO-WALK the dominant (largest-total-amount) OUTGOING edge of ONE token from an Ethereum (eth, ETH, mainnet, L1) address, hop by hop, up to 5 hops — collapses ~5 manual eth_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 eth_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 eth_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 eth_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. 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.
Eth trace next hop
BITQUERY_MCP_ETH_TRACE_NEXT_HOPCONVERGENCE primitive for Ethereum (eth, ETH, mainnet, L1) tracing: aggregate an address's OUTGOING flow by counterparty (Σ amount, count, first/last seen), largest first. 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. NOT edges for a diagram → use eth_flow_edges. NOT an automatic walk along the largest edge → use eth_trace_dominant_path. 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. 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. 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, Total_Amount, Transfers, First_Seen, Last_Seen.
Eth transactions
BITQUERY_MCP_ETH_TRANSACTIONSPaginated TRANSACTION HISTORY of an Ethereum (eth, ETH, mainnet, L1) address — every transaction it sent or received directly (its own From or To; a token it received inside someone else's transaction is in eth_transfers_in), newest first, deep-pageable. To page back, pass the last Tx of the previous page as `before` (returns strictly older transactions; an unknown hash returns an empty page). `until` bounds the other side (only transactions newer than that tx). NOT a token-transfer list — for token/ETH movements use eth_transfers_out / eth_transfers_in; to see what ONE transaction did, pass its hash to eth_tx_transfers. Value and Fee are in ETH. Each row also carries the exact fee: Fee_Wei is the fee in the smallest unit as a decimal string (Fee is the same amount in ETH, rounded to 8 decimals); Fee_Usd is its value at the ETH price at the time of the transaction. Fee_Price_Status says how far to trust that price: ok; no_price (Fee_Usd is empty - never read it as zero); suspect (the price is more than twice, or less than half, the price a day earlier AND a day later - a likely data glitch, so Fee_Usd is left empty). A failed transaction (Success = 0) still paid its fee: treat it as a fee-only row. The fee was paid by the sender (From): count it for this address only on rows where From is the address. Fee_Status is ok on this chain. 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.
Eth transfers in
BITQUERY_MCP_ETH_TRANSFERS_ININCOMING Ethereum (eth, ETH, mainnet, L1) transfers to an address — where this wallet received funds from. NOT the opposite direction → use eth_transfers_out. NOT totals per sender → use eth_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. 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. 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. A transaction's own transfer is TOP-LEVEL, not internal, and is always included. Internal = 1 marks a transfer moved by contract code deeper inside a transaction; those are left out unless you pass include_internal=1. `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, Amount, Internal, Tx, Cursor, Amount_Raw, Decimals, Block, Tx_Index, Price_Status, Price_Usd, Value_Usd.
Eth transfers out
BITQUERY_MCP_ETH_TRANSFERS_OUTOUTGOING Ethereum (eth, ETH, mainnet, L1) 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 eth_trace_next_hop; for incoming use eth_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 → USDT 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. 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. 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. A transaction's own transfer is TOP-LEVEL, not internal, and is always included. Internal = 1 marks a transfer moved by contract code deeper inside a transaction; those are left out unless you pass include_internal=1.
Eth transfers raw sql
BITQUERY_MCP_ETH_TRANSFERS_RAW_SQLLAST RESORT — arbitrary READ-ONLY SQL against the Ethereum transfers database. The Bitquery MCP specialized eth_* 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 — `eth_api.transfers_sender` (by sender / outgoing), `eth_api.transfers_receiver` (by receiver / incoming), `eth_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`. `Transfer_Type`: 'token' = a token transfer, 'transaction' = a plain native-coin send, 'call' = native coin moved by a call. A transaction's OWN value transfer is stored either as 'transaction' or as a 'call' with `Call_Index = 0`; only a 'call' with `Call_Index != 0` is an INTERNAL transfer (made by contract code deeper inside the transaction). For top-level transfers filter `(Transfer_Type IN ('token','transaction') OR (Transfer_Type = 'call' AND Call_Index = 0))` - `Transfer_Type IN ('token','transaction')` alone drops a large share of ordinary sends. Time = `Block_Time`. 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 `eth_api.*` tables (calls, transactions, balances) are reachable with an explicit db prefix. Counterparty labels are NOT in this database — use labels_for_addresses. 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=eth_api.
Eth tx events
BITQUERY_MCP_ETH_TX_EVENTSALL EVENT LOGS in one or more Ethereum (eth, ETH, mainnet, L1) transactions, including decoded arguments plus raw topics and data. Use after eth_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 eth_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, using TxSuccess / CallSuccess / Reverted / Removed to interpret each row.
Eth tx transfers
BITQUERY_MCP_ETH_TX_TRANSFERSAll token & native transfers inside one OR SEVERAL Ethereum (eth, ETH, mainnet, L1) transactions (sender → receiver, currency, amount) — pass one tx hash or several separated by "|" to inspect a batch in a single call. Entry point for tracing when you have tx hashes. Also returns the called Method signature per transfer. NOT the event logs of a transaction → use eth_tx_events. For an address's flow over time use eth_transfers_out / eth_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. A transaction's own transfer is TOP-LEVEL, not internal, and is always included. Internal = 1 marks a transfer moved by contract code deeper inside a transaction; those are left out unless you pass include_internal=1.
Execute sql
BITQUERY_MCP_EXECUTE_SQLESCAPE HATCH — read-only SQL for what NO tool answers: custom cohort backtests beyond launch_cohort, multi-step joins, quantiles. Check the tools first; they are keyed and far cheaper: - token_price, token_ohlcv, pair_ohlcv, currency_ohlcv, token_trade_bars (30 s to 1 h buy/sell bars) - new_tokens, launch_cohort, token_launch_stats, early_buyers, token_dex_venues, pool_recent_trades - trader_trades, trader_profile, trader_positions, trader_activity, top_traders_by_token - list_tables, describe_table, search_columns before writing a query - Hyperliquid (the perp exchange) is NOT in this database at all: its markets, funding, liquidations and traders are the hyperliquid_* tools, and its own hatch is hyperliquid_raw_sql After a tool answers, keep going with tools; use SQL only for the step none can do. Runs read-only ClickHouse SQL. SQL reference: https://clickhouse.com/docs/reference/home Scope: only the trading_rt database — DEX trades and 1 s to 1 h bars per token, pair, pool and currency, last ~30 days, 10 chains. Other visible databases are internal and unsupported: do not query them. Address labels and per-chain transfers are not here: use the label and <chain>_ tools. Rules: - Names are case-sensitive, not GraphQL fields or tool output names: trades_* use Pair_Token_Address / Pair_Token_Network / Pair_Token_Symbol (quote side Pair_QuoteToken_*), tokens_* and pairs_* Token_*; confirm with describe_table. - Use the *_by_<key> table that matches your filter, filter its leading sort keys, and on trades_* bound Block_Date too. - Bars: Interval_VolumeBased = 0; Price_IsQuotedInUsd = 1 for USD. - Windows on *_by_interval_start: enumerate the hour starts, Interval_Time_Start IN (SELECT arrayJoin(arrayMap(h -> toStartOfHour(now()) - toIntervalHour(h), range(24)))) AND Interval_Time_Duration = 3600; a >= range reads every duration. - One tokens_* hour can be stored twice: on multi-token scans add Token_Did = '' AND NOT (Volume_Usd = 0 AND LeadingPool_MarketId = '') (never on a single-address lookup: those rows can be a token's only rows); take the current and previous hour as argMax(Volume_Usd, Indexing_Time) per token; never GROUP BY Token_Name / Token_Symbol. - Amounts are decimal-adjusted; USD: AmountsInUsd_Base / AmountsInUsd_Quote / PriceInUsd; Side = what the trader received; Supply_MarketCap = the diluted value when Supply_CirculatingSupply = 0. - EVM addresses are lowercase 0x-hex, Solana/Tron base58 case-sensitive. Use UNION ALL; always add a LIMIT. Dates and times come back as ISO-8601 UTC (a Date as T00:00:00Z).
Find currencies
BITQUERY_MCP_FIND_CURRENCIESResolve a well-known asset by NAME or SYMBOL → Currency_Id, which aggregates every token of that asset across all chains. CALL THIS FIRST (then the currency_* tools) for well-known coins (USDC, USDT, WETH, WBTC, BTC, ETH, SOL, DAI, …) when the user has NOT pinned a chain or contract — currency-level aggregation gives a better price and wider coverage than any single token_* / pair_* query. Only fall back to find_tokens / token_* / pair_* when a specific chain ("USDC on Base") or contract is pinned. Discover currencies by name or symbol substring (case-insensitive) among those that traded in the last 24 hours. A "currency" is a coarser grouping than a token — e.g. `usdc` is one currency backed by many USDC tokens across chains; `bid:eth` is the native currency of Ethereum. Returns Currency_Id, Currency_Name, Currency_Symbol and 24h USD volume aggregated across all tokens of that currency. AGGREGATED CURRENCIES FIRST: `Is_Canonical` = 1 marks an aggregated currency — a named asset id (`usdc`, `doge`, `xrp`) or a chain's native coin (`bid:eth`, `bid:solana`, `bid:bitcoin`). Every other row (`bid:<chain>:<address>`) is ONE token that is mapped to no asset. Rows come in this order: aggregated currencies whose id, symbol or name equals the query; the other aggregated currencies; the other tokens; look-alikes last; USD volume decides inside each group. Is_Canonical says the id aggregates, not that it is the famous asset of that name: `bitcoin` is a meme token (Bitcoin is `bid:bitcoin`, whose supply and market cap count only the wrapped BTC on the indexed chains — do not report them as Bitcoin's), and one asset can have several ids (`trx` and `bid:tron`; `matic`, `pol` and `bid:matic`). NO ROW WITH Is_Canonical = 1 means the asset has no aggregated currency here — it is not covered, or it did not trade in the last 24 hours. The rows are then separate tokens that merely carry its name (bridged, wrapped or unrelated): say the asset is not covered and never quote such a row as the asset's price. canonical_only=1 returns the aggregated currencies alone. LOOK-ALIKES: `Symbol_Lookalike` = 1 means the token carries the symbol of an aggregated currency — `Lookalike_Of` names that currency (look-alike letters such as a Cyrillic `О` count as the same) — but is NOT part of it: never present it as that asset or use it for its price; call currency_price with the Lookalike_Of id instead. Tokens that merely share a common-word ticker (SUN, GOAT, …) with a currency are flagged too. `Matched_Via` = 'alias' marks an aggregated currency found because a token named exactly like the query, with at least $10,000 of USD volume in the last 24 hours, carries its symbol (e.g. "ripple" finds `xrp`); 'text' = its own name or symbol matched. `Symbol_NonAscii` = 1 flags a symbol that is not plain ASCII (normal for CJK / emoji names). `Volume_Usd_24h` is `null` when no volume is recorded at currency level — the case for the major USD stablecoins (usdc, usdt, dai, …). That is a gap of the aggregation, not a sign they are untraded; their tokens carry the volume (find_tokens). `Market_Cap_Usd` is circulating-supply based and is `null` when no circulating supply is known for the asset — normal for most long-tail assets, and not a sign the asset is untraded. `Fdv_Usd` (the total-supply valuation) is returned alongside it; label that number FDV, never "market cap", and treat a huge one with suspicion — supply that was minted and then parked on a burn address (`0x…dead`, `0x0`) still counts in the total supply behind it. `Fdv_Usd` is itself `null` when even the total supply is unknown — BOTH are null for an asset that carries no supply figures at this aggregated level, the case for several major stablecoins; resolve one contract with `find_tokens` and use `token_price` for a valuation then. Both are also WITHHELD (`null`, with a non-empty `Valuation_Warning`) when the supply or valuation behind them is implausible — report the valuation as unavailable. LONG NAMES: a name longer than 256 characters or a symbol longer than 64 is not searched (spam tokens that glue hundreds of asset names together). Returned names are cut at 128 characters and symbols at 32, ending in `…`; Name_Truncated / Symbol_Truncated = 1 marks a cut value.
Find label values
BITQUERY_MCP_FIND_LABEL_VALUESDISCOVER which label values exist — resolve a human term to the stored label_type / label_value before calling `addresses_by_label` or `labels_for_addresses`. Case-insensitive substring search over label_value (e.g. "binance" -> cex-deposit-address:'binance-deposit'; "uni-v2" -> token-clone:'clone-uni-v2-…'). Returns each matching label_type + label_value with how many addresses carry it. Optionally restrict to one label_type. Backed by directory.labels. Call this FIRST when the user names an entity or category in words and you need the exact stored value. Counts are across ALL chains unless you pass chain — pass it to judge how well one chain is covered before relying on labels there. Before concluding "no service links", sanity-check coverage against a known entity (e.g. 'binance' → cex-deposit-address, hundreds of thousands of addresses). A value matching a TOKEN name (token-contract / token-clone) is the same-named token, NOT that exchange's wallet — don't conflate them.
Find token by address
BITQUERY_MCP_FIND_TOKEN_BY_ADDRESSToken lookup by CONTRACT / MINT ADDRESS: resolve a token address → Token_Id, name, symbol, latest price, 24h and 7d volume. CALL THIS FIRST whenever the user pastes an on-chain address (0x… hex, or a base58 Solana mint / Tron contract), before any price / OHLC / trade query — never find_tokens, which matches names and symbols only. `blockchain` is OPTIONAL: leave it empty when the chain is not known, and every chain is checked in the same call. The same EVM address can exist on several chains, so expect one row per chain; pick by chain or by Volume_Usd_7d. MANY ADDRESSES (a watchlist, a list of mints, the tokens of an earlier result): pass them all at once in `addresses` (up to 50, separated by `|`, `,` or spaces) — one call instead of a loop, and no execute_sql needed for a name / price / FDV lookup of a token list. Every row carries Addresses_Requested, Addresses_Invalid and Addresses_Used; the rule is in the `addresses` parameter. Identifies rare / long-tail / freshly-deployed tokens (Ethereum, Arbitrum, Base, Matic, Optimism, Binance Smart Chain, Tron, Solana, Robinhood, Arc). Returns per (address, chain): the canonical Token_Id, Token_Name, Token_Symbol, Currency_Id, the most recent USD price, Volume_Usd_24h and Volume_Usd_7d, market cap / FDV, First_Interval_Start (the first hour with USD-priced trading inside the 30-day history — the launch hour for a token younger than that, otherwise simply the start of the history; not a first-trade timestamp), Last_Interval_Start (the last hour the token traded), Addresses_Requested, Addresses_Invalid and Addresses_Used (1, 0, 1 for one address; 0, 0, 0 for a prefix) and Addresses_Not_Found (the addresses looked up that returned no row; [] when every one was found or for a prefix; when nothing is found the result is empty, so no row carries the list). One call covers the whole 30-day search history, so there is nothing older to page through: an EMPTY result means the address had no USD-priced trading in the last 30 days, or the address / chain is wrong. In a batch, an address listed in Addresses_Not_Found is in that situation; addresses come back normalized (EVM lowercased), so match them case-insensitively. Do not retry an address through find_tokens. Also takes an address PREFIX ending in `%` to list the tokens whose address starts with it, e.g. `Xs%` (the xStocks tokenized-stock mints on Solana) or `0x559b%`. Rules: a single trailing `%`, at least 2 characters before it (not counting `0x`), no `_`. A pattern outside these rules is refused. Rows are ordered by 7-day USD volume, highest first. Address formatting: - EVM chains (Ethereum, Arbitrum, Base, Matic, Optimism, Binance Smart Chain, Robinhood, Arc) use 0x-hex addresses; checksummed / upper-case input is fine, it is lowercased. - Solana and Tron use base58 addresses, which are case-sensitive — pass them exactly. VALUATION PRICE — `Market_Cap_Usd` and `Fdv_Usd` are `Valuation_Price_Usd` x the supply, so every valuation in a row can be recomputed from a price in the same row. `Valuation_Price_Usd` is the average price of the newest hour in which real volume changed hands, NOT the latest single swap: one odd or tiny swap prints a price nobody could trade at, and an hour can close with no real volume behind it at all, which was putting valuations out by a factor of thousands. `Last_Price_Usd` is still that latest swap, so it can sit far from `Valuation_Price_Usd` — when it does, the token last really traded at the valuation price and the latest print is an outlier or an hour with no real volume. Quote `Valuation_Price_Usd` whenever you quote a market cap or an FDV, and say so when the latest price differs from it. The same basis is used by `token_price`, `token_supply`, `currency_price`, `currency_supply`, `find_tokens`, `find_token_by_address`, `trending_tokens`, `new_tokens` and `launch_cohort`, so a valuation does not change from one of them to the next. Which hour counts as real volume is judged against the volume of the period a tool reads, so a tool that looks further back can pick an older hour than one reading only the last few hours; for something whose recent trading is thin the two valuations can differ, and the wider one is the better-supported figure. `Market_Cap_Usd` is circulating-supply based and is `null` when no circulating supply is known for the token — normal for most long-tail tokens, and not a sign the token is untraded. `Fdv_Usd` (the total-supply valuation) is returned alongside it; label that number FDV, never "market cap", and treat a huge one with suspicion — supply that was minted and then parked on a burn address (`0x…dead`, `0x0`) still counts in the total supply behind it. `Fdv_Usd` is itself `null` when even the total supply is unknown, i.e. no valuation at all is available. Both, and the Asset_* figures below, are also WITHHELD (`null`, with a non-empty `Valuation_Warning`) when the supply or valuation behind them is implausible — report the valuation as unavailable. TOKEN vs ASSET — Market_Cap_Usd and Fdv_Usd are THIS token's own valuation. They are `null` for a token that stands for a multi-chain or bridged asset (WETH, WBTC, USDC, LINK on each of its chains, ETH on a layer-2): the data holds only the whole asset's supply for it. Asset_Currency_Id, Asset_Market_Cap_Usd and Asset_Fdv_Usd always hold the whole asset's figures (equal to the token's own when the token is its own asset) — say they are the asset's. When the asset exists on one chain only (e.g. PUMP), Asset_Fdv_Usd is effectively this token's FDV. A bridged copy listed under its own id but carrying the asset's supply also gets a Valuation_Warning. Names longer than 128 characters and symbols longer than 32 are cut and end in `…`; Name_Truncated / Symbol_Truncated = 1 marks a cut value.