Description Usage Arguments Value Note Examples
Return all partially fulfilled trades to buy or sell assets on the ledger.
1 2 3 4 |
limit |
numeric - the number of records to return. |
cursor |
numeric - optional, a paging token - where to start from. Can also be "now". |
order |
character - optional, "asc" or "desc" |
domain |
- character - signalling to query the testnet or public network. Can be either "testnet" or "public". |
base_asset_type |
optional, string - type of base asset |
base_asset_code |
optional, string - code of base asset, not required if type is native |
base_asset_issuer |
optional, string - issuer of base asset, not required if type is native |
counter_asset_type |
optional, string - type of counter asset |
counter_asset_code |
optional, string - code of counter asset, not required if type is native |
counter_asset_issuer |
optional, string - issuer of counter asset, not required if type is native |
offer_id |
optional, string - filter for by a specific offer id |
data.table |
boolean - if true, a data.table is returned. FALSE by default. |
data.table or list
https://www.stellar.org/developers/horizon/reference/endpoints/trades.html
1 | ## Not run: getTrades(20)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.