ТарифыGitHubКабинет

Stellar

/ledgers/{sequence}/paymentsКредиты: 30

Get payments for a ledger

Сеть: stellar

Параметры

ИмяТипОписание
sequenceintegerPath. Sequence number of the ledger.
cursorstringQuery. paging_token of a record to continue after, taken from the previous page. (необязательно)
orderstringQuery. asc or desc. Defaults to asc. (необязательно)
limitintegerQuery. Max records per page, 1 to 200. Defaults to 10. (необязательно)
include_failedbooleanQuery. If true, include payments of failed transactions. (необязательно)
joinstringQuery. Set to transactions to embed the transaction that contains each payment. (необязательно)

Результат

Тип

object

Paged collection: _links (self, next, prev) and _embedded.records, an array of payment-type operations (create_account, payment, path_payment_strict_send, path_payment_strict_receive, account_merge). Payments have id, type, source_account, from, to, asset_type, asset_code, asset_issuer, amount, created_at, transaction_hash, transaction_successful.

Примеры кода

curl 'https://holy-burned-sky-stellar-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/ledgers/{sequence}/payments'