File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 5
5
6
6
package dcrjson
7
7
8
+ // GetAccountBalanceResult models the account data from the getbalance command.
9
+ type GetAccountBalanceResult struct {
10
+ AccountName string `json:"accountname"`
11
+ ImmatureCoinbaseRewards float64 `json:"immaturecoinbaserewards"`
12
+ ImmatureStakeGeneration float64 `json:"immaturestakegeneration"`
13
+ LockedByTickets float64 `json:"lockedbytickets"`
14
+ Spendable float64 `json:"spendable"`
15
+ Total float64 `json:"total"`
16
+ VotingAuthority float64 `json:"votingauthority"`
17
+ }
18
+
19
+ // GetBalanceResult models the data from the getbalance command.
20
+ type GetBalanceResult struct {
21
+ Balances []GetAccountBalanceResult `json:"balances"`
22
+ BlockHash string `json:"blockhash"`
23
+ }
24
+
8
25
// GetTransactionDetailsResult models the details data from the gettransaction command.
9
26
//
10
27
// This models the "short" version of the ListTransactionsResult type, which
You can’t perform that action at this time.
0 commit comments