AccountFlagsResponse
public struct AccountFlagsResponse : Decodable, Sendable
Represents account authorization flags set on asset issuer accounts.
These flags control how the issuer can manage who holds their asset. Issuers can require authorization, enable revocation, make flags immutable, or enable clawback functionality.
See also:
- Stellar developer docs
- AccountResponse for complete account information
-
If true, requires the issuer to explicitly authorize accounts before they can hold this asset. Used for regulated assets requiring KYC/AML compliance.
Declaration
Swift
public let authRequired: Bool -
If true, allows the issuer to revoke authorization and freeze assets held by accounts. The account can no longer perform operations with the frozen asset.
Declaration
Swift
public let authRevocable: Bool -
If true, none of the authorization flags can be changed and the account cannot be deleted. This provides permanent guarantees about asset behavior.
Declaration
Swift
public let authImmutable: Bool -
If true, enables the issuer to clawback (burn) asset balances from other accounts. Used for regulated assets requiring recovery or compliance enforcement.
Declaration
Swift
public let authClawbackEnabled: Bool -
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