Skip to content

$Block

const $Block: object

Type declaration

description

readonly description: “Block information.\n\nDefinition:\ndata/bookkeeping/block.go : Block”

properties

readonly properties: object

properties.bonus

readonly properties.bonus: object

properties.bonus.description

readonly properties.bonus.description: "the potential bonus payout for this block." = 'the potential bonus payout for this block.'

properties.bonus.type

readonly properties.bonus.type: "integer" = 'integer'

properties.fees-collected

readonly properties.fees-collected: object

properties.fees-collected.description

readonly properties.fees-collected.description: "the sum of all fees paid by transactions in this block." = 'the sum of all fees paid by transactions in this block.'

properties.fees-collected.type

readonly properties.fees-collected.type: "integer" = 'integer'

properties.genesis-hash

readonly properties.genesis-hash: object

properties.genesis-hash.description

readonly properties.genesis-hash.description: ”\[gh\] hash to which this block belongs.” = '\\[gh\\] hash to which this block belongs.'

properties.genesis-hash.format

readonly properties.genesis-hash.format: "byte" = 'byte'

properties.genesis-hash.pattern

readonly properties.genesis-hash.pattern: ”^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$” = '^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$'

properties.genesis-hash.type

readonly properties.genesis-hash.type: "string" = 'string'

properties.genesis-id

readonly properties.genesis-id: object

properties.genesis-id.description

readonly properties.genesis-id.description: ”\[gen\] ID to which this block belongs.” = '\\[gen\\] ID to which this block belongs.'

properties.genesis-id.type

readonly properties.genesis-id.type: "string" = 'string'

properties.participation-updates

readonly properties.participation-updates: object

properties.participation-updates.$ref

readonly properties.participation-updates.$ref: "#/components/schemas/ParticipationUpdates" = '#/components/schemas/ParticipationUpdates'

properties.previous-block-hash

readonly properties.previous-block-hash: object

properties.previous-block-hash.description

readonly properties.previous-block-hash.description: ”\[prev\] Previous block hash.” = '\\[prev\\] Previous block hash.'

properties.previous-block-hash.format

readonly properties.previous-block-hash.format: "byte" = 'byte'

properties.previous-block-hash.pattern

readonly properties.previous-block-hash.pattern: ”^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$” = '^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$'

properties.previous-block-hash.type

readonly properties.previous-block-hash.type: "string" = 'string'

properties.proposer

readonly properties.proposer: object

properties.proposer.description

readonly properties.proposer.description: "the proposer of this block." = 'the proposer of this block.'

properties.proposer.type

readonly properties.proposer.type: "string" = 'string'

properties.proposer.x-algorand-format

readonly properties.proposer.x-algorand-format: "Address" = 'Address'

properties.proposer-payout

readonly properties.proposer-payout: object

properties.proposer-payout.description

readonly properties.proposer-payout.description: "the actual amount transferred to the proposer from the fee sink." = 'the actual amount transferred to the proposer from the fee sink.'

properties.proposer-payout.type

readonly properties.proposer-payout.type: "integer" = 'integer'

properties.rewards

readonly properties.rewards: object

properties.rewards.$ref

readonly properties.rewards.$ref: "#/components/schemas/BlockRewards" = '#/components/schemas/BlockRewards'

properties.round

readonly properties.round: object

properties.round.description

readonly properties.round.description: ”\[rnd\] Current round on which this block was appended to the chain.” = '\\[rnd\\] Current round on which this block was appended to the chain.'

properties.round.type

readonly properties.round.type: "integer" = 'integer'

properties.seed

readonly properties.seed: object

properties.seed.description

readonly properties.seed.description: ”\[seed\] Sortition seed.” = '\\[seed\\] Sortition seed.'

properties.seed.format

readonly properties.seed.format: "byte" = 'byte'

properties.seed.pattern

readonly properties.seed.pattern: ”^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$” = '^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$'

properties.seed.type

readonly properties.seed.type: "string" = 'string'

properties.state-proof-tracking

readonly properties.state-proof-tracking: object

properties.state-proof-tracking.description

readonly properties.state-proof-tracking.description: "Tracks the status of state proofs." = 'Tracks the status of state proofs.'

properties.state-proof-tracking.items

readonly properties.state-proof-tracking.items: object

properties.state-proof-tracking.items.$ref

readonly properties.state-proof-tracking.items.$ref: "#/components/schemas/StateProofTracking" = '#/components/schemas/StateProofTracking'

properties.state-proof-tracking.type

readonly properties.state-proof-tracking.type: "array" = 'array'

properties.timestamp

readonly properties.timestamp: object

properties.timestamp.description

readonly properties.timestamp.description: ”\[ts\] Block creation timestamp in seconds since eposh” = '\\[ts\\] Block creation timestamp in seconds since eposh'

properties.timestamp.type

readonly properties.timestamp.type: "integer" = 'integer'

properties.transactions

readonly properties.transactions: object

properties.transactions.description

readonly properties.transactions.description: ”\[txns\] list of transactions corresponding to a given round.” = '\\[txns\\] list of transactions corresponding to a given round.'

properties.transactions.items

readonly properties.transactions.items: object

properties.transactions.items.$ref

readonly properties.transactions.items.$ref: "#/components/schemas/Transaction" = '#/components/schemas/Transaction'

properties.transactions.type

readonly properties.transactions.type: "array" = 'array'

properties.transactions-root

readonly properties.transactions-root: object

properties.transactions-root.description

readonly properties.transactions-root.description: ”\[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.” = "\\[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."

properties.transactions-root.format

readonly properties.transactions-root.format: "byte" = 'byte'

properties.transactions-root.pattern

readonly properties.transactions-root.pattern: ”^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$” = '^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$'

properties.transactions-root.type

readonly properties.transactions-root.type: "string" = 'string'

properties.transactions-root-sha256

readonly properties.transactions-root-sha256: object

properties.transactions-root-sha256.description

readonly properties.transactions-root-sha256.description: ”\[txn256\] TransactionsRootSHA256 is an auxiliary TransactionRoot, built using a vector commitment instead of a merkle tree, and SHA256 hash function instead of the default SHA512_256. This commitment can be used on environments where only the SHA256 function exists.” = '\\[txn256\\] TransactionsRootSHA256 is an auxiliary TransactionRoot, built using a vector commitment instead of a merkle tree, and SHA256 hash function instead of the default SHA512_256. This commitment can be used on environments where only the SHA256 function exists.'

properties.transactions-root-sha256.format

readonly properties.transactions-root-sha256.format: "byte" = 'byte'

properties.transactions-root-sha256.pattern

readonly properties.transactions-root-sha256.pattern: ”^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$” = '^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$'

properties.transactions-root-sha256.type

readonly properties.transactions-root-sha256.type: "string" = 'string'

properties.txn-counter

readonly properties.txn-counter: object

properties.txn-counter.description

readonly properties.txn-counter.description: “[tc] TxnCounter counts the number of transactions committed in the ledger, from the time at which support for this feature was introduced.\n\nSpecifically, 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).“

properties.txn-counter.type

readonly properties.txn-counter.type: "integer" = 'integer'

properties.upgrade-state

readonly properties.upgrade-state: object

properties.upgrade-state.$ref

readonly properties.upgrade-state.$ref: "#/components/schemas/BlockUpgradeState" = '#/components/schemas/BlockUpgradeState'

properties.upgrade-vote

readonly properties.upgrade-vote: object

properties.upgrade-vote.$ref

readonly properties.upgrade-vote.$ref: "#/components/schemas/BlockUpgradeVote" = '#/components/schemas/BlockUpgradeVote'

required

readonly required: readonly ["genesis-hash", "genesis-id", "previous-block-hash", "round", "seed", "timestamp", "transactions-root", "transactions-root-sha256"]

type

readonly type: "object" = 'object'

Defined in

schemas.gen.ts:507