ethjs-contract icon indicating copy to clipboard operation
ethjs-contract copied to clipboard

An option to reduce single output returns

Open SilentCicero opened this issue 8 years ago • 0 comments

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() : ....

SilentCicero avatar Dec 15 '17 15:12 SilentCicero