Class Block
Block information.
Definition:
data/bookkeeping/block.go : Block
Inherited Members
Namespace: Algorand.Algod.Model
Assembly: Algorand.dll
Syntax
[MessagePackObject(false)]
public class Block
Properties
| Edit this page View SourceAbsentParticipationAccounts
[partupdabs] AbsentParticipationAccounts.
Declaration
[JsonProperty("partupdabs")]
[Key("partupdabs")]
public Address[]? AbsentParticipationAccounts { get; set; }
Property Value
| Type | Description |
|---|---|
| Address[] |
Bonus
[bi] Bonus
Declaration
[JsonProperty("bi")]
[Key("bi")]
public ulong? Bonus { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
CurrentProtocol
[proto] The current protocol version.
Declaration
[JsonProperty("proto")]
[Required(AllowEmptyStrings = true)]
[Key("proto")]
public string? CurrentProtocol { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ExpiredParticipationAccounts
[partupdrmv] ExpiredParticipationAccounts.
Declaration
[JsonProperty("partupdrmv")]
[Key("partupdrmv")]
public Address[]? ExpiredParticipationAccounts { get; set; }
Property Value
| Type | Description |
|---|---|
| Address[] |
FeeSink
[fees] accepts transaction fees, it can only spend to the incentive pool.
Declaration
[JsonProperty("fees")]
[Required(AllowEmptyStrings = true)]
[Key("fees")]
public Address? FeeSink { get; set; }
Property Value
| Type | Description |
|---|---|
| Address |
FeesCollected
[fc] Fees Collected
Declaration
[JsonProperty("fc")]
[Key("fc")]
public ulong? FeesCollected { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
GenesisHash
[gh] hash to which this block belongs.
Declaration
[JsonProperty("gh")]
[Required(AllowEmptyStrings = true)]
[Key("gh")]
public byte[]? GenesisHash { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
GenesisId
[gen] ID to which this block belongs.
Declaration
[JsonProperty("gen")]
[Required(AllowEmptyStrings = true)]
[Key("gen")]
public string? GenesisId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NextBefore
[nextbefore] nextProtocolVoteBefore.
Declaration
[JsonProperty("nextbefore")]
[Key("nextbefore")]
public ulong? NextBefore { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
NextProtocol
[nextproto] Next protocol version.
Declaration
[JsonProperty("nextproto")]
[Required(AllowEmptyStrings = true)]
[Key("nextproto")]
public string? NextProtocol { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NextSwitch
[nextswitch] nextProtocolSwitchOn.
Declaration
[JsonProperty("nextswitch")]
[Key("nextswitch")]
public ulong? NextSwitch { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
NextYes
[nextyes] nextProtocolApprovals.
Declaration
[JsonProperty("nextyes")]
[Key("nextyes")]
public ulong? NextYes { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
PreviousBlockHash
[prev] Previous block hash.
Declaration
[JsonProperty("prev")]
[JsonConverter(typeof(BlockHashConverter))]
[Key("prev")]
public byte[]? PreviousBlockHash { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Proposer
[prp] proposer.
Declaration
[JsonProperty("prp")]
[Required(AllowEmptyStrings = true)]
[Key("prp")]
public Address? Proposer { get; set; }
Property Value
| Type | Description |
|---|---|
| Address |
ProposerPayout
[pp] Proposer Payout
Declaration
[JsonProperty("pp")]
[Key("pp")]
public ulong? ProposerPayout { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
RewardsCalculationRound
[rwcalr] number of leftover MicroAlgos after the distribution of rewards-rate MicroAlgos for every reward unit in the next round.
Declaration
[JsonProperty("rwcalr")]
[Key("rwcalr")]
public ulong? RewardsCalculationRound { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
RewardsLevel
[earn] How many rewards, in MicroAlgos, have been distributed to each RewardUnit of MicroAlgos since genesis.
Declaration
[JsonProperty("earn")]
[Key("earn")]
public ulong? RewardsLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
RewardsPool
[rwd] accepts periodic injections from the fee-sink and continually redistributes them as rewards.
Declaration
[JsonProperty("rwd")]
[Required(AllowEmptyStrings = true)]
[Key("rwd")]
public Address? RewardsPool { get; set; }
Property Value
| Type | Description |
|---|---|
| Address |
RewardsRate
[rate] Number of new MicroAlgos added to the participation stake from rewards at the next round.
Declaration
[JsonProperty("rate")]
[Key("rate")]
public ulong? RewardsRate { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
RewardsResidue
[frac] Number of leftover MicroAlgos after the distribution of RewardsRate/rewardUnits MicroAlgos for every reward unit in the next round.
Declaration
[JsonProperty("frac")]
[Key("frac")]
public ulong? RewardsResidue { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
Round
[rnd] Current round on which this block was appended to the chain.
Declaration
[JsonProperty("rnd")]
[Key("rnd")]
public ulong? Round { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
Seed
[seed] Sortition seed.
Declaration
[JsonProperty("seed")]
[Required(AllowEmptyStrings = true)]
[Key("seed")]
public byte[]? Seed { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Sha256Commitment
[txn256] Sha256Commitment.
Declaration
[JsonProperty("txn256")]
[Required(AllowEmptyStrings = true)]
[Key("txn256")]
public byte[]? Sha256Commitment { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
StateproofTracking
[spt] StateProofType 2 StateproofTracking.
Declaration
[JsonProperty("spt")]
[Key("spt")]
[JsonConverter(typeof(UlongDictionaryConverterJson<StateProofTrackingData>))]
public IDictionary<ulong, StateProofTrackingData>? StateproofTracking { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<ulong, StateProofTrackingData> |
Timestamp
[ts] Block creation timestamp in seconds since eposh
Declaration
[JsonProperty("ts")]
[Key("ts")]
public ulong? Timestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
Transactions
[txns] list of transactions corresponding to a given round.
Declaration
[JsonProperty("txns", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Key("txns")]
public ICollection<SignedTransaction>? Transactions { get; set; }
Property Value
| Type | Description |
|---|---|
| ICollection<SignedTransaction> |
TransactionsRoot
[txn] TransactionsRoot authenticates the set of transactions appearing in the block. More specifically, it's the root of a merkle tree whose leaves are the block's Txids, in lexicographic order. For the empty block, it's 0. Note that the TxnRoot does not authenticate the signatures on the transactions, only the transactions themselves. Two blocks with the same transactions but in a different order and with different signatures will have the same TxnRoot.
Declaration
[JsonProperty("txn")]
[Required(AllowEmptyStrings = true)]
[Key("txn")]
public byte[]? TransactionsRoot { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
TxnCounter
[tc] TxnCounter counts the number of transactions committed in the ledger, from the time at which support for this feature was introduced.
Specifically, TxnCounter is the number of the next transaction that will be committed after this block. It is 0 when no transactions have ever been committed (since TxnCounter started being supported).
Declaration
[JsonProperty("tc", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Key("tc")]
public ulong? TxnCounter { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
UpgradeApprove
[upgradeyes] upgradeyes.
Declaration
[JsonProperty("upgradeyes")]
[Key("upgradeyes")]
public bool? UpgradeApprove { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
UpgradeDelay
[upgradedelay] UpgradeDelay.
Declaration
[JsonProperty("upgradedelay")]
[Key("upgradedelay")]
public ulong? UpgradeDelay { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
UpgradePropose
[upgradeprop] UpgradePropose.
Declaration
[JsonProperty("upgradeprop")]
[Required(AllowEmptyStrings = true)]
[Key("upgradeprop")]
public string? UpgradePropose { get; set; }
Property Value
| Type | Description |
|---|---|
| string |