SonarX

Indexed StarknetBlockchain Data

Starknet proves Cairo execution to Ethereum with STARK proofs, and it has no externally owned accounts: every account on the rollup is a contract validating its own transactions.

Starknet logo

How to query Starknet data with SonarX

Instant Data Share

Available today

Snowflake, and file dumps to your object storage

Query Starknet blockchain data with plain SQL from a live database inside your own Snowflake account, populated with the indexed chain dataset. There is no pipeline to build and no second copy to store. The same dataset ships as file dumps to your own object storage for lakes and warehouses that are not Snowflake.

  • Full history as a Snowflake data-share
  • File dumps to S3 or your own object storage
  • Real-time delivery, current to chain tip — on request

Used for:

  • Analytics teams already on Snowflake that want Starknet data beside their existing tables
  • Fund accounting and treasury reporting that reconciles against a fixed history
  • Cross-chain questions answered in one SQL statement instead of one query per chain
  • Loading Starknet history into BigQuery, Databricks, Redshift or a Spark lake
  • Replacing a self-hosted indexer and the engineering time that keeps it running
  • Serving one governed dataset to several desks without copying it per team

Realtime API

Enabled on request

REST over the indexed dataset

Query indexed Starknet records over REST, reading the same dataset the share reads, with no warehouse in the path.

Used for:

  • Applications that need one answer rather than a table scan
  • Customer-facing screens where query latency is visible to a user
  • Services that have no data warehouse and do not want to run one
  • Prototyping against production data before committing to a share
  • Backend checks that run per request instead of per batch
  • Teams that want indexed Starknet data behind their own API layer

Starknet data: frequently asked questions

What is Starknet?

Starknet is a validity rollup that has run on mainnet since 2021, built by StarkWare and settled on Ethereum. It does not run the EVM. Contracts are written in Cairo and executed by the Cairo VM, and execution is proved with a STARK proof that an Ethereum contract verifies, so a state update is accepted because it was proved rather than because nobody disputed it inside a challenge window. The account model is different as well. Starknet has no externally owned accounts: every account is a contract that validates its own transactions, which makes account abstraction the default rather than a wallet convention. Addresses are field elements rather than twenty-byte hashes, and contract code is declared as a class with its own hash before any instance of it is deployed. STRK is the network’s token and the asset transaction fees are paid in.

Starknet data on SonarX

SonarX indexes Starknet blocks and headers, transactions and their execution results, Cairo events, contract declarations and deployments, and token transfers and balances. The same normalized model is used on every chain SonarX covers, so Starknet activity joins to EVM chains in one query rather than being reconciled between two pipelines afterwards.

Full historical coverage is available today as a data-share or a file delivery. Real-time delivery is enabled on request.

How SonarX indexes Starknet

Nothing about Starknet decodes the way an EVM chain does. Events carry Cairo-encoded felt arrays, not ABI-encoded EVM logs, and the ABI that explains them belongs to a contract class rather than to an address, so decoding follows the class hash an address points at and has to move with it when the account or contract is upgraded. Because every account is itself a contract, a sender’s keys can rotate while the address stays fixed, which breaks the usual assumption that an address stands for a keypair. Token contracts are Cairo ports of familiar interfaces rather than the interfaces themselves, so transfers are normalized rather than read off a standard.

What teams build with Starknet data

Account analysis is the first workload and the one that surprises teams. Because users hold funds in account contracts, counting users means resolving deployments and their owners rather than counting addresses that signed, which is the same problem wallet analytics solves across chains. DeFi research is the second: Cairo venues emit their own event vocabulary, so position and liquidity histories are built from decoded contract state instead of a shared log standard. Bridge reconciliation is the third, matching deposits and withdrawals against the messages Ethereum records, which is also how teams tie Starknet activity back to zkSync Era and other rollups in a single view. Fee analysis sits alongside them, since the cost of using Starknet is partly the cost of proving it, and that lands on Ethereum rather than here.

Getting Starknet data from SonarX

Tell us the delivery target, how far back you need and how fresh it has to be, and the share is scoped against that. Starknet history is available now, so a first delivery is provisioning rather than engineering. The published coverage matrix for every network SonarX indexes lives in the data documentation, and the rest of the catalogue is at all indexed chains.

Is there a Starknet data API?

APIs over indexed Starknet data are enabled on request: the same indexed dataset the Snowflake share reads, served over REST once provisioned. Tell us the lookup pattern you need.

How do I get Starknet data into Snowflake?

SonarX provisions a data-share into your own Snowflake account. The share appears as a database you query with SQL, so there is no pipeline to build and no second copy to store, and it stays current as SonarX advances the indexing pipeline.

How far back does Starknet coverage go?

The historical data-share and file delivery cover Starknet's recorded history from its 2021 mainnet launch forward, and are available today. Cairo 1 replaced the original contract language during that period, so tell us how far back your analysis reaches and we will confirm what the older segment supports.

Is Starknet EVM-compatible?

No. Starknet contracts are written in Cairo and run on the Cairo VM, not on EVM bytecode, so Solidity contracts do not deploy unchanged and there are no ABI-encoded EVM logs to decode. It is an Ethereum Layer 2 by settlement, not by execution.

How does SonarX handle Starknet accounts and contract classes?

Starknet has no externally owned accounts, so every sender is a deployed account contract whose signing keys can change without the address changing. Code is also declared as a class first and instantiated afterwards, so decoding is resolved through the class an address currently points at rather than through the address alone.

Starknet logo

Get Starknet data from SonarX