AccountThresholdsResponse
public struct AccountThresholdsResponse : Decodable, Sendable
Represents signature weight thresholds for multi-signature accounts.
Thresholds determine how many signature weights are required to authorize operations. Each operation type (low, medium, high) requires a total signature weight that meets or exceeds its threshold. Used for implementing multi-sig security.
Threshold categories:
- Low: Allow Trust, Bump Sequence
- Medium: All other operations
- High: Set Options (changing signers or thresholds)
See also:
- Stellar developer docs
- AccountSignerResponse for signer weights
-
Minimum total signature weight required for low security operations. Range: 0-255.
Declaration
Swift
public var lowThreshold: Int -
Minimum total signature weight required for medium security operations. Range: 0-255.
Declaration
Swift
public var medThreshold: Int -
Minimum total signature weight required for high security operations (e.g., changing signers). Range: 0-255.
Declaration
Swift
public var highThreshold: Int -
Initializer - creates a new instance by decoding from the given decoder.
Declaration
Swift
public init(from decoder: Decoder) throwsParameters
decoderThe decoder containing the data
View on GitHub
Install in Dash