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

Batch Read Call Result Formatter

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

The Batch Read Call Result Formatter is a developer tool that formats multicall results into readable structured output. It takes user-provided result data (JSON array or lines of hex), applies type decoding based on specified return types (uint256, address, bool, bytes, string), and presents the formatted data as a clean table. This helps developers quickly interpret the results of multicall operations, debug contract interactions, and verify that contract calls are returning expected values.

HOW TO USE

Enter your multicall results as a JSON array or a list of hex values (one per line). Specify the return types as a comma-separated list (e.g., uint256,address). Optionally provide labels for each field. Click "format results" to decode and display the data. The tool automatically decodes each value according to its type: uint256 becomes a number, address becomes a 0x-prefixed address, bool becomes true/false, and bytes/string are displayed as hex or decoded text. Results are displayed in a structured table with the option to view raw data.

TECHNICAL MECHANISM

The tool parses input results from JSON arrays or lines of hex values. For each result, it applies the specified type decoder. For uint256 and int256, it uses ethers.BigNumber to convert hex to a number. For addresses, it extracts the last 20 bytes from the hex string. For booleans, it checks if the value is zero. For bytes and bytes32, it preserves the hex representation. For strings, it attempts to decode the hex as UTF-8 text. The tool supports both single return values and packed multi-return values by splitting packed data according to type lengths. The formatted output is displayed as an HTML table with headers derived from user-provided labels, with raw data available in a collapsible section.

WHAT IT CANNOT SEE

The tool cannot actually perform multicalls or interact with contracts. It cannot validate that the result data matches the specified types without parsing. The tool cannot detect if the returned data is malformed or incomplete. It cannot handle nested or complex return types beyond basic formatting. The tool cannot account for different encoding formats (e.g., packed vs unpacked). It cannot validate that the number of results matches the number of expected return types. The tool cannot automatically detect the ABI from the result data.

PLEASE NOTE

This tool is designed for Ethereum Virtual Machine (EVM) compatible chains. The tool assumes that results are in hex format (0x-prefixed or raw hex). The types specified must match the actual data encoding for accurate formatting. The tool provides estimates only and should be used as a reference for interpreting multicall results. Always verify formatted data against the contract ABI for accurate interpretation.

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.