Class Verification

Submit contract verification

Submit contract source code for verification against a deployed class hash on Starknet.

post/class-verify/{hash}

Request

  • Base URL
    https://public-api.voyager.online/beta
  • Auth
    API key in header x-api-key

Path parameters

hashstring required

Class hash or contract address to check verification status for (0x-prefixed hex).

Request body multipart/form-data

compiler_versionstring required
scarb_versionstring required
project_dir_pathstring required
namestring required
package_namestring required
licensestring nullable required
filesobject required
build_tool'scarb' | 'sozo' required
dojo_versionstring
contract_filestring

Response

Verification job created or verification result

OR

Changes

No recorded changes to this operation across all 1 revision of this API.