@somnia-chain/markets-sdk / native / SomniaConsensusBlock
Interface: SomniaConsensusBlock
Defined in: packages/sdk/src/native/types.ts:60
The consensus half of a Somnia ledger block: ordering, timing, and which data-chain blocks it commits.
Properties
blockNumber
blockNumber:
bigint
Defined in: packages/sdk/src/native/types.ts:62
Ledger block number.
timestamp
timestamp:
bigint
Defined in: packages/sdk/src/native/types.ts:64
Block time in unix milliseconds (not seconds — Somnia blocks are ~100ms).
dataChainBlocks
dataChainBlocks:
`0x${string}`[]
Defined in: packages/sdk/src/native/types.ts:66
Hashes of the data-chain blocks this consensus block commits.
delayedLedgerBlockNumber
delayedLedgerBlockNumber:
bigint
Defined in: packages/sdk/src/native/types.ts:68
The delayed ledger block this one references.
delayedLedgerBlockHash
delayedLedgerBlockHash:
`0x${string}`
Defined in: packages/sdk/src/native/types.ts:70
Hash of that delayed ledger block.
parentConsensusBlockHash
parentConsensusBlockHash:
`0x${string}`
Defined in: packages/sdk/src/native/types.ts:72
Parent consensus block hash.
proposerAddress
proposerAddress:
`0x${string}`
Defined in: packages/sdk/src/native/types.ts:74
Validator that proposed the block.
blockResources
blockResources:
SomniaBlockResources
Defined in: packages/sdk/src/native/types.ts:76
What the block cost to validate + carry.
consensusBlockHash
consensusBlockHash:
`0x${string}`
Defined in: packages/sdk/src/native/types.ts:78
This block's own consensus hash.