EffectTypeAsString
public struct EffectTypeAsString : Sendable
String constants for effect types used in Horizon API responses.
Effects represent specific changes that occur on the Stellar network as a result of operations. These constants are used when parsing effect responses from the Horizon server.
See: Stellar developer docs for more information.
-
Effect when a new account is created on the network.
Declaration
Swift
public static let ACCOUNT_CREATED: String -
Effect when an account is removed from the network.
Declaration
Swift
public static let ACCOUNT_REMOVED: String -
Effect when an account receives a payment or asset.
Declaration
Swift
public static let ACCOUNT_CREDITED: String -
Effect when an account sends a payment or asset.
Declaration
Swift
public static let ACCOUNT_DEBITED: String -
Effect when account thresholds are modified.
Declaration
Swift
public static let ACCOUNT_THRESHOLDS_UPDATED: String -
Effect when an account’s home domain is changed.
Declaration
Swift
public static let ACCOUNT_HOME_DOMAIN_UPDATED: String -
Effect when account flags are modified.
Declaration
Swift
public static let ACCOUNT_FLAGS_UPDATED: String -
Effect when a new signer is added to an account.
Declaration
Swift
public static let SIGNER_CREATED: String -
Effect when a signer is removed from an account.
Declaration
Swift
public static let SIGNER_REMOVED: String -
Effect when a signer’s weight is modified.
Declaration
Swift
public static let SIGNER_UPDATED: String -
Effect when a new trustline is established.
Declaration
Swift
public static let TRUSTLINE_CREATED: String -
Effect when a trustline is removed.
Declaration
Swift
public static let TRUSTLINE_REMOVED: String -
Effect when trustline properties are modified.
Declaration
Swift
public static let TRUSTLINE_UPDATED: String -
Effect when a trustline is authorized by the asset issuer.
Declaration
Swift
public static let TRUSTLINE_AUTHORIZED: String -
Effect when a trustline authorization is revoked by the asset issuer.
Declaration
Swift
public static let TRUSTLINE_DEAUTHORIZED: String -
Effect when a new offer is created on the DEX.
Declaration
Swift
public static let OFFER_CREATED: String -
Effect when an offer is removed from the DEX.
Declaration
Swift
public static let OFFER_REMOVED: String -
Effect when an offer is modified on the DEX.
Declaration
Swift
public static let OFFER_UPDATED: String -
Effect when a trade is executed on the DEX.
Declaration
Swift
public static let TRADE: String -
Effect when account data is set or modified.
Declaration
Swift
public static let MANAGE_DATA: String -
Effect when an account’s sequence number is bumped.
Declaration
Swift
public static let BUMP_SEQUENCE: String
View on GitHub
Install in Dash