Learn

Blockchain data infrastructure, explained

Guides to blockchain indexers, onchain data APIs, and the infrastructure underneath them. Written by the SQD team.

Concepts·11 min read

What is a Tron indexer?

Tron's TVM emits the same event topics as Ethereum, so decoding is identical, but the request type, the typed-transaction schema, and the energy and bandwidth model differ. The data model, a real TRC-20 query, and what carries over from EVM.

Data access·10 min read

USDT on Tron: querying the largest stablecoin rail

Tron settles more USDT than any other chain. Pull TRC-20 USDT transfers from the Portal in one declarative query, read a real transfer end to end, and see why the energy and bandwidth model lets transfers settle without burning TRX.

Concepts·9 min read

TRC-20 vs ERC-20: one token standard, two chains

TRC-20 mirrors ERC-20: the same Transfer event, the same topic0 hash, so a decoder built for one reads the other unchanged. What actually differs is the chain envelope: address format, native token, fees, finality, and how you fetch the data.

Data access·8 min read

Connect Claude or Cursor to onchain data: the Portal MCP server

Wire the SQD Portal MCP server into Claude Code, Cursor, or VS Code, then run three real onchain queries and read the rows back.

Data access·9 min read

One query shape, every VM: declarative cross-chain data

The same JSON-shaped request reads EVM logs, Solana instructions, and Bitcoin inputs and outputs, with no schema, no deploy, and no sync wait.

Data access·9 min read

Hyperliquid data for agents: perp analytics through one tool family

An agent answers whole-market Hyperliquid perp questions through the same analytics, OHLC, and query tools it uses for every other chain.

Data access·9 min read

Following Bitcoin money through UTXOs: one declarative query

Bitcoin inputs and outputs are first-class in the same declarative query shape, so you trace UTXO flows from sender to recipient without running a node.

Data access·9 min read

Decoding Solana program activity declaratively, including the calls that failed

One declarative query reads Solana program activity by program ID and discriminator, and surfaces the failed and uncommitted calls most tools drop.

Data access·10 min read

An AI-assisted onchain investigation: from an address to a fund-flow path

How an agent triages a wallet, follows the trace, and cites block-level evidence at each hop, with an investigation envelope that names the next step.

Data access·9 min read

RWA monitoring agents: tracking tokenized-asset events across chains

Permissioned tokens emit compliance events a stablecoin never does. Monitor freezes, pauses, and recoveries across every chain an asset lives on.

Data access·10 min read

Stablecoin data: tracking cross-chain flows and peg health

Following stablecoin transfers across every chain they live on with one query model, aligning windows across chains by timestamp, and reading peg health from DEX trades.

Data access·11 min read

Historical Hyperliquid fills: how to query them, and what is in each fill

How to get historical Hyperliquid fills past the info API's 10,000-fill window, by block range, wallet or coin. Then what a fill record contains, maker and taker fees, realized PnL from closing trades, and how to separate crypto markets from the TradFi and HIP-3 listings on the same venue.