Class ParticipationKey
Represents a participation key used by the node.
Inherited Members
Namespace: Algorand.Algod.Model
Assembly: Algorand.dll
Syntax
[MessagePackObject(false)]
public class ParticipationKey
Properties
| Edit this page View SourceAddress
Address the key was generated for.
Declaration
[JsonProperty("address", Required = Required.Always)]
[Key("address")]
[Required(AllowEmptyStrings = true)]
public string Address { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EffectiveFirstValid
When registered, this is the first round it may be used.
Declaration
[JsonProperty("effective-first-valid", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Key("effective-first-valid")]
public ulong? EffectiveFirstValid { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
EffectiveLastValid
When registered, this is the last round it may be used.
Declaration
[JsonProperty("effective-last-valid", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Key("effective-last-valid")]
public ulong? EffectiveLastValid { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
Id
The key's ParticipationID.
Declaration
[JsonProperty("id", Required = Required.Always)]
[Key("id")]
[Required(AllowEmptyStrings = true)]
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Key
Key information stored on the account.
Declaration
[JsonProperty("key", Required = Required.Always)]
[Key("key")]
[Required]
public AccountParticipation Key { get; set; }
Property Value
| Type | Description |
|---|---|
| AccountParticipation |
LastBlockProposal
Round when this key was last used to propose a block.
Declaration
[JsonProperty("last-block-proposal", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Key("last-block-proposal")]
public ulong? LastBlockProposal { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
LastStateProof
Round when this key was last used to generate a state proof.
Declaration
[JsonProperty("last-state-proof", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Key("last-state-proof")]
public ulong? LastStateProof { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
LastVote
Round when this key was last used to vote.
Declaration
[JsonProperty("last-vote", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Key("last-vote")]
public ulong? LastVote { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |