TrustlineEffectResponse

public class TrustlineEffectResponse : EffectResponse, @unchecked Sendable

Base class for trustline effect responses. Represents changes to account trustlines, which enable accounts to hold and trade non-native assets. Trustlines are established through Change Trust operations and can be authorized or modified by asset issuers. See Stellar developer docs

  • The maximum amount of the asset that the account is willing to hold.

    Declaration

    Swift

    public let limit: String
  • The asset type referenced by the trustline.

    Declaration

    Swift

    public let assetType: String
  • The asset code referenced by the trustline. Nil for native assets.

    Declaration

    Swift

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

    Declaration

    Swift

    public let assetIssuer: String?
  • The account establishing the trustline.

    Declaration

    Swift

    public let trustor: String?
  • Liquidity pool ID if the asset type is liquidity_pool_shares.

    Declaration

    Swift

    public let liquidityPoolId: 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