ManageOfferOperationResponse

public class ManageOfferOperationResponse : OperationResponse, @unchecked Sendable

Represents a manage offer operation response. See Stellar developer docs

  • ID of the offer. 0 for a new offer, existing ID to update or delete.

    Declaration

    Swift

    public let offerId: String
  • Amount of the selling asset offered.

    Declaration

    Swift

    public let amount: String
  • Price of 1 unit of selling asset in terms of buying asset (decimal).

    Declaration

    Swift

    public let price: String
  • Type of asset to buy (native / alphanum4 / alphanum12).

    Declaration

    Swift

    public let buyingAssetType: String
  • Code of the asset to buy.

    Declaration

    Swift

    public let buyingAssetCode: String?
  • Issuer of the asset to buy.

    Declaration

    Swift

    public let buyingAssetIssuer: String?
  • Type of asset to sell (native / alphanum4 / alphanum12).

    Declaration

    Swift

    public let sellingAssetType: String
  • Code of the asset to sell.

    Declaration

    Swift

    public let sellingAssetCode: String?
  • Issuer of the asset to sell.

    Declaration

    Swift

    public let sellingAssetIssuer: String?
  • Initializer - creates a new instance by decoding from the given decoder.

    Declaration

    Swift

    public required init(from decoder: Decoder) throws

    Parameters

    decoder

    The decoder containing the data