OZPolicySignature
public struct OZPolicySignature : OZSmartAccountSignature, Hashable
Marker signature representing policy-based authorization.
Policy signatures are encoded as empty maps and indicate that authorization should be
determined by the smart-account’s policy evaluation (for example spending limits,
threshold signatures, or time-based restrictions). Use the canonical singleton instance
via OZPolicySignature.instance.
-
Canonical singleton instance.
Declaration
Swift
public static let instance: OZPolicySignature -
Converts the policy signature to an empty Soroban
SCValXDRmap.Declaration
Swift
public func toScVal() -> SCValXDR -
See
toAuthPayloadBytes()for the per-variant byte format.Throws
SmartAccountTransactionException.SigningFailedif XDR encoding fails.Declaration
Swift
public func toAuthPayloadBytes() throws -> Data
View on GitHub
Install in Dash