BTCN Price: $0.00(+0.01%)Gas:0 nBTCNTPS: < 0.01
Corn Explorer

Documentation - Corn Explorer

APIs > Contract
Getting Started
Routescan APIs
APIs (9)
Account
Block
Contract
Geth/Parity Proxy
Logs
Nametags
Stats
Tokens
Transactions
MCP
Contract Verification
Verify Contract
Documentation - APIs
No sign-up or API key required for free tier access (up to 2 requests per second, with a daily limit of 10,000 calls).
Get Contract Creator and Creation Tx Hash
https://api.routescan.io/v2/network/mainnet/evm/ 21000000/etherscan/api?module=contract&action=getcontractcreation&contractaddresses=0xB83c27805aAcA5C7082eB45C868d955Cf04C337F,0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45,0xe4462eb568E2DFbb5b0cA2D3DbB1A35C9Aa98aad,0xdAC17F958D2ee523a2206206994597C13D831ec7,0xf5b969064b91869fBF676ecAbcCd1c5563F591d0&apikey=YourApiKeyToken
Try this endpoint in your browser πŸ”—
  • Request
  • Response
Query Parameters
Parameter
Description
module
string
action
string
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/ 21000000/etherscan/api?module=contract&action=getabi&address=0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7&apikey=YourApiKeyToken
Try this endpoint in your browser πŸ”—
  • Request
  • Response
Query Parameters
Parameter
Description
module
string
action
string
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/ 21000000/etherscan/api?module=contract&action=getsourcecode&address=0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7&apikey=YourApiKeyToken
Try this endpoint in your browser πŸ”—
  • Request
  • Response
Query Parameters
Parameter
Description
module
string
action
string
address
the contract address that has a verified source code
Verify Source Code
https://api.routescan.io/v2/network/mainnet/evm/ 21000000/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
Requests must be sent using HTTP POST, limited to 250 verifications/day
  • Request
  • Response
Query Parameters
Parameter
Description
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.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/ 21000000/etherscan/api?module=contract&action=checkverifystatus&guid=ezq878u486pzijkvvmerl6a9mzwhv6sefgvqi5tkwceejc7tvn&apikey=YourApiKeyToken
Try this endpoint in your browser πŸ”—
  • Request
  • Response
Query Parameters
Parameter
Description
module
string
action
string
guid
ezq878u486pzijkvvmerl6a9mzwhv6sefgvqi5tkwceejc7tvn
Blockchain
Tokens
Insights
Developers
More
CornPowered by Corn
A Block Explorer and Analytics Platform for Corn
Company
Contact Us
Privacy Policy
Cookie Policy
Terms of Use
Terms and Conditions
Community
API Documentation
Tag submission
Status
Report Abuse
Product & Services
API Plans
Corn Β© 2026 | Built by Team Routescan
Donations 0xC29391b5...1741d8Dcf1 ❀️
BTCN Price: $0.00(+0.01%)Gas:0.0005 nBTCNTPS: 0.07