All chains
    Preparing search index...

    Type Alias trace_block

    trace_block: RuntimeDescriptor<
        [
            block: {
                extrinsics: Binary[];
                header: {
                    digest: DigestItem[];
                    extrinsics_root: FixedSizeBinary<32>;
                    number: number;
                    parent_hash: FixedSizeBinary<32>;
                    state_root: FixedSizeBinary<32>;
                };
            },
            config: Enum<
                {
                    CallTracer?: { only_top_call: boolean; with_logs: boolean };
                    PrestateTracer?: {
                        diff_mode: boolean;
                        disable_code: boolean;
                        disable_storage: boolean;
                    };
                },
            >,
        ],
        [
            number,
            Enum<
                {
                    Call: {
                        call_type: Enum<
                            {
                                Call: undefined;
                                Create: undefined;
                                Create2: undefined;
                                DelegateCall: undefined;
                                StaticCall: undefined;
                            },
                        >;
                        calls: __Circular[];
                        error?: string;
                        from: FixedSizeBinary<20>;
                        gas: FixedSizeArray<4, bigint>;
                        gas_used: FixedSizeArray<4, bigint>;
                        input: Binary;
                        logs: {
                            address: FixedSizeBinary<20>;
                            data: Binary;
                            position: number;
                            topics: FixedSizeBinary<32>[];
                        }[];
                        output: Binary;
                        revert_reason?: string;
                        to: FixedSizeBinary<20>;
                        value?: FixedSizeArray<4, bigint>;
                    };
                    Prestate: Enum<
                        {
                            DiffMode: {
                                post: [
                                    FixedSizeBinary<(...)>,
                                    { balance?: ...; code?: ...; nonce?: ...; storage: ... },
                                ][];
                                pre: [
                                    FixedSizeBinary<(...)>,
                                    { balance?: ...; code?: ...; nonce?: ...; storage: ... },
                                ][];
                            };
                            Prestate: [
                                FixedSizeBinary<20>,
                                {
                                    balance?: (...) | (...);
                                    code?: (...) | (...);
                                    nonce?: (...) | (...);
                                    storage: (...)[];
                                },
                            ][];
                        },
                    >;
                },
            >,
        ][],
    >

    Traces the execution of an entire block and returns call traces.

    This is intended to be called through state_call to replay the block from the parent block.

    See eth-rpc debug_traceBlockByNumber for usage.