Options for simulateTransaction.

1.0.0

interface SimulateTransactionOpts {
    accounts?: {
        addresses: never[];
        encoding?: Encoding;
    };
    commitment?: Commitment;
    encoding?: "base58" | "base64";
    innerInstructions?: boolean;
    maxRetries?: number;
    minContextSlot?: number;
    replaceRecentBlockhash?: boolean;
    routeHint?: "rotate" | "sticky";
    routeIndex?: number;
    sigVerify?: boolean;
    timeout?: number;
}

Hierarchy (view full)

Properties

accounts?: {
    addresses: never[];
    encoding?: Encoding;
}
commitment?: Commitment

Commitment level hint.

encoding?: "base58" | "base64"
innerInstructions?: boolean
maxRetries?: number

Override max retries for this call.

minContextSlot?: number
replaceRecentBlockhash?: boolean
routeHint?: "rotate" | "sticky"

Upstream selection strategy.

routeIndex?: number

Explicit upstream index.

sigVerify?: boolean
timeout?: number

Override timeout for this call.