Create an XLM Manage Buy Offer request

This endpoint creates an XLM Manage Buy Offer request.
Required role: RequestCreator.
This API can be made idempotent by generating an ID for the Request beforehand and passing it as the externalRequestId attribute

Body Params

Creates (or modifies an existing) XLM Buy Offer Request. Selling asset is the asset associated to the address identified by fromAddressId.

Creates (or modifies an existing) XLM Buy Offer Request. Selling asset is the asset associated to the address identified by fromAddressId.

string

Amount of the buying asset to buy, in the smallest currency unit, based on the currency decimals. For example, 1 corresponds to 1 'stroop' (one ten-millionth of XLM), and 1 XLM corresponds to 10000000 (7 decimals). If set to 0, deletes the offer identified by offerID

string
string
required
string

Specify asset to be bought in the offer. Leave empty for XLM native

string

Specify asset to be bought in the offer. Leave Empty for XLM native

string
string
required

Price of 1 unit of buying in terms of selling, as a string representing a floating point number. For example, if you wanted to buy 30 XLM and sell 5 BTC, the price would be 5/30 = '0.1666667'

string

ID of the offer to be modified. If 0, a new offer is created

string

Identifier for the request in the user's system. This must be unique. Attempting to create a request with an existing externalRequestId will do nothing and return the originally created request

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json


  © 2026 Taurus SA. All rights reserved.