Posts tagged #ethereum

16 posts.

July 10, 2026 · 5 min read

Nonce Management for High-Throughput Senders

One stuck nonce can freeze every transaction behind it. If you're sending from a hot wallet at volume — a relayer, a market maker, a bridge — leaning on eth_getTransactionCount('pending') will eventually stall you. Here's how nonces actually work and how to manage them locally at scale.

Read →
July 8, 2026 · 4 min read

WebSocket vs HTTP Polling for Blockchain Events

Should you poll eth_getLogs on a timer or subscribe over WebSocket? Polling is simpler and more robust; WebSocket is lower-latency and lighter at scale — but drops events on reconnect. Here's the honest trade-off, when each wins, and why production systems often use both.

Read →
July 7, 2026 · 5 min read

What Is MEV? A Developer's Plain Explainer

MEV — maximal extractable value — is why your swap sometimes executes at a worse price than you saw, and why validators reorder transactions for profit. A plain-English tour of front-running, sandwiches, and back-running, how the public mempool enables it, and what you can actually do about it.

Read →
July 6, 2026 · 4 min read

eth_getBlockReceipts: Every Receipt in a Block, One Call

Fetching every receipt in a block one transaction at a time is the N+1 problem in disguise — hundreds of round-trips per block. eth_getBlockReceipts returns all of them in a single call. Here's how it works, when to use it over JSON-RPC batching, and how to fall back when a node doesn't support it.

Read →
July 4, 2026 · 5 min read

Did It Actually Succeed? Reading eth_getTransactionReceipt

A transaction being mined does not mean it worked — a reverted transaction still lands in a block and still costs you gas. The receipt is where the truth lives: the status flag, the event logs, the real gas paid, and how many confirmations you should wait. Here's how to read one.

Read →
July 3, 2026 · 6 min read

Estimating Gas Right: eth_estimateGas, EIP-1559, and Buffers

Half of failed transactions are gas mistakes: an 'out of gas' revert or a fee too low to ever get mined. Here's how eth_estimateGas actually works, how EIP-1559 fees are built, why you buffer the gas limit, and how to put it all together without overpaying.

Read →
July 1, 2026 · 5 min read

Mempool 101: How Pending Transactions Work

You send a transaction and it just says 'pending' — where does it actually go? A plain-English tour of the mempool: how transactions wait, why fees and nonces decide their fate, how to watch them, and how to unstick one.

Read →
June 30, 2026 · 5 min read

Handling Chain Reorgs in Your Indexer

Your indexer works perfectly in testing, then a reorg silently corrupts your database with transactions that no longer exist. Here's how reorgs break indexers and two proven patterns to handle them — confirmation lag and reorg detection with rollback.

Read →
June 18, 2026 · 5 min read

Subscribing to Contract Events with eth_subscribe (logs)

Polling eth_getLogs in a loop is the slow, brittle way to watch contract events. eth_subscribe pushes logs to you over WebSocket the instant they're mined. Here's how to build a subscription that filters correctly, survives reconnects, and never silently misses an event.

Read →
June 1, 2026 · 6 min read

How `eth_getLogs` Range Caps Bite You in Production

Your indexer works fine until it hits a single dense block range, then everything stops. Here's the cap mechanics across providers, the adaptive chunking pattern that actually works, and the code to do it right.

Read →