Contracts

Get Contract ABI for Verified Contract Source Codes

Returns the Contract Application Binary Interface ( ABI ) of a verified smart contract

Find verified contracts on our Verified Contracts Source Code page.

Javascript Mode
 

From your Account Dashboard vigation tab labelled 🗝 API-KEYs

Try this endpoint in your browser

Response

Parameter Description
address the contract address that has a verified source code

Sample Response

 

From your Account Dashboard vigation tab labelled 🗝 API-KEYs

Get Contract Source Code for Verified Contract Source Codes

Returns the Solidity source code of a verified smart contract.

📩 Tip : You can also download a CSV list of verified contracts addresses of which the code publishers have provided a corresponding Open Source license for redistribution.

 

From your Account Dashboard vigation tab labelled 🗝 API-KEYs

Try this endpoint in your browser

Response

Parameter Description
address the contract address that has a verified source code

Sample Response

 

From your Account Dashboard vigation tab labelled 🗝 API-KEYs

Verify Source Code

Submits a contract source code to BDLTSCAN for verification

See Demo Source Verification Submission Code at Source Code Verification Sample .

1. Requires a valid BDLTSCAN API key, it will be rejected otherwise

2. Current daily limit of 100 submissions per day per user (subject to change)

3. Only supports HTTP POST due to max transfer size limitations for HTTP GET

3. Supports up to 10 different library pairs

4. Contracts that use "imports" will need to have the code concatenated into one file as we do not support "imports" in separate files.

5. Contracts that use "imports" will need to have the code concatenated into one file as we do not support "imports" in separate files.

6. List of supported solc versions, only solc version v0.4.11 and above is supported e.g. v0.4.25+commit.59dbf8f1

7. Upon successful submission you will receive a GUID (50 characters) as a receipt

8. You may use this GUID to track the status of your submission

9. Verified Source Codes will be displayed at the Verified Contracts page.

Source Code Submission Gist

👇 Note: Upon successful submission, a GUID is returned, which can be used to check for submission status.

 

From your Account Dashboard vigation tab labelled 🗝 API-KEYs

Check Source Code Verification Submission Status

 

From your Account Dashboard vigation tab labelled 🗝 API-KEYs

Verify Proxy Contract

Submits a proxy contract source code to BDLTSCAN for verification.

1. Requires a valid BDLTSCAN API key, it will be rejected otherwise

2. Current daily limit of 100 submissions per day per user (subject to change)

3. Only supports HTTP post

4. Upon successful submission you will receive a GUID (50 characters) as a receipt

5. You may use this GUID to track the status of your submission

6. Verified proxy contracts will display the "Read/Write as Proxy" of the implementation contract under the contract address's contract tab

Verifying Proxy Contract using cURL

Response

Parameter Description
address the contract address that has a verified source code

Sample Response

 

From your Account Dashboard vigation tab labelled 🗝 API-KEYs

Checking Proxy Contract Verification Submission Status using cURL

Response

Parameter Description
address the contract address that has a verified source code

Sample Response

 

From your Account Dashboard vigation tab labelled 🗝 API-KEYs