Type Alias SimulateTransactionConfig

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

Type declaration

  • Optionalaccounts?: {
        addresses: string[];
        encoding: "base64";
    }

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

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

      The encoding of the returned account's data

  • Optionalcommitment?: Commitment

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

  • OptionalinnerInstructions?: boolean

    Optional parameter used to include inner instructions in the simulation

  • OptionalminContextSlot?: number

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

  • OptionalreplaceRecentBlockhash?: boolean

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

  • OptionalsigVerify?: boolean

    Optional parameter used to enable signature verification before simulation