EffectResponse
public class EffectResponse : Decodable, @unchecked Sendable
Base class for all effect responses from the Horizon API. Effects represent specific changes that occur to the ledger as a result of operations in successfully submitted transactions. Each operation can produce multiple effects, and this class provides common properties shared by all effect types. See Stellar developer docs
-
A list of links related to this effect.
Declaration
Swift
public let links: EffectLinksResponse -
ID of the effect.
Declaration
Swift
public let id: String -
Date of the effect.
Declaration
Swift
public let createdAt: String -
A paging token, specifying where the returned records start from.
Declaration
Swift
public let pagingToken: String -
Account ID of the account the effect belongs to.
Declaration
Swift
public let account: String -
The multiplexed account address if the account is a muxed account.
Declaration
Swift
public let accountMuxed: String? -
The multiplexed account ID if the account is a muxed account.
Declaration
Swift
public let accountMuxedId: String? -
Type of the effect as a human readable string.
Declaration
Swift
public let effectTypeString: String -
Type of the effect (int) see enum EffectType.
Declaration
Swift
public let effectType: EffectType -
Initializer - creates a new instance by decoding from the given decoder.
Declaration
Swift
public required init(from decoder: Decoder) throwsParameters
decoderThe decoder containing the data
View on GitHub
Install in Dash