Skip to main content

Get Cloud-Mining payment and refund history (USER_DATA)

API Description

The query of Cloud-Mining payment and refund history

HTTP Request

GET /sapi/v1/asset/ledger-transfer/cloud-mining/queryByPage

Request Weight(UID)

600

Request Parameters

NameTypeMandatoryDescription
tranIdLONGNOThe transaction id
clientTranIdSTRINGNOThe unique flag
assetSTRINGNOIf it is blank, we will query all assets
startTimeLONGYESinclusive, unit: ms
endTimeLONGYESexclusive, unit: ms
currentINTEGERNOcurrent page, default 1, the min value is 1
sizeINTEGERNOpage size, default 10, the max value is 100
  • Just return the SUCCESS records of payment and refund.
  • For response, type = 248 means payment, type = 249 means refund, status =S means SUCCESS.

Response Example

{
"total":5,
"rows":[
{"createTime":1667880112000,"tranId":121230610120,"type":248,"asset":"USDT","amount":"25.0068","status":"S"},
{"createTime":1666776366000,"tranId":119991507468,"type":249,"asset":"USDT","amount":"0.027","status":"S"},
{"createTime":1666764505000,"tranId":119977966327,"type":248,"asset":"USDT","amount":"0.027","status":"S"},
{"createTime":1666758189000,"tranId":119973601721,"type":248,"asset":"USDT","amount":"0.018","status":"S"},
{"createTime":1666757278000,"tranId":119973028551,"type":248,"asset":"USDT","amount":"0.018","status":"S"}
]
}