AccountCreditedEffectResponse

public class AccountCreditedEffectResponse : EffectResponse, @unchecked Sendable

Represents an account credit effect. This effect occurs when an account receives a payment or other credit operation. Triggered by Payment, Path Payment, Create Claimable Balance claim, and other operations. See Stellar developer docs

  • The amount credited to the account.

    Declaration

    Swift

    public let amount: String
  • The asset type credited to this account (e.g., native, credit_alphanum4, credit_alphanum12).

    Declaration

    Swift

    public let assetType: String
  • The asset code credited to the account. Nil for native assets.

    Declaration

    Swift

    public let assetCode: String?
  • The issuer account ID of the asset credited to the account. Nil for native assets.

    Declaration

    Swift

    public let assetIssuer: String?
  • Initializer - creates a new instance by decoding from the given decoder.

    Declaration

    Swift

    public required init(from decoder: Decoder) throws

    Parameters

    decoder

    The decoder containing the data