Block
Block =
object
Defined in: packages/indexer_client/src/models/block.ts:31
Block information.
Definition: data/bookkeeping/block.go : Block
Properties
Section titled “Properties”bonus?
Section titled “bonus?”
optionalbonus:number
Defined in: packages/indexer_client/src/models/block.ts:45
the potential bonus payout for this block.
feesCollected?
Section titled “feesCollected?”
optionalfeesCollected:number
Defined in: packages/indexer_client/src/models/block.ts:40
the sum of all fees paid by transactions in this block.
genesisHash
Section titled “genesisHash”genesisHash:
Uint8Array
Defined in: packages/indexer_client/src/models/block.ts:55
[gh] hash to which this block belongs.
genesisId
Section titled “genesisId”genesisId:
string
Defined in: packages/indexer_client/src/models/block.ts:60
[gen] ID to which this block belongs.
participationUpdates
Section titled “participationUpdates”participationUpdates:
ParticipationUpdates
Defined in: packages/indexer_client/src/models/block.ts:121
previousBlockHash
Section titled “previousBlockHash”previousBlockHash:
Uint8Array
Defined in: packages/indexer_client/src/models/block.ts:65
[prev] Previous block hash.
previousBlockHash512?
Section titled “previousBlockHash512?”
optionalpreviousBlockHash512:Uint8Array
Defined in: packages/indexer_client/src/models/block.ts:70
[prev512] Previous block hash, using SHA-512.
proposer?
Section titled “proposer?”
optionalproposer:Address
Defined in: packages/indexer_client/src/models/block.ts:35
the proposer of this block.
proposerPayout?
Section titled “proposerPayout?”
optionalproposerPayout:number
Defined in: packages/indexer_client/src/models/block.ts:50
the actual amount transferred to the proposer from the fee sink.
rewards
Section titled “rewards”rewards:
BlockRewards
Defined in: packages/indexer_client/src/models/block.ts:71
round:
bigint
Defined in: packages/indexer_client/src/models/block.ts:76
[rnd] Current round on which this block was appended to the chain.
seed:
Uint8Array
Defined in: packages/indexer_client/src/models/block.ts:81
[seed] Sortition seed.
stateProofTracking?
Section titled “stateProofTracking?”
optionalstateProofTracking:StateProofTracking[]
Defined in: packages/indexer_client/src/models/block.ts:86
Tracks the status of state proofs.
timestamp
Section titled “timestamp”timestamp:
number
Defined in: packages/indexer_client/src/models/block.ts:91
[ts] Block creation timestamp in seconds since epoch
transactions
Section titled “transactions”transactions:
Transaction[]
Defined in: packages/indexer_client/src/models/block.ts:96
[txns] list of transactions corresponding to a given round.
transactionsRoot
Section titled “transactionsRoot”transactionsRoot:
Uint8Array
Defined in: packages/indexer_client/src/models/block.ts:101
[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.
transactionsRootSha256?
Section titled “transactionsRootSha256?”
optionaltransactionsRootSha256:Uint8Array
Defined in: packages/indexer_client/src/models/block.ts:106
[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.
transactionsRootSha512?
Section titled “transactionsRootSha512?”
optionaltransactionsRootSha512:Uint8Array
Defined in: packages/indexer_client/src/models/block.ts:111
[txn512] TransactionsRootSHA512 is an auxiliary TransactionRoot, built using a vector commitment instead of a merkle tree, and SHA512 hash function instead of the default SHA512_256.
txnCounter?
Section titled “txnCounter?”
optionaltxnCounter:number
Defined in: packages/indexer_client/src/models/block.ts:118
[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).
upgradeState
Section titled “upgradeState”upgradeState:
BlockUpgradeState
Defined in: packages/indexer_client/src/models/block.ts:119
upgradeVote?
Section titled “upgradeVote?”
optionalupgradeVote:BlockUpgradeVote
Defined in: packages/indexer_client/src/models/block.ts:120