The Balance object
The shape of a balance wherever the API returns one.
Every endpoint that returns a balance returns this shape, wrapped in a data envelope.
Attributes
currency
string · always presentThe asset code - BTC, USDT, USDC.
amount
string · always presentThe balance as a decimal string with the asset's full decimal places ("120.500000").
amount_minor
string · always presentThe same balance in minor units. Use this for arithmetic.
{
"currency": "USDT",
"amount": "120.500000",
"amount_minor": "120500000"
}