soroban-cli icon indicating copy to clipboard operation
soroban-cli copied to clipboard

events should default to last ledger

Open leighmcculloch opened this issue 1 year ago • 1 comments

The stellar events command requires a ledger or cursor to be specified.

However the CLI provides no utilities for getting the last ledger, or information about a network. There is this open issue to do that:

  • https://github.com/stellar/stellar-cli/issues/1612

But also, it's reasonable that someone should be able to run the events subcommand and retrieve events automatically from some point, probably the most recent ledger.

leighmcculloch avatar Sep 17 '24 22:09 leighmcculloch

@leighmcculloch I agree with not requiring a last ledger to be specified.

CLI should also be able to provide information like getLatestLedger or getTransaction

janewang avatar Sep 18 '24 17:09 janewang