Skip to content

Commit

Permalink
add Account fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Thykof committed Nov 16, 2023
1 parent fd9329a commit 0c7b747
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/wallet/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ type Account struct {
// account's nickname.
// Required: true
Nickname string `json:"nickname"`

// account's balance.
CandidateBalance string `json:"candidateBalance"`

// account's status: ok or corrupted.
Status string `json:"status,omitempty"`
}

func Fetch(nickname string) (*Account, error) {
Expand Down

0 comments on commit 0c7b747

Please sign in to comment.