TarifsGitHubTableau de bord

Stellar

/accounts/{account_id}/trades25 crédits

Get account trades

Réseau: stellar

Paramètres

NomTypeDescription
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. (facultatif)
orderstringQuery. asc or desc. Defaults to asc. (facultatif)
limitintegerQuery. 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'