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

KeyDatatypeRequiredDescription
datestring(Optional query) Include transactions only until given datetime (inclusive) in the balance calculation

HEADERS

KeyDatatypeRequiredDescription
tangany-versionnumber(Required) API version
Acceptstring

RESPONSES

status: OK

{"date":"2022-10-05T14:48:00.000Z","balances":{"consequat_71f":{"bookedBalance":"0.00548","availableBalance":"0.00548"}}}