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'