Check if contract verified

Hi there.

Is there way to check if contract verified?

For example open this link - https://bscscan.com/address/0x53611f5052a27c1912eb5d9836af64c53bcc0361#code and you will see:

Contract Source Code Verified (Exact Match)

Look at https://c2n.me/4fn2lHV.png and you will see what I mean.

Thanks.

I dont see a direct way to do this but bscscan has an api endpoint to get the ABI of verified contracts. Maybe this can be used to check the verified contracts.

https://docs.bscscan.com/api-endpoints/contracts

1 Like

Yep, I already use it, but this method doesn’t always work correctly ((( Therefore, I decided to search for other solutions in other services.

When you say doesn’t work, you mean doesn’t return the ABI properly? You can always scrape the contract page directly if needed.

I doubt other services have something for this because the verifying of contracts in this context is purely implemented by the chain explorer.

1 Like