Open vbaranov opened 3 months ago
A user feedback: "However for dev ergonomics do you have any plans on exposing the error messages via the API call?".
So, we could return in the analog of checkverifystatus
API endpoint in v2 the exact error returned by sc-verifier microservice.
UPD: it would be useful to apply this logic not only to Solidity but Vyper contracts as well.
@vbaranov Hey, I noticed there is a websocket for checking verification status by accident but I cannot find any documentation on how to use it or even its existence. Am I missing something, could you please point me in the right direction?
Similar functionality exists in API v1: sc verification endpoint returns identifier of verification which then can be used as input to another HTTP endpoint to check its status. It is suggested to add an option for existing API v2 (RESTful) endpoints for smart-contract verification of getting status of verification through identifier in addition to existing check through websockets endpoint.