resetNetwork

⚠️ Note:

This method is only callable by the Leader node, which for the time being will be Arch. This method is used for internal debugging purposes as we get the Testnet operational.

This endpoint is also not available for local validators.

Description: Resets the network state.

Parameters: None.

Returns: A success message if the network reset is successful.

Request:

curl -vL POST -H 'Content-Type: application/json' -d '
{
  "jsonrpc":"2.0",
  "id":1,
  "method":"reset_network",
  "params":[]
}' \
http://localhost:9001/

Response:

{
  "jsonrpc": "2.0",
  "result": "Success!",
  "id": "1"
}