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.

  • Hyperliquid recent trades

    TAPE of individual trades on ONE Hyperliquid market, newest first — who took liquidity, in which direction, at what price and size; whale spotting, "what just happened on X". NOT a wallet's own history (hyperliquid_trader_fills), NOT forced closes (hyperliquid_liquidations), NOT aggregated bars (hyperliquid_candles). One row per matched trade (both sides merged): Taker is the account that crossed the book and Side its direction (Buy / Sell), Taker_Action its effect on the taker's position (Open Long, Close Short, …); Maker is the resting counterparty. Price, Size (base units), Usd = Price x Size, Is_Twap marks a slice of a TWAP order. On an outcome (prediction) market Headline, Outcome and Outcome_Side name the market, the answer and the side, as recorded on the trade (from 2026-10-30 08:24 UTC on; NULL before and on every other market). min_usd drops dust; hours bounds the window, which ends at before_time or now (default 1, up to 720). Returns up to limit trades (default 100, at most 500), newest first; page back with cursor = the Cursor of the last row, keeping the other parameters unchanged (an empty before_time ends each page's window at that call's own time — set it for a long walk). The cursor value is only valid within the same tool: the cursors of a trade differ between hyperliquid_recent_trades and hyperliquid_trader_fills. Liquidation fills are not here — see hyperliquid_liquidations. To identify addresses use labels_for_addresses.

  • Hyperliquid stop map

    MAP of the PENDING STOP orders (stop losses and take-profits) of ONE Hyperliquid market by price level, with their owners — where the stop losses cluster, how much would be sold or bought if the price reached a level, whose stops they are. Trigger orders wait off the book until their price is hit, so no public order book shows them. NOT the resting limit orders of the book → use hyperliquid_book_walls. NOT the positions → use hyperliquid_largest_positions. Read from the newest complete snapshot of the exchange state (taken about every 12 minutes). group_by = level (default): one row per price bucket and side — Price_Level is the bucket's lower bound (Bucket_Width wide, about bucket_pct of the mark price, rounded to 1, 2 or 5 x a power of ten), Side the direction the orders would trade when triggered (Sell = the stops of longs, below the price to cut, above it to cash in), Orders, Size (base units), Usd (Size x trigger price), Stop_Orders / Take_Profit_Orders by type, Owners, and the account with the most Usd at the level (Top_Owner, Top_Owner_Usd). A stop attached to the WHOLE position carries no size of its own: Whole_Position_Orders counts them, and their Size is the owner's position size at the snapshot. group_by = order: one row per trigger order, the largest first — Price_Level is its trigger price, Top_Owner its owner, with Order_Type, Trigger_Condition, Limit_Price, Reduce_Only, Placed_Time and Oid. Trailing stops have no fixed level and are left out. Only orders within range_pct of Mark_Price are counted (default 10 %). Returns up to limit rows (default 100, at most 500): levels from the highest price down, orders by Usd. Each row: Snapshot_Time, Market, Mark_Price, Price_Level, Bucket_Width, Distance_Pct, Side, Orders, Size, Usd, Stop_Orders, Take_Profit_Orders, Whole_Position_Orders, Owners, Top_Owner, Top_Owner_Usd, Order_Type, Trigger_Condition, Limit_Price, Reduce_Only, Placed_Time, Oid.

  • Hyperliquid token holders

    HOLDERS of ONE Hyperliquid SPOT token (HYPE, PURR, UBTC, USDC …) by balance — "who holds the most HYPE", "top holders of token X", concentration, how many accounts hold it. Balances on the exchange's own ledger (HyperCore), all accounts. NOT holders of an ERC-20 on an EVM chain → use <chain>_token_holders. NOT holders of a prediction-market side → use hyperliquid_prediction_holders. Read from the newest complete snapshot of the exchange state (taken about every 12 minutes). One row per account with a positive balance: Rank, Holder, Balance (in the token), On_Orders (part of it locked in open orders), Entry_Cost_Usd and Avg_Entry_Price (the cost basis the exchange keeps; 0 when unknown), Price_Usd (the token's USDC spot pair: mid of the best quotes, else its last trade; 1 for USDC) and Value_Usd, Share_Pct of Total_Held. System and burn addresses are labelled (Holder_Type system / burn, Holder_Name: the HYPE and the per-token links to the HyperEVM, the Assistance Fund, the zero, 0xff…ff and 0x…dead burn addresses) and left out unless include_system = 1; a vault is labelled vault with its name. Holders, Total_Held and Share_Pct cover the listed set (with or without the system rows). Returns up to limit holders (default 50, at most 500), largest Balance first. Each row: Snapshot_Time, Token, Rank, Holder, Holder_Type, Holder_Name, Balance, On_Orders, Entry_Cost_Usd, Avg_Entry_Price, Price_Usd, Value_Usd, Share_Pct, Holders, Total_Held.

  • Hyperliquid top traders

    LEADERBOARD of Hyperliquid accounts over a window — by net PnL (realized + funding - fees), volume or fill count, across the exchange or on ONE market. Use for "best traders on BTC this week", "biggest wallets", smart-money discovery, "who lost the most". NOT one wallet's scorecard (hyperliquid_trader_summary), NOT positions (hyperliquid_trader_positions). Per account: Net_Pnl_Usd, Realized_Pnl_Usd (closes incl. liquidations), Funding_Usd, Fees_Usd, Volume_Usd, Fills, Win_Rate_Pct, Markets, Taker_Share_Pct, Liquidations (times the account itself was liquidated). Unrealized PnL is NOT included — a wallet deep under water on an open position can still rank high; pass its address to hyperliquid_trader_positions. sort = pnl (default), pnl_asc (largest losses first), volume, fills. min_volume_usd (default 10,000) keeps dust wallets out of the PnL ranking; window_hours up to 720 (30 days), cost grows with the window. Returns up to limit accounts (default 50, at most 500), by sort. There is no offset: for rank N pass limit=N and read the last row.

  • Hyperliquid trader fills

    FILL HISTORY of ONE Hyperliquid account, newest first — every trade and forced liquidation the wallet took part in, with direction, position effect, realized PnL and fee per fill. Use for "what did this wallet trade", entries and exits, timing analysis. NOT the current holdings (hyperliquid_trader_positions), NOT totals (hyperliquid_trader_summary), NOT a market's tape (hyperliquid_recent_trades). One row per fill of this account: Time, Market, Symbol (the ticker), Kind (perp / hip3 / spot / outcome), Headline / Outcome / Outcome_Side (an outcome market's name, answer and side as recorded on the fill — from 2026-10-30 08:24 UTC on; NULL before and elsewhere), Side (Buy / Sell), Action (Open Long, Close Short, …), Price, Size, Usd, Realized_Pnl (non-zero only when the fill closed part of a position), Fee (signed; negative = maker rebate; in Fee_Token), Is_Taker, Is_Twap, Is_Liquidation, Leverage, Position_Before (signed size before the fill on perps; on spot the base-asset balance before the fill; NULL only when the fill reports none, e.g. outcome markets), Signer (the API wallet that signed, when different from the account), Tx_Hash, Block_Number, Trade_Id, Cursor. Filter by market; days bounds the window (default 7, up to 30). Returns up to limit fills (default 100, at most 500), newest first; page back with cursor = the Cursor of the last row. The cursor value is only valid within the same tool: the cursors of a trade differ between hyperliquid_trader_fills and hyperliquid_recent_trades. Tx_Hash is NULL for TWAP slices, which have no own transaction.

  • Hyperliquid trader portfolio

    The WHOLE BOOK of ONE Hyperliquid account as the exchange holds it — margin account per venue, every open position with entry price and unrealized PnL, spot balances (prediction market holdings included), open and pending orders, vault stakes and Earn lending / borrowing. For "what does this wallet hold", "its account value", "its stop-losses", "which vaults is it in"; also a vault's own book (pass the vault address). NOT the fill history → use hyperliquid_trader_fills. NOT a period scorecard → use hyperliquid_trader_summary. hyperliquid_trader_positions reconstructs positions from fills with realized PnL; this tool reads the exchange's own state, so every position is there with its exact entry price. Read from the newest complete snapshot of the exchange state (taken about every 12 minutes). One row per item, Section first: - account: one per perpetual venue the account uses (Venue: hypercore = the native perps, or a HIP-3 deployer such as xyz) — Item the collateral token, Value_Usd the account value, Margin_Used_Usd, Detail the open notional, maintenance margin and number of positions. - position: Item the market, Side, Size (signed: negative = short), Price = entry price, Mark_Price, Value_Usd, Pnl_Usd = unrealized PnL, Margin_Used_Usd, Leverage, Is_Cross, Funding_Usd since the position was opened (+ received, - paid). - spot: Item the token, Size the balance, Price = the average entry price the exchange keeps, Mark_Price (the token's USDC spot pair, 1 for USDC; for a prediction-market side +<n> the side #<n>, named in Name), Value_Usd, Pnl_Usd = Value_Usd - entry cost, Detail the part locked in orders. USDC posted as perpetual margin is in the account rows, not here. - order: Item the market, Side, Size, Price = limit price (trigger price for a pending stop / take-profit), Value_Usd = Size x Price, Detail the order type, trigger condition, time in force, reduce-only and queue place. - vault: Item the vault address, Name its name, Value_Usd the stake, Pnl_Usd its all-time PnL, Detail the share, net deposit and lockup. - earn: Item the token, Side Supply or Borrow, Size in the token, Value_Usd at Mark_Price. section narrows to one section; min_usd hides rows worth less (rows with no USD value stay). Returns up to limit rows PER SECTION (default 50, at most 500), largest Value_Usd first. Each row: Snapshot_Time, Trader, Section, Venue, Item, Name, Side, Size, Price, Mark_Price, Value_Usd, Pnl_Usd, Margin_Used_Usd, Leverage, Is_Cross, Funding_Usd, Detail.

  • Hyperliquid trader positions

    CURRENT OPEN POSITIONS of ONE Hyperliquid account — size, side, leverage, margin mode, USD exposure, average entry price and unrealized PnL where computable, realized PnL and funding per market. The "what is this wallet holding right now" tool. NOT the fill history (hyperliquid_trader_fills), NOT a period scorecard (hyperliquid_trader_summary). One row per market with a non-zero position: Position_Size (signed base units: positive = long, negative = short), Side, Leverage (NULL = not observed), Is_Cross (1 cross margin, 0 isolated, NULL with Leverage), Price and Price_Source (as hyperliquid_price), Notional_Usd, Entry_Price, Unrealized_Pnl_Usd, Realized_Pnl_Usd and Funding_Usd accumulated on that market within the available history (not lifetime), Last_Trade_Time (the account's last fill on the market; NULL when it has none in the history). Position_Size of a perpetual is exact even for a position opened before the history: the exchange restates the open perpetual positions of a market each hour it charges funding. Entry_Price is reconstructed from the account's fills and is exact only when the position was opened from zero inside the available history (about a month) and those fills add up to Position_Size; Entry_Complete = 0 otherwise — Entry_Price and Unrealized_Pnl_Usd are then NULL, not zero. Spot balances and outcome-market holdings show as positions only when acquired through trades in the history window; an outcome market's row carries Headline, Outcome and Outcome_Side (its names, from the newest state snapshot; NULL elsewhere). The exchange's own book of the account, with exact entry prices: hyperliquid_trader_portfolio. A PURR/USDC row is such a SPOT balance even where its Kind still reads perp: it has no leverage and no funding - do not report it as a perpetual position.

  • Hyperliquid trader summary

    PERIOD SCORECARD of ONE Hyperliquid account — realized PnL, funding, fees, net result, volume, fill count, win rate, maker/taker split, markets traded — in total or per market. Use for "how is this wallet doing", "is this trader profitable", comparing wallets. NOT the fill list (hyperliquid_trader_fills), NOT open positions (hyperliquid_trader_positions), NOT a ranking across wallets (hyperliquid_top_traders). Net_Pnl_Usd = Realized_Pnl_Usd (closes, incl. liquidations) + Funding_Usd (signed; paid funding is negative) - Fees_Usd (USDC fees; a maker rebate lowers them). Unrealized PnL of open positions is NOT included — read hyperliquid_trader_positions for it. Win_Rate_Pct = share of closing fills with positive realized PnL. Volume_Usd counts the account's own fills once. Taker_Share_Pct, Twap_Share_Pct, Agent_Signed_Pct (fills signed by an API wallet), Liquidations and Liquidated_Usd (only the times the account itself was liquidated; a fill that took over a liquidated position counts in Fills and Volume_Usd, not here). group_by = market splits the same columns per market; there a live outcome (prediction) market also carries Headline, Outcome and Outcome_Side (its names, from the newest state snapshot; NULL otherwise). hours up to 720 (30 days); most fields come from 5-minute roll-ups, so a window is honoured at 5-minute granularity.

  • Hyperliquid twaps

    TWAP orders on Hyperliquid — large orders being worked over minutes to hours: who is accumulating or distributing what, how far along, and whether it finished, was terminated or errored. An in-flight TWAP (status = activated) is a whale that has not finished building its position. NOT individual fills → use hyperliquid_recent_trades (TWAP slices appear there with Is_Twap = 1). NOT ordinary (non-TWAP) orders → use hyperliquid_order_flow. NOT accounts ranked by their results → use hyperliquid_top_traders. One row per TWAP order (latest state). Market is the exact market id, Symbol the ticker; Size is in base units; Status is activated (= running), finished, terminated or error. Returns up to limit rows (default 50, at most 500), largest Executed_Usd first, then the latest update. Filters: market, trader, status; hours = how far back the order's last update may be (default 24, up to 720). Each row: Twap_Id, Trader, Market, Symbol, Side, Size, Executed_Size, Executed_Usd, Progress_Pct, Duration_Minutes, Reduce_Only, Randomize, Status, Status_Error, Start_Time, Last_Update.

  • Hyperliquid vault depositors

    DEPOSITORS of ONE Hyperliquid VAULT (HLP or any other) with their stake, deposits and all-time PnL — "who is in HLP", "the biggest depositors of vault X", "is the leader still invested". NOT the list of vaults → use hyperliquid_vaults. The vault's positions: pass its address as trader to hyperliquid_trader_portfolio. Read from the newest complete snapshot of the exchange state (taken about every 12 minutes). One row per depositor: Depositor, Is_Leader, Share_Pct of the vault, Equity_Usd (the stake's value now), Net_Deposit_Usd (deposited minus withdrawn), All_Time_Pnl_Usd, Entry_Time, Last_Deposit_Time, Lockup_Until (withdrawals locked until then). Depositors and Total_Equity_Usd repeat the vault's totals on every row. sort = equity (default), pnl (highest All_Time_Pnl_Usd first) or pnl_asc (lowest first). Returns up to limit depositors (default 50, at most 500), by sort. Each row: Snapshot_Time, Vault, Vault_Name, Depositor, Is_Leader, Share_Pct, Equity_Usd, Net_Deposit_Usd, All_Time_Pnl_Usd, Entry_Time, Last_Deposit_Time, Lockup_Until, Depositors, Total_Equity_Usd.

  • Hyperliquid vaults

    LIST and RANK Hyperliquid VAULTS (pooled trading accounts run by a leader, HLP the exchange's own) by capital or depositor count — "biggest vaults", "find vault X", "how much is in HLP", its leader, commission and lockup. NOT the depositors of one vault → use hyperliquid_vault_depositors. A vault's open positions, orders and balances: pass its address as trader to hyperliquid_trader_portfolio. Read from the newest complete snapshot of the exchange state (taken about every 12 minutes). One row per vault: Vault (its address — also the account that trades), Name, Leader, Equity_Usd (the exchange's figure for the vault; a parent such as HLP includes its child vaults), Depositors, Leader_Share_Pct (the leader's own stake), Leader_Commission_Pct (of the depositors' profit), Lockup_Hours, Is_Closed, Allow_Deposits, Relationship (normal, or parent / child for a vault split into sub-vaults) and Child_Vaults, Created_Time, and from the vault's own trading account: Account_Value_Usd, Open_Positions and Open_Notional_Usd (summed over the perpetual venues it trades on). query matches the name or the address, case-insensitive substring; closed vaults and vaults without equity are left out unless include_closed = 1. Returns up to limit vaults (default 50, at most 500), by sort: equity (default) or depositors. Each row: Snapshot_Time, Vault, Name, Leader, Equity_Usd, Depositors, Leader_Share_Pct, Leader_Commission_Pct, Lockup_Hours, Is_Closed, Allow_Deposits, Relationship, Child_Vaults, Created_Time, Account_Value_Usd, Open_Positions, Open_Notional_Usd.

  • Labels for addresses

    BATCH label lookup for a LIST of addresses — label many wallets, counterparties or holders in ONE call: each labeled address comes back with all its on-chain labels (entity / category / CEX-deposit / mixer / scam / token-clone / …). Use to label any set of addresses you already have — e.g. the counterparties returned by a transfer / flow / holders tool. Those rows carry NO label field on Ethereum, BSC, Polygon, Arbitrum, Base, Optimism, Tron, the XRP Ledger, Stellar or Cardano, so this call is the step that identifies them. Only the Solana rows and the Bitcoin-style rows of Bitcoin, Zcash, Litecoin, Dogecoin, Dash and Bitcoin Cash have an inline label field at all, and it is SPARSE on Solana and EMPTY on all the others (the inline list holds none of their addresses) — batch those addresses into this call; a blank one still needs it. Zcash, Dash, Robinhood and Arc have no label coverage at all. Most Bitcoin Cash entries are stored in the old 1… / 3… address form, so CashAddr (q… / p…) addresses find only a few. Addresses may be separated by commas, pipes, spaces or newlines (any mix), so a counterparty list can be pasted straight from another tool's output. Each label comes back CHAIN-QUALIFIED as chain/label_type:label_value. On EVM chains one address is the same owner everywhere, and a label is stored under the chain it was observed on — so LEAVE chain EMPTY (the default) unless you truly need one chain only; filtering by chain hides an exchange/entity tag that was recorded under a different EVM chain. Sources lists every source behind the address's labels and Source_Count how many there are. Labels that disagree (e.g. cex-deposit-address AND cex-hot-wallet for one exchange) come from different sources: a source whose name contains "heuristic" was inferred from transfer patterns, while sanctions lists, official proof-of-reserves disclosures and verified sources are curated — trust the entity they agree on and prefer the curated role. address_labels shows which source recorded which label. Source names: workflow:<name> is a Bitquery labelling pipeline - curated imports such as sanctions and issuer block lists, proof-of-reserves disclosures, research sets and label-provider enrichment - except that a name containing "heuristic" marks labels inferred from transfer patterns (most exchange-deposit labels); labels-query-service:<provider> was fetched on demand from an outside label provider when the address was looked up (one provider's view, not reviewed); a plain name is the dataset itself (ofac, uk-ofsi, eu-sanctions, japan-mof, france-gels and israel-nbctf are sanctions lists; walletexplorer and bitcoinabuse are public Bitcoin datasets), and a name containing "verified" is a reviewed import. To answer "which TRADERS of token X are labeled (CEX-deposit / mixer / …)", do it in two steps: first call top_traders_by_token (or accumulating_/profitable_traders_by_token) to get the trader addresses, then pass them here and match by address. For ALL labels of ONE address use `address_labels`; to list every address carrying a label use `addresses_by_label`. Only addresses that carry a label come back, and every such row says OK in its Status column — an address missing from the answer carries no label, a meaningful negative. When NONE of the addresses is labeled, the answer is ONE row whose address is empty and whose Status says NO_LABELS_FOUND: the lookup ran and found nothing, the same negative, not a failed call. Coverage varies by chain AND by label kind — exchange deposit / hot-wallet tags are broad on the EVM chains and Tron, mixer tags exist essentially only for Bitcoin, and sanctioned / darknet tags sit mostly on Bitcoin, Tron and Ethereum. So an empty result on a given chain means "not labeled there", not "clean".

  • Launch cohort

    LAUNCH COHORT / BACKTEST of MANY token launches at once — every token whose FIRST trade falls inside a launch window (for example all pump.fun launches of a day), one row per launch: supply, price and FDV at launch, sniper and first-minutes buying, and the outcome over the following hours — peak price (the highest hourly average), peak multiple, hours to peak, last price, drawdown, whether it still traded. output=summary returns the cohort's distribution instead (quartiles, share that reached 2x / 5x / 10x, share still trading) in one row. Answers "backtest yesterday's pump.fun launches", "what share of new tokens did 10x within 24 hours", "snipers and first-5-minute buying across launches", "survival of launches after 6 hours", "which of today's launches had the most buyers in the first minute". For one token or a given list of up to 50 (`addresses`) use token_launch_stats (launch snapshot), for one token's wallets early_buyers; to list what just launched with its current price use new_tokens. Prefer this tool over writing SQL for launch cohorts and launch backtests. Works for rare and newly-launched tokens. COHORT: tokens on `blockchain` whose first trade is inside [after_time, before_time) and that had no USD-priced trade in the `lookback_days` (default 7) before the window. Narrow it with address_pattern, a LIKE pattern on the token address (`%pump` = pump.fun mints, `%bonk`, `%4444`), and/or protocol, the DEX of the first trade (pump, pumpfun, pump_amm, raydium_launchpad, pons_v2, fourmeme_v1, flap_v5, uniswap_v2 …). min_volume_usd (default 1000) drops launches with less USD volume over the horizon (so far, while it is still running) — most launches never trade $1,000; 0 keeps all. min_window_buyers keeps launches with at least that many buying wallets in the early window. Tokens that never had a USD-priced trade are left out (almost all of them are dust). WINDOW: at most 24 hours of launches per call; default = the 6 hours before before_time (default now). With output=summary and neither after_time nor before_time, the default window instead ends horizon_hours ago, so every launch in it has a finished horizon. A longer range keeps its NEWEST 24 hours — read Launch_Window_Start / Launch_Window_End and call again with before_time = Launch_Window_Start for the previous day. Trade history reaches back about 30 days, and a launch within lookback_days of its start cannot be told apart from an older token. Arc trades begin on 2026-09-16, so Arc launches within lookback_days of that day may be older tokens. ROW COLUMNS (output=tokens): Token_Address, Token_Symbol, Launch_Time (first trade), First_Protocol, First_Pool, First_Quote_Symbol, Supply_At_Launch, Launch_Price_Usd, Launch_Fdv_Usd; sniper window (first sniper_seconds): First_Block_Buyers, Sniper_Buyers, Sniper_Buy_Usd; early window (first window_seconds): Window_Trades, Window_Unpriced_Trades, Window_Buyers, Window_Sellers, Window_Buy_Usd, Window_Sell_Usd, Window_End_Price_Usd, Window_End_Fdv_Usd, Window_Complete; horizon (horizon_hours): Horizon_End, Horizon_Complete, Horizon_Volume_Usd, Peak_Price_Usd, Peak_Fdv_Usd, Peak_Multiple, Hours_To_Peak, Close_Price_Usd, Valuation_Price_Usd, Valuation_Fdv_Usd, Valuation_Multiple, Return_From_Window_End_Pct, Drawdown_From_Peak_Pct, Last_Active_Hour, Traded_In_Last_Horizon_Hour, Supply_Change_Pct; Launch_Window_Start, Launch_Window_End, Cursor. READING THE ROWS: Launch_Price_Usd is the first swap worth at least $1 — a smaller first fill prints a junk price, because on a bonding curve it buys at the cheapest point the token will ever have (a $0.02 swap taking a tenth of the supply implies a launch FDV of a few cents, and every multiple divides by it). Window_End_Price_Usd keeps a $0.01 floor. USD amounts value each swap at the lower of its two priced sides, and Window_Unpriced_Trades counts swaps without a price. First_Block_Buyers = buying wallets that traded at the exact timestamp of the first trade (on chains with several blocks per second this can include the next block). The HORIZON is measured on hourly bars that start with the launch hour: Horizon_End is the top of an hour, so it covers between horizon_hours − 1 and horizon_hours after the launch. Peak_Price_Usd = the highest hourly AVERAGE price inside it, each hour weighted by its volume, counting only hours that carried at least a thousandth of the launch's own volume: one odd or tiny swap can print an extreme price, high or low, and a near-empty hour can average one, so neither a bar's high nor its close nor a trickle hour can set the peak. Peak_Fdv_Usd is that price × the supply at launch. The peak can therefore sit BELOW Launch_Price_Usd — that one is the price of the first swap of at least $1 — and Peak_Multiple can be under 1 for a launch that only fell. The horizon end has TWO prices and they answer different questions. Close_Price_Usd = the last hourly close before Horizon_End (the last price if the token stopped trading earlier): the latest thing known, but ONE swap, so it can sit far above or below anything real. Valuation_Price_Usd = the average of the newest hour that carried at least a thousandth of the launch's volume — the same volume gate as the peak, so it is the last price at which real volume changed hands, and it can never exceed Peak_Price_Usd. Quote Close_Price_Usd as "the last print" and Valuation_Price_Usd as what the launch is worth. The two are far apart when the last swap was junk — and also when the launch STOPPED TRADING after its last real hour, which on a bonding curve leaves Valuation_Price_Usd above Launch_Price_Usd for a launch that is already dead: Traded_In_Last_Horizon_Hour and Drawdown_From_Peak_Pct say which of the two it is, and both read the close. Drawdown_From_Peak_Pct = Close_Price_Usd against Peak_Price_Usd, never above 0 and 0 for a launch that ends at or above its peak hour: it shows a collapse inside the peak hour and a launch that died after it, both of which a hour-against-hour comparison reads as 0. Hours_To_Peak = whole hours from the launch hour to the peak hour (0 = the launch hour; the earliest hour when several hours reach the peak). Peak_Multiple and Valuation_Multiple divide by Launch_Price_Usd; Return_From_Window_End_Pct = buying at Window_End_Price_Usd and selling at the end of the horizon. Valuation_Fdv_Usd, Valuation_Multiple and Return_From_Window_End_Pct are all measured at Valuation_Price_Usd, NOT at Close_Price_Usd — a single closing swap made launches report an 80-million FDV on a few thousand dollars of trading, and a close multiple above the peak multiple. Close_Price_Usd × the supply is therefore not Valuation_Fdv_Usd, and Valuation_Multiple cannot exceed Peak_Multiple any more. FDV = price × total supply — the supply at launch, except Valuation_Fdv_Usd, which uses the latest supply (NULL when the supply is unknown); Supply_Change_Pct below 0 = supply burned. Window_Complete = 0 or Horizon_Complete = 0 means that period has not elapsed yet and its figures are still moving. SUMMARY (output=summary): one row per group_by value (none = whole cohort, protocol = DEX of the first trade, hour = launch hour) with Tokens, Tokens_Horizon_Complete, totals, [p25, p50, p75, p90] arrays for window buy USD, window buyers, sniper buyers and buy USD, first-block buyers, launch FDV, peak FDV, peak and valuation multiples and return from window end, Hours_To_Peak_Q = [p50, p90], and Pct_Peak_2x / 5x / 10x, Pct_Valuation_At_Or_Above_Launch, Pct_Up_From_Window_End (both measured at Valuation_Price_Usd, like the row columns they come from), Pct_Down_90_From_Peak, Pct_Traded_In_Last_Horizon_Hour. NEITHER SHARE IS A PROFIT RATE: almost every launch has stopped trading by the end of a day-long horizon (on one measured cohort Pct_Traded_In_Last_Horizon_Hour was 4.1 %), so a launch counted at or above its launch price is usually one that went quiet holding the valuation of its last real hour, not one you could still have sold into. Quote Pct_Traded_In_Last_Horizon_Hour beside them, and Pct_Down_90_From_Peak — which reads the last close — for how far the latest prints have fallen. Outcome figures count only tokens whose horizon has elapsed (NULL or [] while none has): the default summary window already ended horizon_hours ago; an explicit window should end at least horizon_hours ago too. An empty result means no launch matched. PAGING: sort=newest (default, newest launch first) pages with cursor — pass the last row's Cursor and repeat every other argument, with after_time and before_time set to the Launch_Window_Start / Launch_Window_End of the first page. Other sorts (window_buy_usd, window_buyers, peak_multiple, horizon_volume) return only the top `limit` launches, with an empty Cursor. A call reads every launch of its window whatever the limit: for a distribution use output=summary instead of paging through thousands of rows. Follow launches up with token_launch_stats (one token, or a given list of up to 50 in `addresses`), early_buyers or token_trade_bars. Symbols longer than 32 characters are cut and end in `…` (spam tokens carry symbols of up to 32,000 characters).

  • List databases

    CATALOG of the databases raw SQL can reach — the SHOW DATABASES equivalent. For each database: what it holds, which tool runs SQL against it, how to see its tables, and which specialized tools answer the same questions without SQL. Call it before writing raw SQL against an unfamiliar database. Takes no parameters and answers instantly. trading_rt comes first: DEX trades, OHLC / volume bars, prices and supply for every trading chain over the last ~30 days — query it with execute_sql, browse it with list_tables, describe_table and search_columns. The per-chain databases (eth_api, bsc_api, matic_api, arbitrum_api, base_api, optimism_api, robinhood_api, arc_api, tron_api, solana, bitcoin, bitcoin_flow, ripple, ripple_flow, cardano, cardano_flow, altcoin, altcoin_flow - Litecoin, Dogecoin and Dash in one database, rows told apart by blockchain_id - bitcash, bitcash_flow for Bitcoin Cash, and stellar) hold transfers, calls, events, transactions and balances; browse them with chain_list_tables, chain_describe_table and chain_search_columns (pass the database name) and query each one with that chain's <chain>_transfers_raw_sql tool (xrp_, ada_, ltc_ / doge_ / dash_, bch_ and xlm_transfers_raw_sql for the ones above after bitcoin_flow). zcash and zcash_flow are queried with zec_transfers_raw_sql but the schema browser does not cover them: that tool's description lists their tables. stellar_flow is not browsable either - it starts in December 2023 and misses some ledgers, so query stellar instead. Address labels have no SQL access at all — use the label tools. Prefer a specialized tool whenever one answers the question: it already filters on the right keys and is far cheaper than hand-written SQL.

  • List tables

    TABLES of the trading_rt database — the SHOW TABLES equivalent — with each table's engine, sort key, partition key and approximate row count. Returns up to 500 tables, sorted by name; narrow them with like (e.g. "by_token"). It reads table metadata only, never table data. The sort key is what makes raw SQL fast: filter on its LEADING columns first; a query that skips them scans far more data. trading_rt holds DEX trades, OHLC / volume bars, prices and supply of the last ~30 days for every trading chain; query it with execute_sql, and prefer a specialized tool (find_tokens, token_price, token_ohlcv, top_traders_by_token, trader_positions, …) whenever one answers the question. Next steps: describe_table for one table's columns, search_columns to find which table has a column. Only trading_rt can be listed here. The per-chain transfer databases (eth_api, bsc_api, solana, bitcoin, …) are listed with chain_list_tables; list_databases describes them all. Each row: Database, Table, Engine, Sorting_Key, Partition_Key, Total_Rows.

  • Ltc address flow summary

    ADDRESS FLOW SUMMARY / top counterparties of a Litecoin (ltc, LTC, mainnet) address in one call: who it pays and who pays it, plus its lifetime profile and a computed Role. Call this FIRST when triaging a hop; for raw rows use ltc_sent_from_address / ltc_address_received, for one transaction ltc_tx_flow. NOT only the lifetime totals, without counterparties → use ltc_address_profile. PROFILE columns (Lifetime_*, First_Received, Last_Received, Last_Sent) cover the address's WHOLE history. Lifetime_Received_LTC / Lifetime_Sent_LTC are cumulative TURNOVER, not holdings: every output ever paid to the address (including the change it pays back to itself inside its own spending transactions) and every input it ever spent. The same coins are counted each time they pass through, so a busy exchange wallet's totals can exceed the coin's total supply many times over; Lifetime_Received minus Lifetime_Sent is the balance at this address. Litecoin totals come from a pre-aggregated table that holds a few duplicated and a few missing records. They match the transactions exactly on an ordinary address; on a busy one they can be off in either direction by up to a fraction of a percent (a Litecoin exchange address: 10 receiving outputs and 78 LTC too many, 0.14 %), so a negative balance, or a remainder on an emptied address, can be that artifact rather than real funds. For an exact figure on a single transaction use ltc_tx_flow. Role covers the WHOLE history too, not the `days` window, and follows from the lifetime counts: no_transfers (nothing received and nothing spent) / receive_only (it never spent anything — cold storage or an unused deposit address) / send_only (spends with no recorded receipt) / hub (more than 1,000 distinct senders AND more than 1,000 distinct receivers — an exchange or service, don't trace deeper) / consolidator (distinct senders more than 3 times distinct receivers) / distributor (distinct receivers more than 3 times distinct senders) / relay (none of these). The TOP ARRAYS cover only the last `days` (default 90) and, inside that window, at most the 1,000 most recent transactions on each side. Spend_Txs_Scanned / Receipt_Txs_Scanned say how many were read; Spend_Txs_Truncated / Receipt_Txs_Truncated = 1 means older transactions in the window were left out. So the arrays do NOT add up to the Lifetime_* totals. Window_Days / Window_From state the period covered: empty arrays for an address whose Last_Sent is long ago mean nothing moved in the window, not that it never moved — raise days. Top_Receivers = the non-change recipients of the transactions this address spent in; Amount = LTC paid to that recipient. Top_Senders = the input addresses of the transactions that paid this address (change excluded); Amount = LTC this address received in those transactions. A transaction with several input addresses credits each of them in full (they are usually one owner — see ltc_related_addresses), so Amount can be far more than what moved between the two addresses. pro_rata_amount is Amount scaled by the input share: how much of those transactions this address paid (Top_Receivers) or that sender paid (Top_Senders). Both arrays are RANKED by pro_rata_amount, largest first, and min_amount / max_amount filter on it — dust and address-poisoning payments hidden inside a large co-signed transaction have a tiny share. Window_Own_Input_LTC is what this address itself put into the spending transactions read, the ceiling the Top_Receivers pro-rata amounts add up to. The arrays are built from a copy of the transaction data that misses a few whole blocks (a handful a month), so a counterparty can be absent. READING THE TOP ARRAYS: positional 4-tuples [counterparty, amount, txs, pro_rata_amount]; the Top_Fields column lists those names in the same order. No address labels are returned here: identify the address and its counterparties with labels_for_addresses(chain='litecoin'), which knows only a few hundred Litecoin addresses (exchange reserve wallets, sanctioned entities) — pass Address and the Top_Receivers / Top_Senders counterparties in ONE call; an empty answer there is a coverage gap, not a clean address. A counterparty shown as m-… or d-… is a script placeholder, not an address: it cannot be traced further. About one Litecoin output in seven is not classified (Note unknown) and counts as a payment, so a few change outputs can appear among the recipients. Amounts are in LTC; for a USD value use currency_price with currency_id "ltc". A first call on an address can take a minute or more while its transactions are fetched; repeated calls answer in seconds. For the full labelled list in USD, totals by label type, or a set of addresses → counterparties.

  • Ltc address profile

    Litecoin (ltc, LTC, mainnet) address PROFILE (lifetime summary): total received & sent (LTC), number of distinct senders/receivers, receiving/spending counts, first/last activity. Use to triage a LTC address during tracing — how much flowed and how connected. NOTE: an aggregate profile, not hop-by-hop edges — ltc_address_flow_summary returns the top counterparties, ltc_flow_edges and ltc_tx_flow the edges. Role from the ratio: Distinct_Senders ≫ Distinct_Receivers = consolidator; the reverse = distributor; thousands of both = mega-hub (exchange — don't trace deeper). Received_LTC / Sent_LTC are cumulative TURNOVER, not holdings: every output ever paid to the address (including the change it pays back to itself inside its own spending transactions) and every input it ever spent. The same coins are counted each time they pass through, so a busy exchange wallet's totals can exceed the coin's total supply many times over; Received_LTC minus Sent_LTC is the balance at this address. Litecoin totals come from a pre-aggregated table that holds a few duplicated and a few missing records. They match the transactions exactly on an ordinary address; on a busy one they can be off in either direction by up to a fraction of a percent (a Litecoin exchange address: 10 receiving outputs and 78 LTC too many, 0.14 %), so a negative balance, or a remainder on an emptied address, can be that artifact rather than real funds. For an exact figure on a single transaction use ltc_tx_flow. No address labels are returned here: identify addresses with labels_for_addresses(chain='litecoin'), which knows only a few hundred Litecoin addresses (exchange reserve wallets, sanctioned entities) — pass many addresses in ONE call; an empty answer there is a coverage gap, not a clean address. Amounts are in LTC; for a USD value use currency_price with currency_id "ltc".

  • Ltc address received

    INCOMING Litecoin (ltc, LTC, mainnet) outputs for an address — every coin received (tx, amount, output type: payment/change, time), most recent first. Indexed by address (fast). Use to see what a LTC address received and in which transactions. NOT what this address spent → use ltc_sent_from_address. NOT sums over its whole history → use ltc_address_flow_summary or ltc_address_profile. An address can receive several coins (outputs) in one transaction, each its own row. Returns up to limit rows (default 20, at most 1000), newest first; page back with the last row's Cursor - a page shorter than limit is the last one. Set sort='amount' for the largest receipts instead: a top-N page with no Cursor. NOTE: shows receiving events, not the sender addresses (a UTXO output has no single sender) — pass a Tx to ltc_tx_flow to see the addresses that funded it, or call ltc_address_flow_summary for the top senders. A small share of outputs is missing from this list (a few whole blocks a month, under 0.1 % on busy addresses, a few % in some months of 2023), so it can hold a few rows fewer than ltc_address_profile counts; ltc_tx_flow on the transaction is complete. Each row: Time, Tx, Type, Amount_LTC, Cursor.

  • Ltc flow edges

    MONEYFLOW GRAPH EDGES out of a Litecoin (ltc, LTC, mainnet) address: Source → Target (real recipients of the address's spends, excluding change), total Amount (LTC). Building block for a MoneyFlow DIAGRAM — call per address/hop, collect edges, render Mermaid `graph LR`. Merge same-owner Targets via ltc_related_addresses. NOT one transaction's outputs → use ltc_tx_flow. NOT its spending transactions one by one → use ltc_sent_from_address. Returns up to limit rows (default 20, at most 1000), one per recipient of its spends. The edges carry no labels: identify the Targets with labels_for_addresses(chain='litecoin') (many addresses in one call) and stop at exchange / mixer nodes. A counterparty shown as m-… or d-… is a script placeholder, not an address: it cannot be traced further. About one Litecoin output in seven is not classified (Note unknown) and counts as a payment, so a few change outputs can appear among the recipients. Amount is the FULL value of those outputs; Pro_Rata_Amount is the part of it this address paid for - its own input value divided by the total input value of the same transaction. When the address signs a transaction together with other addresses, every output of it is credited to each of them in full, so Amount can be many times the money this address ever moved (over a hundred times on an address that keeps co-signing with a large wallet). The rows are therefore RANKED by Pro_Rata_Amount, and that is the figure to add up or to compare between Targets. Own_Input_LTC on every row is what the address itself put into the transactions read: the Pro_Rata_Amount of all its edges adds up to at most that, the rest being fees and change it paid back to itself. SCOPE: reads the address's most recent max_txs spending transactions (default 1000, at most 2000); Amount, Pro_Rata_Amount and Txs cover those transactions only. Two scope columns on every row state what was covered: how many of those transactions were read and the time of the oldest one. Next_Cursor is set whenever the batch was full, so older transactions may exist - pass it as cursor (same address and max_txs) to continue with the next older batch; an empty Next_Cursor means the history ends here. The outputs of those transactions come from a copy of the transaction data that misses a few whole blocks (a handful a month), so an edge can be absent; ltc_tx_flow and ltc_sent_from_address read the complete data. When nothing matched in the transactions read, ONE row comes back with an empty Target that carries only these scope columns - that means no edge in this batch, not in the whole history. Each row: Source, Target, Currency, Amount, Pro_Rata_Amount, Txs, Own_Input_LTC, Spend_Txs_Scanned, Oldest_Spend_Time, Next_Cursor.

  • Ltc related addresses

    LIKELY SAME-OWNER Litecoin (ltc, LTC, mainnet) addresses (common-input-ownership heuristic): addresses that co-signed inputs together with this address in the same transactions — a strong signal they belong to the same wallet/entity. NOT the addresses it paid → use ltc_flow_edges. Shared_Txs is how many txs they co-spent in, Co_Input_LTC the co-input volume. Returns up to limit rows (default 20, at most 1000), most Shared_Txs first. Use to expand an address into its cluster during tracing. CAVEAT: CoinJoin/mixer txs break the heuristic (false positives) — treat high-fan-in shared txs with caution. A shared input is evidence of one owner, not proof. SCOPE: reads the address's most recent max_txs spending transactions (default 1000, at most 2000). Two scope columns on every row state what was covered: how many of those transactions were read and the time of the oldest one. Next_Cursor is set whenever the batch was full, so older transactions may exist - pass it as cursor (same address and max_txs) to continue with the next older batch; an empty Next_Cursor means the history ends here. The inputs of those transactions come from a copy of the transaction data that misses a few whole blocks (a handful a month), so a transaction counted in Spend_Txs_Scanned can contribute no related address; ltc_tx_flow and ltc_sent_from_address read the complete data. When nothing matched in the transactions read, ONE row comes back with an empty Related_Address that carries only these scope columns - that means nothing in this batch, not in the whole history. No address labels are returned here: identify addresses with labels_for_addresses(chain='litecoin'), which knows only a few hundred Litecoin addresses (exchange reserve wallets, sanctioned entities) — pass many addresses in ONE call; an empty answer there is a coverage gap, not a clean address. Each row: Related_Address, Shared_Txs, Co_Input_LTC, Spend_Txs_Scanned, Oldest_Spend_Time, Next_Cursor.

PreviousPage 10 / 18Next