API Reference

Set Cancel On Disconnect

Method Name

private/set_cancel_on_disconnect

Enables cancel on disconnect for the account
Required minimum session key permission level is account

Parameters

enabled boolean required
Whether to enable or disable cancel on disconnect
wallet string required
Public key (wallet) of the account

Response

id string or integer required
result string required

enum ok

Example

{request_example_shell}
{request_example_javascript}
{request_example_python}

The above command returns JSON structured like this:

{response_example_json}