IsHalted
IsHalted returns true if any of the specified operation types are halted. Returns error if any operation type is invalid.
Parameters:
- opTypes: operation types to inspect; an empty list reports no halted operations
Returns:
- halted: true when any requested operation is halted; on invalid input it is also true alongside the error
- error: nil when all requested operation types are valid and inspected; an invalid-operation or state error otherwise
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/halt/v1.IsHalted()"
Result