How to verify smart contract
Submit your smart contract code for independent verification and publishing on Avascan
Last updated
Was this helpful?
Submit your smart contract code for independent verification and publishing on Avascan
Last updated
Was this helpful?
With the Etherscan Compatible Verify Contract API, verify smart contract on Avascan is now more easy than ever. There are few things you need to connect your favorite verify contract client with Etherscan compatibility:
Define the networkId
: mainnet, testnet
Retrieve the chainId
of the evm compatible blockchain. You can use the .
Compose the Etherscan Compatible API endpoint: https://api.avascan.info/v2/network/:networkId/evm/:chainId/etherscan
The following endpoints are provided only as an example:
C-Chain
mainnet
api.avascan.info/v2/network/mainnet/evm/43114/etherscan
Swimmer
mainnet
api.avascan.info/v2/network/mainnet/evm/73772/etherscan
C-Chain
testnet
api.avascan.info/v2/network/testnet/evm/43113/etherscan
WAGMI
testnet
api.avascan.info/v2/network/testnet/evm/11111/etherscan
, is an hardhat plugin, that simplify the smart contract verification process on Etherscan. With the Etherscan Compatible Verify Contract API, you can use this tool to verify your smart contract on Avascan as well.
Let's say you want to verify your smart contract on wagmi, this is an example of hardhat.config.ts
:
If you need any support just ask in our or our .