Skip to content

Guides

Step-by-step recipes for reading onchain data: fixing a specific error you hit, or pulling a specific value out of a protocol like Aave, Uniswap, or Chainlink. Copy the snippet, adapt the address, move on.

ERC-4337 EntryPoint — read a smart account's nonce, deposit, and stake via API
Guide

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.

Getting the ABI of an unverified or proxy contract: EIP-1967 storage slots and bytecode selector recovery
Guide

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.

Compound V3 (Comet) — read borrow balance, collateral, and liquidation risk via API
Guide

Compound V3 (Comet): Read Borrow Balance and Liquidation Risk via API

Compound V3 (Comet) skips the health-factor field. Read borrow balance, collateral, and liquidation risk with isBorrowCollateralized and isLiquidatable via API.

ENS reverse lookup — resolving wallet addresses to primary names with a REST API
Guide

ENS Reverse Lookup: Turning Addresses Into Names Without an Indexer

Resolve ENS primary names from wallet addresses with one REST call — using the Universal Resolver, which verifies forward resolution for you. Live, tested examples.

Permit2 allowances, reading the two-layer approval system with a REST API
Guide

What Is Permit2? Read Its Allowances, the Second Approval Layer Most Tools Never Check

What Permit2 is, how its two-layer approvals work, and how to read the wrapper approval and per-app sub-allowance with a REST API. Live example included.

ERC-4626 vault share price, convertToAssets across Yearn, Morpho, and sDAI-style vaults
Guide

ERC-4626 Price: How to Read Vault Share Price With convertToAssets

What ERC-4626 is and how to read a vault's share price in one REST call with convertToAssets, including the vault-vs-asset decimals trap and batching vaults.

Decoding Ethereum calldata into a function call and arguments without an ABI file
Guide

How to Decode Ethereum Calldata Without an ABI File

You have a contract address and a raw 0x calldata blob, no ABI file. Here's how to decode the function call and its arguments anyway, with a worked example.

Aave V3 health factor — getUserAccountData fields, base-currency decimals, and the infinite health case
Guide

Aave V3 Health Factor Explained: getUserAccountData, Decimals, and the Infinite Health Case

Decode Aave V3's getUserAccountData correctly: six struct fields, three decimal scales, and why a zero-debt wallet returns a healthFactor near 1.16e59.

Using Chainlink price feeds correctly: staleness, sequencer uptime, and decimals normalization
Guide

Using Chainlink Price Feeds Correctly: Staleness, Sequencer Uptime, and Decimals

The three checks a Chainlink price feed integration needs to be correct: staleness against the heartbeat, Base sequencer uptime, and decimals normalization without hardcoding 8.