Skip to content

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.

Compound V3 (Comet) liquidation risk reads migrated from evmquery to raw viem: borrow balance, collateral, and the getAssetInfoByAddress-to-getPrice dependency
Trust & transparency

Compound V3 (Comet) Liquidation Risk in Raw viem: What Leaving evmquery Actually Costs

The hand-rolled viem code behind evmquery's Compound V3 Comet liquidation-risk read: borrow balance, collateral, the two risk booleans, and the price-feed dependency evmquery hides.

A GitHub Actions run summary listing contract state alerts after a Defender Monitor migration
Guide

After OpenZeppelin Defender: Run Contract State Checks on a GitHub Actions Cron

Many Defender Monitor setups were state checks. Move pause flags, owner changes, Safe thresholds and oracle age into one TypeScript script on GitHub Actions.

Safe owner and threshold change alert in n8n, sent to Telegram
Guide

Safe Owner and Threshold Change Alert in n8n (Telegram, No Code)

Get a Telegram message when a Safe multisig adds an owner, removes one, or changes its threshold. Two n8n nodes, one expression, importable workflow JSON.

Gnosis Safe API — reading owners, signature threshold, nonce, and modules without the Safe SDK
Guide

Gnosis Safe API: Read Owners, Threshold, and Nonce Without an SDK

Read a Gnosis Safe's owners, signature threshold, nonce, and version in one API call. No SDK install, and the proxy-vs-singleton trap that breaks a naive read.

Slack alert for a hot wallet whose native gas balance fell below its minimum on Base
Guide

Hot Wallet Low Gas Balance Alert: Slack Notifications for Relayers and Keepers on Four Chains

Get a Slack alert before a relayer or keeper wallet runs out of gas. One TypeScript script checks native balances on Ethereum, Base, BNB Chain and Polygon.

Pendle PT exchange rate — reading getPtToAssetRate via API across Ethereum, Base, and BNB Chain
Guide

Pendle PT Exchange Rate: How to Read It via API

How to read a Pendle PT token's exchange rate to its underlying asset via API, using Pendle's own getPtToAssetRate oracle across Ethereum, Base, and BNB Chain.

A TypeScript script comparing a Chainlink Proof of Reserve answer with WBTC and cbBTC total supply
Guide

WBTC and cbBTC Proof of Reserves Check in TypeScript

Compare Chainlink's WBTC and cbBTC Proof of Reserve feeds with on-chain totalSupply in a TypeScript script that exits non-zero when the ratio or feed age slips.

Chainlink price feed reads migrated from evmquery to raw viem: staleness, sequencer uptime, and decimals, with multicall batching
Trust & transparency

Chainlink Price Feed Reads in Raw viem: What Leaving evmquery Actually Costs

The hand-rolled viem code behind evmquery's Chainlink price-feed read: staleness, Base sequencer uptime, decimals, and multicall batching, line by line.

A Google Sheets table with an ERC20_BALANCE formula returning a token balance
Guide

Google Sheets ERC-20 Token Balance: A Custom Function with Apps Script

Add an ERC20_BALANCE function to Google Sheets with Apps Script: cached lookups, an API key kept out of cells, and a daily trigger that logs a snapshot row.