Api get supported assets response
ApiGetSupportedAssetsResponse
Response for the supported assets endpoint
Name
Lite |
Type |
Required
Default |
Description |
funding
f |
[SupportedAsset] |
True |
Assets supported in funding wallets |
spot
s |
[SupportedAsset] |
True |
Assets supported in spot wallets |
futures
f1 |
[FuturesWalletAssets] |
True |
Assets supported in futures wallets, grouped by mode |
SupportedAsset
An asset supported for a given wallet type
Name
Lite |
Type |
Required
Default |
Description |
asset_id
ai |
integer |
True |
The currency ID of the asset |
asset_code
ac |
string |
True |
The readable currency code of the asset |
balance_decimals
bd |
integer |
True |
The number of decimals used for balance representation |
SupportedAsset
An asset supported for a given wallet type
Name
Lite |
Type |
Required
Default |
Description |
asset_id
ai |
integer |
True |
The currency ID of the asset |
asset_code
ac |
string |
True |
The readable currency code of the asset |
balance_decimals
bd |
integer |
True |
The number of decimals used for balance representation |
FuturesWalletAssets
Supported assets for a futures wallet mode
Name
Lite |
Type |
Required
Default |
Description |
mode
m |
SubAccountMode |
True |
The sub account mode |
supported_assets
sa |
[SupportedAsset] |
True |
Assets supported under this futures mode |
SubAccountMode
| Value |
Description |
SINGLE_ASSET_MODE = 1 |
Single asset mode: the subaccount is only allowed to hold one asset as collateral |
SupportedAsset
An asset supported for a given wallet type
Name
Lite |
Type |
Required
Default |
Description |
asset_id
ai |
integer |
True |
The currency ID of the asset |
asset_code
ac |
string |
True |
The readable currency code of the asset |
balance_decimals
bd |
integer |
True |
The number of decimals used for balance representation |