ethjs-contract
ethjs-contract copied to clipboard
An option to reduce single output returns
Issue Type
- [x] Feature
Description
Outputs are currently in the object format:
await someMethod() : {
0: ...,
1: ...,
}
For single output returns we might want to have an option reduceOutputReturns so that outputs are just the single value output. This is an opinion, but one many people use all the time.
await someMethod() : ....