跳转到主要内容
GET
/
api
/
v1
/
staking
/
products
获取质押产品列表
curl --request GET \
  --url https://api.example.com/api/v1/staking/products
{
  "code": 0,
  "msg": "ok",
  "data": {
    "items": [
      {
        "id": "base_usdc_nexfi_vault",
        "name": "NexFi USDC Yield Vault",
        "productType": "vault",
        "chainId": 8453,
        "assetSymbol": "USDC",
        "apy": "7.25",
        "tvlUsd": "1200000",
        "riskLevel": "medium",
        "status": "active",
        "tags": [
          "Stable",
          "Featured"
        ]
      }
    ]
  }
}

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.

查询参数

chainId
integer

链 ID 过滤。

示例:

8453

productType
string

产品类型过滤,例如 aggregatedvault

示例:

"vault"

riskLevel
string

风险等级过滤。

示例:

"medium"

assetSymbol
string

申购资产符号。

示例:

"USDC"

status
string

产品状态过滤。

示例:

"active"

响应

200 - application/json

成功返回产品列表

统一响应包裹结构。

code
integer
必填

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

示例:

0

msg
string
必填

可读返回消息。

示例:

"ok"

data
object