AnchorFeatureFlags

public struct AnchorFeatureFlags : Decodable, Sendable

Feature flags indicating additional capabilities supported by the anchor.

These flags communicate optional features that the anchor has implemented beyond the basic SEP-6 requirements, such as account creation and claimable balance support.

See SEP-6 Info

  • 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
  • Initializer - 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