simulate
Simulates the transaction on the network.
Must be called before signing or submitting. Will automatically restore required contract state if restore is true and this is not a read call.
Return
This AssembledTransaction for chaining
Parameters
restore
Whether to automatically restore contract state if needed
Throws
if the simulation failed
if contract state could not be restored