forge verify-check
Check verification status on Etherscan
$ forge verify-check --help
Usage: forge verify-check [OPTIONS] <ID>
Arguments:
<ID>
The verification ID.
For Etherscan - Submission GUID.
For Sourcify - Contract Address.
Options:
--retries <RETRIES>
Number of attempts for retrying verification
[default: 5]
--delay <DELAY>
Optional delay to apply inbetween verification attempts, in seconds
[default: 5]
-e, --etherscan-api-key <KEY>
The Etherscan (or equivalent) API key
[env: ETHERSCAN_API_KEY=]
-c, --chain <CHAIN>
The chain name or EIP-155 chain ID
[env: CHAIN=]
-h, --help
Print help (see a summary with '-h')
Verifier options:
--verifier <VERIFIER>
The contract verification provider to use
[default: etherscan]
[possible values: etherscan, sourcify, blockscout, oklink]
--verifier-url <VERIFIER_URL>
The verifier URL, if using a custom provider
[env: VERIFIER_URL=]