Class StakingInfo
The staking information returned from the CryptoGetInfo or ContractGetInfo queries.
Implements
Inherited Members
Namespace: Hiero
Assembly: Hiero.dll
Syntax
public sealed record StakingInfo : IEquatable<StakingInfo>
Properties
| Edit this page View SourceDeclined
If true, the account or contract has declined to receive a staking reward
Declaration
public bool Declined { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Node
The ID of the Hedera node this account or contract is directly staking to. A value of 0 is ambiguous: it is reported for staking to node 0 and also when this account or contract is not staking to a node (proxy staking, or not staking at all). Check Proxy to detect proxy staking.
Declaration
public long Node { get; }
Property Value
| Type | Description |
|---|---|
| long |
PendingReward
The pending amount of tinybars that will be received at the next reward payout.
Declaration
public long PendingReward { get; }
Property Value
| Type | Description |
|---|---|
| long |
PeriodStart
The timestamp at which the most recent reward was earned or the staking configuration for this entity was updated, whichever is later.
Declaration
public ConsensusTimeStamp PeriodStart { get; }
Property Value
| Type | Description |
|---|---|
| ConsensusTimeStamp |
Proxied
The total number of tinybars that are proxy staked to this account or contract.
Declaration
public long Proxied { get; }
Property Value
| Type | Description |
|---|---|
| long |
Proxy
The address of the account or contract that this account or contract is proxy staking to, or
None
if it is directly staking to a Hedera node.
Declaration
public EntityId Proxy { get; }
Property Value
| Type | Description |
|---|---|
| EntityId |