Skip to content

Commit 2eeeb1f

Browse files
committed
TzKT v1.16.0: added fields to AttestationReward
1 parent 68ff3d3 commit 2eeeb1f

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

tzkt/data/operations.go

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -586,14 +586,18 @@ type Baking struct {
586586

587587
// AttestationReward -
588588
type AttestationReward struct {
589-
Type string `json:"type"`
590-
ID uint64 `json:"id"`
591-
Level uint64 `json:"level"`
592-
Timestamp time.Time `json:"timestamp"`
593-
Block string `json:"block"`
594-
Baker *Address `json:"baker"`
595-
Expected int64 `json:"expected"`
596-
Quote *Quote `json:"quote,omitempty"`
589+
Type string `json:"type"`
590+
ID uint64 `json:"id"`
591+
Level uint64 `json:"level"`
592+
Timestamp time.Time `json:"timestamp"`
593+
Block string `json:"block"`
594+
Baker *Address `json:"baker"`
595+
Expected int64 `json:"expected"`
596+
RewardDelegated int64 `json:"rewardDelegated"`
597+
RewardStakedOwn int64 `json:"rewardStakedOwn"`
598+
RewardStakedEdge int64 `json:"rewardStakedEdge"`
599+
RewardStakedShared int64 `json:"rewardStakedShared"`
600+
Quote *Quote `json:"quote,omitempty"`
597601
}
598602

599603
// RevelationPenalty -

0 commit comments

Comments
 (0)