This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Blockchain State Viewer

Developer Tools · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategoryDeveloper Tools
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

Blockchain State Viewer gives you a direct look into the current state of any EVM contract. Enter a contract address and instantly see its ETH balance, whether it's a contract, its bytecode (truncated), and the current block number. If you provide a contract ABI, the tool automatically detects and calls all parameterless view and pure functions, displaying their return values as human-readable state variables. This is invaluable for developers debugging contracts, auditors verifying state consistency, or anyone who wants to understand what a contract holds at this very moment—without writing code or using a block explorer.

HOW TO USE

Connect your EVM wallet (optional—the tool works read-only). Select the network from the dropdown. Enter the contract address and optionally paste a contract ABI JSON array in the text area. Click "view state" to fetch the current state from the chain. The tool displays the address, current block number, ETH balance, contract status, a preview of the bytecode, and—if an ABI is provided—a list of all decoded state variables from parameterless view/pure functions. Use the "clear" button to reset and start a new query. No signing or approvals required.

TECHNICAL MECHANISM

The tool uses ethers.js v5.7.2 via the BGWallet provider. It first validates the address and checks if it's a contract using provider.getCode(). It then fetches the current balance with provider.getBalance() and the current block number with provider.getBlockNumber(). If an ABI is provided, it creates an ethers.Contract instance and parses the ABI to find all function fragments that are either view or pure and have zero inputs. It then calls each of these functions sequentially using contract[functionName]() and captures the return values, displaying them as key-value pairs. The bytecode is shown as a truncated hex string for reference. All values are formatted for readability, with BigNumber values converted to strings.

WHAT IT CANNOT SEE

This tool cannot decode state variables without a matching ABI—if you don't provide the ABI, you only see balance and bytecode. It cannot read private or unverified contract storage directly—only what is exposed through view functions. It cannot view historical state—only the current block's state is shown. It cannot read state of proxy contracts beyond the provided implementation ABI—if you provide the proxy ABI instead of the implementation, you will only see the proxy's own state. It cannot view internal or private variables that are not exposed via view functions. The tool is limited by the RPC provider's availability and may fail if the provider is unreachable.

PLEASE NOTE

Works exclusively on EVM-compatible chains: Ethereum Mainnet, Goerli, Sepolia, Polygon, Arbitrum, and Optimism. Solana, Tron, Starknet, SUI, TON, Aptos, Bitcoin, Cosmos, and XRP are not supported. This is a read-only, free developer tool—use it for debugging and state inspection, but always cross-check critical data with a block explorer or your own node. The tool only shows the current block state; state may change with each new block.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.