GET
/
nps
/
chains
cURL
curl --request GET \
  --url https://apidev.nusd.me/nps/chains
{
  "status": 0,
  "data": {
    "total": 123,
    "chains": [
      {
        "chain_id": "BASE_ETH",
        "chain_identifier": "ETH",
        "native_token_id": "ETH",
        "rpc": "https://mainnet.base.org",
        "confirming_threshold": 12,
        "explorer_tx_url": "https://basescan.org/tx/{hash}",
        "explorer_address_url": "https://basescan.org/address/{address}",
        "status": 1,
        "create_at": "2025-10-21T08:49:34.369Z",
        "update_at": "2025-10-21T08:49:34.369Z"
      }
    ]
  },
  "msg": "<string>"
}

查询参数

chain_id
string

链id(可选)

示例:

"BASE_ETH"

chain_identifier
string

链标识符(可选)

示例:

"ETH"

page
integer

页数

num
integer

每页数量;默认值:20;最大值:100;

响应

请求成功,返回链数据

status
integer

状态码,0 表示成功。

示例:

0

data
object

链列表

msg
string

错误消息,status 非 0 时存在