Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: EraHistory ledger query #480

Merged
merged 1 commit into from
Mar 13, 2025
Merged

Conversation

agaffney
Copy link
Contributor

Fixes #321

@agaffney agaffney requested a review from a team as a code owner March 13, 2025 20:39
@agaffney
Copy link
Contributor Author

agaffney commented Mar 13, 2025

NOTE: query tip uses the EraHistory query (as well as a few others) under the hood

$ cardano-cli latest query tip --socket-path ~/dev/blinklabs-io/dingo/dingo.socket --testnet-magic 2
{
    "block": 3047908,
    "epoch": 870,
    "era": "Conway",
    "hash": "13625033d07cf27be145447cd10f5812a26c3bdca9a0dd0def4fb1636ad8f315",
    "slot": 75242243,
    "slotInEpoch": 74243,
    "slotsToEpochEnd": 12157,
    "syncProgress": "100.00"
}

Fixes #321

Signed-off-by: Aurora Gaffney <[email protected]>
@agaffney agaffney force-pushed the feat/ledger-query-era-history branch from f0795f9 to d740824 Compare March 13, 2025 20:40
@agaffney agaffney merged commit 2b46b00 into main Mar 13, 2025
10 checks passed
@agaffney agaffney deleted the feat/ledger-query-era-history branch March 13, 2025 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for "cardano-cli query tip"
2 participants