TradeLinksResponse
public struct TradeLinksResponse : Decodable, Sendable
Navigation links for trade-related resources.
Provides hypermedia links to resources associated with a trade, including the base and counter accounts involved and the operation that executed the trade.
See also:
- Stellar developer docs
- TradeResponse for complete trade details
- LinkResponse for individual link structure
-
Link to the account that provided the base asset in the trade.
Declaration
Swift
public let base: LinkResponse -
Link to the account that provided the counter asset in the trade.
Declaration
Swift
public let counter: LinkResponse -
Link to the operation (Manage Buy Offer, Manage Sell Offer, or Path Payment) that executed this trade.
Declaration
Swift
public let operation: LinkResponse -
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