Stellar
/ledgers20クレジット
List ledgers
パラメータ
| 名前 | 型 | 説明 |
|---|---|---|
| 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 ledgers (id, paging_token, hash, prev_hash, sequence, successful_transaction_count, failed_transaction_count, operation_count, closed_at, total_coins, fee_pool, base_fee_in_stroops, base_reserve_in_stroops, max_tx_set_size, protocol_version, header_xdr).
コード例
curl 'https://holy-burned-sky-stellar-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/ledgers'