Get verified contract source
get_contract_sourceRetrieve verified smart contract source code, compiler settings, and ABI from Blockscout using a contract address. Returns empty if the contract is not verified.
Instructions
Verified source code, compiler settings, and ABI of a contract from the Blockscout explorer (empty result if the contract is not verified).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Contract address | |
| network | No | Target network: "l1" (default) or "l2-testnet" | l1 |