• Api Documentation
Show / Hide Table of Contents
  • Algorand
    • Address
    • ApiException
    • ApiException<TResult>
    • Digest
    • HttpClientConfigurator
    • LogicsigSignature
    • MultisigAddress
    • MultisigSignature
    • MultisigSubsig
    • ParticipationPublicKey
    • Signature
    • TEALProgram
    • TxGroup
    • VRFPublicKey
  • Algorand.Algod
    • DefaultApi
    • DefaultApi.ObjectResponseResult<T>
    • IDefaultApi
  • Algorand.Algod.Model
    • Account
    • AccountApplicationResponse
    • AccountAssetResponse
    • AccountBalanceRecord
    • AccountDeltas
    • AccountParticipation
    • AccountSigType
    • AccountStateDelta
    • AccountTotals
    • Application
    • ApplicationLocalState
    • ApplicationParams
    • ApplicationStateSchema
    • AppResourceRecord
    • Asset
    • AssetHolding
    • AssetParams
    • AssetResourceRecord
    • Block
    • BlockHashResponse
    • Box
    • BoxDescriptor
    • BoxesResponse
    • BuildVersion
    • CertifiedBlock
    • CompileResponse
    • DisassembleResponse
    • DryrunRequest
    • DryrunResponse
    • DryrunSource
    • DryrunState
    • DryrunTxnResult
    • ErrorResponse
    • EvalDelta
    • EvalDeltaKeyValue
    • FileParameter
    • Format
    • GetSyncRoundResponse
    • KvDelta
    • LedgerStateDelta
    • LightBlockHeaderProof
    • ModifiedApp
    • ModifiedAsset
    • NodeStatusResponse
    • ParticipationKey
    • PendingTransactions
    • PostTransactionsResponse
    • ProofResponse
    • SimulateResponse
    • SimulateTransactionGroupResult
    • SimulateTransactionResult
    • StateDelta
    • StateProof
    • StateProofMessage
    • SupplyResponse
    • TealKeyValue
    • TealValue
    • TransactionParametersResponse
    • TransactionProofResponse
    • TxLease
    • Version
  • Algorand.Algod.Model.Transactions
    • ApplicationCallTransaction
    • ApplicationClearStateTransaction
    • ApplicationCloseOutTransaction
    • ApplicationCreateTransaction
    • ApplicationDeleteTransaction
    • ApplicationNoopTransaction
    • ApplicationOptInTransaction
    • ApplicationUpdateTransaction
    • AssetAcceptTransaction
    • AssetChangeTransaction
    • AssetClawbackTransaction
    • AssetConfigurationTransaction
    • AssetCreateTransaction
    • AssetDestroyTransaction
    • AssetFreezeTransaction
    • AssetMovementsTransaction
    • AssetTransferTransaction
    • AssetUpdateTransaction
    • IReturnableTransaction
    • KeyRegisterOfflineTransaction
    • KeyRegisterOnlineTransaction
    • KeyRegistrationTransaction
    • OnCompletion
    • PaymentTransaction
    • SignedTransaction
    • StateSchema
    • Transaction
  • Algorand.Algod.Test
    • TestHttpMessageHandler
  • Algorand.Crypto
    • KeyPair
  • Algorand.Indexer
    • CommonApi
    • CommonApi.ObjectResponseResult<T>
    • ICommonApi
    • ILookupApi
    • ISearchApi
    • LookupApi
    • LookupApi.ObjectResponseResult<T>
    • SearchApi
    • SearchApi.ObjectResponseResult<T>
  • Algorand.Indexer.Model
    • Account
    • AccountParticipation
    • AccountResponse
    • AccountsResponse
    • AccountStateDelta
    • Application
    • ApplicationLocalState
    • ApplicationLocalStatesResponse
    • ApplicationLogData
    • ApplicationLogsResponse
    • ApplicationParams
    • ApplicationResponse
    • ApplicationsResponse
    • ApplicationStateSchema
    • 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
    • Api
    • Api.ObjectResponseResult<T>
    • ApiException
    • ApiException<TResult>
    • APIV1DELETEKeyResponse
    • APIV1DELETEMultisigResponse
    • APIV1GETWalletsResponse
    • APIV1POSTKeyExportResponse
    • APIV1POSTKeyImportResponse
    • APIV1POSTKeyListResponse
    • APIV1POSTKeyResponse
    • APIV1POSTMasterKeyExportResponse
    • APIV1POSTMultisigExportResponse
    • APIV1POSTMultisigImportResponse
    • APIV1POSTMultisigListResponse
    • APIV1POSTMultisigProgramSignResponse
    • APIV1POSTMultisigTransactionSignResponse
    • APIV1POSTProgramSignResponse
    • APIV1POSTTransactionSignResponse
    • APIV1POSTWalletInfoResponse
    • APIV1POSTWalletInitResponse
    • APIV1POSTWalletReleaseResponse
    • APIV1POSTWalletRenameResponse
    • APIV1POSTWalletRenewResponse
    • APIV1POSTWalletResponse
    • APIV1Wallet
    • APIV1WalletHandle
    • 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
    • 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
public class Block

Properties

| Improve this Doc View Source

CurrentProtocol

[proto] The current protocol version.

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

FeeSink

[fees] accepts transaction fees, it can only spend to the incentive pool.

Declaration
[JsonProperty("fees")]
[Required(AllowEmptyStrings = true)]
public Address FeeSink { get; set; }
Property Value
Type Description
Address
| Improve this Doc View Source

GenesisHash

[gh] hash to which this block belongs.

Declaration
[JsonProperty("gh")]
[Required(AllowEmptyStrings = true)]
public byte[] GenesisHash { get; set; }
Property Value
Type Description
byte[]
| Improve this Doc View Source

GenesisId

[gen] ID to which this block belongs.

Declaration
[JsonProperty("gen")]
[Required(AllowEmptyStrings = true)]
public string GenesisId { get; set; }
Property Value
Type Description
string
| Improve this Doc View Source

PreviousBlockHash

[prev] Previous block hash.

Declaration
[JsonProperty("prev")]
[Required(AllowEmptyStrings = true)]
public string PreviousBlockHash { get; set; }
Property Value
Type Description
string
| Improve this Doc 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("rwcalcr")]
public ulong RewardsCalculationRound { get; set; }
Property Value
Type Description
ulong
| Improve this Doc View Source

RewardsLevel

[earn] How many rewards, in MicroAlgos, have been distributed to each RewardUnit of MicroAlgos since genesis.

Declaration
[JsonProperty("earn")]
public ulong RewardsLevel { get; set; }
Property Value
Type Description
ulong
| Improve this Doc View Source

RewardsPool

[rwd] accepts periodic injections from the fee-sink and continually redistributes them as rewards.

Declaration
[JsonProperty("rwd")]
[Required(AllowEmptyStrings = true)]
public string RewardsPool { get; set; }
Property Value
Type Description
string
| Improve this Doc View Source

RewardsRate

[rate] Number of new MicroAlgos added to the participation stake from rewards at the next round.

Declaration
[JsonProperty("rate")]
public ulong RewardsRate { get; set; }
Property Value
Type Description
ulong
| Improve this Doc 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")]
public ulong RewardsResidue { get; set; }
Property Value
Type Description
ulong
| Improve this Doc View Source

Round

[rnd] Current round on which this block was appended to the chain.

Declaration
[JsonProperty("rnd")]
public ulong Round { get; set; }
Property Value
Type Description
ulong
| Improve this Doc View Source

Seed

[seed] Sortition seed.

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

Timestamp

[ts] Block creation timestamp in seconds since eposh

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

Transactions

[txns] list of transactions corresponding to a given round.

Declaration
[JsonProperty("txns", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ICollection<SignedTransaction> Transactions { get; set; }
Property Value
Type Description
System.Collections.Generic.ICollection<T><SignedTransaction>
| Improve this Doc 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)]
public byte[] TransactionsRoot { get; set; }
Property Value
Type Description
byte[]
| Improve this Doc 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)]
public int? TxnCounter { get; set; }
Property Value
Type Description
int?
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾