Value getnewaddress(const Array& params, boolfHelp)
{
if (fHelp || params.size() > 1)
throwruntime_error(
"getnewaddress ( \"account\" )\n"
"\nReturns a new Sidecoin address for receiving payments.\n"
"If 'account' is specified (recommended), it is added to the address book \n"
"so payments received with the address will be credited to 'account'.\n"
"\nArguments:\n"
"1. \"account\" (string, optional) The account name for the address to be linked to. if not provided, the default account \"\" is used. It can also be set to the empty string \"\" to represent the default account. The account does not need to exist, it will be created if there is no account by the given name.\n"
"\nResult:\n"
"\"sidecoinaddress\" (string) The new sidecoin address\n"
Value getaccountaddress(const Array& params, boolfHelp)
{
if (fHelp || params.size() != 1)
throwruntime_error(
"getaccountaddress \"account\"\n"
"\nReturns the current Sidecoin address for receiving payments to this account.\n"
"\nArguments:\n"
"1. \"account\" (string, required) The account name for the address. It can also be set to the empty string \"\" to represent the default account. The account does not need to exist, it will be created and a new address created if there is no account by the given name.\n"
"\nResult:\n"
"\"sidecoinaddress\" (string) The account sidecoin address\n"