Type alias SimulateTransactionConfig

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

Type declaration

  • Optional accounts?: {
        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

  • Optional commitment?: Commitment

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

  • Optional minContextSlot?: number

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

  • Optional replaceRecentBlockhash?: boolean

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

  • Optional sigVerify?: boolean

    Optional parameter used to enable signature verification before simulation

Generated using TypeDoc