Get asset balances
GET {{baseUrl}}/ledgers/:ledgerId/balances/assets
Retrieves the total asset balances in the system.
The total asset balance is the sum of all deposits substracted by all withdrawals.
The parameter date
can be used to query the balance for a given point in time.
Allowed roles: VIEWER
and EDITOR
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
date | string | (Optional query) Include transactions only until given datetime (inclusive) in the balance calculation |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
tangany-version | number | (Required) API version | |
Accept | string |
RESPONSES
status: OK
{"date":"2022-10-05T14:48:00.000Z","balances":{"consequat_71f":{"bookedBalance":"0.00548","availableBalance":"0.00548"}}}