AccountDebitedEffectResponse

public class AccountDebitedEffectResponse : EffectResponse, @unchecked Sendable

Represents an account debit effect. This effect occurs when an account sends a payment or other debit operation. Triggered by Payment, Path Payment, Create Claimable Balance, and other operations that reduce an account balance. See Stellar developer docs

  • The amount debited from this account.

    Declaration

    Swift

    public let amount: String
  • The asset type debited from the account (e.g., native, credit_alphanum4, credit_alphanum12).

    Declaration

    Swift

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

    Declaration

    Swift

    public let assetCode: String?
  • The issuer account ID of the asset debited from 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