Closed str closed 3 years ago
I do no think standardize the output would be a good initiative, support a JSON format is much more stable and future proof like you suggested in #154. So I'll close this issue because it's not something we are going to do.
What kind of scripting are you doing? Quick and dirty bash scripts? As a workaround you could do:
eosc ... | grep -E "(tx/)?[0-9a-f]{64}" | grep -Eo "[0-9a-f]{64}"
The eosc
library is mostly a thin CLI wrapper around github.com/eoscanadacom/eth-go library, so you could use Golang to script your stuff. The JavaScript eosjs
library can also be used also in case you are working on this language, the library is not from us, but has a similar feature set.
Pushing the transaction to Jungle, the output I get is:
BUT, when pushing the same transaction to mainnet, I get
Can we please standarize the output to make it easier to read by a script, please?