Passive Sell Offer
Creates an offer that will not consume a counter offer that exactly matches this offer. This is useful for offers meant to be 1:1 exchanges for path payments. Use Manage Sell Offer to manage this offer after using this operation to create it.
See the Create Passive Sell Offer errors.
- ATTRIBUTE -
amount
stringThe amount of
selling_assetthat the account making this offer is willing to sell.price
stringHow many units of
selling_assetit takes to get 1 unit ofbuying_asset. A number representing the decimal form ofprice_r.price_robject
A precise representation of the buy and sell price of the assets on offer.Show child attributes
buying_asset_typestring
The type for the buying asset. Either
native,credit_alphanum4, orcredit_alphanum12.buying_asset_issuerstring
The Stellar address of the buying asset’s issuer. Appears if the
buying_asset_typeis notnative.buying_asset_codestring
The code for the buying asset. Appears if the
buying_asset_typeis notnative.selling_asset_typestring
The type for the selling asset. Either
native,credit_alphanum4, orcredit_alphanum12.selling_asset_issuerstring
The Stellar address of the selling asset’s issuer. Appears if the
selling_asset_typeis notnative.selling_asset_codestring
The code for the selling asset. Appears if the
selling_asset_typeis notnative.offer_idstring
A unique identifier for this offer.
Last updated
Was this helpful?