mirror of
https://github.com/muun/recovery.git
synced 2025-11-13 23:31:38 -05:00
Release v0.3.0
This commit is contained in:
14
vendor/github.com/btcsuite/btcd/btcjson/walletsvrresults.go
generated
vendored
14
vendor/github.com/btcsuite/btcd/btcjson/walletsvrresults.go
generated
vendored
@@ -159,3 +159,17 @@ type GetBestBlockResult struct {
|
||||
Hash string `json:"hash"`
|
||||
Height int32 `json:"height"`
|
||||
}
|
||||
|
||||
// BalanceDetailsResult models the details data from the `getbalances` command.
|
||||
type BalanceDetailsResult struct {
|
||||
Trusted float64 `json:"trusted"`
|
||||
UntrustedPending float64 `json:"untrusted_pending"`
|
||||
Immature float64 `json:"immature"`
|
||||
Used *float64 `json:"used"`
|
||||
}
|
||||
|
||||
// GetBalancesResult models the data returned from the getbalances command.
|
||||
type GetBalancesResult struct {
|
||||
Mine BalanceDetailsResult `json:"mine"`
|
||||
WatchOnly *BalanceDetailsResult `json:"watchonly"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user