Skip to main content

Verify a Vyper contract with its source code and contract creation information

POST 

https://api.fuse.io/api/v0/explorer/?module=contract&action=verify_vyper_contract

Verify a Vyper contract with its source code and contract creation information

Request

Query Parameters

    module stringrequired

    Possible values: [contract]

    action stringrequired

    Possible values: [verify_vyper_contract]

    apiKey stringrequired
    Example: pk_1234567890

Bodyrequired

    addressHashstring
    namestring
    compilerVersionstring
    contractSourceCodestring

Responses

OK

Schema
    messagestring
    resultstring
    statusstring
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.fuse.io/api/v0/explorer");
request.Headers.Add("Accept", "application/json");
var content = new StringContent(string.Empty);
content.Headers.ContentType = new MediaTypeHeaderValue("application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://api.fuse.io/api/v0/explorer
Parameters
— queryrequired
— queryrequired
— queryrequired
Body required
{
  "addressHash": "string",
  "name": "string",
  "compilerVersion": "string",
  "contractSourceCode": "string"
}
ResponseClear

Click the Send API Request button above and see the response here!

Was this page helpful?