Reset - Bytecoin RPC Wallet API

From Bytecoin Wiki
Jump to: navigation, search

reset() method allows you to re-sync your wallet.


Input.

Argument Mandatory Description Format Example
viewSecretKey No Private view key string 4a2583e42d010e8aabfed22743789569714196246bf01b5f2fec35af9232d907


No output in case of success.


Important: If the view_secret_key was not pointed out reset() methods resets the wallet and re-syncs it. If the view_secret_key argument was pointed out reset() method substitutes the existing wallet with a new one with a specified view_secret_key and creates an address for it.


Input value example:

{  
  'params':{  
     'viewSecretKey':'4a2583e42d010e8aabfed22743789569714196246bf01b5f2fec35af9232d907'
  },
  'jsonrpc':'2.0',
  'id':'test',
  'method':'reset'
}

Output value example:

{  
  'jsonrpc':'2.0',
  'id':'test',
  'result':{  
  }
}
Personal tools
Namespaces

Variants
Actions
Navigation
Tools