Hello,
I’ve been trying to query the new Staking History API endpoints though it seems that older data is not available when using INTEREST
transaction type.
I was able to find 4 months-old locked staking history transactions when exporting data to (XLS files), however querying the API returns an empty list for that period.
//Endpoint params
{"product": "STAKING", "txnType": "SUBSCRIPTION", "startTime": 1643680367000, "endTime": 1647911523000}
//Response
[
{
"positionId": 41364471,
"time": 1645418868000,
"asset": "SHIB",
"amount": "1998127.87",
"lockPeriod": 10,
"type": "NORMAL",
"status": "SUCCESS"
}
]
//Endpoint params
{"product": "STAKING", "txnType": "INTEREST", "startTime": 1643680367000, "endTime": 1647911523000}
//Response
[]
//Endpoint params
{"product": "STAKING", "txnType": "REDEMPTION", "startTime": 1643680367000, "endTime": 1647911523000}
//Response
[
{
"positionId": 41364471,
"time": 1646354696000,
"asset": "SHIB",
"amount": "1998127.87",
"deliverDate": 1646438400000,
"status": "PAID"
}
]
I have also ensured that the difference between startTime
and endTime
is shorter than 3 months, as defined in the API documentation. Though there are no informations about limited history data.
Would it be possible to have all history through the API?
Thank you.