Class StakingRewardData
A single staking reward paid to an account, as reported
by the /api/v1/accounts/{id}/rewards mirror-node
endpoint.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public class StakingRewardData
Remarks
Distinct from StakingRewardTransferData, which is the narrower per-transaction form carried inside StakingRewards. The top-level form additionally names the consensus instant at which the reward was paid.
Properties
| Edit this page View SourceAccount
The account that received the staking reward.
Declaration
[JsonPropertyName("account_id")]
public EntityId Account { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
Amount
The amount of the staking reward in tinybars.
Declaration
[JsonPropertyName("amount")]
[JsonConverter(typeof(LongMirrorConverter))]
public long Amount { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Timestamp
The consensus timestamp at which the reward was paid.
Declaration
[JsonPropertyName("timestamp")]
public ConsensusTimeStamp Timestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| ConsensusTimeStamp |