Get Earn Fixed Income Current Holdings
This endpoint retrieves current holding assets of fixed income products. If no current holding assets are available, an empty list is returned.
HTTP REQUEST
GET /api/v1/earn/hold-assets
Example
GET /api/v1/earn/hold-assets?currentPage=1&pageSize=20
{
"code": "200000",
"data": {
"totalNum": 1,
"items": [
{
"orderId": "1380042",
"productId": "1",
"productCategory": "STAKING",
"productType": "DEMAND",
"currency": "ATOM",
"incomeCurrency": "ATOM",
"returnRate": "0.09000000",
"holdAmount": "23.32",
"redeemedAmount": "1",
"redeemingAmount": "0",
"lockStartTime": 1641571200000,
"lockEndTime": null,
"purchaseTime": 1715855036000,
"redeemPeriod": 0,
"status": "LOCKED",
"earlyRedeemSupported": 0
}
],
"currentPage": 1,
"pageSize": 20,
"totalPage": 1
}
}
API KEY Permissions
This endpoint requires general permission.
REQUEST URL
This endpoint supports Spot URL.
REQUEST RATE LIMIT
Earn weight: 5
PARAMETERS
This endpoint requires pagination
Parameter | Type | Mandatory | Description |
---|---|---|---|
currentPage | Int | No | Page number |
pageSize | Int | No | Number of items per page |
productId | String | No | Product ID |
productCategory | String | No | Product category |
currency | String | No | Subscription currency |
RESPONSES
Param | Description |
---|---|
orderId | Holding ID |
productId | Product ID |
productCategory | Product category |
productType | Product subtype |
currency | Subscription currency |
incomeCurrency | Income currency |
returnRate | Annual interest rate, raw value, not multiplied by 100 |
holdAmount | Holding amount |
redeemedAmount | Redeemed amount |
redeemingAmount | Redeeming amount |
lockStartTime | Product earliest interest start time, in milliseconds |
lockEndTime | Product maturity time, in milliseconds |
purchaseTime | Most recent subscription time, in milliseconds |
redeemPeriod | Redemption waiting period (days) |
status | Status: LOCKED (holding), REDEEMING (redeeming) |
earlyRedeemSupported | Whether the fixed product supports early redemption: 0 (no), 1 (yes) |