ManageBuyOfferOperation

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

Represents a ManageBuyOffer operation.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Amount of buying being bought

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 buying in terms of selling

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.