MegaETH Data: Index Real-Time EVM Activity
Index MegaETH's contract events, token transfers, and decoded transactions in one pipeline, delivered to your own database. Real-time and complete historical data, no node to run.
MegaETH calls itself the first real-time blockchain, an Ethereum Layer 2 that settles on Ethereum while pushing execution to hardware limits. Instead of batching transactions into slow blocks, a single high-powered sequencer streams them through a specialized pipeline and emits mini-blocks on a millisecond cadence, with the network targeting throughput north of 100,000 transactions per second. Because it stays EVM-compatible, Solidity contracts, EVM addresses, and existing tooling deploy unchanged, and gas is paid in ETH. To your code MegaETH reads like Ethereum; to your infrastructure it moves far faster. The team frames it at megaeth.com.
That speed is exactly where the data problem starts. A chain that produces blocks every few milliseconds and aims for six-figure TPS emits logs, traces, and decoded calls faster than any polling loop can keep pace with. An indexer that samples the RPC on a timer, or that falls even slightly behind the head, never catches up: the tip keeps moving while you page through history. Indexing Co covers MegaETH in a single pipeline, decodes the raw chain into the shape you want, and delivers it to your own PostgreSQL, warehouse, or webhook. Real-time and full history, with no node to operate.
Why MegaETH data is hard
What Indexing Co delivers for MegaETH
Stand up and maintain the whole stack yourself.
- Run a MegaETH node or wire up a third-party RPC.
- Consume mini-blocks at head speed instead of polling on a timer.
- Reconstruct strict ordering from a continuous streaming feed.
- Build volume backfill, reorg handling, and real-time delivery from scratch.
One pipeline sources, decodes, and delivers MegaETH to your store.
- MegaETH contract events, token transfers, and decoded txs in a single pipeline.
- Decoded data, shaped by your JavaScript transform.
- Lands in your PostgreSQL, BigQuery, warehouse, or webhook.
- Real-time delivery plus complete backfilled history. No node, no RPC babysitting.
What you can index
| EVM data type | On MegaETH, for example |
|---|---|
| Contract events and logs | DEX swaps, perp fills, lending borrows and liquidations |
| Token transfers (ERC-20, ERC-721) | Stablecoin payments, wstETH movements, NFT mints |
| Decoded transactions and traces | Smart-wallet user operations, contract deployments |
| Protocol and account state | Pool reserves, perp positions, account balances |
A transform, not a subgraph
You write the transform in JavaScript, not AssemblyScript, and change it without re-indexing from block zero. Indexing Co runs your function over each block server-side: decode the logs you care about and return rows for your destination.
// Indexing Co transform: reshape each block into rows for your database
function transform(block) {
const results = [];
const signatures = [
'event Transfer(address indexed from, address indexed to, uint256 value)'
];
for (const tx of block.transactions || []) {
for (const log of tx.receipt?.logs || []) {
const event = utils.evmDecodeLogWithMetadata(log, signatures);
if (!event) continue;
results.push({
chain: block._network,
block: Number(block.number),
tx_hash: tx.hash,
contract_address: log.address?.toLowerCase(),
from: event.decoded.from,
to: event.decoded.to,
value: event.decoded.value,
});
}
}
return results;
}
MegaETH with Indexing Co
You want full control of node infrastructure and have the team to consume MegaETH's mini-block stream at head speed, reconstruct ordering, and build backfill and reorg handling in-house.
You want MegaETH contract events, token transfers, and decoded transactions delivered to your own database, with real-time plus complete history and no infrastructure to run.
Related Reading
- DeFi Data Infrastructure
- Perpetual Markets Data Infrastructure
- Subgraph Migration: Moving Off The Graph's Hosted Service
- Ethereum Data
FAQ
Do I need to run a MegaETH node?
No. Indexing Co sources MegaETH blocks, logs, and traces for you, including full historical data, so you never operate a node or poll a rate-limited RPC endpoint.
How does Indexing Co keep up with MegaETH's millisecond blocks?
The pipeline consumes the chain at head speed rather than sampling the RPC on a timer, so it stays pinned to the tip as mini-blocks land. That is what keeps a live feed from falling behind a chain designed for real-time throughput.
Can I index any protocol on MegaETH?
Yes. Point a pipeline at any MegaETH contract or set of contracts, from DEXes and perp venues to your own deployments, and we decode the events against the right ABI. Because MegaETH is EVM-compatible, standard Solidity ABIs apply.
Where does the MegaETH data go?
Into your own destination: PostgreSQL, BigQuery, a warehouse, or a webhook. You define the output schema and own the storage.
Can I get complete historical MegaETH data?
Yes. We backfill from your chosen start block and merge it with real-time data, so your MegaETH dataset is gap-free from genesis forward if you want it, even across high-volume block ranges.
Get Started
Index MegaETH in minutes. Set up your first MegaETH contract or token pipeline without running a node.