Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Block

A block payload from the subscribe_block stream. Keys are camelCase (indexer wire shape).

Definition

class Block(TypedDict):
    blockHeight: int
    hash: str
    appHash: str
    createdAt: str
    cronsOutcomes: list[str]
    transactions: list[BlockTransaction]
    flattenEvents: list[BlockEvent]

Fields

blockHeightint.

hashstr. Block hash.

appHashstr. Application state root after this block.

createdAtstr. ISO-8601 datetime.

cronsOutcomeslist[str]. Outcomes of cron jobs that ran in this block.

transactionslist[BlockTransaction]. Every transaction included in the block.

flattenEventslist[BlockEvent]. The indexer's already-flattened event stream (cron events + message events + ...).

See also