PreiseGitHubDashboard

Stellar

/accounts/{account_id}/trades25 Credits

Get account trades

Netzwerk: stellar

Parameter

NameTypBeschreibung
account_idstringPath. Public key of the account (G... address) that took part in the trades.
cursorstringQuery. paging_token of a record to continue after, taken from the previous page. (optional)
orderstringQuery. asc or desc. Defaults to asc. (optional)
limitintegerQuery. Max records per page, 1 to 200. Defaults to 10. (optional)

Rückgabewert

Typ

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).

Codebeispiele

curl 'https://holy-burned-sky-stellar-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/accounts/{account_id}/trades'