LiquidityPoolDepositOperation

data class LiquidityPoolDepositOperation(val liquidityPoolId: String, val maxAmountA: String, val maxAmountB: String, val minPrice: Price, val maxPrice: Price) : Operation

Represents a LiquidityPoolDeposit operation.

Constructors

Link copied to clipboard
constructor(liquidityPoolId: String, maxAmountA: String, maxAmountB: String, minPrice: Price, maxPrice: Price)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

Maximum amount of first asset to deposit

Link copied to clipboard

Maximum amount of second asset to deposit

Link copied to clipboard

Maximum deposita/depositb price

Link copied to clipboard

Minimum deposita/depositb price

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.