Onchain reads, decoded.
Guides, comparisons, integrations, reference docs, and trust reports for reading smart contract data from Claude, your code, n8n, or a REST client.

Morpho Blue: Read Health Factor and Liquidation Price via API
Morpho Blue has no healthFactor field. Compute it from position(), market(), and the market's own oracle price and LLTV — one batched API call, no SDK required.

Uniswap V3 Out-of-Range Alert: Get a Telegram Message When Your LP Position Stops Earning
Build a Uniswap V3 out-of-range alert in TypeScript: read a position's tick range and the pool tick in one request, then message Telegram on each change.

Lido stETH Exchange Rate: How to Read It Correctly via API
How to read Lido's real stETH exchange rate via API: shares vs. balance, the wstETH rate, and why balanceOf alone isn't precise enough for accounting.

Aave V4 Health Factor: What Changed From V3 and How to Read It
Aave V4 health factor explained: hubs and spokes, per-spoke positions, the variable liquidation bonus, and how to read getUserAccountData onchain with one REST call.

Stablecoin Depeg Alert in Python With Chainlink and Telegram
Build a Python depeg alert for USDC, USDT and DAI that reads Chainlink feeds in one request, sends Telegram messages on state changes only and runs from cron.

Liquidation Alert Telegram Bot in Python for Aave, Compound and Morpho
Build a Python Telegram bot that watches one wallet on Aave V3, Compound V3 and Morpho Blue in a single request, alerts on transitions only, and runs from cron.

ERC-4337 EntryPoint API: Read a Smart Account's Nonce and Deposit
Check an ERC-4337 smart account's nonce, deposit, and stake straight from the EntryPoint contract in one API call — no ABI file, no bundler SDK required.

How to Get the ABI of an Unverified or Proxy Contract
Etherscan has no source, or the wrong source. Here's how to get the ABI of an unverified contract or a proxy: read the EIP-1967 slot, recover selectors from bytecode, or skip both steps.

ERC-20, ERC-721, and ERC-1155 ABI JSON (Copy-Paste Reference)
The ERC-20 ABI in JSON, plus ERC-721, ERC-1155, and WETH9, each with the human-readable viem form, function selectors, and what's optional versus required.