verify-contract
Submit a contract's source code to verify its authenticity on Etherscan. Provide contract address, name, compiler version, and source code.
Instructions
Submit a contract for source code verification
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Network name or chain ID (default: ethereum mainnet) | |
| evmVersion | No | EVM version | |
| sourceCode | Yes | Contract source code | |
| licenseType | No | License type | |
| contractName | Yes | Contract name | |
| optimization | No | Whether optimization was used | |
| compilerVersion | Yes | Compiler version (e.g. v0.8.0) | |
| contractAddress | Yes | Contract address (0x format) | |
| optimizationRuns | No | Number of optimization runs | |
| constructorArguments | No | ABI-encoded constructor arguments |