LiquidityPoolWithdrawOperation

data class LiquidityPoolWithdrawOperation(val liquidityPoolId: String, val amount: String, val minAmountA: String, val minAmountB: String) : Operation

Represents a LiquidityPoolWithdraw operation.

Constructors

Link copied to clipboard
constructor(liquidityPoolId: String, amount: String, minAmountA: String, minAmountB: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Amount of pool shares to withdraw

Link copied to clipboard

The liquidity pool ID (hex-encoded, 64 characters)

Link copied to clipboard

Minimum amount of first asset to withdraw

Link copied to clipboard

Minimum amount of second asset to withdraw

Link copied to clipboard

Optional source account for this operation.

Functions

Link copied to clipboard
open override fun toOperationBody(): OperationBodyXdr

Converts this operation to its XDR operation body representation.

Link copied to clipboard

Converts this operation to its full XDR representation, including the source account.