@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / native / SomniaBlock

Interface: SomniaBlock

Defined in: packages/sdk/src/native/types.ts:112

A Somnia ledger block — the native block structure, which is not the same thing as the Ethereum-compatible block eth_getBlockByNumber returns. It pairs the consensus block (ordering, proposer, timing) with the execution block (what running the transactions produced), so it exposes detail the eth surface has no field for: the data-chain blocks committed, the state snapshot, the proposer.

Properties

consensusBlock

consensusBlock: SomniaConsensusBlock

Defined in: packages/sdk/src/native/types.ts:114

Consensus half: ordering, timing, proposer.


executionBlock

executionBlock: SomniaExecutionBlock

Defined in: packages/sdk/src/native/types.ts:116

Execution half: gas, receipts hash, state snapshot.


parentLedgerBlockHash

parentLedgerBlockHash: `0x${string}`

Defined in: packages/sdk/src/native/types.ts:118

Parent ledger block hash.


ledgerBlockHash

ledgerBlockHash: `0x${string}`

Defined in: packages/sdk/src/native/types.ts:120

This block's ledger hash — what getSomniaBlockByHash takes.