Sub Account Transfer Record
Sub Account Transfer Record
Query transfer records between parent and sub accounts
Request frequency limit: 1/1s
Request URL
GET /deepcoin/sub-account/sub-account-transfer-record
Request Parameters
| Field Name | Required | Type | Description |
|---|---|---|---|
| coin | false | string | Currency |
| fromId | false | string | Transfer from account ID (1: Spot, 2: Wallet, 3: Rebate, 5: Inverse Contract, 7: Linear Contract, 10: Demo Account) |
| toId | false | string | Transfer to account ID (1: Spot, 2: Wallet, 3: Rebate, 5: Inverse Contract, 7: Linear Contract, 10: Demo Account) |
| relationType | false | string | Relation type (1: Parent->Sub, 2: Sub->Parent, 3: Sub->Sub) |
| page | true | int | Page number (minimum: 1) |
| size | true | int | Page size (minimum: 1, maximum: 100) |
Request Example
GET /deepcoin/sub-account/sub-account-transfer-record?page=1&size=20&coin=USDT&relationType=1
Response Parameters
| Field Name | Type | Description |
|---|---|---|
| retCode | int | Return code |
| retMsg | string | Return message |
| retData | object | Return data |
retData Object
| Field Name | Type | Description |
|---|---|---|
| count | int | Total count |
| list | array | Record list |
list Item
| Field Name | Type | Description |
|---|---|---|
| id | int64 | Record ID |
| parentUid | int64 | Parent account UID |
| fromUid | int64 | Transfer from UID |
| toUid | int64 | Transfer to UID |
| fromId | int | Transfer from account ID |
| toId | int | Transfer to account ID |
| coin | string | Currency |
| amount | string | Amount |
| state | int | Status (0: Processing, 1: Completed) |
| updateTime | int64 | Update time (timestamp) |
| createTime | int64 | Create time (timestamp) |
| requestIdOut | string | Transfer out request ID |
| requestIdIn | string | Transfer in request ID |
| asusdt | string | Equivalent in USDT |
| fromAccount | string | Transfer from account name |
| toAccount | string | Transfer to account name |
Response Example
{
"retCode": 0,
"retMsg": "success",
"retData": {
"count": 50,
"list": [
{
"id": 12345,
"parentUid": 100001,
"fromUid": 100001,
"toUid": 100002,
"fromId": 1,
"toId": 1,
"coin": "USDT",
"amount": "100.50",
"state": 1,
"updateTime": 1731427200,
"createTime": 1731427100,
"requestIdOut": "req-out-123",
"requestIdIn": "req-in-456",
"asusdt": "100.50",
"fromAccount": "Spot Account",
"toAccount": "Spot Account"
}
]
}
}