cURL
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": "" } } }
返回 Wallet 客户端运行环境、支持链与功能开关配置。
Documentation IndexFetch the complete documentation index at: https://docs.nexfi.robert.dpdns.org/llms.txtUse this file to discover all available pages before exploring further.
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.
成功返回环境配置
统一响应包裹结构。
业务状态码,0 表示成功。
0
可读返回消息。
"ok"
运行环境配置载荷。
Show child attributes