Sep38PricesResponse
public struct Sep38PricesResponse : Decodable, Sendable
Response from the GET /prices endpoint of SEP-38 Quote Service.
This response provides indicative prices for buying various assets using a specified sell asset. Prices are not guaranteed and are for informational purposes only.
-
Array of assets that can be purchased with their indicative prices.
Each entry contains the asset identifier, price, and decimal precision.
Declaration
Swift
public let buyAssets: [Sep38BuyAsset] -
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