openzeppelin-sdk
openzeppelin-sdk copied to clipboard
Preview transaction info before sending it in zos send-tx
When using zos send-tx, we can show the user an estimate of how much gas it's going to take, how much it's going to cost in fees (price times estimated gas), and whether it's going to fail or not. We can ask for the user to confirm the tx before sending it then.
Would it be possible, perhaps with a verbose flag, or "-showTransaction" to show them the actual transaction? I could imagine a use case where someone needs to build a transaction that they would like to copy-paste for something else.
It would also help to preview gas estimate of calls, not just txs.