Claim History
开发中GET
/api/v1/gateway/user/history/claimClaim History provides a list of historical claim transactions. Users can query the claims made of a specific assetName, including details like the amount, asset name, and timestamp of each claim.
请求参数
The name of the asset claimed.
The start of the time range for the claim history in Unix milliseconds.
The end of the time range for the claim history in Unix milliseconds.
The offset for pagination.
The maximum number of results to return. Default is 500.
The ID from which to start fetching records. In this API, since the order is descending (backwards), if fromId is set to 100, the system will return records starting from the ID just before 100 and continue moving backwards. The retrieval will proceed until the limit is reached.
示例代码
Responses
Indicates whether the API request encountered any errors.
An array containing details for each historical claim transaction.
The amount of cryptocurrency claimed.
The name of the asset claimed.
The address to which the claim was made.
The timestamp when the claim was made, in Unix milliseconds.
The total number of user claim history.
The offset used for pagination.
The maximum number of results returned. Default is 500.
{
"msg": "",
"error": false,
"claims": [
{
"amount": 1.42930647,
"assetName": "WBTC",
"address": "0xdb456c895f91c8a098b22eb0aae1ba7d85c5ae96",
"timestamp": 1719888886651
},
{
"amount": 76456.79549975,
"assetName": "USDT",
"address": "0xdb456c895f91c8a098b22eb0aae1ba7d85c5ae96",
"timestamp": 1719888872572
},
{
"amount": 0.01779925,
"assetName": "ETH",
"address": "0xdb456c895f91c8a098b22eb0aae1ba7d85c5ae96",
"timestamp": 1719888849466
}
],
"all": 3,
"offset": 0,
"limit": 500
}