Class LiquidityPoolWithdrawOp

java.lang.Object
org.stellar.sdk.xdr.LiquidityPoolWithdrawOp
All Implemented Interfaces:
XdrElement

public class LiquidityPoolWithdrawOp extends Object implements XdrElement
LiquidityPoolWithdrawOp's original definition in the XDR file is:
 struct LiquidityPoolWithdrawOp
 {
     PoolID liquidityPoolID;
     int64 amount;     // amount of pool shares to withdraw
     int64 minAmountA; // minimum amount of first asset to withdraw
     int64 minAmountB; // minimum amount of second asset to withdraw
 };
 
  • Constructor Details

    • LiquidityPoolWithdrawOp

      public LiquidityPoolWithdrawOp()
    • LiquidityPoolWithdrawOp

      public LiquidityPoolWithdrawOp(PoolID liquidityPoolID, Int64 amount, Int64 minAmountA, Int64 minAmountB)
      Creates a new LiquidityPoolWithdrawOp instance.
      Parameters:
      liquidityPoolID - the liquidityPoolID field value
      amount - the amount field value
      minAmountA - the minAmountA field value
      minAmountB - the minAmountB field value
  • Method Details