Class ConsensusNodeData
Represents consensus node information returned from the mirror node.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public class ConsensusNodeData
Properties
| Edit this page View SourceAccount
The consensus node's account ID (for payment purposes).
Declaration
[JsonPropertyName("node_account_id")]
public EntityId Account { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
CertificateHash
hex encoded hash of the node's TLS certificate
Declaration
[JsonPropertyName("node_cert_hash")]
public string CertificateHash { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Description
Memo associated with the address book
Declaration
[JsonPropertyName("description")]
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Endpoints
A list of gRPC endpoints this gossip node can be reached through.
Declaration
[JsonPropertyName("service_endpoints")]
public GrpcEndpointData[] Endpoints { get; set; }
Property Value
| Type | Description |
|---|---|
| GrpcEndpointData[] |
File
File ID associated with this node.
Declaration
[JsonPropertyName("file_id")]
public EntityId File { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
MaximumStake
The maximum stake (rewarded or not rewarded) this node can have as consensus weight
Declaration
[JsonPropertyName("max_stake")]
[JsonConverter(typeof(LongMirrorConverter))]
public long MaximumStake { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Memo
Memo associated with this node.
Declaration
[JsonPropertyName("memo")]
public string Memo { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MinimumStake
The minimum stake (rewarded or not rewarded) this node must reach before having non-zero consensus weight.
Declaration
[JsonPropertyName("min_stake")]
[JsonConverter(typeof(LongMirrorConverter))]
public long MinimumStake { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
NodeId
The Node's ID Number
Declaration
[JsonPropertyName("node_id")]
[JsonConverter(typeof(LongMirrorConverter))]
public long NodeId { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
PublicKey
hex encoded X509 RSA public key used to verify stream file signature
Declaration
[JsonPropertyName("public_key")]
public string PublicKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RewardRateStart
The total tinybars earned by this node per whole hbar in the last staking period
Declaration
[JsonPropertyName("reward_rate_start")]
[JsonConverter(typeof(LongMirrorConverter))]
public long RewardRateStart { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Stake
The node consensus weight at the beginning of the staking period
Declaration
[JsonPropertyName("stake")]
[JsonConverter(typeof(LongMirrorConverter))]
public long Stake { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
StakeNotRewarded
The sum (balance + stakedToMe) for all accounts staked to this node with declineReward=true at the beginning of the staking period
Declaration
[JsonPropertyName("stake_not_rewarded")]
[JsonConverter(typeof(LongMirrorConverter))]
public long StakeNotRewarded { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
StakeRewarded
The sum (balance + staked) for all accounts staked to the node that are not declining rewards at the beginning of the staking period
Declaration
[JsonPropertyName("stake_rewarded")]
[JsonConverter(typeof(LongMirrorConverter))]
public long StakeRewarded { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
ValidRange
The range of time this data record is valid for.
Declaration
[JsonPropertyName("timestamp")]
public TimestampRangeData ValidRange { get; set; }
Property Value
| Type | Description |
|---|---|
| TimestampRangeData |