Query Parameters
- selling_asset_typestringREQUIRED
The type of the asset being sold. Either 'native', 'credit_alphanum4', or 'credit_alphanum12'
- selling_asset_issuerstring
The Stellar address of the issuer of the asset being sold. Required if the selling_asset_type is not 'native'
- selling_asset_codestring
The code for the asset being sold. Required if the selling_asset_type is not 'native'
- buying_asset_typestringREQUIRED
The type of the asset being bought. Either 'native', 'credit_alphanum4', or 'credit_alphanum12'
- buying_asset_issuerstring
The Stellar address of the issuer of the asset being bought. Required if the buying_asset_type is not 'native'
- buying_asset_codestring
The code for the asset being bought. Required if the buying_asset_type is not 'native'
- limitinteger
The maximum number of records to return for bids and asks
Returns
- bidsarray
An array of bid offers
- price_robject
The price as a rational number
- ninteger
The numerator
- dinteger
The denominator
- pricestring
The price as a decimal string
- amountstring
The amount of the asset being offered
- asksarray
An array of ask offers
- price_robject
The price as a rational number
- ninteger
The numerator
- dinteger
The denominator
- pricestring
The price as a decimal string
- amountstring
The amount of the asset being offered
- baseobject
Details about the base asset
- asset_typestring
The type of the base asset
- asset_codestring
(Optional) The code of the base asset
- asset_issuerstring
(Optional) The issuer of the base asset
- counterobject
Details about the counter asset
- asset_typestring
The type of the counter asset
- asset_codestring
The code of the counter asset
- asset_issuerstring
The issuer of the counter asset