Class ChangeTrustAsset

java.lang.Object
org.stellar.sdk.ChangeTrustAsset

public final class ChangeTrustAsset extends Object
Represents an asset in a change trust operation on the Stellar network. This class can represent both regular assets and liquidity pool share for change trustline operation.
See Also:
  • Constructor Details

    • ChangeTrustAsset

      public ChangeTrustAsset(@NonNull @NonNull Asset asset)
      Creates a ChangeTrustAsset for a regular asset.
      Parameters:
      asset - The asset for which the trust is being changed.
    • ChangeTrustAsset

      public ChangeTrustAsset(@NonNull @NonNull LiquidityPool liquidityPool)
      Creates a ChangeTrustAsset for a liquidity pool share.
      Parameters:
      liquidityPool - The liquidity pool for which the trust is being changed.
  • Method Details