Get UID Wallet Type
Get available wallet types for the master account or sub account
tip
- Master api key: you can get master account and appointed sub account available wallet types, and support up to 200 sub uid in one request.
- Sub api key: you can get its own available wallet types
PRACTICE
"FUND" - If you never deposit or transfer capital into it, this wallet type will not be shown in the array, but your account indeed has this wallet.
["SPOT","OPTION","FUND","CONTRACT"]
: Classic account and Funding wallet was operated before["SPOT","OPTION","CONTRACT"]
: Classic account and Funding wallet is never operated["SPOT","UNIFIED","FUND","CONTRACT"]
: UMA account and Funding wallet was operated before. (No UMA account after we forced upgrade to UTA)["SPOT","UNIFIED","CONTRACT"]
: UMA account and Funding wallet is never operated. (No UMA account after we forced upgrade to UTA)["UNIFIED""FUND","CONTRACT"]
: UTA account and Funding wallet was operated before.["UNIFIED","CONTRACT"]
: UTA account and Funding wallet is never operated.
HTTP Request
GET /user/v3/private/get-member-type
Request Parameters
Parameter | Required | Type | Comments |
---|---|---|---|
memberIds | false | string |
|
Response Parameters
Parameter | Type | Comments |
---|---|---|
accounts | array | Object |
> uid | string | Master/Sub user Id |
> accountType | array | Wallets array. SPOT , CONTRACT , FUND , OPTION , UNIFIED . Please check above practice to understand the value |
Request Example
GET /user/v3/private/get-member-type HTTP/1.1
Host: api.bybit.com
X-BAPI-API-KEY: XXXXX
X-BAPI-TIMESTAMP: 1686882546210
X-BAPI-RECV-WINDOW: 50000
X-BAPI-SIGN: XXXXX
Content-Type: application/json
Response Example
{
"retCode": 0,
"retMsg": "",
"result": {
"accounts": [
{
"uid": "XXXXX",
"accountType": [
"SPOT",
"OPTION",
"FUND",
"CONTRACT"
]
}
]
},
"retExtInfo": {},
"time": 1686880658551
}