Latest ledger
get_latest_ledgerLatest validated ledger index, hash and close time. When to use: To anchor other readings to a ledger or to check how current the network view is. Prefer another tool: Not for transaction data or account state; use the account endpoint for those. Example: get_latest_ledger {}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| close_time | Yes | ||
| ledger_hash | Yes | ||
| ledger_index | Yes |