ManageSellOfferOperation

data class ManageSellOfferOperation(val selling: Asset, val buying: Asset, val amount: String, val price: Price, val offerId: Long = 0) : Operation

Represents a ManageSellOffer operation.

Constructors

Link copied to clipboard
constructor(selling: Asset, buying: Asset, amount: String, price: Price, offerId: Long = 0)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Amount of selling being sold

Link copied to clipboard

The asset being bought in this operation

Link copied to clipboard

The ID of the offer (0 for new, existing ID to update/delete)

Link copied to clipboard

Price of 1 unit of selling in terms of buying

Link copied to clipboard

The asset being sold in this operation

Link copied to clipboard

Optional source account for this operation.

Functions

Link copied to clipboard
open override fun toOperationBody(): OperationBodyXdr

Converts this operation to its XDR operation body representation.

Link copied to clipboard

Converts this operation to its full XDR representation, including the source account.