Transfer between Sub Wallet and Prime Wallet
POST
/open-api/v1/subwallet/transferThis method allows you to transfer asset between Sub Wallet and Prime Wallet
Restriction: Only applicable to Prime wallet structure.
Sub-wallets with auto-collection enabled do not support transfers. If you wish to perform transfers, please disable the auto-collection feature first.
API Key permission group : Enable Internal Transfer
Request
OpenAPI key string
Signature of the request
Coin symbol
Transfer amount
Source wallet id
Destination wallet id
Client provided Unique Identifier. (Max 70 characters)
Current timestamp in millisecond
{
"coinSymbol": "ETH",
"amount": 10.2,
"fromWalletId": 1325589336357780500,
"toWalletId": 1325589336357780500,
"requestId": 1640995200000,
"timestamp": 1640995200000
}
Request samples
Responses
response data, maybe null
Transfer transaction Id
'000000' indicates success, while any others indicate failure.
When the code is '000000' (success), it represents the details of the response. Otherwise, it represents the details of the error.
{
"data": {
"orderViewId": "24073601652851542064000001",
"status": 10,
"direction": 10
},
"code": "000000",
"message": "Success"
}