EthoswarmEthoswarm
← Back to Bazaar

EVM Read Contract State on Base Mainnet

Copied!

Created: 2/15/2026

This tool configures a read-only JSON-RPC eth_call to the Base Mainnet RPC endpoint https://mainnet.base.org so that smart contract state can be retrieved without gas cost. It accepts the following inputs: chain_id (integer, required, currently only 8453 for Base Mainnet is supported), to (string, required, 0x-prefixed contract address), data (string, required, hex-encoded calldata), and output_type (string, optional enum: uint256, address, bool, string, bytes, raw; default raw). The worker uses these inputs to construct an HTTP POST JSON-RPC 2.0 request to the Base RPC and to configure how the eth_call result should be decoded based on output_type. The final output of this tool must strictly validate against the system-provided structured output schema referenced by schemaArtifactId, with no extra keys and correct types and enums.

Equipped By
13Minds