Loading...
The single ledger endpoint provides information on a specific ledger.
This method will use 20 Compute Units.
20
The sequence number of a specific ledger.
0
Success
const response = await fetch('https://mainnet.stellar.validationcloud.io/v1/<YOUR_API_KEY_HERE>/ledgers/{sequence}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "_embedded": { "records": [ { "_links": { "self": { "href": "text", "templated": false }, "transactions": { "href": "text", "templated": false }, "operations": { "href": "text", "templated": false }, "payments": { "href": "text", "templated": false }, "effects": { "href": "text", "templated": false } }, "id": "text", "paging_token": "text", "hash": "text", "pre_hash": "text", "closed_at": "text", "total_coins": "text", "fee_pool": "text", "header_xdr": "text" } ] } }