HTTP 状态码#
| HTTP Code | 说明 |
|---|
| 200 | 请求成功(业务成功或失败都返回 200,通过 code 区分) |
| 429 | 请求限流 |
| 500 | 服务器内部错误 |
业务 code#
| code | 说明 |
|---|
| 0 | 成功 |
| 1 | 业务错误(见 msg 字段) |
| 401 | 认证失败 |
| 429 | 限流 |
常见错误 msg#
| msg | 触发场景 |
|---|
Insufficient tenant balance | 提现金额超过租户可用余额 |
提现金额必须大于 0 | amount ≤ 0 |
User not found | externalUserId 不存在 |
Unsupported chain: XXX | 不支持的链标识 |
Invalid EVM address format. Expected: 0x + 40 hex chars | EVM 地址格式错误 |
Invalid TRON address format. Expected: Base58Check starting with T | TRON 地址格式错误 |
Invalid Solana address format. Expected: Base58, 32-44 chars | Solana 地址格式错误 |
Watch address already exists | 重复订阅同一地址 |
Watch address not found | 订阅 ID 不存在或不属于当前租户 |
Invalid network: XXX. Supported: [BNB, ETH, ...] | 不支持的链标识 |
错误响应示例#
{
"code": 1,
"msg": "Insufficient tenant balance",
"data": null,
"ok": false
}
Request Code Samples
curl --location '/errors'
Responses
This response does not have a body.
Modified at 2026-05-07 09:40:42