Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StakingRecord ¶
type StakingRecord struct { Type string `json:"type" validate:"required"` Status string `json:"status"` Identity string `json:"identity" validate:"required"` Stake string `json:"stake" validate:"required"` Rewards string `json:"rewards" validate:"required"` Delegate string `json:"delegate"` AcceptingDelegates string `json:"acceptingDelegates"` EntryHash string `json:"entryHash"` Balance int64 `json:"balance"` }
func ParseStakingRecord ¶
func ParseStakingRecord(entry []byte) (*StakingRecord, error)
ParseStakingRecord parses Accumulate staking entry data into struct and validates it
type StakingRecords ¶
type StakingRecords struct {
Items []*StakingRecord `json:"items"`
}
Click to show internal directories.
Click to hide internal directories.