iridium_walletd reset method

back to methods summary

The reset method allows you to re-sync your wallet.

Input.

ArgumentMandatoryDescriptionFormatExample
viewSecretKey No Private view key string 52c63214c5ea53d60611bfa109c03b57d17c3140d95fad603166090de7667e0e

No output in case of success.

Important: If the view_secret_key is not specified, the reset methods resets the wallet and re-syncs it.

Important: If the view_secret_key argument is specified, the reset method substitutes the existing wallet with a new one with the specified view_secret_key and creates an address for it. This will override your existing wallet file! Don't do that at home without having a backup! -you have been warned.

Input :

{'params':{
   'viewSecretKey':'52c63214c5ea53d60611bfa109c03b57d17c3140d95fad603166090de7667e0e'
   },
 'jsonrpc':'2.0',
 'id':'test',
 'method':'reset'
}

Return :

{  
  'jsonrpc':'2.0',
  'id':'test',
  'result':{  
  }
}

back to methods summary