GET
/
api
/
v1
/
contract
/
supported-compiler-versions
Get Supported Compiler Versions
curl --request GET \
  --url https://prv.explorer.biya.io/api/v1/contract/supported-compiler-versions \
  --header 'Authorization: Bearer <token>'
{
  "code": 123,
  "message": "<string>",
  "data": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

contract_type
string

Contract type filter (optional, default: solidity). Only "solidity" is supported today; reserved for future cosmwasm support.

refresh
boolean

When true, force-refresh the host docker image cache before returning. Otherwise the readiness flags are cached for a short window (~30s).

Response

200 - application/json

OK

Generic response structure

code
integer<int32>

Response status code, 0 indicates success, non-zero indicates failure

message
string

Response message

data
object

Response data (using Struct type to directly return JSON objects, more intuitive)