verify-contract
Verify a smart contract on the Rootstock blockchain by providing its address, source code, and compilation metadata.
Instructions
Verify a smart contract on the Rootstock blockchain using source code and compilation metadata
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testnet | Yes | Use testnet (true) or mainnet (false) | |
| jsonContent | Yes | JSON Standard Input content from Solidity compilation - contains solcLongVersion and input fields, it is not necesary to readd the content, just validate it contains an 'input' field and others. If the file is too large, you can delete the 'output' section to reduce file size while keeping the required compilation metadata. | |
| contractName | Yes | Name of the contract as defined in the source code | |
| constructorArgs | No | Array of constructor arguments used during deployment (optional) | |
| contractAddress | Yes | Contract address to verify (0x... format) |