LiquidityPool

@Serializable
data class LiquidityPool(val id: String, val feeBP: Int, val type: String, val totalTrustlines: Long, val totalShares: String, val reserves: List<AssetAmount>)

Represents liquidity pool information used in effect responses.

See also

Constructors

Link copied to clipboard
constructor(id: String, feeBP: Int, type: String, totalTrustlines: Long, totalShares: String, reserves: List<AssetAmount>)

Properties

Link copied to clipboard
@SerialName(value = "fee_bp")
val feeBP: Int

The fee in basis points

Link copied to clipboard
@SerialName(value = "id")
val id: String

The liquidity pool ID

Link copied to clipboard
@SerialName(value = "reserves")
val reserves: List<AssetAmount>

The reserves in the pool

Link copied to clipboard
@SerialName(value = "total_shares")
val totalShares: String

Total shares in the pool

Link copied to clipboard
@SerialName(value = "total_trustlines")
val totalTrustlines: Long

Total number of trustlines

Link copied to clipboard
@SerialName(value = "type")
val type: String

The type of liquidity pool