/** * BlockResultsResponse type and creator * * Represents the results of executing transactions in a block, including: * - Transaction execution results with gas usage and events * - Begin/end block events from the application * - Validator updates and consensus parameter changes */ import { TxData } from './tx-data'; import { Event } from '../tx/event'; import { ValidatorUpdate } from './validator-update'; import { ConsensusParams } from '../consensus-params/consensus-params'; /** * Response from the block_results RPC method */ export interface BlockResultsResponse { /** Height of the block */ readonly height: number; /** Results from executing transactions in the block */ readonly txsResults?: readonly TxData[]; /** Events emitted during BeginBlock (Tendermint 0.34 & 0.37) */ readonly beginBlockEvents?: readonly Event[]; /** Events emitted during EndBlock (Tendermint 0.34 & 0.37) */ readonly endBlockEvents?: readonly Event[]; /** Events emitted during FinalizeBlock (CometBFT 0.38+) */ readonly finalizeBlockEvents?: readonly Event[]; /** Validator set updates */ readonly validatorUpdates?: readonly ValidatorUpdate[]; /** Consensus parameter updates */ readonly consensusParamUpdates?: ConsensusParams; /** Application hash after executing the block */ readonly appHash?: Uint8Array; } export declare const BlockResultsResponseCodec: import("../../../codec").BaseCodec; /** * Creates a BlockResultsResponse from raw RPC response data * @param data - Raw response from block_results RPC method * @returns Typed BlockResultsResponse object */ export declare function createBlockResultsResponse(data: unknown): BlockResultsResponse;