Stellar
/ledgers/{sequence}/operations30 crédits
Get operations for a ledger
Paramètres
| Nom | Type | Description |
|---|---|---|
| sequence | integer | Path. Sequence number of the ledger. |
| cursor | string | Query. paging_token of a record to continue after, taken from the previous page. (facultatif) |
| order | string | Query. asc or desc. Defaults to asc. (facultatif) |
| limit | integer | Query. Max records per page, 1 to 200. Defaults to 10. (facultatif) |
| include_failed | boolean | Query. If true, include operations of failed transactions. (facultatif) |
| join | string | Query. Set to transactions to embed the transaction that contains each operation. (facultatif) |
Valeur renvoyée
Type
object
Paged collection: _links (self, next, prev) and _embedded.records, an array of operations. Each has id, paging_token, type, type_i, source_account, created_at, transaction_hash, transaction_successful plus fields specific to the operation type.
Exemples de code
curl 'https://holy-burned-sky-stellar-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/ledgers/{sequence}/operations'