Get balance information via API
Before you create an exchange, you may want to check if you have enough assets in your account.
For this purpose you can use the following endpoint: Get the account (POST <<baseUrl2>>/api/v1/account
)
- In the response you get the following data:
{ "account": "string", "name": "string", "ownerId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "balances": [ { "currency": "BTC", "amount": 0 } ] }
Information by currency is contained in balances
field. Here you can find total available balance amount
by currency currency
.
Updated 4 months ago