Weight: 5
Request Parameters
| PARAMETER | TYPE | Req 'd | DESCRIPTION | 
|---|---|---|---|
| startTime | STRING | Y | Start Time | 
| endTime | STRING | Y | End Time | 
| limit | STRING | Up to 500 | |
| flowType | INTEGER | Value '1' (Trade, recent-7-day data) Value '2' (FEE, recent-7-day data) Value '32' (Funding FEE, recent-30-day data) Value '51' (USER_ACCOUNT_TRANSFER, recent-30-day data) Value '900' (CUSTODY_DEPOSIT, recent-30-day data) Value '904' (CUSTODY_WITHDRAW, recent-30-day data)  | |
| accountType | INTEGER | Value '1' Trading Account Record (Spot) Value '3' Trading Account Record (Contract) Value '5' Custody Account Record  | |
| timestamp | LONG | Y | Timestamp | 
Response Content
| PARAMETER | TYPE | Example values | DESCRIPTION | 
|---|---|---|---|
| - | Object Array | Check Account transfer history | |
| id | STRING | 1468775459672099840 | Unique ID of the transfer | 
| accountId | STRING | 1467298646903017216 | Account Number | 
| coin | STRING | USDC | Currency | 
| coinId | STRING | USDC | Currency ID | 
| coinName | STRING | USDC | Currency name | 
| flowTypeValue | INTEGER | 79 | Transfer Type value | 
| flowType | STRING | OPERATION_ACCOUNT_TRANSFER | Transfer name | 
| change | STRING (value) | 1000000 | Change | 
| total | STRING ([value) | 1000000 | Total | 
| created | STRING (decimal) | 1689856479058 | Create Timestamp | 
| symbol | STRING | 
Example how to use
| Account Type | Account ID | 
|---|---|
| Main Trading Account | 1649292498437183232 | 
| Custody Account | 1649292498437183235 | 
| Sub Trading Account | 1673782460192774144 | 
Example 1: Transfer 10 USDT from Main Trading Account to Custody Account
POST https://api-glb.sim.hashkeydev.com/api/v1/account/assetTransfer?fromAccountId=1649292498437183232&toAccountId=1649292498437183235&coin=USDT&quantity=10&signature=7bbbdb853fb3c0743de5c7f905badf30b2f8715c6ef3059dd9e575cc4ba0be0f×tamp=1714557951154
Get account transaction history list Type = 51, accountType = 1. Only subject to master account API key, not available to sub account API key to query.
[
    {
        "id": "1676228025233055232",
        "accountId": "1649292498437183232",
        "coin": "USDT",
        "coinId": "USDT",
        "coinName": "USDT",
        "flowTypeValue": 51,
        "flowType": "USER_ACCOUNT_TRANSFER",
        "flowName": "",
        "change": "-10",
        "total": "398026.95",
        "created": "1714557952009"
    }
]
Get account transaction history list Type = 51, accountType = 5. Only subject to master account API key, not available to sub account API key to query.
[
    {
        "id": "1676228025316941312",
        "accountId": "1649292498437183235",
        "coin": "USDT",
        "coinId": "USDT",
        "coinName": "USDT",
        "flowTypeValue": 51,
        "flowType": "USER_ACCOUNT_TRANSFER",
        "flowName": "",
        "change": "10",
        "total": "25.05",
        "created": "1714557952009"
    }
]
Example 2: Transfer 15 USD from Main Trading Account to Sub Trading Account
POST https://api-glb.sim.hashkeydev.com/api/v1/account/assetTransfer?fromAccountId=1649292498437183232&toAccountId=1673782460192774144&coin=USDT&quantity=15&signature=50e919a9d9937f663d00a267d6121083dcda1f1faf777c27dcf08b3fc50fa3da×tamp=1714559004249
Get account transaction history list Type = 51, accountType = 1 with master account API key
[
    {
        "id": "1676236860475710976",
        "accountId": "1649292498437183232",
        "coin": "USDT",
        "coinId": "USDT",
        "coinName": "USDT",
        "flowTypeValue": 51,
        "flowType": "USER_ACCOUNT_TRANSFER",
        "flowName": "",
        "change": "-15",
        "total": "398011.95",
        "created": "1714559005252"
    }
]
Get account transaction history list Type = 51, accountType = 1 with sub account API key
[
    {
        "id": "1676236860517654016",
        "accountId": "1673782460192774144",
        "coin": "USDT",
        "coinId": "USDT",
        "coinName": "USDT",
        "flowTypeValue": 51,
        "flowType": "USER_ACCOUNT_TRANSFER",
        "flowName": "",
        "change": "15",
        "total": "100003",
        "created": "1714559005252"
    }
]
Type = 32 (Funding Fee)
Get account transaction history list Type = 32
[
    {
        "id": "1980570992225894912",
        "accountId": "1730577321730074368",
        "coin": "USDT",
        "coinId": "USDT",
        "coinName": "USDT",
        "flowTypeValue": 32,
        "flowType": "FUNDING_SETTLEMENT",
        "flowName": "",
        "change": "-1343.43497925",
        "total": "31586975.651145907429875085",
        "created": "1750838460878",
        "symbol": "FATS1USDT"
    },
    {
        "id": "1980570990682391041",
        "accountId": "1730577321730074368",
        "coin": "USDT",
        "coinId": "USDT",
        "coinName": "USDT",
        "flowTypeValue": 32,
        "flowType": "FUNDING_SETTLEMENT",
        "flowName": "",
        "change": "-55956",
        "total": "31588319.086125157429875085",
        "created": "1750838460698",
        "symbol": "BTCUSDT"
    },
    {
        "id": "1980329400776868352",
        "accountId": "1730577321730074368",
        "coin": "USDT",
        "coinId": "USDT",
        "coinName": "USDT",
        "flowTypeValue": 32,
        "flowType": "FUNDING_SETTLEMENT",
        "flowName": "",
        "change": "-1336.37743575",
        "total": "31644275.086125157429875085",
        "created": "1750809660937",
        "symbol": "FATS1USDT"
    },
    {
        "id": "1980329400105779712",
        "accountId": "1730577321730074368",
        "coin": "USDT",
        "coinId": "USDT",
        "coinName": "USDT",
        "flowTypeValue": 32,
        "flowType": "FUNDING_SETTLEMENT",
        "flowName": "",
        "change": "-55956",
        "total": "31645611.463560907429875085",
        "created": "1750809660860",
        "symbol": "BTCUSDT"
    }
]