Stellar
/order_book25 kredi
Get order book
Parametreler
| Ad | Tür | Açıklama |
|---|---|---|
| selling_asset_type | string | Query. Type of the selling (base) asset: native, credit_alphanum4 or credit_alphanum12. |
| selling_asset_code | string | Query. Code of the selling asset. Required unless selling_asset_type is native. (isteğe bağlı) |
| selling_asset_issuer | string | Query. Issuer account of the selling asset. Required unless selling_asset_type is native. (isteğe bağlı) |
| buying_asset_type | string | Query. Type of the buying (counter) asset: native, credit_alphanum4 or credit_alphanum12. |
| buying_asset_code | string | Query. Code of the buying asset. Required unless buying_asset_type is native. (isteğe bağlı) |
| buying_asset_issuer | string | Query. Issuer account of the buying asset. Required unless buying_asset_type is native. (isteğe bağlı) |
| limit | integer | Query. Max bids and asks returned, 1 to 200. Defaults to 20. (isteğe bağlı) |
Dönüş değeri
Tür
object
Order book: bids and asks (arrays of { price, price_r: { n, d }, amount }), plus base and counter asset objects (asset_type, asset_code, asset_issuer).
Kod örnekleri
curl 'https://holy-burned-sky-stellar-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/order_book'