FundAccount
API Scopes
Need Permission to view account balance information
FundAccount
FundAccount represents the state of one fund account.
Attribute Name | Type | Description | Example |
---|---|---|---|
asset_symbol | string | asset symbol of this account | BTC |
balance | string | balance, this is a float number in String format | 10.034 |
locked_balance | string | locked balance, this is a float number in String | 10.034 |
Balance of all assets
GET /viewer/fund/accounts
Response is Fund Account Array.
[
{
"asset_symbol": "BTC",
"balance": "0",
"locked_balance": "0"
}
]
Balance of one asset
GET /viewer/fund/accounts/{asset_symbol}
Parameters
Name | Type | Require | Description | Example |
---|---|---|---|---|
asset_symbol | string | true | asset symbol | BTC |
Response is Fund Account object.
{
"asset_symbol": "BTC",
"balance": "0",
"locked_balance": "0"
}