Indexed AstarBlockchain Data
Astar is a Polkadot parachain that runs Solidity and WebAssembly contracts side by side, tying each owner's SS58 address and 0x address together under one unified account.
How to query Astar data with SonarX
Instant Data Share
Available todaySnowflake, and file dumps to your object storage
Query Astar 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 Astar 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 Astar 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
Kafka Streaming
Enabled on requestEvent stream
Consume Astar activity as a continuous stream of normalized records, produced as the chain is indexed instead of polled for.
Used for:
- Trading and execution systems that act on Astar activity within seconds
- Fraud and anomaly detection that has to fire before settlement
- Live dashboards and alerting on Astar wallet or protocol activity
- Feeding a stream processor that already reads from Kafka
- Keeping an internal store hot without waiting for a batch window
- Event-driven services that would otherwise poll on a timer
Balances
Enabled on requestTables and REST
Read what a Astar address held, either as it stands now or exactly as it stood at a past block or timestamp.
- Point-in-time balance tables, as at any block or timestamp
- Real-time balances API for latest and historical balances
- Batch API for wallets, tokens and balances in bulk
Used for:
- Reconstructing Astar portfolios and NAV as at a reporting date
- Audit and reconciliation work that has to be repeatable months later
- Wallet and portfolio products that render Astar balances on page load
- Compliance checks that read one Astar address at one block height
- Refreshing holdings for a whole book of accounts on a schedule
- Tax and cost-basis workflows that need holdings at each event
Realtime API
Enabled on requestREST over the indexed dataset
Query indexed Astar 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 Astar data behind their own API layer
Astar data: frequently asked questions
What is Astar?
Astar is a parachain: it produces its own blocks but does not finalize them, and that guarantee comes from the Polkadot relay chain whose validators check them. The project began as Plasm Network, took the Astar name in 2021, and launched on Polkadot as a parachain in January 2022. ASTR is the native token and pays gas. Two contract environments run on the same chain, an EVM for Solidity and a WebAssembly runtime for ink! contracts, so one block can carry both kinds of execution. Accounts follow the same split: an owner has a Substrate address in SS58 form and a twenty-byte address in hex, and Astar’s unified account mapping ties the two together instead of leaving them as strangers. dApp Staking pays rewards to deployed applications and the accounts backing them, which is a runtime feature rather than a contract layered on top.
Astar data on SonarX
SonarX indexes Astar blocks and headers, transactions and receipts, decoded event logs, execution traces including internal value transfers, runtime events from the WebAssembly side, and token transfers and balances. Those records land in the normalized model SonarX uses on every network it covers.
Full historical coverage is available today as a data-share or a file delivery. Real-time delivery is enabled on request. Balance tables and the balance APIs can be enabled for Astar on request. Kafka streaming can be enabled for Astar on request.
How SonarX indexes Astar
Two properties set this chain apart from an ordinary EVM network. Finality is not local: collators produce blocks and the relay chain confirms them, so ingestion follows that confirmation rather than counting local blocks. And one block can hold EVM execution and WebAssembly execution, which produce different records, logs and receipts on one side and runtime events on the other, so a decoder that reads only one of them sees a partial chain. Identity follows from the same split, since an owner holds an SS58 account and a twenty-byte account and counts twice until the mapping is applied.
What teams build with Astar data
Reward accounting is the recurring workload, because dApp Staking accrues to applications and their backers as runtime state, so an accrual has to be derived rather than read off a transfer. Staking analytics covers that work across chains. Cross-environment token accounting is the second, following an asset that can be held by a Solidity contract and an ink! contract in the same period. Cross-chain flow analysis is the third, since assets arrive over Polkadot’s messaging rather than through a bridge contract, and those arrivals look like runtime events rather than transfers. Teams comparing parachains usually pull Moonbeam alongside this one.
Getting Astar 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. Astar coverage is provisioned on request, so tell us the history depth and the delivery target and we will scope it. 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 an Astar data API?
Real-time and batch APIs over indexed Astar 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 Astar 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 Astar coverage go?
The historical data-share and file delivery cover the chain from its 2022 parachain launch forward, and are provisioned on request. Both execution environments start from that point, so EVM and WebAssembly records share one span rather than two. Real-time delivery keeps the same dataset current to chain tip and is enabled on request.
Is Astar a Layer 1 or a Polkadot parachain?
It is a Polkadot parachain. Astar produces blocks through its own collators, but finality comes from the relay chain's validators, so it is neither an independent Layer 1 with a consensus of its own nor a rollup settling to Ethereum. Coverage tables that list it as an L1 are describing a catalogue position, not how the chain reaches finality. For a pipeline the difference is practical: a block here is settled once the relay chain says it is.
How are Astar's two virtual machines indexed?
As two record shapes in one dataset. EVM execution produces receipts, logs and traces that decode against contract ABIs, while ink! contracts running in the WebAssembly environment surface as runtime events with their own payloads. SonarX indexes both and ties them to the same accounts, because an owner can hold assets on either side and a balance that reads only the EVM half understates the position.