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

[FR] - QoL feature: display txhash on command line after submitting tx #896

Open
ptrdsh opened this issue Sep 17, 2024 · 2 comments
Open
Assignees

Comments

@ptrdsh
Copy link

ptrdsh commented Sep 17, 2024

Internal/External
Internal if an IOHK staff member.
External otherwise.

Area
Other Any other topic (Delegation, Ranking, ...).

Describe the feature you'd like
cardano-cli conway transaction submit currently only outputs Transaction successfully submitted on the command line. Would be very handy to add the txHash of the submitted tx to the output, plus maybe even an overview of the outputs created (similar to how query utxo does it).

@smelc
Copy link
Contributor

smelc commented Sep 17, 2024

cc @CarlosLopezDeLara

@CarlosLopezDeLara
Copy link
Contributor

Not so sure about the best way to print the information about the outputs, but printing the TxId should be very straight forward. I think we can start with that.

  • With this, users can follow-up with query utxo --tx-in TxId#TxIx to get the details, which might be more desirable since query utxo --tx-in will only succeed once the transaction has been added to a block. Before that, the transaction may still fail i.e. because --invalid-hereafter is reached before the transaction made it to a block.

Let's think about how could we print the outputs info and what sorts of warnings should be put in place.

@smelc smelc self-assigned this Sep 18, 2024
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

No branches or pull requests

3 participants