Get Contract Creator and Creation Tx Hash

https://api.routescan.io/v2/network/mainnet/evm/ /etherscan/api
  ?module=contract
  &action=getcontractcreation
  &contractaddresses=0xB83c27805aAcA5C7082eB45C868d955Cf04C337F,0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45,0xe4462eb568E2DFbb5b0cA2D3DbB1A35C9Aa98aad,0xdAC17F958D2ee523a2206206994597C13D831ec7,0xf5b969064b91869fBF676ecAbcCd1c5563F591d0
  &apikey=YourApiKeyToken
Try this endpoint in your browser πŸ”—
Query Parameters
Parameter
Description
contractaddresses
the contract address , up to 5 at a time

Get Contract ABI for Verified Contract Source Codes

https://api.routescan.io/v2/network/mainnet/evm/ /etherscan/api
  ?module=contract
  &action=getabi
  &address=0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7
  &apikey=YourApiKeyToken
Try this endpoint in your browser πŸ”—
Query Parameters
Parameter
Description
address
the contract address that has a verified source code

Get Contract Source Code for Verified Contract Source Codes

https://api.routescan.io/v2/network/mainnet/evm/ /etherscan/api
  ?module=contract
  &action=getsourcecode
  &address=0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7
  &apikey=YourApiKeyToken
Try this endpoint in your browser πŸ”—
Query Parameters
Parameter
Description
address
the contract address that has a verified source code

Verify Source Code

https://api.routescan.io/v2/network/mainnet/evm/ /etherscan/api
  ?module=contract
  &action=verifysourcecode
  &contractaddress=0x2A1D1C87d18dd13d7a1e91A42C9fFEc486EB6433
  &sourceCode=// SPDX-License-Identifier: MIT// compiler version must be greater than or equal to 0.8.10 and less than 0.9.0pragma solidity ^0.8.10;contract HelloWorld { string public greet = "Hello World!";}
  &codeformat=solidity-single-file
  &contractname=HelloWorld
  &compilerversion=v0.8.10 commit.fc410830
  &optimizationUsed=0
  &runs=200
  &licenseType=1
  &apikey=YourApiKeyToken
Try this endpoint in your browser πŸ”—
Query Parameters
Parameter
Description
contractaddress
0x2A1D1C87d18dd13d7a1e91A42C9fFEc486EB6433
sourceCode
// SPDX-License-Identifier: MIT // compiler version must be greater than or equal to 0.8.10 and less than 0.9.0 pragma solidity ^0.8.10; contract HelloWorld { string public greet = "Hello World!"; }
constructorArguments
// for contracts that were created with constructor parameters, using ABI encoding.
codeformat
// solidity-single-file | solidity-standard-json-input
contractname
HelloWorld
compilerversion
v0.8.10+commit.fc410830
evmversion
// shangai for the latest version, otherwise choose from the older versions
optimizationUsed
// use 0 for no optimization, and 1 if optimization was used
runs
200
licenseType
1

Check Source Code Verification Submission Status

https://api.routescan.io/v2/network/mainnet/evm/ /etherscan/api
  ?module=contract
  &action=checkverifystatus
  &guid=ezq878u486pzijkvvmerl6a9mzwhv6sefgvqi5tkwceejc7tvn
  &apikey=YourApiKeyToken
Try this endpoint in your browser πŸ”—
Query Parameters
Parameter
Description
guid
ezq878u486pzijkvvmerl6a9mzwhv6sefgvqi5tkwceejc7tvn