Add an event handler for the Transaction Broadcast event
the function to handle the broadcast event
Add an event handler for the Transaction Combine event
the function to handle the broadcast event
Add an event handler for the Transaction Complete/End event
the function to handle the complete event
Add an event handler for the Transaction Proposed event
the function to handle the propose event
Add an event handler for the Transaction Sign event
the function to handle the sign event
onTransition
The current state
The next state
The handler function to be called when transitioning from the current state to the next state
InvalidTransitionError if the transition from 'fromState' to 'toState' is not allowed
Submits a transaction to the blockchain
true if it was successfully submitted
Represents a Transaction throughout its entire lifecycle.