Stellar
/accounts/{account_id}/trades25 crédits
Get account trades
Paramètres
| Nom | Type | Description |
|---|---|---|
| account_id | string | Path. Public key of the account (G... address) that took part in the trades. |
| cursor | string | Query. paging_token of a record to continue after, taken from the previous page. (facultatif) |
| order | string | Query. asc or desc. Defaults to asc. (facultatif) |
| limit | integer | Query. Max records per page, 1 to 200. Defaults to 10. (facultatif) |
Valeur renvoyée
Type
object
Paged collection: _links (self, next, prev) and _embedded.records, an array of trades (id, paging_token, ledger_close_time, trade_type, base_account, base_amount, base_asset_type, base_asset_code, base_asset_issuer, counter_account, counter_amount, counter_asset_type, counter_asset_code, counter_asset_issuer, base_is_seller, price).
Exemples de code
curl 'https://holy-burned-sky-stellar-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/accounts/{account_id}/trades'