OZSubmissionMethod
public enum OZSubmissionMethod : Sendable
Determines how a Smart Account transaction is submitted to the network.
By default, the SDK submits via the relayer when one is configured and falls back to
direct RPC submission otherwise. Pass an explicit OZSubmissionMethod to a transaction
method’s forceMethod parameter to override this default for a single call.
Example:
let result = try await txOps.transfer(
tokenContract: "CBCD...",
recipient: "GA7Q...",
amount: "10",
forceMethod: .rpc
)
-
Undocumented
Declaration
Swift
case relayer -
Undocumented
Declaration
Swift
case rpc
View on GitHub
Install in Dash