Verify Stylus Source Code
Submit Stylus source code for verification.
Authorizations
Enter your Etherscan API key, or set one up if you don't have one.
Query Parameters
Chain ID to query, eg 42161 for Arbitrum One from our supported chains.
Set to contract for this endpoint.
Set to verifysourcecode for this endpoint.
Body
Use stylus for Stylus projects.
"stylus"
Public Git repository that hosts the Stylus source code.
"https://github.com/OffchainLabs/stylus-hello-world"
The address where the contract is deployed.
"0xdAC17F958D2ee523a2206206994597C13D831ec7"
The contract name that matches your Stylus deployment.
"stylus_hello_world"
Stylus compiler version used for compilation.
"stylus:0.5.3"
License identifier from the open source license options.
3
Response
Successful response
1 if the request returned data, 0 otherwise. A status of 0 can indicate an error or a valid request that returned no records.
OK on success, otherwise an error description such as NOTOK. See common error messages.
GUID for the verification submission. Use it with checkverifystatus to poll the result.