Stellar
/accounts/{account_id}/trades25クレジット
Get account trades
パラメータ
| 名前 | 型 | 説明 |
|---|---|---|
| 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. (任意) |
| order | string | Query. asc or desc. Defaults to asc. (任意) |
| limit | integer | Query. Max records per page, 1 to 200. Defaults to 10. (任意) |
戻り値
型
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).
コード例
curl 'https://holy-burned-sky-stellar-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/accounts/{account_id}/trades'