• Api Documentation
Show / Hide Table of Contents
  • AVM.ClientGenerator
    • ClientGeneratorAnalyzer
    • ProxyBase
    • ProxyException
    • SignatureBase
  • AVM.ClientGenerator.ABI.ARC32
    • AbiMethodDefaultArgument
    • AppDescription
    • AppDescriptionConverter
    • ArgumentDefaultSource
    • CallConfig
    • CallConfigSpec
    • ConstantDefaultArgument
    • DefaultArgumentConverter
    • DefaultArgumentSpec
    • HintSpec
    • StateDefaultArgument
    • StateDescription
    • StorageElement
    • StorageSection
  • AVM.ClientGenerator.ABI.ARC4
    • ArgumentDescription
    • ContractDescription
    • MethodDescription
    • NetworkAppId
    • ReturnTypeDescription
  • AVM.ClientGenerator.ABI.ARC4.Types
    • Address
    • Application
    • Asset
    • Bool
    • Byte
    • FixedArray<T>
    • String
    • StructArray<T>
    • Tuple
    • UFixed
    • UInt
    • UInt128
    • UInt16
    • UInt24
    • UInt256
    • UInt32
    • UInt48
    • UInt512
    • UInt64
    • VariableArray<T>
    • WireType
  • AVM.ClientGenerator.ABI.ARC56
    • AppDescriptionArc56
    • BareActions
    • CompilerInfo
    • CompilerVersion
    • ContractState
    • DefaultValue
    • Event
    • EventArgument
    • Method
    • MethodActions
    • MethodArgument
    • MethodReturn
    • NetworkInfo
    • ProgramSource
    • ProgramSourceInfo
    • RecommendationBox
    • Recommendations
    • Schema
    • SchemaValues
    • ScratchVariable
    • SourceInfo
    • SourceInfoArgument
    • StorageKey
    • StorageMap
    • StructField
    • TemplateVariable
  • AVM.ClientGenerator.Clients
    • ContractUtilities
    • ProxyException
    • ProxyGenerator
    • SmartSignatureUtilities
  • AVM.ClientGenerator.Compiler
    • TealTypeUtils
    • Utilities
  • AVM.ClientGenerator.Core
    • AccountReference
    • AppCall
    • AppCallTransactionReference
    • AssetAccept
    • AssetClawback
    • AssetClawbackTransactionReference
    • AssetConfiguration
    • AssetConfigurationTransactionReference
    • AssetFreeze
    • AssetFreezeTransactionReference
    • AssetReference
    • AssetTransfer
    • AssetTransferTransactionReference
    • BigIntegerExtensions
    • ByteArrayExtensions
    • Constants
    • IAlgorandCommonPredefineds
    • ICompiledContract
    • ICompiledSignature
    • ISmartContractPredefineds
    • ISmartSignaturePredefineds
    • InnerTransaction
    • IntegerExtensions
    • IntentionallyNotImplementedException
    • KeyRegistration
    • KeyRegistrationTransactionReference
    • OnCompleteType
    • Payment
    • PaymentTransactionReference
    • SmartContract
    • SmartContractLibrary
    • SmartContractReference
    • SmartSignature
    • StorageType
    • StringExtensions
    • TransactionReference
    • VariableType
  • AVM.ClientGenerator.Core.Attributes
    • ABIFixedSizeAttribute
    • ABIStructAttribute
    • ABITypeDecoratorAttribute
    • InnerTransactionCallAttribute
    • SmartContractMethodAttribute
    • SmartSignatureMethodAttribute
    • StorageAttribute
  • AVM.ClientGenerator.Optimisers
    • CompiledLine
    • ICompilerMemento
    • IOptimiser
  • Algorand
    • Address
    • ApiException
    • ApiException<TResult>
    • Digest
    • HttpClientConfigurator
    • LogicsigSignature
    • MultisigAddress
    • MultisigSignature
    • MultisigSubsig
    • ParticipationPublicKey
    • Signature
    • TEALProgram
    • TxGroup
    • VRFPublicKey
  • Algorand.AVM.ClientGenerator.ABI.ARC32
    • SourceDescription
  • Algorand.AVM.ClientGenerator.ABI.ARC56
    • AVMObjectType
    • ClientGeneratorARC56
  • Algorand.AVM.ClientGenerator.Extensions
    • StringExtensions
  • Algorand.Algod
    • AlgodClient
    • AlgodConfiguration
    • DefaultApi
    • DefaultApi.ObjectResponseResult<T>
    • FundAccount
    • IAlgodClient
    • IDefaultApi
  • Algorand.Algod.Model
    • Account
    • AccountApplicationResource
    • AccountApplicationResponse
    • AccountApplicationsInformationResponse
    • AccountAssetHolding
    • AccountAssetResponse
    • AccountAssetsInformationResponse
    • AccountBalanceRecord
    • AccountDeltas
    • AccountParticipation
    • AccountSigType
    • AccountStateDelta
    • AccountTotals
    • AppCallLogs
    • AppResourceRecord
    • Application
    • ApplicationInitialStates
    • ApplicationKVStorage
    • ApplicationLocalReference
    • ApplicationLocalState
    • ApplicationParams
    • ApplicationStateOperation
    • ApplicationStateSchema
    • Asset
    • AssetHolding
    • AssetHoldingReference
    • AssetParams
    • AssetResourceRecord
    • AvmKeyValue
    • AvmValue
    • Block
    • BlockCert
    • BlockCertProp
    • BlockCertVote
    • BlockCertVoteCred
    • BlockCertVoteSig
    • BlockHashConverter
    • BlockHashResponse
    • BlockHeaderResponse
    • BlockLogsResponse
    • BlockTxidsResponse
    • Box
    • BoxDescriptor
    • BoxRef
    • BoxReference
    • BoxesResponse
    • BuildVersion
    • CertifiedBlock
    • CompileResponse
    • DisassembleResponse
    • DryrunRequest
    • DryrunResponse
    • DryrunSource
    • DryrunState
    • DryrunTxnResult
    • ErrorResponse
    • EvalDelta
    • EvalDeltaKeyValue
    • FileParameter
    • Format
    • Genesis
    • GenesisAllocation
    • GetBlockTimeStampOffsetResponse
    • GetSyncRoundResponse
    • HeartBeat
    • KvDelta
    • LedgerStateDelta
    • LedgerStateDeltaForTransactionGroup
    • LightBlockHeaderProof
    • ModifiedApp
    • ModifiedAsset
    • NodeStatusResponse
    • ParticipationKey
    • PendingTransactions
    • PostTransactionsResponse
    • ProofResponse
    • ReturnedTransaction
    • ScratchChange
    • SimulateInitialStates
    • SimulateRequest
    • SimulateRequestTransactionGroup
    • SimulateResponse
    • SimulateTraceConfig
    • SimulateTransactionGroupResult
    • SimulateTransactionResult
    • SimulateUnnamedResourcesAccessed
    • SimulationEvalOverrides
    • SimulationOpcodeTraceUnit
    • SimulationTransactionExecTrace
    • StateDelta
    • StateProof
    • StateProofMessage
    • StateProofTrackingData
    • SupplyResponse
    • TealKeyValue
    • TealValue
    • TransactionGroupLedgerStateDeltasForRoundResponse
    • TransactionParametersResponse
    • TransactionProofResponse
    • TxLease
    • Version
  • Algorand.Algod.Model.Agreement
    • ProposalValue
    • RawVote
    • Vote
  • Algorand.Algod.Model.Converters.Json
    • BlockCertVoteSigConverterJson
    • ParticipationPublicKeyConverterJson
    • UlongDictionaryConverterJson<T>
    • VRFPublicKeyConverterJson
    • ValueDeltaBytesConverterJson
  • Algorand.Algod.Model.Converters.MsgPack
    • AddressFormatterMsgPack
    • Deserializer
    • DigestFormatterMsgPack
    • NoDefaultsFormatter<T>
    • NullableStringFormatterMsgPack
    • ParticipationPublicKeyFormatterMsgPack
    • TEALProgramFormatterMsgPack
    • VRFPublicKeyFormatterMsgPack
    • ValueDeltaFormatterMsgPack
  • Algorand.Algod.Model.Exceptions
    • UnnamedResourceException
  • Algorand.Algod.Model.Transactions
    • ApplicationCallTransaction
    • ApplicationClearStateTransaction
    • ApplicationCloseOutTransaction
    • ApplicationCreateTransaction
    • ApplicationDeleteTransaction
    • ApplicationNoopTransaction
    • ApplicationOptInTransaction
    • ApplicationUpdateTransaction
    • AssetAcceptTransaction
    • AssetChangeTransaction
    • AssetClawbackTransaction
    • AssetCloseTransaction
    • AssetConfigurationTransaction
    • AssetCreateTransaction
    • AssetDestroyTransaction
    • AssetFreezeTransaction
    • AssetMovementsTransaction
    • AssetTransferTransaction
    • AssetUpdateTransaction
    • HeartBeatTransaction
    • IReturnableTransaction
    • KeyRegisterOfflineTransaction
    • KeyRegisterOnlineTransaction
    • KeyRegistrationTransaction
    • OnCompletion
    • PaymentTransaction
    • SignedTransaction
    • SignedTransactionDetail
    • StateProofTransaction
    • StateSchema
    • Transaction
    • TransactionsExtensions
    • ValueDelta
  • Algorand.Algod.Test
    • TestHttpMessageHandler
  • Algorand.Crypto
    • KeyPair
  • Algorand.Gossip
    • DnsSrvRecord
    • DnsSrvResolver
    • GossipHttpClient
    • GossipHttpConfiguration
    • GossipNetwork
    • GossipNodePurpose
    • GossipWebsocketClient
    • GossipWebsocketClient.AgreementVoteReceivedEventHandler
    • GossipWebsocketClient.MsgDigestSkipReceivedEventHandler
    • GossipWebsocketClient.MsgOfInterestReceivedEventHandler
    • GossipWebsocketClient.NetPrioResponseReceivedEventHandler
    • GossipWebsocketClient.PingReceivedEventHandler
    • GossipWebsocketClient.PingReplyReceivedEventHandler
    • GossipWebsocketClient.ProposalPayloadReceivedEventHandler
    • GossipWebsocketClient.StateProofSigReceivedEventHandler
    • GossipWebsocketClient.TopicMsgRespReceivedEventHandler
    • GossipWebsocketClient.TransactionReceivedEventHandler
    • GossipWebsocketClient.UniEnsBlockReqReceivedEventHandler
    • GossipWebsocketClient.VoteBundleReceivedEventHandler
    • GossipWebsocketClientConfiguration
  • Algorand.Gossip.Model
    • Tag
    • Topic
    • Topics
  • Algorand.Indexer
    • CommonApi
    • CommonApi.ObjectResponseResult<T>
    • ICommonApi
    • ILookupApi
    • ISearchApi
    • LookupApi
    • LookupApi.ObjectResponseResult<T>
    • SearchApi
    • SearchApi.ObjectResponseResult<T>
  • Algorand.Indexer.Model
    • Account
    • AccountParticipation
    • AccountResponse
    • AccountStateDelta
    • AccountsResponse
    • Application
    • ApplicationLocalState
    • ApplicationLocalStatesResponse
    • ApplicationLogData
    • ApplicationLogsResponse
    • ApplicationParams
    • ApplicationResponse
    • ApplicationStateSchema
    • ApplicationsResponse
    • Asset
    • AssetBalancesResponse
    • AssetHolding
    • AssetHoldingsResponse
    • AssetParams
    • AssetResponse
    • AssetsResponse
    • Block
    • BlockRewards
    • BlockUpgradeState
    • BlockUpgradeVote
    • ErrorResponse
    • EvalDelta
    • EvalDeltaKeyValue
    • HealthCheck
    • MiniAssetHolding
    • StateSchema
    • TealKeyValue
    • TealValue
    • Transaction
    • TransactionApplication
    • TransactionAssetConfig
    • TransactionAssetFreeze
    • TransactionAssetTransfer
    • TransactionKeyreg
    • TransactionPayment
    • TransactionResponse
    • TransactionSignature
    • TransactionSignatureLogicsig
    • TransactionSignatureMultisig
    • TransactionSignatureMultisigSubsignature
    • TransactionsResponse
  • Algorand.KMD
    • APIV1DELETEKeyResponse
    • APIV1DELETEMultisigResponse
    • APIV1GETWalletsResponse
    • APIV1POSTKeyExportResponse
    • APIV1POSTKeyImportResponse
    • APIV1POSTKeyListResponse
    • APIV1POSTKeyResponse
    • APIV1POSTMasterKeyExportResponse
    • APIV1POSTMultisigExportResponse
    • APIV1POSTMultisigImportResponse
    • APIV1POSTMultisigListResponse
    • APIV1POSTMultisigProgramSignResponse
    • APIV1POSTMultisigTransactionSignResponse
    • APIV1POSTProgramSignResponse
    • APIV1POSTTransactionSignResponse
    • APIV1POSTWalletInfoResponse
    • APIV1POSTWalletInitResponse
    • APIV1POSTWalletReleaseResponse
    • APIV1POSTWalletRenameResponse
    • APIV1POSTWalletRenewResponse
    • APIV1POSTWalletResponse
    • APIV1Wallet
    • APIV1WalletHandle
    • Api
    • Api.ObjectResponseResult<T>
    • ApiException
    • ApiException<TResult>
    • CreateWalletRequest
    • DeleteKeyRequest
    • DeleteMultisigRequest
    • ExportKeyRequest
    • ExportMasterKeyRequest
    • ExportMultisigRequest
    • GenerateKeyRequest
    • IApi
    • ImportKeyRequest
    • ImportMultisigRequest
    • InitWalletHandleTokenRequest
    • ListKeysRequest
    • ListMultisigRequest
    • MultisigSig
    • MultisigSubsig
    • ReleaseWalletHandleTokenRequest
    • RenameWalletRequest
    • RenewWalletHandleTokenRequest
    • SignMultisigRequest
    • SignProgramMultisigRequest
    • SignProgramRequest
    • SignTransactionRequest
    • VersionsResponse
    • WalletInfoRequest
  • Algorand.Utils
    • ByteConstBlock
    • BytesConverter
    • Digester
    • Encoder
    • IntConstBlock
    • Logic
    • Logic.Uvarint
    • Mnemonic
    • MultisigAddressConverter
    • OrderedContractResolver
    • ProgramData
    • ReturnedTransactionConverter
    • SourceMap
    • SourceMap.VLQDecoder
    • Utils
    • VarintResult
    • Wordlist
  • Algorand.Utils.Crypto
    • FixedSecureRandom

Class Block

Block information.

Definition:
data/bookkeeping/block.go : Block

Inheritance
object
Block
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Algorand.Algod.Model
Assembly: Algorand.dll
Syntax
[MessagePackObject(false)]
public class Block

Properties

| Edit this page View Source

AbsentParticipationAccounts

[partupdabs] AbsentParticipationAccounts.

Declaration
[JsonProperty("partupdabs")]
[Key("partupdabs")]
public Address[]? AbsentParticipationAccounts { get; set; }
Property Value
Type Description
Address[]
| Edit this page View Source

Bonus

[bi] Bonus

Declaration
[JsonProperty("bi")]
[Key("bi")]
public ulong? Bonus { get; set; }
Property Value
Type Description
ulong?
| Edit this page View Source

CurrentProtocol

[proto] The current protocol version.

Declaration
[JsonProperty("proto")]
[Required(AllowEmptyStrings = true)]
[Key("proto")]
public string? CurrentProtocol { get; set; }
Property Value
Type Description
string
| Edit this page View Source

ExpiredParticipationAccounts

[partupdrmv] ExpiredParticipationAccounts.

Declaration
[JsonProperty("partupdrmv")]
[Key("partupdrmv")]
public Address[]? ExpiredParticipationAccounts { get; set; }
Property Value
Type Description
Address[]
| Edit this page View Source

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
| Edit this page View Source

FeesCollected

[fc] Fees Collected

Declaration
[JsonProperty("fc")]
[Key("fc")]
public ulong? FeesCollected { get; set; }
Property Value
Type Description
ulong?
| Edit this page View Source

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[]
| Edit this page View Source

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
| Edit this page View Source

NextBefore

[nextbefore] nextProtocolVoteBefore.

Declaration
[JsonProperty("nextbefore")]
[Key("nextbefore")]
public ulong? NextBefore { get; set; }
Property Value
Type Description
ulong?
| Edit this page View Source

NextProtocol

[nextproto] Next protocol version.

Declaration
[JsonProperty("nextproto")]
[Required(AllowEmptyStrings = true)]
[Key("nextproto")]
public string? NextProtocol { get; set; }
Property Value
Type Description
string
| Edit this page View Source

NextSwitch

[nextswitch] nextProtocolSwitchOn.

Declaration
[JsonProperty("nextswitch")]
[Key("nextswitch")]
public ulong? NextSwitch { get; set; }
Property Value
Type Description
ulong?
| Edit this page View Source

NextYes

[nextyes] nextProtocolApprovals.

Declaration
[JsonProperty("nextyes")]
[Key("nextyes")]
public ulong? NextYes { get; set; }
Property Value
Type Description
ulong?
| Edit this page View Source

PreviousBlockHash

[prev] Previous block hash.

Declaration
[JsonProperty("prev")]
[JsonConverter(typeof(BlockHashConverter))]
[Key("prev")]
public byte[]? PreviousBlockHash { get; set; }
Property Value
Type Description
byte[]
| Edit this page View Source

Proposer

[prp] proposer.

Declaration
[JsonProperty("prp")]
[Required(AllowEmptyStrings = true)]
[Key("prp")]
public Address? Proposer { get; set; }
Property Value
Type Description
Address
| Edit this page View Source

ProposerPayout

[pp] Proposer Payout

Declaration
[JsonProperty("pp")]
[Key("pp")]
public ulong? ProposerPayout { get; set; }
Property Value
Type Description
ulong?
| Edit this page View Source

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?
| Edit this page View Source

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?
| Edit this page View Source

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
| Edit this page View Source

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?
| Edit this page View Source

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?
| Edit this page View Source

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?
| Edit this page View Source

Seed

[seed] Sortition seed.

Declaration
[JsonProperty("seed")]
[Required(AllowEmptyStrings = true)]
[Key("seed")]
public byte[]? Seed { get; set; }
Property Value
Type Description
byte[]
| Edit this page View Source

Sha256Commitment

[txn256] Sha256Commitment.

Declaration
[JsonProperty("txn256")]
[Required(AllowEmptyStrings = true)]
[Key("txn256")]
public byte[]? Sha256Commitment { get; set; }
Property Value
Type Description
byte[]
| Edit this page View Source

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>
| Edit this page View Source

Timestamp

[ts] Block creation timestamp in seconds since eposh

Declaration
[JsonProperty("ts")]
[Key("ts")]
public ulong? Timestamp { get; set; }
Property Value
Type Description
ulong?
| Edit this page View Source

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>
| Edit this page View Source

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[]
| Edit this page View Source

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?
| Edit this page View Source

UpgradeApprove

[upgradeyes] upgradeyes.

Declaration
[JsonProperty("upgradeyes")]
[Key("upgradeyes")]
public bool? UpgradeApprove { get; set; }
Property Value
Type Description
bool?
| Edit this page View Source

UpgradeDelay

[upgradedelay] UpgradeDelay.

Declaration
[JsonProperty("upgradedelay")]
[Key("upgradedelay")]
public ulong? UpgradeDelay { get; set; }
Property Value
Type Description
ulong?
| Edit this page View Source

UpgradePropose

[upgradeprop] UpgradePropose.

Declaration
[JsonProperty("upgradeprop")]
[Required(AllowEmptyStrings = true)]
[Key("upgradeprop")]
public string? UpgradePropose { get; set; }
Property Value
Type Description
string
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾