@solana/web3.js
    Preparing search index...

    Type Alias SimulateTransactionConfig

    type SimulateTransactionConfig = {
        accounts?: { addresses: string[]; encoding: "base64" };
        commitment?: Commitment;
        innerInstructions?: boolean;
        minContextSlot?: number;
        replaceRecentBlockhash?: boolean;
        sigVerify?: boolean;
    }
    Index
    accounts?: { addresses: string[]; encoding: "base64" }

    Optional parameter used to specify a list of base58-encoded account addresses to return post simulation state for

    Type Declaration

    • addresses: string[]
    • encoding: "base64"

      The encoding of the returned account's data

    commitment?: Commitment

    Optional parameter used to set the commitment level when selecting the latest block

    innerInstructions?: boolean

    Optional parameter used to include inner instructions in the simulation

    minContextSlot?: number

    Optional parameter used to specify the minimum block slot that can be used for simulation

    replaceRecentBlockhash?: boolean

    Optional parameter used to replace the simulated transaction's recent blockhash with the latest blockhash

    sigVerify?: boolean

    Optional parameter used to enable signature verification before simulation