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

Smart Contract Function Explorer

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

Smart Contract Function Explorer gives you an interactive interface to inspect and call read-only functions on any EVM contract. Enter a contract address and optionally provide an ABI to instantly see all available functions with their full signatures and method selectors. For read-only functions (view or pure), you can click a button to call them directly and see the result—right in the browser. This is invaluable for developers debugging contracts, auditors inspecting behavior, or anyone who wants to understand what a contract can do without writing code. The tool also shows the contract bytecode status and lets you experiment with function calls using default parameters.

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 an ABI JSON array in the text area. If no ABI is provided, the tool falls back to a minimal ABI (name, symbol, decimals, totalSupply, balanceOf) to still show basic functions. Click "explore" to load the contract. The tool lists all functions with their signatures and selectors. For view/pure functions, a "call" button appears—click it to execute the function with default arguments and see the result displayed below. Use the "clear" button to reset and start a new exploration. No signing or transactions are required.

TECHNICAL MECHANISM

The tool uses ethers.js v5.7.2 via the BGWallet provider. It first checks that the address is a contract using provider.getCode(). It then parses the user-provided ABI (or uses a fallback) to create an ethers.Contract instance. The tool iterates over contract.interface.fragments to extract all function definitions, filtering for 'function' types. For each function, it displays the full signature (using fragment.format('full')), the method selector (using fragment.format('sighash')), and a "call" button if the function is view or pure. When the user clicks "call", the tool executes contract[functionName](...args) with undefined arguments (which become default values like 0x0 or 0), then displays the result as a string. This provides a sandboxed, read-only way to probe contract behavior without any state changes.

WHAT IT CANNOT SEE

This tool cannot decode proxy contract implementations beyond the provided ABI—if you're interacting with a proxy, you need the implementation ABI and address. It cannot execute state-changing functions or sign transactions—write functions are listed but not callable. It cannot verify the authenticity of an ABI provided by the user—you are responsible for using a trusted ABI. It cannot read private or unverified contract source code beyond what is on-chain—you see function signatures, not the underlying Solidity code. It cannot automatically fetch an ABI from Etherscan; you must paste it. Historical data and event logs are not included.

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 contract exploration, but always verify critical function results against a trusted source or your own node.

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.