Update AccountBalanceResponse

This commit is contained in:
Mark Beamer Jr 2019-08-18 17:29:26 -04:00 committed by Niko Storni
parent 8fa28d3d65
commit a7bb3cf336

View file

@ -220,7 +220,12 @@ type AccountListResponse struct {
LBCRegtest []Account `json:"lbc_regtest"`
}
type AccountBalanceResponse string
type AccountBalanceResponse struct {
Available decimal.Decimal `json:"available"`
Reserved decimal.Decimal `json:"reserved"`
ReservedSubtotals *decimal.Decimal `json:"reserved_subtotals"`
Total decimal.Decimal `json:"total"`
}
type AccountCreateResponse struct {
ID string `json:"id"`