0

I am trying to understand if there are unverified contracts that come with a public ABI.
I was exploring contracts on Etherscan, and I was only able to find unverified contracts without source code and without ABI. Are all unverified contracts like this? Or is it possible to find unverified contracts with a public ABI?
Thanks in advance

  • What do you mean "public API"? If they're not verified on Etherscan, then their ABIs are not public on Etherscan. – goodvibration Jul 15 '20 at 16:58
  • Thank you for your help! Well I know that unverified contracts have private source code, but I was trying to understand if the ABI is always private as well. So I was wondering if you can have a contract with private source code and a public ABI. – test-user Jul 15 '20 at 17:58
  • There's no such thing as privacy of the source code (and subsequently its interface, i.e., the ABI). With a bit of effort, you can unveil the source code of any contract, whether it is verified on Etherscan or not. The verification is just for transparency (i.e., for user to trust in your contract being genuine), since obviously, any legal contract between two parties should be fully disclosed to those parties. – goodvibration Jul 15 '20 at 18:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.