AssembledTransactionOptions
public final class AssembledTransactionOptions : Sendable
Configuration options for assembling and simulating Soroban smart contract transactions.
-
Client configuration including RPC endpoint, network, and source account.
Declaration
Swift
public let clientOptions: ClientOptions -
Method-specific options including fee, timeout, and simulation settings.
Declaration
Swift
public let methodOptions: MethodOptions -
Name of the contract method to call.
Declaration
Swift
public let method: String -
Arguments to pass to the method call.
Declaration
Swift
public let arguments: [SCValXDR]? -
Enable soroban server logging (helpful for debugging). Default: false.
Declaration
Swift
public let enableServerLogging: Bool -
Constructor
Declaration
Swift
public init(clientOptions: ClientOptions, methodOptions: MethodOptions, method: String, arguments: [SCValXDR]? = nil, enableServerLogging: Bool = false)Parameters
clientOptionsClient options.
methodOptionsMethod options.
methodName of the contract method to call.
argumentsArguments to pass to the method call.
enableServerLoggingEnable soroban server logging (helpful for debugging). Default: false.
View on GitHub
Install in Dash