AssetTypeAsString
public struct AssetTypeAsString : Sendable
String constants for asset types used in Horizon API responses and requests.
These constants represent the different asset types supported by the Stellar network and are used when parsing or constructing API requests and responses.
See: Stellar developer docs for more information.
-
Native asset type (XLM).
Declaration
Swift
public static let NATIVE: String -
Asset type for assets with codes 1-4 characters long.
Declaration
Swift
public static let CREDIT_ALPHANUM4: String -
Asset type for assets with codes 5-12 characters long.
Declaration
Swift
public static let CREDIT_ALPHANUM12: String -
Asset type for liquidity pool shares.
Declaration
Swift
public static let POOL_SHARE: String
View on GitHub
Install in Dash