Stellar
/accounts/{account_id}/offersКредиты: 25
Get account offers
Параметры
| Имя | Тип | Описание |
|---|---|---|
| account_id | string | Path. Public key of the account (G... address) that created the offers. |
| 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 open offers (id, paging_token, seller, selling, buying, amount, price, price_r, last_modified_ledger, last_modified_time).
Примеры кода
curl 'https://holy-burned-sky-stellar-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/accounts/{account_id}/offers'