CreatePassiveSellOfferOperation

data class CreatePassiveSellOfferOperation(val selling: Asset, val buying: Asset, val amount: String, val price: Price) : Operation

Represents a CreatePassiveSellOffer operation.

Creates a passive sell offer that won't immediately match existing offers.

Constructors

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

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

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.