SimulateTransactionApi: { simulateTransaction( base58EncodedWireTransaction: Base58EncodedBytes, config: (
Readonly<{ accounts: { addresses: Address[]; encoding?: "base64" | undefined; }; }> & SigVerifyAndReplaceRecentBlockhashConfig
)
& Readonly< { commitment?: Commitment; innerInstructions?: boolean; minContextSlot?: Slot; }, > & Readonly<{ innerInstructions: true }>, ): Readonly<{ context: Readonly<{ slot: Slot }>; value: TValue }>; simulateTransaction( base58EncodedWireTransaction: Base58EncodedBytes, config: Readonly< { accounts: { addresses: Address[]; encoding?: "base64" } }, > & (
SigVerifyAndReplaceRecentBlockhashConfig & Readonly<{ commitment?: Commitment | undefined; innerInstructions?: boolean | undefined; minContextSlot?: bigint | undefined; }>
)
, ): Readonly<{ context: Readonly<{ slot: Slot }>; value: TValue }>; simulateTransaction( base58EncodedWireTransaction: Base58EncodedBytes, config: (
Readonly<{ accounts: { addresses: Address[]; encoding: "base64+zstd"; }; }> & SigVerifyAndReplaceRecentBlockhashConfig
)
& Readonly< { commitment?: Commitment; innerInstructions?: boolean; minContextSlot?: Slot; }, > & Readonly<{ innerInstructions: true }>, ): Readonly<{ context: Readonly<{ slot: Slot }>; value: TValue }>; simulateTransaction( base58EncodedWireTransaction: Base58EncodedBytes, config: Readonly< { accounts: { addresses: Address[]; encoding: "base64+zstd" } }, > & (
SigVerifyAndReplaceRecentBlockhashConfig & Readonly<{ commitment?: Commitment | undefined; innerInstructions?: boolean | undefined; minContextSlot?: bigint | undefined; }>
)
, ): Readonly<{ context: Readonly<{ slot: Slot }>; value: TValue }>; simulateTransaction( base58EncodedWireTransaction: Base58EncodedBytes, config: (
Readonly<{ accounts: { addresses: Address[]; encoding: "jsonParsed"; }; }> & SigVerifyAndReplaceRecentBlockhashConfig
)
& Readonly< { commitment?: Commitment; innerInstructions?: boolean; minContextSlot?: Slot; }, > & Readonly<{ innerInstructions: true }>, ): Readonly<{ context: Readonly<{ slot: Slot }>; value: TValue }>; simulateTransaction( base58EncodedWireTransaction: Base58EncodedBytes, config: Readonly< { accounts: { addresses: Address[]; encoding: "jsonParsed" } }, > & (
SigVerifyAndReplaceRecentBlockhashConfig & Readonly<{ commitment?: Commitment | undefined; innerInstructions?: boolean | undefined; minContextSlot?: bigint | undefined; }>
)
, ): Readonly<{ context: Readonly<{ slot: Slot }>; value: TValue }>; simulateTransaction( base58EncodedWireTransaction: Base58EncodedBytes, config?: SigVerifyAndReplaceRecentBlockhashConfig & Readonly<{ commitment?: Commitment | undefined; innerInstructions?: boolean | undefined; minContextSlot?: bigint | undefined; }> & Readonly<...>
, ): Readonly<{ context: Readonly<{ slot: Slot }>; value: TValue }>; simulateTransaction( base58EncodedWireTransaction: Base58EncodedBytes, config?: SigVerifyAndReplaceRecentBlockhashConfig & Readonly<{ commitment?: Commitment | undefined; innerInstructions?: boolean | undefined; minContextSlot?: bigint | undefined; }>
, ): Readonly<{ context: Readonly<{ slot: Slot }>; value: TValue }>; simulateTransaction( base64EncodedWireTransaction: Base64EncodedWireTransaction, config: (
Readonly<{ accounts: { addresses: Address[]; encoding?: "base64" | undefined; }; }> & SigVerifyAndReplaceRecentBlockhashConfig
)
& Readonly< { commitment?: Commitment; innerInstructions?: boolean; minContextSlot?: Slot; }, > & Readonly<{ innerInstructions: true }> & { encoding: "base64" }, ): Readonly<{ context: Readonly<{ slot: Slot }>; value: TValue }>; simulateTransaction( base64EncodedWireTransaction: Base64EncodedWireTransaction, config: (
Readonly<{ accounts: { addresses: Address[]; encoding?: "base64" | undefined; }; }> & SigVerifyAndReplaceRecentBlockhashConfig
)
& Readonly< { commitment?: Commitment; innerInstructions?: boolean; minContextSlot?: Slot; }, > & { encoding: "base64" }, ): Readonly<{ context: Readonly<{ slot: Slot }>; value: TValue }>; simulateTransaction( base64EncodedWireTransaction: Base64EncodedWireTransaction, config: (
Readonly<{ accounts: { addresses: Address[]; encoding: "base64+zstd"; }; }> & SigVerifyAndReplaceRecentBlockhashConfig
)
& Readonly< { commitment?: Commitment; innerInstructions?: boolean; minContextSlot?: Slot; }, > & Readonly<{ innerInstructions: true }> & { encoding: "base64" }, ): Readonly<{ context: Readonly<{ slot: Slot }>; value: TValue }>; simulateTransaction( base64EncodedWireTransaction: Base64EncodedWireTransaction, config: (
Readonly<{ accounts: { addresses: Address[]; encoding: "base64+zstd"; }; }> & SigVerifyAndReplaceRecentBlockhashConfig
)
& Readonly< { commitment?: Commitment; innerInstructions?: boolean; minContextSlot?: Slot; }, > & { encoding: "base64" }, ): Readonly<{ context: Readonly<{ slot: Slot }>; value: TValue }>; simulateTransaction( base64EncodedWireTransaction: Base64EncodedWireTransaction, config: (
Readonly<{ accounts: { addresses: Address[]; encoding: "jsonParsed"; }; }> & SigVerifyAndReplaceRecentBlockhashConfig
)
& Readonly< { commitment?: Commitment; innerInstructions?: boolean; minContextSlot?: Slot; }, > & Readonly<{ innerInstructions: true }> & { encoding: "base64" }, ): Readonly<{ context: Readonly<{ slot: Slot }>; value: TValue }>; simulateTransaction( base64EncodedWireTransaction: Base64EncodedWireTransaction, config: (
Readonly<{ accounts: { addresses: Address[]; encoding: "jsonParsed"; }; }> & SigVerifyAndReplaceRecentBlockhashConfig
)
& Readonly< { commitment?: Commitment; innerInstructions?: boolean; minContextSlot?: Slot; }, > & { encoding: "base64" }, ): Readonly<{ context: Readonly<{ slot: Slot }>; value: TValue }>; simulateTransaction( base64EncodedWireTransaction: Base64EncodedWireTransaction, config: (
SigVerifyAndReplaceRecentBlockhashConfig & Readonly<{ commitment?: Commitment | undefined; innerInstructions?: boolean | undefined; minContextSlot?: bigint | undefined; }>
)
& Readonly<{ innerInstructions: true }> & { encoding: "base64" }, ): Readonly<{ context: Readonly<{ slot: Slot }>; value: TValue }>; simulateTransaction( base64EncodedWireTransaction: Base64EncodedWireTransaction, config: SigVerifyAndReplaceRecentBlockhashConfig & Readonly< { commitment?: Commitment; innerInstructions?: boolean; minContextSlot?: Slot; }, > & { encoding: "base64" }, ): Readonly<{ context: Readonly<{ slot: Slot }>; value: TValue }>;}
Deprecated
Set
encodingto'base64'when calling this method