OrderbookResponse
public struct OrderbookResponse : Decodable, Sendable
Represents a orderbook response. See Stellar developer docs
-
An array of prices and amounts accounts are willing to buy for the given selling and buying pair.
Declaration
Swift
public let bids: [OrderbookOfferResponse] -
An array of prices and amounts accounts are willing to sell for the given selling and buying pair.
Declaration
Swift
public let asks: [OrderbookOfferResponse] -
The Asset this offer wants to sell.
Declaration
Swift
public let selling: OfferAssetResponse -
The Asset this offer wants to buy.
Declaration
Swift
public let buying: OfferAssetResponse -
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