evm_fetch_source
Fetch verified smart contract source code from block explorers across Ethereum, Base, Arbitrum, Optimism, or Polygon by supplying the contract address and optional chain.
Instructions
Fetch verified smart contract source code from block explorers across Ethereum, Base, Arbitrum, Optimism, or Polygon.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Target blockchain network (ethereum, base, arbitrum, optimism, polygon, bsc). Default is ethereum. | |
| contractAddress | Yes | The 0x contract address. |