Skip to main content
GET
/
api
/
v1
/
config
/
environment
Get environment and feature flags
curl --request GET \
  --url https://api.example.com/api/v1/config/environment
{
  "code": 0,
  "msg": "ok",
  "data": {
    "environment": "prod",
    "testnetOnly": true,
    "supportedChainIds": [
      8453,
      11155111
    ],
    "buildVersion": "1.0.0",
    "featureFlags": {
      "balancesEnabled": true,
      "historyEnabled": true,
      "contractsEnabled": true,
      "adminWriteEnabled": false
    },
    "announcement": {
      "enabled": false,
      "level": "info",
      "title": "",
      "message": ""
    },
    "maintenance": {
      "enabled": false,
      "reason": ""
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.nexfi.robert.dpdns.org/llms.txt

Use this file to discover all available pages before exploring further.

Response

200 - application/json

Environment response

Standard response envelope.

code
integer
required

Business status code. 0 means success.

Example:

0

msg
string
required

Human-readable message.

Example:

"ok"

data
object

Runtime environment payload.