Get Contract Source Code for Verified Contract
Contract
Get Contract Source Code for Verified Contract
Returns the Solidity source code of a verified smart contract. Also available through a GraphQL ‘addresses’ query.
GET
Get Contract Source Code for Verified Contract
Documentation Index
Fetch the complete documentation index at: https://docs.blockscout.com/llms.txt
Use this file to discover all available pages before exploring further.
Query Parameters
Module name (must be 'contract')
Available options:
contract Available options:
getsourcecode Contract address 40-character hexadecimal address hash with 0x prefix
Pattern:
^0x[a-fA-F0-9]{40}$Example:
"0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae"
Get Contract ABI for Verified Contract
Previous
Get Contract Creator and Creation Transaction Hash
Next