Get account ledger (Transfer in and out)
Fetch user account asset transaction records (paginated)
GET: /asset/bill/list
Content-Type: application/json
Parameters
Parameter | Type | mandatory | Default | Description | Ranges |
---|---|---|---|---|---|
pageNum | int | false | 1 | Page Number | |
pageSize | int | false | 10 | Page Size | |
startTime | int | false | Start Time | ||
endTime | int | false | End Time | ||
symbol | string | false | Token Symbol | ||
opCode | int | false | Operation Type | 1:Transfer 2:Trade 3:Transfer Fee 4:Trading Fee |
Response
Example:
{
"code": 0, // Response code
"data": {
"items": [
{
"amount": "string", // AssetBillListItem
"chain": "string", //Chain Name
"contractAddress": "string", //Token Contract Address
"opCode": 0, // Operation code
"plusMinusSigns": "string", //plus or minus Sign
"symbol": "string", // Currency Symbol
"symbolImage": "string", // sybmol logo
"time": 0, // time
"token": "string" // token
}
],
"total": 0 // total quantity
},
"msg": "string", // response massage
"time": 0 // response time
}