cURL
curl --request POST \ --url https://api.example.com/api/admin/v1/staking/products \ --header 'Content-Type: application/json' \ --data ' { "name": "NexFi USDC Yield Vault", "productType": "vault", "chainId": 8453, "riskLevel": "medium", "status": "active", "id": "base_usdc_nexfi_vault" } '
{ "code": 0, "msg": "ok", "data": { "success": true } }
在管理端创建或更新质押产品配置。
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.
管理端产品保存请求。
产品名称。
"NexFi USDC Yield Vault"
产品类型。
"vault"
链 ID。
8453
风险等级。
low
medium
high
"medium"
产品状态。
active
paused
disabled
"active"
更新时的产品 ID。
"base_usdc_nexfi_vault"
成功返回保存结果
统一响应包裹结构。
业务状态码,0 表示成功。
0
可读返回消息。
"ok"
通用管理端成功结果。
Show child attributes