跳转到主要内容
GET
/
api
/
v1
/
staking
/
products
/
{id}
获取产品详情
curl --request GET \
  --url https://api.example.com/api/v1/staking/products/{id}
{
  "code": 0,
  "msg": "ok",
  "data": {
    "id": "base_usdc_nexfi_vault",
    "name": "NexFi USDC Yield Vault",
    "productType": "vault",
    "chainId": 8453,
    "apy": "7.25",
    "tvlUsd": "1200000",
    "riskLevel": "medium",
    "rewardSource": "Vault strategy yield",
    "lockRule": "No hard lock",
    "exitRule": "ERC-4626 redeem",
    "status": "active"
  }
}

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.

路径参数

id
string
必填

产品 ID。

示例:

"base_usdc_nexfi_vault"

响应

200 - application/json

成功返回产品详情

统一响应包裹结构。

code
integer
必填

业务状态码,0 表示成功。

示例:

0

msg
string
必填

可读返回消息。

示例:

"ok"

data
object

质押产品详情载荷。