All chains
Alpen

Alpen

EVM Layer 2 / Chain ID 20310

Alpen is a zero-knowledge rollup that brings EVM smart contracts to Bitcoin. It settles through Alpen Labs' Strata chain, which checkpoints proofs to Bitcoin itself rather than to a separate consensus layer.

Quick Facts
Networks 1
Runtime EVM
Chain ID 20310
Real-time Yes
Data tables 5
Category Layer 2
Networks
1
Data tables
5
Chain ID
20310
Runtime
EVM
Coverage
Real-time + archive
Start block
0 (genesis)
License
Open-source SDK

Networks

alpen-testnet chain ID 20310
Real-time EVM testnet 5 tables

Alpen on SQD

Validated at ingestion

Alpen data is validated by SQD Network workers before it reaches the Portal. Validation is performed across the network rather than by a single ingestion node, so a faulty upstream source can't poison the dataset.

Decoded, schema-typed

5 Alpen tables (blocks, transactions, logs & traces), decoded and schema-typed, ready to query. Your indexer queries the data directly without writing RLP parsers.

Archive plus real-time

Single Portal endpoint serves Alpen from genesis through the current head, with sub-second hot-path latency. No separate streaming pipeline to wire up.

Open-source SDK

Both the Squid SDK and the Pipes SDK are open-source. Connectors for Postgres, ClickHouse, MongoDB, SQLite and Parquet, plus a custom-target hook. Run your Alpen indexer on your own infrastructure or on SQD Cloud.

Build with Alpen data

Common production patterns teams build with SQD on Alpen.

Available Data

blocks

Block headers with timestamps, gas usage, miner info, and consensus data.

transactions

All onchain transactions with sender, receiver, value, gas, and input data.

logs

Event logs emitted by smart contracts, the primary source for tracking DeFi, NFT, and token activity.

traces

Internal transactions and call traces showing the full execution path of each transaction.

state_diffs

State changes per transaction, storage slot modifications, balance changes, and nonce updates.

Stream Alpen data in two lines

Example below uses the public Alpen endpoint, free for development. For full SDK reference, see the documentation.

curl --compressed -X POST \
'https://portal.sqd.dev/datasets/alpen-testnet/stream' \
-H 'Content-Type: application/json' \
-d '{
"type": "evm",
"fromBlock": 0,
"toBlock": 100,
"fields": {
"block": {"number":true,"timestamp":true},
"transaction": {
"hash": true,
"from": true,
"to": true,
"value": true
}
},
"transactions": [{}]
}'
alpen-testnet/stream
EVM · blocks 0100

Frequently asked questions

How does SQD compare to running an Alpen RPC node?
An Alpen RPC node serves raw bytes for recent state and rate-limits per request. SQD's Portal pre-indexes the full Alpen archive into decoded, schema-typed tables (blocks, transactions, logs & traces) and serves them as a single streaming endpoint. You skip the multi-day node sync, archive storage, monitoring, and scale-out work, and pay only for the data you stream.
What does SQD cost for Alpen data?
The public Portal endpoint at portal.sqd.dev/datasets/alpen-testnet is free for development. Production workloads run on the SQD Portal with tiered pricing based on the network and request volume. See the pricing page for current tiers, or contact us for an enterprise quote.
How is SQD's Alpen data different from a block explorer like Etherscan?
Block explorers are read-optimized for human browsing of single blocks or addresses. SQD is built for programmatic indexing: stream millions of Alpen blocks into your own database, run analytical queries across the full history, and back production applications with decoded data. Output is structured tables, not HTML pages, and there are no per-call rate limits geared toward UI traffic. If you wanted to build your own Alpen explorer, the SQD Portal is what you would back it with.
Can I self-host SQD's Alpen indexer?
Yes. Both the Squid SDK and the Pipes SDK are open-source. You can run an Alpen indexer on your own infrastructure pointing at the SQD Network or the Portal. SQD Cloud also offers managed hosting if you'd rather not operate it yourself.
Can I export Alpen data to a data warehouse or pipeline?
Yes. The Pipes SDK streams Alpen data from the Portal into Postgres, ClickHouse, MongoDB, SQLite, Parquet, or a custom target you implement. See the SDK docs for the connector reference.
Does SQD validate Alpen data?
Every Alpen block ingested into SQD is validated by the SQD Network workers (hash chain, parent reference, and where applicable finality) before it reaches the Portal. Validation is performed across the network, not by a single ingestion process, so a faulty upstream node can't poison the dataset.
Does SQD support real-time Alpen data?
Yes. Alpen is served with both real-time and historical data from the same Portal endpoint, with sub-second latency on the hot path. No separate streaming pipeline to wire up.

See other chains supported by SQD

Learn more

Start building with Alpen

Access Alpen data through the SQD Portal, free tier available.