Get Asset Info
GET/public/Assets
Get information about the assets that are available for deposit, withdrawal, trading and earn.
Request
Query Parameters
asset string
Comma delimited list of assets to get info on (optional, default all available assets)
Example: XBT,ETH
aclass string
Asset class (optional, default: currency
)
Example: currency
Responses
- 200
Asset info retrieved.
- application/json
- Schema
- Example (from schema)
Schema
result object
property name* AssetInfo
Asset Info
aclass string
Asset Class
altname string
Alternate name
decimals integer
Number of decimal places for record keeping amounts of this asset
display_decimals integer
Number of decimal places shown for display purposes in frontends
collateral_value number
Valuation as margin collateral (if applicable)
status string
Status of asset. Possible values: enabled
, deposit_only
, withdrawal_only
, funding_temporarily_disabled
.
error string[]
{
"error": [],
"result": {
"XXBT": {
"aclass": "currency",
"altname": "XBT",
"decimals": 10,
"display_decimals": 5,
"collateral_value": 1,
"status": "enabled"
},
"ZEUR": {
"aclass": "currency",
"altname": "EUR",
"decimals": 4,
"display_decimals": 2,
"collateral_value": 1,
"status": "enabled"
},
"ZUSD": {
"aclass": "currency",
"altname": "USD",
"decimals": 4,
"display_decimals": 2,
"collateral_value": 1,
"status": "enabled"
}
}
}
Loading...