Skip to content

Add support to 'await' the contract run command #433

Open
@lock9

Description

@lock9

Is your feature request related to a problem? Please describe.
Neo Express will only return the transaction results if you send the --results flag. However, these transactions aren't saved. If we use the --account parameter, the transaction is saved but the response is the transaction hash and not the results.

Describe the solution you'd like
Add a flag or equivalent to the contract run feature (using an account parameter) to return the transaction results instead of the transaction hash.

Additional context
The output can be too verbose if we include all the transaction fields. It could print the existing 'results' fields plus the transaction hash:

VM State:     FAULT
Gas Consumed: 1111470
Exception:   Index was outside the bounds of the array.
Transaction: <hash>

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions