LiquidityPoolEffectResponse
public struct LiquidityPoolEffectResponse : Decodable, Sendable
Represents liquidity pool details within an effect response. Contains information about the pool’s state, including reserves, shares, and fee structure. Used as a nested object in liquidity pool effect responses. See Stellar developer docs
-
The unique identifier of the liquidity pool.
Declaration
Swift
public let poolId: String -
The fee charged for trades against this pool, in basis points.
Declaration
Swift
public let fee: Int64 -
The type of liquidity pool (e.g., constant_product).
Declaration
Swift
public let type: String -
The total number of trustlines established to this pool.
Declaration
Swift
public let totalTrustlines: String -
The total number of pool shares issued.
Declaration
Swift
public let totalShares: String -
The asset reserves held by the pool.
Declaration
Swift
public let reserves: [ReserveResponse] -
Initializer - creates a new instance by decoding from the given decoder.
Declaration
Swift
public init(from decoder: Decoder) throwsParameters
decoderThe decoder containing the data
View on GitHub
Install in Dash