All chains
0g Testnet

0g Testnet

EVM Layer 1 / Chain ID 16600

0g Testnet is a EVM-compatible blockchain network indexed by the SQD Network. Access real-time and historical data including blocks, transactions, and event logs through the SQD Portal API.

Quick Facts
Networks 1
Runtime EVM
Chain ID 16600
Real-time No
Data tables 3
Category Layer 1

Networks

0g-testnet
EVM testnet 3 tables

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.

How to index 0g Testnet blockchain data

Stream 0g Testnet event logs, transactions, and blocks from the SQD Portal in two lines of code. The example below uses the public endpoint, no API key required for development.

1curl --compressed -X POST \
2 'https://portal.sqd.dev/datasets/0g-testnet/stream' \
3 -H 'Content-Type: application/json' \
4 -d '{
5 "type": "evm",
6 "fromBlock": 0,
7 "toBlock": 100,
8 "fields": {
9 "block": {"number":true,"timestamp":true},
10 "transaction": {
11 "hash": true,
12 "from": true,
13 "to": true,
14 "value": true
15 }
16 },
17 "transactions": [{}]
18 }'
0g-testnet/stream
EVM · blocks 0100

Build with 0g Testnet data

Common production patterns teams ship with SQD on 0g Testnet.

Frequently asked questions

How do I index 0g Testnet blockchain data?
Use the SQD Portal API at portal.sqd.dev/datasets/0g-testnet or the open-source Squid SDK. Both stream 0g Testnet blocks, transactions, and event logs from historical archives. The free tier supports development; paid Portal deployments cover production workloads with SLA-backed latency.
Is the 0g Testnet API free?
Yes. SQD provides a free public Portal endpoint for 0g Testnet with no API key required. For higher rate limits, dedicated infrastructure, and SLA-backed uptime, see the SQD Pricing page.
What 0g Testnet data tables does SQD provide?
SQD indexes 3 data tables for 0g Testnet: blocks, transactions, logs. Each table is decoded, validated at ingestion, and queryable through the Portal API.
Does SQD support real-time 0g Testnet data?
0g Testnet historical and recent data is available through SQD's archival layer. Real-time streaming for 0g Testnet is on the roadmap, request priority via the SQD contact form.
What's the difference between SQD and an RPC node for 0g Testnet?
An RPC node serves raw, unvalidated 0g Testnet data limited to recent state. SQD's Portal indexes the full 0g Testnet history, decodes it into queryable tables, validates every block at ingestion, and serves it through a typed SDK, no node operations required.
Can I self-host 0g Testnet indexing with SQD?
Yes, the Squid SDK is open-source under the GPLv3 license. You can run your own indexer against the SQD Network or the Portal, or deploy on SQD Cloud for fully managed hosting.

Other layer 1 chains on SQD

Start building with 0g Testnet

Access 0g Testnet data through the SQD Portal, free tier available.