/** * TxData type and creator for BlockResults * * Represents the result of executing a single transaction in a block */ import { Event } from '../tx/event'; /** * Transaction execution result data */ export interface TxData { /** Response code (0 = success, non-zero = error) */ readonly code: number; /** Result data from transaction execution */ readonly data?: Uint8Array; /** Human-readable log message */ readonly log?: string; /** Additional information about the result */ readonly info?: string; /** Amount of gas requested for transaction */ readonly gasWanted?: bigint; /** Amount of gas consumed by transaction */ readonly gasUsed?: bigint; /** Events emitted during transaction execution */ readonly events: readonly Event[]; /** Namespace for error codes */ readonly codespace?: string; } export declare const TxDataCodec: import("../../../codec").BaseCodec; export declare function createTxData(data: unknown): TxData;