Documentation
    Preparing search index...

    Interface SimulateTransactionOptions<Include>

    interface SimulateTransactionOptions<
        Include extends SimulateTransactionInclude = {},
    > {
        checksEnabled?: boolean;
        doGasSelection?: boolean;
        include?: Include & SimulateTransactionInclude;
        signal?: AbortSignal;
        transaction: Uint8Array<ArrayBufferLike> | Transaction;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index
    checksEnabled?: boolean

    When set to false, disables transaction validation checks during simulation. This allows inspecting non-public/non-entry Move functions and other transactions that would normally fail validation. Disabling checks also disables gas selection, so a transaction with an empty gas payment is simulated with a mocked gas coin.

    Defaults to true (checks enabled).

    doGasSelection?: boolean

    Whether the server selects the sender's real gas payment during simulation. When disabled, a transaction without gas coins may be simulated with a mocked gas coin (reported as gasPaymentMocked). Ignored when checksEnabled is false.

    true when the gas payment is set to [], otherwise false

    signal?: AbortSignal
    transaction: Uint8Array<ArrayBufferLike> | Transaction