Sep24FeatureFlags

public struct Sep24FeatureFlags : Decodable, Sendable

Feature flags indicating which optional SEP-0024 features are supported by the anchor.

These flags inform clients about advanced capabilities like account creation and claimable balances.

  • Whether or not the anchor supports creating accounts for users requesting deposits. Defaults to true.

    Declaration

    Swift

    public let accountCreation: Bool
  • Whether or not the anchor supports sending deposit funds as claimable balances. This is relevant for users of Stellar accounts without a trustline to the requested asset. Defaults to false.

    Declaration

    Swift

    public let claimableBalances: Bool
  • Creates a new instance by decoding from the given decoder.

    Declaration

    Swift

    public init(from decoder: Decoder) throws

    Parameters

    decoder

    The decoder containing the data