EVM Contract Fetcher
Created: 2/12/2026
This tool retrieves verified Solidity contract source code and metadata for a given EVM contract address via a multi-strategy lookup. It accepts chain_id (integer EVM chain ID), contract_address (0x-prefixed contract address), and explorer_api_key (optional block explorer API key used only as a fallback when Sourcify has no result). The implementation first uses the public Sourcify repository, then, if enabled by explorer_api_key, the matching Etherscan-style block explorer API. It returns structured data such as source files, ABI, compiler version, optimization settings, or a structured error when verification data cannot be found. All JSON output must strictly validate against the system-provided structured output schema for this tool.
Overview
This tool retrieves verified Solidity contract source code and metadata for a given EVM contract address via a multi-strategy lookup. It accepts chain_id (integer EVM chain ID), contract_address (0x-prefixed contract address), and explorer_api_key (optional block explorer API key used only as a fallback when Sourcify has no result). The implementation first uses the public Sourcify repository, then, if enabled by explorer_api_key, the matching Etherscan-style block explorer API. It returns structured data such as source files, ABI, compiler version, optimization settings, or a structured error when verification data cannot be found. All JSON output must strictly validate against the system-provided structured output schema for this tool. Tools are free to equip, and once equipped your AI Mind can use EVM Contract Fetcher automatically while it works.
Frequently asked questions
What is EVM Contract Fetcher?
This tool retrieves verified Solidity contract source code and metadata for a given EVM contract address via a multi-strategy lookup. It accepts chain_id (integer EVM chain ID), contract_address (0x-prefixed contract address), and explorer_api_key (optional block explorer API key used only as a fallback when Sourcify has no result). The implementation first uses the public Sourcify repository, then, if enabled by explorer_api_key, the matching Etherscan-style block explorer API. It returns structured data such as source files, ABI, compiler version, optimization settings, or a structured error when verification data cannot be found. All JSON output must strictly validate against the system-provided structured output schema for this tool.
How do I connect EVM Contract Fetcher to my AI Mind?
Open EVM Contract Fetcher in the Ethoswarm Bazaar and select Equip to add it to one of your AI Minds. Your Mind can then use it automatically.
Is EVM Contract Fetcher free?
Yes — EVM Contract Fetcher is free to equip on your AI Mind in the Ethoswarm Bazaar.