@@ -7,44 +7,44 @@ type Account struct {
77 // Address the account public key
88 Address string `json:"address"`
99
10- // Amount (algo) total number of MicroAlgos in the account
10+ // Amount total number of MicroAlgos in the account
1111 Amount uint64 `json:"amount"`
1212
1313 // AmountWithoutPendingRewards specifies the amount of MicroAlgos in the account,
1414 // without the pending rewards.
1515 AmountWithoutPendingRewards uint64 `json:"amount-without-pending-rewards"`
1616
17- // AppsLocalState (appl) applications local data stored in this account.
17+ // AppsLocalState application local data stored in this account.
1818 // Note the raw object uses `map[int] -> AppLocalState` for this type.
1919 AppsLocalState []ApplicationLocalState `json:"apps-local-state,omitempty"`
2020
21- // AppsTotalExtraPages (teap) the sum of all extra application program pages for
22- // this account.
21+ // AppsTotalExtraPages the sum of all extra application program pages for this
22+ // account.
2323 AppsTotalExtraPages uint64 `json:"apps-total-extra-pages,omitempty"`
2424
25- // AppsTotalSchema (tsch) stores the sum of all of the local schemas and global
26- // schemas in this account.
25+ // AppsTotalSchema the sum of all of the local schemas and global schemas in this
26+ // account.
2727 // Note: the raw account uses `StateSchema` for this type.
2828 AppsTotalSchema ApplicationStateSchema `json:"apps-total-schema,omitempty"`
2929
30- // Assets (asset) assets held by this account.
30+ // Assets assets held by this account.
3131 // Note the raw object uses `map[int] -> AssetHolding` for this type.
3232 Assets []AssetHolding `json:"assets,omitempty"`
3333
34- // AuthAddr (spend) the address against which signing should be checked. If empty,
35- // the address of the current account is used. This field can be updated in any
34+ // AuthAddr the address against which signing should be checked. If empty, the
35+ // address of the current account is used. This field can be updated in any
3636 // transaction by setting the RekeyTo field.
3737 AuthAddr string `json:"auth-addr,omitempty"`
3838
3939 // ClosedAtRound round during which this account was most recently closed.
4040 ClosedAtRound uint64 `json:"closed-at-round,omitempty"`
4141
42- // CreatedApps (appp) parameters of applications created by this account including
43- // app global data.
42+ // CreatedApps parameters of applications created by this account including app
43+ // global data.
4444 // Note: the raw account uses `map[int] -> AppParams` for this type.
4545 CreatedApps []Application `json:"created-apps,omitempty"`
4646
47- // CreatedAssets (apar) parameters of assets created by this account.
47+ // CreatedAssets parameters of assets created by this account.
4848 // Note: the raw account uses `map[int] -> Asset` for this type.
4949 CreatedAssets []Asset `json:"created-assets,omitempty"`
5050
@@ -54,33 +54,43 @@ type Account struct {
5454 // Deleted whether or not this account is currently closed.
5555 Deleted bool `json:"deleted,omitempty"`
5656
57+ // IncentiveEligible can the account receive block incentives if its balance is in
58+ // range at proposal time.
59+ IncentiveEligible bool `json:"incentive-eligible,omitempty"`
60+
61+ // LastHeartbeat the round in which this account last went online, or explicitly
62+ // renewed their online status.
63+ LastHeartbeat uint64 `json:"last-heartbeat,omitempty"`
64+
65+ // LastProposed the round in which this account last proposed the block.
66+ LastProposed uint64 `json:"last-proposed,omitempty"`
67+
5768 // Participation accountParticipation describes the parameters used by this account
5869 // in consensus protocol.
5970 Participation AccountParticipation `json:"participation,omitempty"`
6071
6172 // PendingRewards amount of MicroAlgos of pending rewards in this account.
6273 PendingRewards uint64 `json:"pending-rewards"`
6374
64- // RewardBase (ebase) used as part of the rewards computation. Only applicable to
65- // accounts which are participating.
75+ // RewardBase used as part of the rewards computation. Only applicable to accounts
76+ // which are participating.
6677 RewardBase uint64 `json:"reward-base,omitempty"`
6778
68- // Rewards (ern) total rewards of MicroAlgos the account has received, including
69- // pending rewards.
79+ // Rewards total rewards of MicroAlgos the account has received, including pending
80+ // rewards.
7081 Rewards uint64 `json:"rewards"`
7182
7283 // Round the round for which this information is relevant.
7384 Round uint64 `json:"round"`
7485
75- // SigType indicates what type of signature is used by this account, must be one
76- // of:
86+ // SigType the type of signature used by this account, must be one of:
7787 // * sig
7888 // * msig
7989 // * lsig
8090 // * or null if unknown
8191 SigType string `json:"sig-type,omitempty"`
8292
83- // Status (onl) delegation status of the account's MicroAlgos
93+ // Status voting status of the account's MicroAlgos
8494 // * Offline - indicates that the associated account is delegated.
8595 // * Online - indicates that the associated account used as part of the delegation
8696 // pool.
0 commit comments