Verify Contract Source
Submits a contract source code to Etherscan for verification.
Authorizations
API key to access the API (optional)
Query Parameters
Unique identifier for a blockchain network.
1, 10, 100, 10143, 1028, 1101, 1111, 1112, 11124, 11155111, 11155420, 1284, 1285, 1287, 130, 1301, 137, 143, 146, 167000, 167009, 168587773, 1923, 1924, 199, 2442, 25, 252, 2522, 2741, 300, 324, 33111, 33139, 37714555429, 42161, 421614, 42170, 42220, 43113, 43114, 4352, 43521, 44787, 480, 4801, 50, 5000, 5003, 50104, 51, 531050104, 534351, 534352, 56, 57054, 59141, 59144, 660279, 80002, 80069, 80094, 81457, 8453, 84532, 97 1
Returns the raw data given by the provider. WARNING: removes backup feature, and raw data returned is not normalized which might make switching providers difficult
null
Overrides our autorouting. Only specify this parameter if you would like to specify only a single provider to use for this request.
EtherScan Body
Contract Source Code (Flattened if necessary)
"abcd"
List of addresses to query (comma seperated. Max 5)
"0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D"
solidity-single-file or solidity-standard-json-input
"solidity-single-file"
ContractName (if codeformat=solidity-standard-json-input, then enter contractname as ex: erc20.sol:erc20)
"BoredApeYachtClub"
see https://etherscan.io/solcversions for list of support versions
"v0.7.0+commit.9e61f92b"
use 0 for no optimization, and 1 if optimization was used
0
Returns the raw data given by the provider. WARNING: removes backup feature, and raw data returned is not normalized which might make switching providers difficult
null