Skip to main content

Verify a contract with Standard input JSON file

POST 

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

Verify a contract with Standard input JSON file

Request

Query Parameters

    module stringrequired

    Possible values: [contract]

    action stringrequired

    Possible values: [verifysourcecode]

    apiKey stringrequired
    Example: pk_1234567890

Body

required
    codeformat string
    contractaddress string
    contractname string
    compilerversion string
    sourceCode string

Responses

OK

Schema
    message string
    result string
    status string
curl -L -X GET 'https://api.fuse.io/api/v0/explorer' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
Request Collapse all
Base URL
https://api.fuse.io/api/v0/explorer
Parameters
— queryrequired
— queryrequired
— queryrequired
Body required
{
  "codeformat": "string",
  "contractaddress": "string",
  "contractname": "string",
  "compilerversion": "string",
  "sourceCode": "string"
}
ResponseClear

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

Was this page helpful?