diff --git a/internal/rpchelp/helpdescs_en_US.go b/internal/rpchelp/helpdescs_en_US.go index 4c64c67bdf..c1b19af6d7 100644 --- a/internal/rpchelp/helpdescs_en_US.go +++ b/internal/rpchelp/helpdescs_en_US.go @@ -10,79 +10,82 @@ package rpchelp var helpDescsEnUS = map[string]string{ // AddMultisigAddressCmd help. "addmultisigaddress--synopsis": "Generates and imports a multisig address and redeeming script to the 'imported' account.", - "addmultisigaddress-account": "DEPRECATED -- Unused (all imported addresses belong to the imported account)", - "addmultisigaddress-keys": "Pubkeys and/or pay-to-pubkey-hash addresses to partially control the multisig address", - "addmultisigaddress-nrequired": "The number of signatures required to redeem outputs paid to this address", - "addmultisigaddress--result0": "The imported pay-to-script-hash address", + "addmultisigaddress-account": "DEPRECATED -- Unused (all imported addresses belong to the imported account).", + "addmultisigaddress-keys": "Pubkeys and/or pay-to-pubkey-hash addresses to partially control the multisig address.", + "addmultisigaddress-nrequired": "The number of signatures required to redeem outputs paid to this address.", + "addmultisigaddress--result0": "The imported pay-to-script-hash address.", // CreateMultisigCmd help. "createmultisig--synopsis": "Generate a multisig address and redeem script.", - "createmultisig-keys": "Pubkeys and/or pay-to-pubkey-hash addresses to partially control the multisig address", - "createmultisig-nrequired": "The number of signatures required to redeem outputs paid to this address", + "createmultisig-keys": "Pubkeys and/or pay-to-pubkey-hash addresses to partially control the multisig address.", + "createmultisig-nrequired": "The number of signatures required to redeem outputs paid to this address.", // CreateMultisigResult help. - "createmultisigresult-address": "The generated pay-to-script-hash address", - "createmultisigresult-redeemScript": "The script required to redeem outputs paid to the multisig address", + "createmultisigresult-address": "The generated pay-to-script-hash address.", + "createmultisigresult-redeemScript": "The script required to redeem outputs paid to the multisig address.", + + // CreateNewAccountCmd help. + "createnewaccount--synopsis": "Creates a new account.", + "createnewaccount-account": "Account name.", // DumpPrivKeyCmd help. "dumpprivkey--synopsis": "Returns the private key in WIF encoding that controls some wallet address.", - "dumpprivkey-address": "The address to return a private key for", - "dumpprivkey--result0": "The WIF-encoded private key", + "dumpprivkey-address": "The address to return a private key for.", + "dumpprivkey--result0": "The WIF-encoded private key.", + + // ExportWatchingWalletCmd help. + "exportwatchingwallet--synopsis": "Creates and returns a duplicate of the wallet database without any private keys to be used as a watching-only wallet.", + "exportwatchingwallet-account": "Unused (must be unset or \"*\").", + "exportwatchingwallet-download": "Unused.", + "exportwatchingwallet--result0": "The watching-only database encoded as a base64 string.", // GetAccountCmd help. - "getaccount--synopsis": "DEPRECATED -- Lookup the account name that some wallet address belongs to.", - "getaccount-address": "The address to query the account for", - "getaccount--result0": "The name of the account that 'address' belongs to", + "getaccount--synopsis": "Lookup the account name that some wallet address belongs to.", + "getaccount-address": "The address to query the account for.", + "getaccount--result0": "The name of the account that 'address' belongs to.", // GetAccountAddressCmd help. - "getaccountaddress--synopsis": "DEPRECATED -- Returns the most recent external payment address for an account that has not been seen publicly.\n" + + "getaccountaddress--synopsis": "Returns the most recent external payment address for an account that has not been seen publicly.\n" + "A new address is generated for the account if the most recently generated address has been seen on the blockchain or in mempool.", - "getaccountaddress-account": "The account of the returned address", - "getaccountaddress--result0": "The unused address for 'account'", + "getaccountaddress-account": "The account of the returned address. Defaults to 'default'", + "getaccountaddress-addresstype": "Address type. Must be one of 'legacy', 'p2sh-segwit', or 'bech32'. Default to 'legacy'.", + "getaccountaddress--result0": "The unused address for 'account'.", // GetAddressesByAccountCmd help. - "getaddressesbyaccount--synopsis": "DEPRECATED -- Returns all addresses strings controlled by a single account.", - "getaddressesbyaccount-account": "Account name to fetch addresses for", - "getaddressesbyaccount--result0": "All addresses controlled by 'account'", + "getaddressesbyaccount--synopsis": "Returns all addresses controlled by a single account.", + "getaddressesbyaccount-account": "Account name to fetch addresses for. Defaults to 'default'", + "getaddressesbyaccount-addresstype": "Address type filter. Must be one of 'legacy', 'p2sh-segwit', 'bech32', or '*'. Defaults to '*'.", + "getaddressesbyaccount--result0": "All addresses controlled by 'account' filtered by 'addresstype'.", // GetBalanceCmd help. "getbalance--synopsis": "Calculates and returns the balance of one or all accounts.", - "getbalance-minconf": "Minimum number of block confirmations required before an unspent output's value is included in the balance", - "getbalance-account": "DEPRECATED -- The account name to query the balance for, or \"*\" to consider all accounts (default=\"*\")", - "getbalance--condition0": "account != \"*\"", - "getbalance--condition1": "account = \"*\"", - "getbalance--result0": "The balance of 'account' valued in bitcoin", - "getbalance--result1": "The balance of all accounts valued in bitcoin", + "getbalance-minconf": "Minimum number of block confirmations required before an unspent output's value is included in the balance.", + "getbalance-account": "Account name or '*' for all accounts to query the balance for. Default to 'default'.", + "getbalance-addresstype": "Address type filter. Must be one of 'legacy', 'p2sh-segwit', 'bech32', or '*'. Default to '*'.", + "getbalance--result0": "The balance valued in LBC.", + + // GetBestBlockCmd help. + "getbestblock--synopsis": "Returns the hash and height of the newest block in the best chain that wallet has finished syncing with.", + + // GetBestBlockResult help. + "getbestblockresult-hash": "The hash of the block.", + "getbestblockresult-height": "The blockchain height of the block.", // GetBestBlockHashCmd help. "getbestblockhash--synopsis": "Returns the hash of the newest block in the best chain that wallet has finished syncing with.", - "getbestblockhash--result0": "The hash of the most recent synced-to block", + "getbestblockhash--result0": "The hash of the most recent synced-to block.", // GetBlockCountCmd help. "getblockcount--synopsis": "Returns the blockchain height of the newest block in the best chain that wallet has finished syncing with.", - "getblockcount--result0": "The blockchain height of the most recent synced-to block", + "getblockcount--result0": "The blockchain height of the most recent synced-to block.", // GetInfoCmd help. "getinfo--synopsis": "Returns a JSON object containing various state info.", - // InfoWalletResult help. - "infowalletresult-version": "The version of the server", - "infowalletresult-protocolversion": "The latest supported protocol version", - "infowalletresult-blocks": "The number of blocks processed", - "infowalletresult-timeoffset": "The time offset", - "infowalletresult-connections": "The number of connected peers", - "infowalletresult-proxy": "The proxy used by the server", - "infowalletresult-difficulty": "The current target difficulty", - "infowalletresult-testnet": "Whether or not server is using testnet", - "infowalletresult-relayfee": "The minimum relay fee for non-free transactions in LBC/KB", - "infowalletresult-errors": "Any current errors", - "infowalletresult-paytxfee": "The increment used each time more fee is required for an authored transaction", - "infowalletresult-balance": "The non-staked balance of all accounts calculated with one block confirmation", - "infowalletresult-staked": "The staked balance of all accounts calculated with one block confirmation", - "infowalletresult-walletversion": "The version of the address manager database", - "infowalletresult-unlocked_until": "Unset", - "infowalletresult-keypoolsize": "Unset", - "infowalletresult-keypoololdest": "Unset", + // GetUnconfirmedBalanceCmd help. + "getunconfirmedbalance--synopsis": "Calculates the unspent output value of all unmined transaction outputs.", + "getunconfirmedbalance-account": "The account name to query the unconfirmed balance for. Default to 'default'.", + "getunconfirmedbalance--result0": "Total amount of all unmined unspent outputs of the account valued in LBC.", // GetAddressInfoCmd help. "getaddressinfo--synopsis": "Generates and returns a new payment address.", @@ -95,7 +98,7 @@ var helpDescsEnUS = map[string]string{ "getaddressinforesult-timestamp": "The creation time of the key, if available, expressed in UNIX epoch time.", "getaddressinforesult-hdkeypath": "The HD keypath, if the key is HD and available.", "getaddressinforesult-hdseedid": "The Hash160 of the HD seed.", - "getaddressinforesult-address": "The address validated", + "getaddressinforesult-address": "The address validatedi.", "getaddressinforesult-scriptPubKey": "The hex-encoded scriptPubKey generated by the address.", "getaddressinforesult-desc": "A descriptor for spending coins sent to this address (only when solvable).", "getaddressinforesult-isscript": "If the key is a script.", @@ -111,7 +114,7 @@ var helpDescsEnUS = map[string]string{ "getaddressinforesult-iscompressed": "If the pubkey is compressed.", "getaddressinforesult-hdmasterfingerprint": "The fingerprint of the master key.", "getaddressinforesult-labels": "Array of labels associated with the address. Currently limited to one label but returned.", - "embeddedaddressinfo-address": "The address validated", + "embeddedaddressinfo-address": "The address validated.", "embeddedaddressinfo-scriptPubKey": "The hex-encoded scriptPubKey generated by the address.", "embeddedaddressinfo-desc": "A descriptor for spending coins sent to this address (only when solvable).", "embeddedaddressinfo-isscript": "If the key is a script.", @@ -130,249 +133,287 @@ var helpDescsEnUS = map[string]string{ // GetNewAddressCmd help. "getnewaddress--synopsis": "Generates and returns a new payment address.", - "getnewaddress-account": "DEPRECATED -- Account name the new address will belong to (default=\"default\")", - "getnewaddress-addresstype": "Address type. Must be one of legacy / p2pkh, p2sh-p2wpkh / p2sh-p2wkh / p2sh-segwit, or p2wpkh / p2wkh / bech32", - "getnewaddress--result0": "The payment address", + "getnewaddress-account": "Account name the new address will belong to. Defaults to 'default'.", + "getnewaddress-addresstype": "Address type. Must be one of 'legacy', 'p2sh-segwit', or 'bech32'. Default to 'legacy'.", + "getnewaddress--result0": "The payment address.", // GetRawChangeAddressCmd help. - "getrawchangeaddress--synopsis": "Generates and returns a new internal payment address for use as a change address in raw transactions.", - "getrawchangeaddress-account": "Account name the new internal address will belong to (default=\"default\")", - "getrawchangeaddress--result0": "The internal payment address", + "getrawchangeaddress--synopsis": "Generates and returns a new internal payment address for use as a change address in raw transactions.", + "getrawchangeaddress-account": "Account name the new internal address will belong to. Defaults to 'default'.", + "getrawchangeaddress-addresstype": "Address type. Must be one of 'legacy', 'p2sh-segwit', or 'bech32'. Default to 'legacy'.", + "getrawchangeaddress--result0": "The internal payment address.", // GetReceivedByAccountCmd help. - "getreceivedbyaccount--synopsis": "DEPRECATED -- Returns the total amount received by addresses of some account, including spent outputs.", - "getreceivedbyaccount-account": "Account name to query total received amount for", - "getreceivedbyaccount-minconf": "Minimum number of block confirmations required before an output's value is included in the total", - "getreceivedbyaccount--result0": "The total received amount valued in bitcoin", + "getreceivedbyaccount--synopsis": "Returns the total amount received by addresses of some account, including spent outputs.", + "getreceivedbyaccount-account": "Account name to query total received amount for. Defaults to 'default'", + "getreceivedbyaccount-minconf": "Minimum number of block confirmations required before an output's value is included in the total. Defaults to 0", + "getreceivedbyaccount--result0": "The total received amount valued in LBC.", // GetReceivedByAddressCmd help. "getreceivedbyaddress--synopsis": "Returns the total amount received by a single address, including spent outputs.", - "getreceivedbyaddress-address": "Payment address which received outputs to include in total", - "getreceivedbyaddress-minconf": "Minimum number of block confirmations required before an output's value is included in the total", - "getreceivedbyaddress--result0": "The total received amount valued in bitcoin", + "getreceivedbyaddress-address": "Payment address which received outputs to include in total.", + "getreceivedbyaddress-minconf": "Minimum number of block confirmations required before an output's value is included in the total. Defaults to 1", + "getreceivedbyaddress--result0": "The total received amount valued in LBC.", // GetTransactionCmd help. "gettransaction--synopsis": "Returns a JSON object with details regarding a transaction relevant to this wallet.", - "gettransaction-txid": "Hash of the transaction to query", - "gettransaction-includewatchonly": "Also consider transactions involving watched addresses", - - // HelpCmd help. - "help--synopsis": "Returns a list of all commands or help for a specified command.", - "help-command": "The command to retrieve help for", - "help--condition0": "no command provided", - "help--condition1": "command specified", - "help--result0": "List of commands", - "help--result1": "Help for specified command", + "gettransaction-txid": "Hash of the transaction to query.", + "gettransaction-includewatchonly": "Also consider transactions involving watched addresses.", // GetTransactionResult help. - "gettransactionresult-amount": "The total amount this transaction credits to the wallet, valued in bitcoin", - "gettransactionresult-fee": "The total input value minus the total output value, or 0 if 'txid' is not a sent transaction", - "gettransactionresult-confirmations": "The number of block confirmations of the transaction", - "gettransactionresult-blockhash": "The hash of the block this transaction is mined in, or the empty string if unmined", - "gettransactionresult-blockindex": "Unset", - "gettransactionresult-blocktime": "The Unix time of the block header this transaction is mined in, or 0 if unmined", - "gettransactionresult-txid": "The transaction hash", - "gettransactionresult-walletconflicts": "Unset", - "gettransactionresult-time": "The earliest Unix time this transaction was known to exist", - "gettransactionresult-timereceived": "The earliest Unix time this transaction was known to exist", - "gettransactionresult-details": "Additional details for each recorded wallet credit and debit", - "gettransactionresult-hex": "The transaction encoded as a hexadecimal string", + "gettransactionresult-amount": "The total amount this transaction credits to the wallet, valued in LBC.", + "gettransactionresult-fee": "The total input value minus the total output value, or 0 if 'txid' is not a sent transaction.", + "gettransactionresult-confirmations": "The number of block confirmations of the transaction.", + "gettransactionresult-generated": "Only present if transaction only input is a coinbase one.", + "gettransactionresult-blockhash": "The hash of the block this transaction is mined in, or the empty string if unmined.", + "gettransactionresult-blockindex": "Unset.", + "gettransactionresult-blocktime": "The Unix time of the block header this transaction is mined in, or 0 if unmined.", + "gettransactionresult-txid": "The transaction hash.", + "gettransactionresult-walletconflicts": "Unset.", + "gettransactionresult-time": "The earliest Unix time this transaction was known to exist.", + "gettransactionresult-timereceived": "The earliest Unix time this transaction was known to exist.", + "gettransactionresult-details": "Additional details for each recorded wallet credit and debit.", + "gettransactionresult-hex": "The transaction encoded as a hexadecimal string.", // GetTransactionDetailsResult help. - "gettransactiondetailsresult-account": "DEPRECATED -- Unset", - "gettransactiondetailsresult-address": "The address an output was paid to, or the empty string if the output is nonstandard or this detail is regarding a transaction input", - "gettransactiondetailsresult-category": `The kind of detail: "send" for sent transactions, "immature" for immature coinbase outputs, "generate" for mature coinbase outputs, or "recv" for all other received outputs`, - "gettransactiondetailsresult-amount": "The amount of a received output", - "gettransactiondetailsresult-fee": "The included fee for a sent transaction", - "gettransactiondetailsresult-vout": "The transaction output index", - "gettransactiondetailsresult-involveswatchonly": "Unset", + "gettransactiondetailsresult-account": "The account pertaining to this transaction.", + "gettransactiondetailsresult-address": "The address an output was paid to, or the empty string if the output is nonstandard or this detail is regarding a transaction input.", + "gettransactiondetailsresult-category": `The kind of detail: "send" for sent transactions, "immature" for immature coinbase outputs, "generate" for mature coinbase outputs, or "recv" for all other received outputs.`, + "gettransactiondetailsresult-amount": "The amount of a received output.", + "gettransactiondetailsresult-fee": "The included fee for a sent transaction.", + "gettransactiondetailsresult-vout": "The transaction output index.", + "gettransactiondetailsresult-involveswatchonly": "Unset.", + + // HelpCmd help. + "help--synopsis": "Returns a list of all commands or help for a specified command.", + "help-command": "The command to retrieve help for.", + "help--condition0": "no command provided.", + "help--condition1": "command specified.", + "help--result0": "List of commands.", + "help--result1": "Help for specified command.", // ImportPrivKeyCmd help. "importprivkey--synopsis": "Imports a WIF-encoded private key to the 'imported' account.", - "importprivkey-privkey": "The WIF-encoded private key", - "importprivkey-label": "Unused (must be unset or 'imported')", - "importprivkey-rescan": "Rescan the blockchain (since the genesis block) for outputs controlled by the imported key", + "importprivkey-privkey": "The WIF-encoded private key.", + "importprivkey-label": "Unused (must be unset or 'imported').", + "importprivkey-rescan": "Rescan the blockchain (since the genesis block) for outputs controlled by the imported key.", + + // InfoWalletResult help. + "infowalletresult-version": "The version of the server.", + "infowalletresult-protocolversion": "The latest supported protocol version.", + "infowalletresult-blocks": "The number of blocks processed.", + "infowalletresult-timeoffset": "The time offset.", + "infowalletresult-connections": "The number of connected peers.", + "infowalletresult-proxy": "The proxy used by the server.", + "infowalletresult-difficulty": "The current target difficulty.", + "infowalletresult-testnet": "Whether or not server is using testnet.", + "infowalletresult-relayfee": "The minimum relay fee for non-free transactions in LBC/KB.", + "infowalletresult-errors": "Any current errors.", + "infowalletresult-paytxfee": "The increment used each time more fee is required for an authored transaction.", + "infowalletresult-balance": "The non-staked balance of all accounts calculated with one block confirmation.", + "infowalletresult-staked": "The staked balance of all accounts calculated with one block confirmation.", + "infowalletresult-walletversion": "The version of the address manager database.", + "infowalletresult-unlocked_until": "Unset.", + "infowalletresult-keypoolsize": "Unset.", + "infowalletresult-keypoololdest": "Unset.", // KeypoolRefillCmd help. "keypoolrefill--synopsis": "DEPRECATED -- This request does nothing since no keypool is maintained.", - "keypoolrefill-newsize": "Unused", + "keypoolrefill-newsize": "Unused.", // ListAccountsCmd help. - "listaccounts--synopsis": "DEPRECATED -- Returns a JSON object of all accounts and their balances.", - "listaccounts-minconf": "Minimum number of block confirmations required before an unspent output's value is included in the balance", - "listaccounts--result0--desc": "JSON object with account names as keys and bitcoin amounts as values", - "listaccounts--result0--key": "The account name", - "listaccounts--result0--value": "The account balance valued in bitcoin", + "listaccounts--synopsis": "Returns a JSON object of all accounts and their balances.", + "listaccounts-minconf": "Minimum number of block confirmations required before an unspent output's value is included in the balance.", + "listaccounts-addresstype": "Address type filter. Must be one of 'legacy', 'p2sh-segwit', 'bech32', or '*'. Defaults to '*'.", + "listaccounts--result0--desc": "JSON object with account names as keys and LBC amounts as values.", + "listaccounts--result0--key": "Account name", + "listaccounts--result0--value": "Total balance and each scope respectively, valued in LBC.", + + // ListAddressTransactionsCmd help. + "listaddresstransactions--synopsis": "Returns a JSON array of objects containing verbose details for wallet transactions pertaining some addresses.", + "listaddresstransactions-addresses": "Addresses to filter transaction results by.", + "listaddresstransactions-account": "Account to filter transactions results by. Defaults to 'default'.", + + // ListAllTransactionsCmd help. + "listalltransactions--synopsis": "Returns a JSON array of objects in the same format as 'listtransactions' without limiting the number of returned objects.", + "listalltransactions-account": "Account to filter transactions results by. Defaults to 'default'.", // ListLockUnspentCmd help. "listlockunspent--synopsis": "Returns a JSON array of outpoints marked as locked (with lockunspent) for this wallet session.", // TransactionInput help. - "transactioninput-txid": "The transaction hash of the referenced output", - "transactioninput-vout": "The output index of the referenced output", + "transactioninput-txid": "The transaction hash of the referenced output.", + "transactioninput-vout": "The output index of the referenced output.", // ListReceivedByAccountCmd help. - "listreceivedbyaccount--synopsis": "DEPRECATED -- Returns a JSON array of objects listing all accounts and the total amount received by each account.", - "listreceivedbyaccount-minconf": "Minimum number of block confirmations required before a transaction is considered", - "listreceivedbyaccount-includeempty": "Unused", - "listreceivedbyaccount-includewatchonly": "Unused", + "listreceivedbyaccount--synopsis": "Returns a JSON array of objects listing all accounts and the total amount received by each account.", + "listreceivedbyaccount-minconf": "Minimum number of block confirmations required before a transaction is considered.", + "listreceivedbyaccount-includeempty": "Unused.", + "listreceivedbyaccount-includewatchonly": "Unused.", // ListReceivedByAccountResult help. - "listreceivedbyaccountresult-account": "The name of the account", - "listreceivedbyaccountresult-amount": "Total amount received by payment addresses of the account valued in bitcoin", - "listreceivedbyaccountresult-confirmations": "Number of block confirmations of the most recent transaction relevant to the account", + "listreceivedbyaccountresult-account": "Account name.", + "listreceivedbyaccountresult-amount": "Total amount received by payment addresses of the account valued in LBC.", + "listreceivedbyaccountresult-confirmations": "Number of block confirmations of the most recent transaction relevant to the account.", // ListReceivedByAddressCmd help. "listreceivedbyaddress--synopsis": "Returns a JSON array of objects listing wallet payment addresses and their total received amounts.", - "listreceivedbyaddress-minconf": "Minimum number of block confirmations required before a transaction is considered", - "listreceivedbyaddress-includeempty": "Unused", - "listreceivedbyaddress-includewatchonly": "Unused", + "listreceivedbyaddress-minconf": "Minimum number of block confirmations required before a transaction is considered.", + "listreceivedbyaddress-includeempty": "Unused.", + "listreceivedbyaddress-includewatchonly": "Unused.", // ListReceivedByAddressResult help. - "listreceivedbyaddressresult-account": "DEPRECATED -- Unset", - "listreceivedbyaddressresult-address": "The payment address", - "listreceivedbyaddressresult-amount": "Total amount received by the payment address valued in bitcoin", - "listreceivedbyaddressresult-confirmations": "Number of block confirmations of the most recent transaction relevant to the address", - "listreceivedbyaddressresult-txids": "Transaction hashes of all transactions involving this address", - "listreceivedbyaddressresult-involvesWatchonly": "Unset", + "listreceivedbyaddressresult-address": "The payment address.", + "listreceivedbyaddressresult-amount": "Total amount received by the payment address valued in LBC.", + "listreceivedbyaddressresult-confirmations": "Number of block confirmations of the most recent transaction relevant to the address.", + "listreceivedbyaddressresult-txids": "Transaction hashes of all transactions involving this address.", + "listreceivedbyaddressresult-involvesWatchonly": "Unset.", // ListSinceBlockCmd help. "listsinceblock--synopsis": "Returns a JSON array of objects listing details of all wallet transactions after some block.", - "listsinceblock-blockhash": "Hash of the parent block of the first block to consider transactions from, or unset to list all transactions", - "listsinceblock-targetconfirmations": "Minimum number of block confirmations of the last block in the result object. Must be 1 or greater. Note: The transactions array in the result object is not affected by this parameter", - "listsinceblock-includewatchonly": "Unused", - "listsinceblock--condition0": "blockhash specified", - "listsinceblock--condition1": "no blockhash specified", - "listsinceblock--result0": "Lists all transactions, including unmined transactions, since the specified block", - "listsinceblock--result1": "Lists all transactions since the genesis block", + "listsinceblock-blockhash": "Hash of the parent block of the first block to consider transactions from, or unset to list all transactions.", + "listsinceblock-targetconfirmations": "Minimum number of block confirmations of the last block in the result object. Must be 1 or greater. Note: The transactions array in the result object is not affected by this parameter.", + "listsinceblock-includewatchonly": "Unused.", + "listsinceblock--condition0": "blockhash specified.", + "listsinceblock--condition1": "no blockhash specified.", + "listsinceblock--result0": "Lists all transactions, including unmined transactions, since the specified block.", + "listsinceblock--result1": "Lists all transactions since the genesis block.", // ListSinceBlockResult help. - "listsinceblockresult-transactions": "JSON array of objects containing verbose details of the each transaction", - "listsinceblockresult-lastblock": "Hash of the latest-synced block to be used in later calls to listsinceblock", + "listsinceblockresult-transactions": "JSON array of objects containing verbose details of the each transaction.", + "listsinceblockresult-lastblock": "Hash of the latest-synced block to be used in later calls to listsinceblock.", + + // ListTransactionsCmd help. + "listtransactions--synopsis": "Returns a JSON array of objects containing verbose details for wallet transactions.", + "listtransactions-account": "Account to filter transactions results by. Defaults to 'default'.", + "listtransactions-count": "Maximum number of transactions to create results from. Defaults to 10", + "listtransactions-from": "Number of transactions to skip before results are created.", + "listtransactions-includewatchonly": "Unused.", // ListTransactionsResult help. - "listtransactionsresult-account": "DEPRECATED -- Unset", - "listtransactionsresult-address": "Payment address for a transaction output", + "listtransactionsresult-account": "The account name associated with the transaction.", + "listtransactionsresult-address": "Payment address for a transaction output.", "listtransactionsresult-category": `The kind of transaction: "send" for sent transactions, "immature" for immature coinbase outputs, "generate" for mature coinbase outputs, or "recv" for all other received outputs. Note: A single output may be included multiple times under different categories`, - "listtransactionsresult-amount": "The value of the transaction output valued in bitcoin", - "listtransactionsresult-fee": "The total input value minus the total output value for sent transactions", - "listtransactionsresult-confirmations": "The number of block confirmations of the transaction", - "listtransactionsresult-generated": "Whether the transaction output is a coinbase output", - "listtransactionsresult-blockhash": "The hash of the block this transaction is mined in, or the empty string if unmined", + "listtransactionsresult-amount": "The value of the transaction output valued in LBC.", + "listtransactionsresult-fee": "The total input value minus the total output value for sent transactions.", + "listtransactionsresult-confirmations": "The number of block confirmations of the transaction.", + "listtransactionsresult-generated": "Whether the transaction output is a coinbase output.", + "listtransactionsresult-blockhash": "The hash of the block this transaction is mined in, or the empty string if unmined.", "listtransactionsresult-blockheight": "The block height containing the transaction.", - "listtransactionsresult-blockindex": "Unset", - "listtransactionsresult-blocktime": "The Unix time of the block header this transaction is mined in, or 0 if unmined", - "listtransactionsresult-label": "A comment for the address/transaction, if any", - "listtransactionsresult-txid": "The hash of the transaction", - "listtransactionsresult-vout": "The transaction output index", - "listtransactionsresult-walletconflicts": "Unset", - "listtransactionsresult-time": "The earliest Unix time this transaction was known to exist", - "listtransactionsresult-timereceived": "The earliest Unix time this transaction was known to exist", - "listtransactionsresult-involveswatchonly": "Unset", - "listtransactionsresult-comment": "Unset", - "listtransactionsresult-otheraccount": "Unset", - "listtransactionsresult-trusted": "Unset", - "listtransactionsresult-bip125-replaceable": "Unset", - "listtransactionsresult-abandoned": "Unset", - - // ListTransactionsCmd help. - "listtransactions--synopsis": "Returns a JSON array of objects containing verbose details for wallet transactions.", - "listtransactions-account": "DEPRECATED -- Unused (must be unset, \"default\" or \"*\")", - "listtransactions-count": "Maximum number of transactions to create results from", - "listtransactions-from": "Number of transactions to skip before results are created", - "listtransactions-includewatchonly": "Unused", + "listtransactionsresult-blockindex": "Unset.", + "listtransactionsresult-blocktime": "The Unix time of the block header this transaction is mined in, or 0 if unmined.", + "listtransactionsresult-label": "A comment for the address/transaction, if any.", + "listtransactionsresult-txid": "The hash of the transaction.", + "listtransactionsresult-vout": "The transaction output index.", + "listtransactionsresult-walletconflicts": "Unset.", + "listtransactionsresult-time": "The earliest Unix time this transaction was known to exist.", + "listtransactionsresult-timereceived": "The earliest Unix time this transaction was known to exist.", + "listtransactionsresult-involveswatchonly": "Unset.", + "listtransactionsresult-comment": "Unset.", + "listtransactionsresult-otheraccount": "Unset.", + "listtransactionsresult-trusted": "Unset.", + "listtransactionsresult-bip125-replaceable": "Unset.", + "listtransactionsresult-abandoned": "Unset.", // ListUnspentCmd help. "listunspent--synopsis": "Returns a JSON array of objects representing unlocked unspent outputs controlled by wallet keys.", - "listunspent-minconf": "Minimum number of block confirmations required before a transaction output is considered", - "listunspent-maxconf": "Maximum number of block confirmations required before a transaction output is excluded", - "listunspent-addresses": "If set, limits the returned details to unspent outputs received by any of these payment addresses", + "listunspent-minconf": "Minimum number of block confirmations required before a transaction output is considered.", + "listunspent-maxconf": "Maximum number of block confirmations required before a transaction output is excluded.", + "listunspent-addresses": "If set, limits the returned details to unspent outputs received by any of these payment addresses.", // ListUnspentResult help. - "listunspentresult-txid": "The transaction hash of the referenced output", - "listunspentresult-vout": "The output index of the referenced output", - "listunspentresult-address": "The payment address that received the output", - "listunspentresult-account": "The account associated with the receiving payment address", - "listunspentresult-scriptPubKey": "The output script encoded as a hexadecimal string", - "listunspentresult-redeemScript": "Unset", - "listunspentresult-amount": "The amount of the output valued in bitcoin", - "listunspentresult-confirmations": "The number of block confirmations of the transaction", - "listunspentresult-solvable": "Whether the output is solvable", - "listunspentresult-spendable": "Whether the output is entirely controlled by wallet keys/scripts (false for partially controlled multisig outputs or outputs to watch-only addresses)", - "listunspentresult-isstake": "Whether the output is staked", + "listunspentresult-txid": "The transaction hash of the referenced output.", + "listunspentresult-vout": "The output index of the referenced output.", + "listunspentresult-address": "The payment address that received the output.", + "listunspentresult-account": "The account associated with the receiving payment address.", + "listunspentresult-scriptPubKey": "The output script encoded as a hexadecimal string.", + "listunspentresult-redeemScript": "Unset.", + "listunspentresult-amount": "The amount of the output valued in LBC.", + "listunspentresult-confirmations": "The number of block confirmations of the transaction.", + "listunspentresult-solvable": "Whether the output is solvable.", + "listunspentresult-spendable": "Whether the output is entirely controlled by wallet keys/scripts (false for partially controlled multisig outputs or outputs to watch-only addresses).", + "listunspentresult-isstake": "Whether the output is staked.", // LockUnspentCmd help. "lockunspent--synopsis": "Locks or unlocks an unspent output.\n" + "Locked outputs are not chosen for transaction inputs of authored transactions and are not included in 'listunspent' results.\n" + "Locked outputs are volatile and are not saved across wallet restarts.\n" + "If unlock is true and no transaction outputs are specified, all locked outputs are marked unlocked.", - "lockunspent-unlock": "True to unlock outputs, false to lock", - "lockunspent-transactions": "Transaction outputs to lock or unlock", - "lockunspent--result0": "The boolean 'true'", + "lockunspent-unlock": "True to unlock outputs, false to lock.", + "lockunspent-transactions": "Transaction outputs to lock or unlock.", + "lockunspent--result0": "The boolean 'true'.", + + // RenameAccountCmd help. + "renameaccount--synopsis": "Renames an account.", + "renameaccount-oldaccount": "The old account name to rename.", + "renameaccount-newaccount": "The new name for the account.", // SendFromCmd help. - "sendfrom--synopsis": "DEPRECATED -- Authors, signs, and sends a transaction that outputs some amount to a payment address.\n" + + "sendfrom--synopsis": "Authors, signs, and sends a transaction that outputs some amount to a payment address.\n" + "A change output is automatically included to send extra output value back to the original account.", - "sendfrom-fromaccount": "Account to pick unspent outputs from", - "sendfrom-toaddress": "Address to pay", - "sendfrom-amount": "Amount to send to the payment address valued in bitcoin", - "sendfrom-minconf": "Minimum number of block confirmations required before a transaction output is eligible to be spent", - "sendfrom-comment": "Unused", - "sendfrom-commentto": "Unused", - "sendfrom--result0": "The transaction hash of the sent transaction", + "sendfrom-fromaccount": "Account to pick unspent outputs from.", + "sendfrom-toaddress": "Address to pay.", + "sendfrom-amount": "Amount to send to the payment address valued in LBC.", + "sendfrom-minconf": "Minimum number of block confirmations required before a transaction output is eligible to be spent.", + "sendfrom-addresstype": "Address type filter for UTXOs to spent from. Must be one of 'legacy', 'p2sh-segwit', 'bech32', or '*'. Defaults to '*'.", + "sendfrom-comment": "Unused.", + "sendfrom-commentto": "Unused.", + "sendfrom--result0": "The transaction hash of the sent transaction.", // SendManyCmd help. "sendmany--synopsis": "Authors, signs, and sends a transaction that outputs to many payment addresses.\n" + "A change output is automatically included to send extra output value back to the original account.", - "sendmany-fromaccount": "DEPRECATED -- Account to pick unspent outputs from", - "sendmany-amounts": "Pairs of payment addresses and the output amount to pay each", - "sendmany-amounts--desc": "JSON object using payment addresses as keys and output amounts valued in bitcoin to send to each address", - "sendmany-amounts--key": "Address to pay", - "sendmany-amounts--value": "Amount to send to the payment address valued in bitcoin", - "sendmany-minconf": "Minimum number of block confirmations required before a transaction output is eligible to be spent", - "sendmany-comment": "Unused", - "sendmany--result0": "The transaction hash of the sent transaction", + "sendmany-fromaccount": "Account to pick unspent outputs from.", + "sendmany-amounts": "Pairs of payment addresses and the output amount to pay each.", + "sendmany-amounts--desc": "JSON object using payment addresses as keys and output amounts valued in LBC to send to each address.", + "sendmany-amounts--key": "Address to pay.", + "sendmany-amounts--value": "Amount to send to the payment address valued in LBC.", + "sendmany-minconf": "Minimum number of block confirmations required before a transaction output is eligible to be spent.", + "sendmany-addresstype": "Address type filter for UTXOs to spent from. Must be one of 'legacy', 'p2sh-segwit', 'bech32', or '*'. Defaults to '*'.", + "sendmany-comment": "Unused.", + "sendmany--result0": "The transaction hash of the sent transaction.", // SendToAddressCmd help. "sendtoaddress--synopsis": "Authors, signs, and sends a transaction that outputs some amount to a payment address.\n" + "Unlike sendfrom, outputs are always chosen from the default account.\n" + "A change output is automatically included to send extra output value back to the original account.", - "sendtoaddress-address": "Address to pay", - "sendtoaddress-amount": "Amount to send to the payment address valued in bitcoin", - "sendtoaddress-comment": "Unused", - "sendtoaddress-commentto": "Unused", - "sendtoaddress--result0": "The transaction hash of the sent transaction", + "sendtoaddress-address": "Address to pay.", + "sendtoaddress-amount": "Amount to send to the payment address valued in LBC.", + "sendtoaddress-addresstype": "Address type filter for UTXOs to spent from. Must be one of 'legacy', 'p2sh-segwit', 'bech32', or '*'. Defaults to '*'.", + "sendtoaddress-comment": "Unused.", + "sendtoaddress-commentto": "Unused.", + "sendtoaddress--result0": "The transaction hash of the sent transaction.", // SetTxFeeCmd help. "settxfee--synopsis": "Modify the increment used each time more fee is required for an authored transaction.", - "settxfee-amount": "The new fee increment valued in bitcoin", - "settxfee--result0": "The boolean 'true'", + "settxfee-amount": "The new fee increment valued in LBC.", + "settxfee--result0": "The boolean 'true'.", // SignMessageCmd help. "signmessage--synopsis": "Signs a message using the private key of a payment address.", - "signmessage-address": "Payment address of private key used to sign the message with", - "signmessage-message": "Message to sign", - "signmessage--result0": "The signed message encoded as a base64 string", + "signmessage-address": "Payment address of private key used to sign the message with.", + "signmessage-message": "Message to sign.", + "signmessage--result0": "The signed message encoded as a base64 string.", // SignRawTransactionCmd help. "signrawtransaction--synopsis": "Signs transaction inputs using private keys from this wallet and request.\n" + "The valid flags options are ALL, NONE, SINGLE, ALL|ANYONECANPAY, NONE|ANYONECANPAY, and SINGLE|ANYONECANPAY.", - "signrawtransaction-rawtx": "Unsigned or partially unsigned transaction to sign encoded as a hexadecimal string", - "signrawtransaction-inputs": "Additional data regarding inputs that this wallet may not be tracking", - "signrawtransaction-privkeys": "Additional WIF-encoded private keys to use when creating signatures", - "signrawtransaction-flags": "Sighash flags", + "signrawtransaction-rawtx": "Unsigned or partially unsigned transaction to sign encoded as a hexadecimal string.", + "signrawtransaction-inputs": "Additional data regarding inputs that this wallet may not be tracking.", + "signrawtransaction-privkeys": "Additional WIF-encoded private keys to use when creating signatures.", + "signrawtransaction-flags": "Sighash flags.", // SignRawTransactionResult help. - "signrawtransactionresult-hex": "The resulting transaction encoded as a hexadecimal string", - "signrawtransactionresult-complete": "Whether all input signatures have been created", - "signrawtransactionresult-errors": "Script verification errors (if exists)", + "signrawtransactionresult-hex": "The resulting transaction encoded as a hexadecimal string.", + "signrawtransactionresult-complete": "Whether all input signatures have been created.", + "signrawtransactionresult-errors": "Script verification errors (if exists).", // SignRawTransactionError help. - "signrawtransactionerror-error": "Verification or signing error related to the input", - "signrawtransactionerror-sequence": "Script sequence number", - "signrawtransactionerror-scriptSig": "The hex-encoded signature script", - "signrawtransactionerror-txid": "The transaction hash of the referenced previous output", - "signrawtransactionerror-vout": "The output index of the referenced previous output", + "signrawtransactionerror-error": "Verification or signing error related to the input.", + "signrawtransactionerror-sequence": "Script sequence number.", + "signrawtransactionerror-scriptSig": "The hex-encoded signature script.", + "signrawtransactionerror-txid": "The transaction hash of the referenced previous output.", + "signrawtransactionerror-vout": "The output index of the referenced previous output.", // ValidateAddressCmd help. "validateaddress--synopsis": "Verify that an address is valid.\n" + @@ -381,74 +422,43 @@ var helpDescsEnUS = map[string]string{ "The following fields are only valid when address has an associated public key: pubkey, iscompressed.\n" + "The following fields are only valid when address is a pay-to-script-hash address: addresses, hex, and script.\n" + "If the address is a multisig address controlled by this wallet, the multisig fields will be left unset if the wallet is locked since the redeem script cannot be decrypted.", - "validateaddress-address": "Address to validate", + "validateaddress-address": "Address to validate.", // ValidateAddressWalletResult help. - "validateaddresswalletresult-isvalid": "Whether or not the address is valid", - "validateaddresswalletresult-address": "The payment address (only when isvalid is true)", - "validateaddresswalletresult-ismine": "Whether this address is controlled by the wallet (only when isvalid is true)", - "validateaddresswalletresult-iswatchonly": "Unset", - "validateaddresswalletresult-isscript": "Whether the payment address is a pay-to-script-hash address (only when isvalid is true)", - "validateaddresswalletresult-pubkey": "The associated public key of the payment address, if any (only when isvalid is true)", - "validateaddresswalletresult-iscompressed": "Whether the address was created by hashing a compressed public key, if any (only when isvalid is true)", - "validateaddresswalletresult-account": "The account this payment address belongs to (only when isvalid is true)", - "validateaddresswalletresult-addresses": "All associated payment addresses of the script if address is a multisig address (only when isvalid is true)", - "validateaddresswalletresult-hex": "The redeem script ", - "validateaddresswalletresult-script": "The class of redeem script for a multisig address", - "validateaddresswalletresult-sigsrequired": "The number of required signatures to redeem outputs to the multisig address", + "validateaddresswalletresult-isvalid": "Whether or not the address is valid.", + "validateaddresswalletresult-address": "The payment address (only when isvalid is true).", + "validateaddresswalletresult-ismine": "Whether this address is controlled by the wallet (only when isvalid is true).", + "validateaddresswalletresult-iswatchonly": "Unset.", + "validateaddresswalletresult-isscript": "Whether the payment address is a pay-to-script-hash address (only when isvalid is true).", + "validateaddresswalletresult-pubkey": "The associated public key of the payment address, if any (only when isvalid is true).", + "validateaddresswalletresult-iscompressed": "Whether the address was created by hashing a compressed public key, if any (only when isvalid is true).", + "validateaddresswalletresult-account": "The account this payment address belongs to (only when isvalid is true).", + "validateaddresswalletresult-addresses": "All associated payment addresses of the script if address is a multisig address (only when isvalid is true).", + "validateaddresswalletresult-hex": "The redeem script .", + "validateaddresswalletresult-script": "The class of redeem script for a multisig address.", + "validateaddresswalletresult-sigsrequired": "The number of required signatures to redeem outputs to the multisig address.", // VerifyMessageCmd help. "verifymessage--synopsis": "Verify a message was signed with the associated private key of some address.", - "verifymessage-address": "Address used to sign message", - "verifymessage-signature": "The signature to verify", - "verifymessage-message": "The message to verify", - "verifymessage--result0": "Whether the message was signed with the private key of 'address'", + "verifymessage-address": "Address used to sign message.", + "verifymessage-signature": "The signature to verify.", + "verifymessage-message": "The message to verify.", + "verifymessage--result0": "Whether the message was signed with the private key of 'address'.", + + // WalletIsLockedCmd help. + "walletislocked--synopsis": "Returns whether or not the wallet is locked.", + "walletislocked--result0": "Whether the wallet is locked.", // WalletLockCmd help. "walletlock--synopsis": "Lock the wallet.", // WalletPassphraseCmd help. "walletpassphrase--synopsis": "Unlock the wallet.", - "walletpassphrase-passphrase": "The wallet passphrase", - "walletpassphrase-timeout": "The number of seconds to wait before the wallet automatically locks", + "walletpassphrase-passphrase": "The wallet passphrase.", + "walletpassphrase-timeout": "The number of seconds to wait before the wallet automatically locks.", // WalletPassphraseChangeCmd help. "walletpassphrasechange--synopsis": "Change the wallet passphrase.", - "walletpassphrasechange-oldpassphrase": "The old wallet passphrase", - "walletpassphrasechange-newpassphrase": "The new wallet passphrase", - - // CreateNewAccountCmd help. - "createnewaccount--synopsis": "Creates a new account.\n" + - "The wallet must be unlocked for this request to succeed.", - "createnewaccount-account": "Name of the new account", - - // GetBestBlockCmd help. - "getbestblock--synopsis": "Returns the hash and height of the newest block in the best chain that wallet has finished syncing with.", - - // GetBestBlockResult help. - "getbestblockresult-hash": "The hash of the block", - "getbestblockresult-height": "The blockchain height of the block", - - // GetUnconfirmedBalanceCmd help. - "getunconfirmedbalance--synopsis": "Calculates the unspent output value of all unmined transaction outputs for an account.", - "getunconfirmedbalance-account": "The account to query the unconfirmed balance for (default=\"default\")", - "getunconfirmedbalance--result0": "Total amount of all unmined unspent outputs of the account valued in bitcoin.", - - // ListAddressTransactionsCmd help. - "listaddresstransactions--synopsis": "Returns a JSON array of objects containing verbose details for wallet transactions pertaining some addresses.", - "listaddresstransactions-addresses": "Addresses to filter transaction results by", - "listaddresstransactions-account": "Unused (must be unset or \"*\")", - - // ListAllTransactionsCmd help. - "listalltransactions--synopsis": "Returns a JSON array of objects in the same format as 'listtransactions' without limiting the number of returned objects.", - "listalltransactions-account": "Unused (must be unset or \"*\")", - - // RenameAccountCmd help. - "renameaccount--synopsis": "Renames an account.", - "renameaccount-oldaccount": "The old account name to rename", - "renameaccount-newaccount": "The new name for the account", - - // WalletIsLockedCmd help. - "walletislocked--synopsis": "Returns whether or not the wallet is locked.", - "walletislocked--result0": "Whether the wallet is locked", + "walletpassphrasechange-oldpassphrase": "The old wallet passphrase.", + "walletpassphrasechange-newpassphrase": "The new wallet passphrase.", } diff --git a/rpc/legacyrpc/rpcserverhelp.go b/rpc/legacyrpc/rpcserverhelp.go index 02472a3226..e652433f93 100644 --- a/rpc/legacyrpc/rpcserverhelp.go +++ b/rpc/legacyrpc/rpcserverhelp.go @@ -4,51 +4,51 @@ package legacyrpc func helpDescsEnUS() map[string]string { return map[string]string{ - "addmultisigaddress": "addmultisigaddress nrequired [\"key\",...] (\"account\")\n\nGenerates and imports a multisig address and redeeming script to the 'imported' account.\n\nArguments:\n1. nrequired (numeric, required) The number of signatures required to redeem outputs paid to this address\n2. keys (array of string, required) Pubkeys and/or pay-to-pubkey-hash addresses to partially control the multisig address\n3. account (string, optional) DEPRECATED -- Unused (all imported addresses belong to the imported account)\n\nResult:\n\"value\" (string) The imported pay-to-script-hash address\n", - "createmultisig": "createmultisig nrequired [\"key\",...]\n\nGenerate a multisig address and redeem script.\n\nArguments:\n1. nrequired (numeric, required) The number of signatures required to redeem outputs paid to this address\n2. keys (array of string, required) Pubkeys and/or pay-to-pubkey-hash addresses to partially control the multisig address\n\nResult:\n{\n \"address\": \"value\", (string) The generated pay-to-script-hash address\n \"redeemScript\": \"value\", (string) The script required to redeem outputs paid to the multisig address\n} \n", - "dumpprivkey": "dumpprivkey \"address\"\n\nReturns the private key in WIF encoding that controls some wallet address.\n\nArguments:\n1. address (string, required) The address to return a private key for\n\nResult:\n\"value\" (string) The WIF-encoded private key\n", - "getaccount": "getaccount \"address\"\n\nDEPRECATED -- Lookup the account name that some wallet address belongs to.\n\nArguments:\n1. address (string, required) The address to query the account for\n\nResult:\n\"value\" (string) The name of the account that 'address' belongs to\n", - "getaccountaddress": "getaccountaddress \"account\"\n\nDEPRECATED -- Returns the most recent external payment address for an account that has not been seen publicly.\nA new address is generated for the account if the most recently generated address has been seen on the blockchain or in mempool.\n\nArguments:\n1. account (string, required) The account of the returned address\n\nResult:\n\"value\" (string) The unused address for 'account'\n", - "getaddressesbyaccount": "getaddressesbyaccount \"account\"\n\nDEPRECATED -- Returns all addresses strings controlled by a single account.\n\nArguments:\n1. account (string, required) Account name to fetch addresses for\n\nResult:\n[\"value\",...] (array of string) All addresses controlled by 'account'\n", - "getaddressinfo": "getaddressinfo \"address\"\n\nGenerates and returns a new payment address.\n\nArguments:\n1. address (string, required) The address to get the information of.\n\nResult:\n{\n \"address\": \"value\", (string) The address validated\n \"scriptPubKey\": \"value\", (string) The hex-encoded scriptPubKey generated by the address.\n \"desc\": \"value\", (string) A descriptor for spending coins sent to this address (only when solvable).\n \"isscript\": true|false, (boolean) If the key is a script.\n \"ischange\": true|false, (boolean) If the address was used for change output.\n \"iswitness\": true|false, (boolean) If the address is a witness address.\n \"witness_version\": n, (numeric) The version number of the witness program.\n \"witness_program\": \"value\", (string) The hex value of the witness program.\n \"script\": n, (numeric) The output script type. Only if isscript is true and the redeemscript is known. Possible types: nonstandard, pubkey, pubkeyhash, scripthash, multisig, nulldata, witness_v0_keyhash, witness_v0_scripthash, witness_unknown.\n \"hex\": \"value\", (string) The redeemscript for the p2sh address.\n \"pubkeys\": [\"value\",...], (array of string) The hex value of the raw public key for single-key addresses (possibly embedded in P2SH or P2WSH).\n \"sigsrequired\": n, (numeric) The number of signatures required to spend multisig output (only if script is multisig).\n \"pubkey\": \"value\", (string) Array of pubkeys associated with the known redeemscript (only if script is multisig).\n \"iscompressed\": true|false, (boolean) If the pubkey is compressed.\n \"hdmasterfingerprint\": \"value\", (string) The fingerprint of the master key.\n \"labels\": [\"value\",...], (array of string) Array of labels associated with the address. Currently limited to one label but returned.\n \"ismine\": true|false, (boolean) If the address is yours.\n \"iswatchonly\": true|false, (boolean) If the address is watchonly.\n \"timestamp\": n, (numeric) The creation time of the key, if available, expressed in UNIX epoch time.\n \"hdkeypath\": \"value\", (string) The HD keypath, if the key is HD and available.\n \"hdseedid\": \"value\", (string) The Hash160 of the HD seed.\n \"embedded\": { (object) Information about the address embedded in P2SH or P2WSH, if relevant and known.\n \"address\": \"value\", (string) The address validated\n \"scriptPubKey\": \"value\", (string) The hex-encoded scriptPubKey generated by the address.\n \"desc\": \"value\", (string) A descriptor for spending coins sent to this address (only when solvable).\n \"isscript\": true|false, (boolean) If the key is a script.\n \"ischange\": true|false, (boolean) If the address was used for change output.\n \"iswitness\": true|false, (boolean) If the address is a witness address.\n \"witness_version\": n, (numeric) The version number of the witness program.\n \"witness_program\": \"value\", (string) The hex value of the witness program.\n \"script\": n, (numeric) The output script type. Only if isscript is true and the redeemscript is known. Possible types: nonstandard, pubkey, pubkeyhash, scripthash, multisig, nulldata, witness_v0_keyhash, witness_v0_scripthash, witness_unknown.\n \"hex\": \"value\", (string) The redeemscript for the p2sh address.\n \"pubkeys\": [\"value\",...], (array of string) The hex value of the raw public key for single-key addresses (possibly embedded in P2SH or P2WSH).\n \"sigsrequired\": n, (numeric) The number of signatures required to spend multisig output (only if script is multisig).\n \"pubkey\": \"value\", (string) Array of pubkeys associated with the known redeemscript (only if script is multisig).\n \"iscompressed\": true|false, (boolean) If the pubkey is compressed.\n \"hdmasterfingerprint\": \"value\", (string) The fingerprint of the master key.\n \"labels\": [\"value\",...], (array of string) Array of labels associated with the address. Currently limited to one label but returned.\n }, \n} \n", - "getbalance": "getbalance (\"account\" minconf=1)\n\nCalculates and returns the balance of one or all accounts.\n\nArguments:\n1. account (string, optional) DEPRECATED -- The account name to query the balance for, or \"*\" to consider all accounts (default=\"*\")\n2. minconf (numeric, optional, default=1) Minimum number of block confirmations required before an unspent output's value is included in the balance\n\nResult (account != \"*\"):\nn.nnn (numeric) The balance of 'account' valued in bitcoin\n\nResult (account = \"*\"):\nn.nnn (numeric) The balance of all accounts valued in bitcoin\n", - "getbestblockhash": "getbestblockhash\n\nReturns the hash of the newest block in the best chain that wallet has finished syncing with.\n\nArguments:\nNone\n\nResult:\n\"value\" (string) The hash of the most recent synced-to block\n", - "getblockcount": "getblockcount\n\nReturns the blockchain height of the newest block in the best chain that wallet has finished syncing with.\n\nArguments:\nNone\n\nResult:\nn.nnn (numeric) The blockchain height of the most recent synced-to block\n", - "getinfo": "getinfo\n\nReturns a JSON object containing various state info.\n\nArguments:\nNone\n\nResult:\n{\n \"version\": n, (numeric) The version of the server\n \"protocolversion\": n, (numeric) The latest supported protocol version\n \"walletversion\": n, (numeric) The version of the address manager database\n \"balance\": n.nnn, (numeric) The non-staked balance of all accounts calculated with one block confirmation\n \"blocks\": n, (numeric) The number of blocks processed\n \"timeoffset\": n, (numeric) The time offset\n \"connections\": n, (numeric) The number of connected peers\n \"proxy\": \"value\", (string) The proxy used by the server\n \"difficulty\": n.nnn, (numeric) The current target difficulty\n \"testnet\": true|false, (boolean) Whether or not server is using testnet\n \"keypoololdest\": n, (numeric) Unset\n \"keypoolsize\": n, (numeric) Unset\n \"unlocked_until\": n, (numeric) Unset\n \"paytxfee\": n.nnn, (numeric) The increment used each time more fee is required for an authored transaction\n \"relayfee\": n.nnn, (numeric) The minimum relay fee for non-free transactions in LBC/KB\n \"errors\": \"value\", (string) Any current errors\n \"staked\": n.nnn, (numeric) The staked balance of all accounts calculated with one block confirmation\n} \n", - "getnewaddress": "getnewaddress (\"account\" \"addresstype\")\n\nGenerates and returns a new payment address.\n\nArguments:\n1. account (string, optional) DEPRECATED -- Account name the new address will belong to (default=\"default\")\n2. addresstype (string, optional) Address type. Must be one of legacy / p2pkh, p2sh-p2wpkh / p2sh-p2wkh / p2sh-segwit, or p2wpkh / p2wkh / bech32\n\nResult:\n\"value\" (string) The payment address\n", - "getrawchangeaddress": "getrawchangeaddress (\"account\")\n\nGenerates and returns a new internal payment address for use as a change address in raw transactions.\n\nArguments:\n1. account (string, optional) Account name the new internal address will belong to (default=\"default\")\n\nResult:\n\"value\" (string) The internal payment address\n", - "getreceivedbyaccount": "getreceivedbyaccount \"account\" (minconf=1)\n\nDEPRECATED -- Returns the total amount received by addresses of some account, including spent outputs.\n\nArguments:\n1. account (string, required) Account name to query total received amount for\n2. minconf (numeric, optional, default=1) Minimum number of block confirmations required before an output's value is included in the total\n\nResult:\nn.nnn (numeric) The total received amount valued in bitcoin\n", - "getreceivedbyaddress": "getreceivedbyaddress \"address\" (minconf=1)\n\nReturns the total amount received by a single address, including spent outputs.\n\nArguments:\n1. address (string, required) Payment address which received outputs to include in total\n2. minconf (numeric, optional, default=1) Minimum number of block confirmations required before an output's value is included in the total\n\nResult:\nn.nnn (numeric) The total received amount valued in bitcoin\n", - "gettransaction": "gettransaction \"txid\" (includewatchonly=false)\n\nReturns a JSON object with details regarding a transaction relevant to this wallet.\n\nArguments:\n1. txid (string, required) Hash of the transaction to query\n2. includewatchonly (boolean, optional, default=false) Also consider transactions involving watched addresses\n\nResult:\n{\n \"amount\": n.nnn, (numeric) The total amount this transaction credits to the wallet, valued in bitcoin\n \"fee\": n.nnn, (numeric) The total input value minus the total output value, or 0 if 'txid' is not a sent transaction\n \"confirmations\": n, (numeric) The number of block confirmations of the transaction\n \"blockhash\": \"value\", (string) The hash of the block this transaction is mined in, or the empty string if unmined\n \"blockindex\": n, (numeric) Unset\n \"blocktime\": n, (numeric) The Unix time of the block header this transaction is mined in, or 0 if unmined\n \"txid\": \"value\", (string) The transaction hash\n \"walletconflicts\": [\"value\",...], (array of string) Unset\n \"time\": n, (numeric) The earliest Unix time this transaction was known to exist\n \"timereceived\": n, (numeric) The earliest Unix time this transaction was known to exist\n \"details\": [{ (array of object) Additional details for each recorded wallet credit and debit\n \"account\": \"value\", (string) DEPRECATED -- Unset\n \"address\": \"value\", (string) The address an output was paid to, or the empty string if the output is nonstandard or this detail is regarding a transaction input\n \"amount\": n.nnn, (numeric) The amount of a received output\n \"category\": \"value\", (string) The kind of detail: \"send\" for sent transactions, \"immature\" for immature coinbase outputs, \"generate\" for mature coinbase outputs, or \"recv\" for all other received outputs\n \"involveswatchonly\": true|false, (boolean) Unset\n \"fee\": n.nnn, (numeric) The included fee for a sent transaction\n \"vout\": n, (numeric) The transaction output index\n },...], \n \"hex\": \"value\", (string) The transaction encoded as a hexadecimal string\n} \n", - "help": "help (\"command\")\n\nReturns a list of all commands or help for a specified command.\n\nArguments:\n1. command (string, optional) The command to retrieve help for\n\nResult (no command provided):\n\"value\" (string) List of commands\n\nResult (command specified):\n\"value\" (string) Help for specified command\n", - "importprivkey": "importprivkey \"privkey\" (\"label\" rescan=true)\n\nImports a WIF-encoded private key to the 'imported' account.\n\nArguments:\n1. privkey (string, required) The WIF-encoded private key\n2. label (string, optional) Unused (must be unset or 'imported')\n3. rescan (boolean, optional, default=true) Rescan the blockchain (since the genesis block) for outputs controlled by the imported key\n\nResult:\nNothing\n", - "keypoolrefill": "keypoolrefill (newsize=100)\n\nDEPRECATED -- This request does nothing since no keypool is maintained.\n\nArguments:\n1. newsize (numeric, optional, default=100) Unused\n\nResult:\nNothing\n", - "listaccounts": "listaccounts (minconf=1)\n\nDEPRECATED -- Returns a JSON object of all accounts and their balances.\n\nArguments:\n1. minconf (numeric, optional, default=1) Minimum number of block confirmations required before an unspent output's value is included in the balance\n\nResult:\n{\n \"The account name\": The account balance valued in bitcoin, (object) JSON object with account names as keys and bitcoin amounts as values\n ...\n}\n", - "listlockunspent": "listlockunspent\n\nReturns a JSON array of outpoints marked as locked (with lockunspent) for this wallet session.\n\nArguments:\nNone\n\nResult:\n[{\n \"txid\": \"value\", (string) The transaction hash of the referenced output\n \"vout\": n, (numeric) The output index of the referenced output\n},...]\n", - "listreceivedbyaccount": "listreceivedbyaccount (minconf=1 includeempty=false includewatchonly=false)\n\nDEPRECATED -- Returns a JSON array of objects listing all accounts and the total amount received by each account.\n\nArguments:\n1. minconf (numeric, optional, default=1) Minimum number of block confirmations required before a transaction is considered\n2. includeempty (boolean, optional, default=false) Unused\n3. includewatchonly (boolean, optional, default=false) Unused\n\nResult:\n[{\n \"account\": \"value\", (string) The name of the account\n \"amount\": n.nnn, (numeric) Total amount received by payment addresses of the account valued in bitcoin\n \"confirmations\": n, (numeric) Number of block confirmations of the most recent transaction relevant to the account\n},...]\n", - "listreceivedbyaddress": "listreceivedbyaddress (minconf=1 includeempty=false includewatchonly=false)\n\nReturns a JSON array of objects listing wallet payment addresses and their total received amounts.\n\nArguments:\n1. minconf (numeric, optional, default=1) Minimum number of block confirmations required before a transaction is considered\n2. includeempty (boolean, optional, default=false) Unused\n3. includewatchonly (boolean, optional, default=false) Unused\n\nResult:\n[{\n \"account\": \"value\", (string) DEPRECATED -- Unset\n \"address\": \"value\", (string) The payment address\n \"amount\": n.nnn, (numeric) Total amount received by the payment address valued in bitcoin\n \"confirmations\": n, (numeric) Number of block confirmations of the most recent transaction relevant to the address\n \"txids\": [\"value\",...], (array of string) Transaction hashes of all transactions involving this address\n \"involvesWatchonly\": true|false, (boolean) Unset\n},...]\n", - "listsinceblock": "listsinceblock (\"blockhash\" targetconfirmations=1 includewatchonly=false)\n\nReturns a JSON array of objects listing details of all wallet transactions after some block.\n\nArguments:\n1. blockhash (string, optional) Hash of the parent block of the first block to consider transactions from, or unset to list all transactions\n2. targetconfirmations (numeric, optional, default=1) Minimum number of block confirmations of the last block in the result object. Must be 1 or greater. Note: The transactions array in the result object is not affected by this parameter\n3. includewatchonly (boolean, optional, default=false) Unused\n\nResult:\n{\n \"transactions\": [{ (array of object) JSON array of objects containing verbose details of the each transaction\n \"abandoned\": true|false, (boolean) Unset\n \"account\": \"value\", (string) DEPRECATED -- Unset\n \"address\": \"value\", (string) Payment address for a transaction output\n \"amount\": n.nnn, (numeric) The value of the transaction output valued in bitcoin\n \"bip125-replaceable\": \"value\", (string) Unset\n \"blockhash\": \"value\", (string) The hash of the block this transaction is mined in, or the empty string if unmined\n \"blockheight\": n, (numeric) The block height containing the transaction.\n \"blockindex\": n, (numeric) Unset\n \"blocktime\": n, (numeric) The Unix time of the block header this transaction is mined in, or 0 if unmined\n \"category\": \"value\", (string) The kind of transaction: \"send\" for sent transactions, \"immature\" for immature coinbase outputs, \"generate\" for mature coinbase outputs, or \"recv\" for all other received outputs. Note: A single output may be included multiple times under different categories\n \"confirmations\": n, (numeric) The number of block confirmations of the transaction\n \"fee\": n.nnn, (numeric) The total input value minus the total output value for sent transactions\n \"generated\": true|false, (boolean) Whether the transaction output is a coinbase output\n \"involveswatchonly\": true|false, (boolean) Unset\n \"label\": \"value\", (string) A comment for the address/transaction, if any\n \"time\": n, (numeric) The earliest Unix time this transaction was known to exist\n \"timereceived\": n, (numeric) The earliest Unix time this transaction was known to exist\n \"trusted\": true|false, (boolean) Unset\n \"txid\": \"value\", (string) The hash of the transaction\n \"vout\": n, (numeric) The transaction output index\n \"walletconflicts\": [\"value\",...], (array of string) Unset\n \"comment\": \"value\", (string) Unset\n \"otheraccount\": \"value\", (string) Unset\n },...], \n \"lastblock\": \"value\", (string) Hash of the latest-synced block to be used in later calls to listsinceblock\n} \n", - "listtransactions": "listtransactions (\"account\" count=10 from=0 includewatchonly=false)\n\nReturns a JSON array of objects containing verbose details for wallet transactions.\n\nArguments:\n1. account (string, optional) DEPRECATED -- Unused (must be unset, \"default\" or \"*\")\n2. count (numeric, optional, default=10) Maximum number of transactions to create results from\n3. from (numeric, optional, default=0) Number of transactions to skip before results are created\n4. includewatchonly (boolean, optional, default=false) Unused\n\nResult:\n[{\n \"abandoned\": true|false, (boolean) Unset\n \"account\": \"value\", (string) DEPRECATED -- Unset\n \"address\": \"value\", (string) Payment address for a transaction output\n \"amount\": n.nnn, (numeric) The value of the transaction output valued in bitcoin\n \"bip125-replaceable\": \"value\", (string) Unset\n \"blockhash\": \"value\", (string) The hash of the block this transaction is mined in, or the empty string if unmined\n \"blockheight\": n, (numeric) The block height containing the transaction.\n \"blockindex\": n, (numeric) Unset\n \"blocktime\": n, (numeric) The Unix time of the block header this transaction is mined in, or 0 if unmined\n \"category\": \"value\", (string) The kind of transaction: \"send\" for sent transactions, \"immature\" for immature coinbase outputs, \"generate\" for mature coinbase outputs, or \"recv\" for all other received outputs. Note: A single output may be included multiple times under different categories\n \"confirmations\": n, (numeric) The number of block confirmations of the transaction\n \"fee\": n.nnn, (numeric) The total input value minus the total output value for sent transactions\n \"generated\": true|false, (boolean) Whether the transaction output is a coinbase output\n \"involveswatchonly\": true|false, (boolean) Unset\n \"label\": \"value\", (string) A comment for the address/transaction, if any\n \"time\": n, (numeric) The earliest Unix time this transaction was known to exist\n \"timereceived\": n, (numeric) The earliest Unix time this transaction was known to exist\n \"trusted\": true|false, (boolean) Unset\n \"txid\": \"value\", (string) The hash of the transaction\n \"vout\": n, (numeric) The transaction output index\n \"walletconflicts\": [\"value\",...], (array of string) Unset\n \"comment\": \"value\", (string) Unset\n \"otheraccount\": \"value\", (string) Unset\n},...]\n", - "listunspent": "listunspent (minconf=1 maxconf=9999999 [\"address\",...])\n\nReturns a JSON array of objects representing unlocked unspent outputs controlled by wallet keys.\n\nArguments:\n1. minconf (numeric, optional, default=1) Minimum number of block confirmations required before a transaction output is considered\n2. maxconf (numeric, optional, default=9999999) Maximum number of block confirmations required before a transaction output is excluded\n3. addresses (array of string, optional) If set, limits the returned details to unspent outputs received by any of these payment addresses\n\nResult:\n{\n \"txid\": \"value\", (string) The transaction hash of the referenced output\n \"vout\": n, (numeric) The output index of the referenced output\n \"address\": \"value\", (string) The payment address that received the output\n \"account\": \"value\", (string) The account associated with the receiving payment address\n \"scriptPubKey\": \"value\", (string) The output script encoded as a hexadecimal string\n \"redeemScript\": \"value\", (string) Unset\n \"amount\": n.nnn, (numeric) The amount of the output valued in bitcoin\n \"confirmations\": n, (numeric) The number of block confirmations of the transaction\n \"solvable\": true|false, (boolean) Whether the output is solvable\n \"spendable\": true|false, (boolean) Whether the output is entirely controlled by wallet keys/scripts (false for partially controlled multisig outputs or outputs to watch-only addresses)\n \"isstake\": true|false, (boolean) Whether the output is staked\n} \n", - "lockunspent": "lockunspent unlock [{\"txid\":\"value\",\"vout\":n},...]\n\nLocks or unlocks an unspent output.\nLocked outputs are not chosen for transaction inputs of authored transactions and are not included in 'listunspent' results.\nLocked outputs are volatile and are not saved across wallet restarts.\nIf unlock is true and no transaction outputs are specified, all locked outputs are marked unlocked.\n\nArguments:\n1. unlock (boolean, required) True to unlock outputs, false to lock\n2. transactions (array of object, required) Transaction outputs to lock or unlock\n[{\n \"txid\": \"value\", (string) The transaction hash of the referenced output\n \"vout\": n, (numeric) The output index of the referenced output\n},...]\n\nResult:\ntrue|false (boolean) The boolean 'true'\n", - "sendfrom": "sendfrom \"fromaccount\" \"toaddress\" amount (minconf=1 \"comment\" \"commentto\")\n\nDEPRECATED -- Authors, signs, and sends a transaction that outputs some amount to a payment address.\nA change output is automatically included to send extra output value back to the original account.\n\nArguments:\n1. fromaccount (string, required) Account to pick unspent outputs from\n2. toaddress (string, required) Address to pay\n3. amount (numeric, required) Amount to send to the payment address valued in bitcoin\n4. minconf (numeric, optional, default=1) Minimum number of block confirmations required before a transaction output is eligible to be spent\n5. comment (string, optional) Unused\n6. commentto (string, optional) Unused\n\nResult:\n\"value\" (string) The transaction hash of the sent transaction\n", - "sendmany": "sendmany \"fromaccount\" {\"address\":amount,...} (minconf=1 \"comment\")\n\nAuthors, signs, and sends a transaction that outputs to many payment addresses.\nA change output is automatically included to send extra output value back to the original account.\n\nArguments:\n1. fromaccount (string, required) DEPRECATED -- Account to pick unspent outputs from\n2. amounts (object, required) Pairs of payment addresses and the output amount to pay each\n{\n \"Address to pay\": Amount to send to the payment address valued in bitcoin, (object) JSON object using payment addresses as keys and output amounts valued in bitcoin to send to each address\n ...\n}\n3. minconf (numeric, optional, default=1) Minimum number of block confirmations required before a transaction output is eligible to be spent\n4. comment (string, optional) Unused\n\nResult:\n\"value\" (string) The transaction hash of the sent transaction\n", - "sendtoaddress": "sendtoaddress \"address\" amount (\"comment\" \"commentto\")\n\nAuthors, signs, and sends a transaction that outputs some amount to a payment address.\nUnlike sendfrom, outputs are always chosen from the default account.\nA change output is automatically included to send extra output value back to the original account.\n\nArguments:\n1. address (string, required) Address to pay\n2. amount (numeric, required) Amount to send to the payment address valued in bitcoin\n3. comment (string, optional) Unused\n4. commentto (string, optional) Unused\n\nResult:\n\"value\" (string) The transaction hash of the sent transaction\n", - "settxfee": "settxfee amount\n\nModify the increment used each time more fee is required for an authored transaction.\n\nArguments:\n1. amount (numeric, required) The new fee increment valued in bitcoin\n\nResult:\ntrue|false (boolean) The boolean 'true'\n", - "signmessage": "signmessage \"address\" \"message\"\n\nSigns a message using the private key of a payment address.\n\nArguments:\n1. address (string, required) Payment address of private key used to sign the message with\n2. message (string, required) Message to sign\n\nResult:\n\"value\" (string) The signed message encoded as a base64 string\n", - "signrawtransaction": "signrawtransaction \"rawtx\" ([{\"txid\":\"value\",\"vout\":n,\"scriptpubkey\":\"value\",\"redeemscript\":\"value\"},...] [\"privkey\",...] flags=\"ALL\")\n\nSigns transaction inputs using private keys from this wallet and request.\nThe valid flags options are ALL, NONE, SINGLE, ALL|ANYONECANPAY, NONE|ANYONECANPAY, and SINGLE|ANYONECANPAY.\n\nArguments:\n1. rawtx (string, required) Unsigned or partially unsigned transaction to sign encoded as a hexadecimal string\n2. inputs (array of object, optional) Additional data regarding inputs that this wallet may not be tracking\n3. privkeys (array of string, optional) Additional WIF-encoded private keys to use when creating signatures\n4. flags (string, optional, default=\"ALL\") Sighash flags\n\nResult:\n{\n \"hex\": \"value\", (string) The resulting transaction encoded as a hexadecimal string\n \"complete\": true|false, (boolean) Whether all input signatures have been created\n \"errors\": [{ (array of object) Script verification errors (if exists)\n \"txid\": \"value\", (string) The transaction hash of the referenced previous output\n \"vout\": n, (numeric) The output index of the referenced previous output\n \"scriptSig\": \"value\", (string) The hex-encoded signature script\n \"sequence\": n, (numeric) Script sequence number\n \"error\": \"value\", (string) Verification or signing error related to the input\n },...], \n} \n", - "validateaddress": "validateaddress \"address\"\n\nVerify that an address is valid.\nExtra details are returned if the address is controlled by this wallet.\nThe following fields are valid only when the address is controlled by this wallet (ismine=true): isscript, pubkey, iscompressed, account, addresses, hex, script, and sigsrequired.\nThe following fields are only valid when address has an associated public key: pubkey, iscompressed.\nThe following fields are only valid when address is a pay-to-script-hash address: addresses, hex, and script.\nIf the address is a multisig address controlled by this wallet, the multisig fields will be left unset if the wallet is locked since the redeem script cannot be decrypted.\n\nArguments:\n1. address (string, required) Address to validate\n\nResult:\n{\n \"isvalid\": true|false, (boolean) Whether or not the address is valid\n \"address\": \"value\", (string) The payment address (only when isvalid is true)\n \"ismine\": true|false, (boolean) Whether this address is controlled by the wallet (only when isvalid is true)\n \"iswatchonly\": true|false, (boolean) Unset\n \"isscript\": true|false, (boolean) Whether the payment address is a pay-to-script-hash address (only when isvalid is true)\n \"pubkey\": \"value\", (string) The associated public key of the payment address, if any (only when isvalid is true)\n \"iscompressed\": true|false, (boolean) Whether the address was created by hashing a compressed public key, if any (only when isvalid is true)\n \"account\": \"value\", (string) The account this payment address belongs to (only when isvalid is true)\n \"addresses\": [\"value\",...], (array of string) All associated payment addresses of the script if address is a multisig address (only when isvalid is true)\n \"hex\": \"value\", (string) The redeem script \n \"script\": \"value\", (string) The class of redeem script for a multisig address\n \"sigsrequired\": n, (numeric) The number of required signatures to redeem outputs to the multisig address\n} \n", - "verifymessage": "verifymessage \"address\" \"signature\" \"message\"\n\nVerify a message was signed with the associated private key of some address.\n\nArguments:\n1. address (string, required) Address used to sign message\n2. signature (string, required) The signature to verify\n3. message (string, required) The message to verify\n\nResult:\ntrue|false (boolean) Whether the message was signed with the private key of 'address'\n", + "addmultisigaddress": "addmultisigaddress nrequired [\"key\",...] (\"account\")\n\nGenerates and imports a multisig address and redeeming script to the 'imported' account.\n\nArguments:\n1. nrequired (numeric, required) The number of signatures required to redeem outputs paid to this address.\n2. keys (array of string, required) Pubkeys and/or pay-to-pubkey-hash addresses to partially control the multisig address.\n3. account (string, optional) DEPRECATED -- Unused (all imported addresses belong to the imported account).\n\nResult:\n\"value\" (string) The imported pay-to-script-hash address.\n", + "createmultisig": "createmultisig nrequired [\"key\",...]\n\nGenerate a multisig address and redeem script.\n\nArguments:\n1. nrequired (numeric, required) The number of signatures required to redeem outputs paid to this address.\n2. keys (array of string, required) Pubkeys and/or pay-to-pubkey-hash addresses to partially control the multisig address.\n\nResult:\n{\n \"address\": \"value\", (string) The generated pay-to-script-hash address.\n \"redeemScript\": \"value\", (string) The script required to redeem outputs paid to the multisig address.\n} \n", + "dumpprivkey": "dumpprivkey \"address\"\n\nReturns the private key in WIF encoding that controls some wallet address.\n\nArguments:\n1. address (string, required) The address to return a private key for.\n\nResult:\n\"value\" (string) The WIF-encoded private key.\n", + "getaccount": "getaccount \"address\"\n\nLookup the account name that some wallet address belongs to.\n\nArguments:\n1. address (string, required) The address to query the account for.\n\nResult:\n\"value\" (string) The name of the account that 'address' belongs to.\n", + "getaccountaddress": "getaccountaddress (account=\"default\" addresstype=\"legacy\")\n\nReturns the most recent external payment address for an account that has not been seen publicly.\nA new address is generated for the account if the most recently generated address has been seen on the blockchain or in mempool.\n\nArguments:\n1. account (string, optional, default=\"default\") The account of the returned address. Defaults to 'default'\n2. addresstype (string, optional, default=\"legacy\") Address type. Must be one of 'legacy', 'p2sh-segwit', or 'bech32'. Default to 'legacy'.\n\nResult:\n\"value\" (string) The unused address for 'account'.\n", + "getaddressesbyaccount": "getaddressesbyaccount (account=\"default\" addresstype=\"*\")\n\nReturns all addresses controlled by a single account.\n\nArguments:\n1. account (string, optional, default=\"default\") Account name to fetch addresses for. Defaults to 'default'\n2. addresstype (string, optional, default=\"*\") Address type filter. Must be one of 'legacy', 'p2sh-segwit', 'bech32', or '*'. Defaults to '*'.\n\nResult:\n[\"value\",...] (array of string) All addresses controlled by 'account' filtered by 'addresstype'.\n", + "getaddressinfo": "getaddressinfo \"address\"\n\nGenerates and returns a new payment address.\n\nArguments:\n1. address (string, required) The address to get the information of.\n\nResult:\n{\n \"address\": \"value\", (string) The address validatedi.\n \"scriptPubKey\": \"value\", (string) The hex-encoded scriptPubKey generated by the address.\n \"desc\": \"value\", (string) A descriptor for spending coins sent to this address (only when solvable).\n \"isscript\": true|false, (boolean) If the key is a script.\n \"ischange\": true|false, (boolean) If the address was used for change output.\n \"iswitness\": true|false, (boolean) If the address is a witness address.\n \"witness_version\": n, (numeric) The version number of the witness program.\n \"witness_program\": \"value\", (string) The hex value of the witness program.\n \"script\": n, (numeric) The output script type. Only if isscript is true and the redeemscript is known. Possible types: nonstandard, pubkey, pubkeyhash, scripthash, multisig, nulldata, witness_v0_keyhash, witness_v0_scripthash, witness_unknown.\n \"hex\": \"value\", (string) The redeemscript for the p2sh address.\n \"pubkeys\": [\"value\",...], (array of string) The hex value of the raw public key for single-key addresses (possibly embedded in P2SH or P2WSH).\n \"sigsrequired\": n, (numeric) The number of signatures required to spend multisig output (only if script is multisig).\n \"pubkey\": \"value\", (string) Array of pubkeys associated with the known redeemscript (only if script is multisig).\n \"iscompressed\": true|false, (boolean) If the pubkey is compressed.\n \"hdmasterfingerprint\": \"value\", (string) The fingerprint of the master key.\n \"labels\": [\"value\",...], (array of string) Array of labels associated with the address. Currently limited to one label but returned.\n \"ismine\": true|false, (boolean) If the address is yours.\n \"iswatchonly\": true|false, (boolean) If the address is watchonly.\n \"timestamp\": n, (numeric) The creation time of the key, if available, expressed in UNIX epoch time.\n \"hdkeypath\": \"value\", (string) The HD keypath, if the key is HD and available.\n \"hdseedid\": \"value\", (string) The Hash160 of the HD seed.\n \"embedded\": { (object) Information about the address embedded in P2SH or P2WSH, if relevant and known.\n \"address\": \"value\", (string) The address validated.\n \"scriptPubKey\": \"value\", (string) The hex-encoded scriptPubKey generated by the address.\n \"desc\": \"value\", (string) A descriptor for spending coins sent to this address (only when solvable).\n \"isscript\": true|false, (boolean) If the key is a script.\n \"ischange\": true|false, (boolean) If the address was used for change output.\n \"iswitness\": true|false, (boolean) If the address is a witness address.\n \"witness_version\": n, (numeric) The version number of the witness program.\n \"witness_program\": \"value\", (string) The hex value of the witness program.\n \"script\": n, (numeric) The output script type. Only if isscript is true and the redeemscript is known. Possible types: nonstandard, pubkey, pubkeyhash, scripthash, multisig, nulldata, witness_v0_keyhash, witness_v0_scripthash, witness_unknown.\n \"hex\": \"value\", (string) The redeemscript for the p2sh address.\n \"pubkeys\": [\"value\",...], (array of string) The hex value of the raw public key for single-key addresses (possibly embedded in P2SH or P2WSH).\n \"sigsrequired\": n, (numeric) The number of signatures required to spend multisig output (only if script is multisig).\n \"pubkey\": \"value\", (string) Array of pubkeys associated with the known redeemscript (only if script is multisig).\n \"iscompressed\": true|false, (boolean) If the pubkey is compressed.\n \"hdmasterfingerprint\": \"value\", (string) The fingerprint of the master key.\n \"labels\": [\"value\",...], (array of string) Array of labels associated with the address. Currently limited to one label but returned.\n }, \n} \n", + "getbalance": "getbalance (account=\"default\" minconf=1 addresstype=\"*\")\n\nCalculates and returns the balance of one or all accounts.\n\nArguments:\n1. account (string, optional, default=\"default\") Account name or '*' for all accounts to query the balance for. Default to 'default'.\n2. minconf (numeric, optional, default=1) Minimum number of block confirmations required before an unspent output's value is included in the balance.\n3. addresstype (string, optional, default=\"*\") Address type filter. Must be one of 'legacy', 'p2sh-segwit', 'bech32', or '*'. Default to '*'.\n\nResult:\nn.nnn (numeric) The balance valued in LBC.\n", + "getbestblockhash": "getbestblockhash\n\nReturns the hash of the newest block in the best chain that wallet has finished syncing with.\n\nArguments:\nNone\n\nResult:\n\"value\" (string) The hash of the most recent synced-to block.\n", + "getblockcount": "getblockcount\n\nReturns the blockchain height of the newest block in the best chain that wallet has finished syncing with.\n\nArguments:\nNone\n\nResult:\nn.nnn (numeric) The blockchain height of the most recent synced-to block.\n", + "getinfo": "getinfo\n\nReturns a JSON object containing various state info.\n\nArguments:\nNone\n\nResult:\n{\n \"version\": n, (numeric) The version of the server.\n \"protocolversion\": n, (numeric) The latest supported protocol version.\n \"walletversion\": n, (numeric) The version of the address manager database.\n \"balance\": n.nnn, (numeric) The non-staked balance of all accounts calculated with one block confirmation.\n \"blocks\": n, (numeric) The number of blocks processed.\n \"timeoffset\": n, (numeric) The time offset.\n \"connections\": n, (numeric) The number of connected peers.\n \"proxy\": \"value\", (string) The proxy used by the server.\n \"difficulty\": n.nnn, (numeric) The current target difficulty.\n \"testnet\": true|false, (boolean) Whether or not server is using testnet.\n \"keypoololdest\": n, (numeric) Unset.\n \"keypoolsize\": n, (numeric) Unset.\n \"unlocked_until\": n, (numeric) Unset.\n \"paytxfee\": n.nnn, (numeric) The increment used each time more fee is required for an authored transaction.\n \"relayfee\": n.nnn, (numeric) The minimum relay fee for non-free transactions in LBC/KB.\n \"errors\": \"value\", (string) Any current errors.\n \"staked\": n.nnn, (numeric) The staked balance of all accounts calculated with one block confirmation.\n} \n", + "getnewaddress": "getnewaddress (account=\"default\" addresstype=\"legacy\")\n\nGenerates and returns a new payment address.\n\nArguments:\n1. account (string, optional, default=\"default\") Account name the new address will belong to. Defaults to 'default'.\n2. addresstype (string, optional, default=\"legacy\") Address type. Must be one of 'legacy', 'p2sh-segwit', or 'bech32'. Default to 'legacy'.\n\nResult:\n\"value\" (string) The payment address.\n", + "getrawchangeaddress": "getrawchangeaddress (account=\"default\" addresstype=\"legacy\")\n\nGenerates and returns a new internal payment address for use as a change address in raw transactions.\n\nArguments:\n1. account (string, optional, default=\"default\") Account name the new internal address will belong to. Defaults to 'default'.\n2. addresstype (string, optional, default=\"legacy\") Address type. Must be one of 'legacy', 'p2sh-segwit', or 'bech32'. Default to 'legacy'.\n\nResult:\n\"value\" (string) The internal payment address.\n", + "getreceivedbyaccount": "getreceivedbyaccount (account=\"default\" minconf=1)\n\nReturns the total amount received by addresses of some account, including spent outputs.\n\nArguments:\n1. account (string, optional, default=\"default\") Account name to query total received amount for. Defaults to 'default'\n2. minconf (numeric, optional, default=1) Minimum number of block confirmations required before an output's value is included in the total. Defaults to 0\n\nResult:\nn.nnn (numeric) The total received amount valued in LBC.\n", + "getreceivedbyaddress": "getreceivedbyaddress \"address\" (minconf=1)\n\nReturns the total amount received by a single address, including spent outputs.\n\nArguments:\n1. address (string, required) Payment address which received outputs to include in total.\n2. minconf (numeric, optional, default=1) Minimum number of block confirmations required before an output's value is included in the total. Defaults to 1\n\nResult:\nn.nnn (numeric) The total received amount valued in LBC.\n", + "gettransaction": "gettransaction \"txid\" (includewatchonly=false)\n\nReturns a JSON object with details regarding a transaction relevant to this wallet.\n\nArguments:\n1. txid (string, required) Hash of the transaction to query.\n2. includewatchonly (boolean, optional, default=false) Also consider transactions involving watched addresses.\n\nResult:\n{\n \"amount\": n.nnn, (numeric) The total amount this transaction credits to the wallet, valued in LBC.\n \"fee\": n.nnn, (numeric) The total input value minus the total output value, or 0 if 'txid' is not a sent transaction.\n \"confirmations\": n, (numeric) The number of block confirmations of the transaction.\n \"blockhash\": \"value\", (string) The hash of the block this transaction is mined in, or the empty string if unmined.\n \"blockindex\": n, (numeric) Unset.\n \"blocktime\": n, (numeric) The Unix time of the block header this transaction is mined in, or 0 if unmined.\n \"txid\": \"value\", (string) The transaction hash.\n \"walletconflicts\": [\"value\",...], (array of string) Unset.\n \"time\": n, (numeric) The earliest Unix time this transaction was known to exist.\n \"timereceived\": n, (numeric) The earliest Unix time this transaction was known to exist.\n \"details\": [{ (array of object) Additional details for each recorded wallet credit and debit.\n \"account\": \"value\", (string) The account pertaining to this transaction.\n \"address\": \"value\", (string) The address an output was paid to, or the empty string if the output is nonstandard or this detail is regarding a transaction input.\n \"amount\": n.nnn, (numeric) The amount of a received output.\n \"category\": \"value\", (string) The kind of detail: \"send\" for sent transactions, \"immature\" for immature coinbase outputs, \"generate\" for mature coinbase outputs, or \"recv\" for all other received outputs.\n \"involveswatchonly\": true|false, (boolean) Unset.\n \"fee\": n.nnn, (numeric) The included fee for a sent transaction.\n \"vout\": n, (numeric) The transaction output index.\n },...], \n \"hex\": \"value\", (string) The transaction encoded as a hexadecimal string.\n \"generated\": true|false, (boolean) Only present if transaction only input is a coinbase one.\n} \n", + "help": "help (\"command\")\n\nReturns a list of all commands or help for a specified command.\n\nArguments:\n1. command (string, optional) The command to retrieve help for.\n\nResult (no command provided.):\n\"value\" (string) List of commands.\n\nResult (command specified.):\n\"value\" (string) Help for specified command.\n", + "importprivkey": "importprivkey \"privkey\" (\"label\" rescan=true)\n\nImports a WIF-encoded private key to the 'imported' account.\n\nArguments:\n1. privkey (string, required) The WIF-encoded private key.\n2. label (string, optional) Unused (must be unset or 'imported').\n3. rescan (boolean, optional, default=true) Rescan the blockchain (since the genesis block) for outputs controlled by the imported key.\n\nResult:\nNothing\n", + "keypoolrefill": "keypoolrefill (newsize=100)\n\nDEPRECATED -- This request does nothing since no keypool is maintained.\n\nArguments:\n1. newsize (numeric, optional, default=100) Unused.\n\nResult:\nNothing\n", + "listaccounts": "listaccounts (minconf=1 addresstype=\"*\")\n\nReturns a JSON object of all accounts and their balances.\n\nArguments:\n1. minconf (numeric, optional, default=1) Minimum number of block confirmations required before an unspent output's value is included in the balance.\n2. addresstype (string, optional, default=\"*\") Address type filter. Must be one of 'legacy', 'p2sh-segwit', 'bech32', or '*'. Defaults to '*'.\n\nResult:\n{\n \"Account name\": Total balance and each scope respectively, valued in LBC., (object) JSON object with account names as keys and LBC amounts as values.\n ...\n}\n", + "listlockunspent": "listlockunspent\n\nReturns a JSON array of outpoints marked as locked (with lockunspent) for this wallet session.\n\nArguments:\nNone\n\nResult:\n[{\n \"txid\": \"value\", (string) The transaction hash of the referenced output.\n \"vout\": n, (numeric) The output index of the referenced output.\n},...]\n", + "listreceivedbyaccount": "listreceivedbyaccount (minconf=1 includeempty=false includewatchonly=false)\n\nReturns a JSON array of objects listing all accounts and the total amount received by each account.\n\nArguments:\n1. minconf (numeric, optional, default=1) Minimum number of block confirmations required before a transaction is considered.\n2. includeempty (boolean, optional, default=false) Unused.\n3. includewatchonly (boolean, optional, default=false) Unused.\n\nResult:\n[{\n \"account\": \"value\", (string) Account name.\n \"amount\": n.nnn, (numeric) Total amount received by payment addresses of the account valued in LBC.\n \"confirmations\": n, (numeric) Number of block confirmations of the most recent transaction relevant to the account.\n},...]\n", + "listreceivedbyaddress": "listreceivedbyaddress (minconf=1 includeempty=false includewatchonly=false)\n\nReturns a JSON array of objects listing wallet payment addresses and their total received amounts.\n\nArguments:\n1. minconf (numeric, optional, default=1) Minimum number of block confirmations required before a transaction is considered.\n2. includeempty (boolean, optional, default=false) Unused.\n3. includewatchonly (boolean, optional, default=false) Unused.\n\nResult:\n[{\n \"address\": \"value\", (string) The payment address.\n \"amount\": n.nnn, (numeric) Total amount received by the payment address valued in LBC.\n \"confirmations\": n, (numeric) Number of block confirmations of the most recent transaction relevant to the address.\n \"txids\": [\"value\",...], (array of string) Transaction hashes of all transactions involving this address.\n \"involvesWatchonly\": true|false, (boolean) Unset.\n},...]\n", + "listsinceblock": "listsinceblock (\"blockhash\" targetconfirmations=1 includewatchonly=false)\n\nReturns a JSON array of objects listing details of all wallet transactions after some block.\n\nArguments:\n1. blockhash (string, optional) Hash of the parent block of the first block to consider transactions from, or unset to list all transactions.\n2. targetconfirmations (numeric, optional, default=1) Minimum number of block confirmations of the last block in the result object. Must be 1 or greater. Note: The transactions array in the result object is not affected by this parameter.\n3. includewatchonly (boolean, optional, default=false) Unused.\n\nResult:\n{\n \"transactions\": [{ (array of object) JSON array of objects containing verbose details of the each transaction.\n \"abandoned\": true|false, (boolean) Unset.\n \"account\": \"value\", (string) The account name associated with the transaction.\n \"address\": \"value\", (string) Payment address for a transaction output.\n \"amount\": n.nnn, (numeric) The value of the transaction output valued in LBC.\n \"bip125-replaceable\": \"value\", (string) Unset.\n \"blockhash\": \"value\", (string) The hash of the block this transaction is mined in, or the empty string if unmined.\n \"blockheight\": n, (numeric) The block height containing the transaction.\n \"blockindex\": n, (numeric) Unset.\n \"blocktime\": n, (numeric) The Unix time of the block header this transaction is mined in, or 0 if unmined.\n \"category\": \"value\", (string) The kind of transaction: \"send\" for sent transactions, \"immature\" for immature coinbase outputs, \"generate\" for mature coinbase outputs, or \"recv\" for all other received outputs. Note: A single output may be included multiple times under different categories\n \"confirmations\": n, (numeric) The number of block confirmations of the transaction.\n \"fee\": n.nnn, (numeric) The total input value minus the total output value for sent transactions.\n \"generated\": true|false, (boolean) Whether the transaction output is a coinbase output.\n \"involveswatchonly\": true|false, (boolean) Unset.\n \"label\": \"value\", (string) A comment for the address/transaction, if any.\n \"time\": n, (numeric) The earliest Unix time this transaction was known to exist.\n \"timereceived\": n, (numeric) The earliest Unix time this transaction was known to exist.\n \"trusted\": true|false, (boolean) Unset.\n \"txid\": \"value\", (string) The hash of the transaction.\n \"vout\": n, (numeric) The transaction output index.\n \"walletconflicts\": [\"value\",...], (array of string) Unset.\n \"comment\": \"value\", (string) Unset.\n \"otheraccount\": \"value\", (string) Unset.\n },...], \n \"lastblock\": \"value\", (string) Hash of the latest-synced block to be used in later calls to listsinceblock.\n} \n", + "listtransactions": "listtransactions (account=\"default\" count=10 from=0 includewatchonly=false)\n\nReturns a JSON array of objects containing verbose details for wallet transactions.\n\nArguments:\n1. account (string, optional, default=\"default\") Account to filter transactions results by. Defaults to 'default'.\n2. count (numeric, optional, default=10) Maximum number of transactions to create results from. Defaults to 10\n3. from (numeric, optional, default=0) Number of transactions to skip before results are created.\n4. includewatchonly (boolean, optional, default=false) Unused.\n\nResult:\n[{\n \"abandoned\": true|false, (boolean) Unset.\n \"account\": \"value\", (string) The account name associated with the transaction.\n \"address\": \"value\", (string) Payment address for a transaction output.\n \"amount\": n.nnn, (numeric) The value of the transaction output valued in LBC.\n \"bip125-replaceable\": \"value\", (string) Unset.\n \"blockhash\": \"value\", (string) The hash of the block this transaction is mined in, or the empty string if unmined.\n \"blockheight\": n, (numeric) The block height containing the transaction.\n \"blockindex\": n, (numeric) Unset.\n \"blocktime\": n, (numeric) The Unix time of the block header this transaction is mined in, or 0 if unmined.\n \"category\": \"value\", (string) The kind of transaction: \"send\" for sent transactions, \"immature\" for immature coinbase outputs, \"generate\" for mature coinbase outputs, or \"recv\" for all other received outputs. Note: A single output may be included multiple times under different categories\n \"confirmations\": n, (numeric) The number of block confirmations of the transaction.\n \"fee\": n.nnn, (numeric) The total input value minus the total output value for sent transactions.\n \"generated\": true|false, (boolean) Whether the transaction output is a coinbase output.\n \"involveswatchonly\": true|false, (boolean) Unset.\n \"label\": \"value\", (string) A comment for the address/transaction, if any.\n \"time\": n, (numeric) The earliest Unix time this transaction was known to exist.\n \"timereceived\": n, (numeric) The earliest Unix time this transaction was known to exist.\n \"trusted\": true|false, (boolean) Unset.\n \"txid\": \"value\", (string) The hash of the transaction.\n \"vout\": n, (numeric) The transaction output index.\n \"walletconflicts\": [\"value\",...], (array of string) Unset.\n \"comment\": \"value\", (string) Unset.\n \"otheraccount\": \"value\", (string) Unset.\n},...]\n", + "listunspent": "listunspent (minconf=1 maxconf=9999999 [\"address\",...])\n\nReturns a JSON array of objects representing unlocked unspent outputs controlled by wallet keys.\n\nArguments:\n1. minconf (numeric, optional, default=1) Minimum number of block confirmations required before a transaction output is considered.\n2. maxconf (numeric, optional, default=9999999) Maximum number of block confirmations required before a transaction output is excluded.\n3. addresses (array of string, optional) If set, limits the returned details to unspent outputs received by any of these payment addresses.\n\nResult:\n{\n \"txid\": \"value\", (string) The transaction hash of the referenced output.\n \"vout\": n, (numeric) The output index of the referenced output.\n \"address\": \"value\", (string) The payment address that received the output.\n \"account\": \"value\", (string) The account associated with the receiving payment address.\n \"scriptPubKey\": \"value\", (string) The output script encoded as a hexadecimal string.\n \"redeemScript\": \"value\", (string) Unset.\n \"amount\": n.nnn, (numeric) The amount of the output valued in LBC.\n \"confirmations\": n, (numeric) The number of block confirmations of the transaction.\n \"solvable\": true|false, (boolean) Whether the output is solvable.\n \"spendable\": true|false, (boolean) Whether the output is entirely controlled by wallet keys/scripts (false for partially controlled multisig outputs or outputs to watch-only addresses).\n \"isstake\": true|false, (boolean) Whether the output is staked.\n} \n", + "lockunspent": "lockunspent unlock [{\"txid\":\"value\",\"vout\":n},...]\n\nLocks or unlocks an unspent output.\nLocked outputs are not chosen for transaction inputs of authored transactions and are not included in 'listunspent' results.\nLocked outputs are volatile and are not saved across wallet restarts.\nIf unlock is true and no transaction outputs are specified, all locked outputs are marked unlocked.\n\nArguments:\n1. unlock (boolean, required) True to unlock outputs, false to lock.\n2. transactions (array of object, required) Transaction outputs to lock or unlock.\n[{\n \"txid\": \"value\", (string) The transaction hash of the referenced output.\n \"vout\": n, (numeric) The output index of the referenced output.\n},...]\n\nResult:\ntrue|false (boolean) The boolean 'true'.\n", + "sendfrom": "sendfrom \"fromaccount\" \"toaddress\" amount (minconf=1 addresstype=\"*\" \"comment\" \"commentto\")\n\nAuthors, signs, and sends a transaction that outputs some amount to a payment address.\nA change output is automatically included to send extra output value back to the original account.\n\nArguments:\n1. fromaccount (string, required) Account to pick unspent outputs from.\n2. toaddress (string, required) Address to pay.\n3. amount (numeric, required) Amount to send to the payment address valued in LBC.\n4. minconf (numeric, optional, default=1) Minimum number of block confirmations required before a transaction output is eligible to be spent.\n5. addresstype (string, optional, default=\"*\") Address type filter for UTXOs to spent from. Must be one of 'legacy', 'p2sh-segwit', 'bech32', or '*'. Defaults to '*'.\n6. comment (string, optional) Unused.\n7. commentto (string, optional) Unused.\n\nResult:\n\"value\" (string) The transaction hash of the sent transaction.\n", + "sendmany": "sendmany \"fromaccount\" {\"address\":amount,...} (minconf=1 addresstype=\"*\" \"comment\")\n\nAuthors, signs, and sends a transaction that outputs to many payment addresses.\nA change output is automatically included to send extra output value back to the original account.\n\nArguments:\n1. fromaccount (string, required) Account to pick unspent outputs from.\n2. amounts (object, required) Pairs of payment addresses and the output amount to pay each.\n{\n \"Address to pay.\": Amount to send to the payment address valued in LBC., (object) JSON object using payment addresses as keys and output amounts valued in LBC to send to each address.\n ...\n}\n3. minconf (numeric, optional, default=1) Minimum number of block confirmations required before a transaction output is eligible to be spent.\n4. addresstype (string, optional, default=\"*\") Address type filter for UTXOs to spent from. Must be one of 'legacy', 'p2sh-segwit', 'bech32', or '*'. Defaults to '*'.\n5. comment (string, optional) Unused.\n\nResult:\n\"value\" (string) The transaction hash of the sent transaction.\n", + "sendtoaddress": "sendtoaddress \"address\" amount (addresstype=\"*\" \"comment\" \"commentto\")\n\nAuthors, signs, and sends a transaction that outputs some amount to a payment address.\nUnlike sendfrom, outputs are always chosen from the default account.\nA change output is automatically included to send extra output value back to the original account.\n\nArguments:\n1. address (string, required) Address to pay.\n2. amount (numeric, required) Amount to send to the payment address valued in LBC.\n3. addresstype (string, optional, default=\"*\") Address type filter for UTXOs to spent from. Must be one of 'legacy', 'p2sh-segwit', 'bech32', or '*'. Defaults to '*'.\n4. comment (string, optional) Unused.\n5. commentto (string, optional) Unused.\n\nResult:\n\"value\" (string) The transaction hash of the sent transaction.\n", + "settxfee": "settxfee amount\n\nModify the increment used each time more fee is required for an authored transaction.\n\nArguments:\n1. amount (numeric, required) The new fee increment valued in LBC.\n\nResult:\ntrue|false (boolean) The boolean 'true'.\n", + "signmessage": "signmessage \"address\" \"message\"\n\nSigns a message using the private key of a payment address.\n\nArguments:\n1. address (string, required) Payment address of private key used to sign the message with.\n2. message (string, required) Message to sign.\n\nResult:\n\"value\" (string) The signed message encoded as a base64 string.\n", + "signrawtransaction": "signrawtransaction \"rawtx\" ([{\"txid\":\"value\",\"vout\":n,\"scriptpubkey\":\"value\",\"redeemscript\":\"value\"},...] [\"privkey\",...] flags=\"ALL\")\n\nSigns transaction inputs using private keys from this wallet and request.\nThe valid flags options are ALL, NONE, SINGLE, ALL|ANYONECANPAY, NONE|ANYONECANPAY, and SINGLE|ANYONECANPAY.\n\nArguments:\n1. rawtx (string, required) Unsigned or partially unsigned transaction to sign encoded as a hexadecimal string.\n2. inputs (array of object, optional) Additional data regarding inputs that this wallet may not be tracking.\n3. privkeys (array of string, optional) Additional WIF-encoded private keys to use when creating signatures.\n4. flags (string, optional, default=\"ALL\") Sighash flags.\n\nResult:\n{\n \"hex\": \"value\", (string) The resulting transaction encoded as a hexadecimal string.\n \"complete\": true|false, (boolean) Whether all input signatures have been created.\n \"errors\": [{ (array of object) Script verification errors (if exists).\n \"txid\": \"value\", (string) The transaction hash of the referenced previous output.\n \"vout\": n, (numeric) The output index of the referenced previous output.\n \"scriptSig\": \"value\", (string) The hex-encoded signature script.\n \"sequence\": n, (numeric) Script sequence number.\n \"error\": \"value\", (string) Verification or signing error related to the input.\n },...], \n} \n", + "validateaddress": "validateaddress \"address\"\n\nVerify that an address is valid.\nExtra details are returned if the address is controlled by this wallet.\nThe following fields are valid only when the address is controlled by this wallet (ismine=true): isscript, pubkey, iscompressed, account, addresses, hex, script, and sigsrequired.\nThe following fields are only valid when address has an associated public key: pubkey, iscompressed.\nThe following fields are only valid when address is a pay-to-script-hash address: addresses, hex, and script.\nIf the address is a multisig address controlled by this wallet, the multisig fields will be left unset if the wallet is locked since the redeem script cannot be decrypted.\n\nArguments:\n1. address (string, required) Address to validate.\n\nResult:\n{\n \"isvalid\": true|false, (boolean) Whether or not the address is valid.\n \"address\": \"value\", (string) The payment address (only when isvalid is true).\n \"ismine\": true|false, (boolean) Whether this address is controlled by the wallet (only when isvalid is true).\n \"iswatchonly\": true|false, (boolean) Unset.\n \"isscript\": true|false, (boolean) Whether the payment address is a pay-to-script-hash address (only when isvalid is true).\n \"pubkey\": \"value\", (string) The associated public key of the payment address, if any (only when isvalid is true).\n \"iscompressed\": true|false, (boolean) Whether the address was created by hashing a compressed public key, if any (only when isvalid is true).\n \"account\": \"value\", (string) The account this payment address belongs to (only when isvalid is true).\n \"addresses\": [\"value\",...], (array of string) All associated payment addresses of the script if address is a multisig address (only when isvalid is true).\n \"hex\": \"value\", (string) The redeem script .\n \"script\": \"value\", (string) The class of redeem script for a multisig address.\n \"sigsrequired\": n, (numeric) The number of required signatures to redeem outputs to the multisig address.\n} \n", + "verifymessage": "verifymessage \"address\" \"signature\" \"message\"\n\nVerify a message was signed with the associated private key of some address.\n\nArguments:\n1. address (string, required) Address used to sign message.\n2. signature (string, required) The signature to verify.\n3. message (string, required) The message to verify.\n\nResult:\ntrue|false (boolean) Whether the message was signed with the private key of 'address'.\n", "walletlock": "walletlock\n\nLock the wallet.\n\nArguments:\nNone\n\nResult:\nNothing\n", - "walletpassphrase": "walletpassphrase \"passphrase\" timeout\n\nUnlock the wallet.\n\nArguments:\n1. passphrase (string, required) The wallet passphrase\n2. timeout (numeric, required) The number of seconds to wait before the wallet automatically locks\n\nResult:\nNothing\n", - "walletpassphrasechange": "walletpassphrasechange \"oldpassphrase\" \"newpassphrase\"\n\nChange the wallet passphrase.\n\nArguments:\n1. oldpassphrase (string, required) The old wallet passphrase\n2. newpassphrase (string, required) The new wallet passphrase\n\nResult:\nNothing\n", - "createnewaccount": "createnewaccount \"account\"\n\nCreates a new account.\nThe wallet must be unlocked for this request to succeed.\n\nArguments:\n1. account (string, required) Name of the new account\n\nResult:\nNothing\n", - "getbestblock": "getbestblock\n\nReturns the hash and height of the newest block in the best chain that wallet has finished syncing with.\n\nArguments:\nNone\n\nResult:\n{\n \"hash\": \"value\", (string) The hash of the block\n \"height\": n, (numeric) The blockchain height of the block\n} \n", - "getunconfirmedbalance": "getunconfirmedbalance (\"account\")\n\nCalculates the unspent output value of all unmined transaction outputs for an account.\n\nArguments:\n1. account (string, optional) The account to query the unconfirmed balance for (default=\"default\")\n\nResult:\nn.nnn (numeric) Total amount of all unmined unspent outputs of the account valued in bitcoin.\n", - "listaddresstransactions": "listaddresstransactions [\"address\",...] (\"account\")\n\nReturns a JSON array of objects containing verbose details for wallet transactions pertaining some addresses.\n\nArguments:\n1. addresses (array of string, required) Addresses to filter transaction results by\n2. account (string, optional) Unused (must be unset or \"*\")\n\nResult:\n[{\n \"abandoned\": true|false, (boolean) Unset\n \"account\": \"value\", (string) DEPRECATED -- Unset\n \"address\": \"value\", (string) Payment address for a transaction output\n \"amount\": n.nnn, (numeric) The value of the transaction output valued in bitcoin\n \"bip125-replaceable\": \"value\", (string) Unset\n \"blockhash\": \"value\", (string) The hash of the block this transaction is mined in, or the empty string if unmined\n \"blockheight\": n, (numeric) The block height containing the transaction.\n \"blockindex\": n, (numeric) Unset\n \"blocktime\": n, (numeric) The Unix time of the block header this transaction is mined in, or 0 if unmined\n \"category\": \"value\", (string) The kind of transaction: \"send\" for sent transactions, \"immature\" for immature coinbase outputs, \"generate\" for mature coinbase outputs, or \"recv\" for all other received outputs. Note: A single output may be included multiple times under different categories\n \"confirmations\": n, (numeric) The number of block confirmations of the transaction\n \"fee\": n.nnn, (numeric) The total input value minus the total output value for sent transactions\n \"generated\": true|false, (boolean) Whether the transaction output is a coinbase output\n \"involveswatchonly\": true|false, (boolean) Unset\n \"label\": \"value\", (string) A comment for the address/transaction, if any\n \"time\": n, (numeric) The earliest Unix time this transaction was known to exist\n \"timereceived\": n, (numeric) The earliest Unix time this transaction was known to exist\n \"trusted\": true|false, (boolean) Unset\n \"txid\": \"value\", (string) The hash of the transaction\n \"vout\": n, (numeric) The transaction output index\n \"walletconflicts\": [\"value\",...], (array of string) Unset\n \"comment\": \"value\", (string) Unset\n \"otheraccount\": \"value\", (string) Unset\n},...]\n", - "listalltransactions": "listalltransactions (\"account\")\n\nReturns a JSON array of objects in the same format as 'listtransactions' without limiting the number of returned objects.\n\nArguments:\n1. account (string, optional) Unused (must be unset or \"*\")\n\nResult:\n[{\n \"abandoned\": true|false, (boolean) Unset\n \"account\": \"value\", (string) DEPRECATED -- Unset\n \"address\": \"value\", (string) Payment address for a transaction output\n \"amount\": n.nnn, (numeric) The value of the transaction output valued in bitcoin\n \"bip125-replaceable\": \"value\", (string) Unset\n \"blockhash\": \"value\", (string) The hash of the block this transaction is mined in, or the empty string if unmined\n \"blockheight\": n, (numeric) The block height containing the transaction.\n \"blockindex\": n, (numeric) Unset\n \"blocktime\": n, (numeric) The Unix time of the block header this transaction is mined in, or 0 if unmined\n \"category\": \"value\", (string) The kind of transaction: \"send\" for sent transactions, \"immature\" for immature coinbase outputs, \"generate\" for mature coinbase outputs, or \"recv\" for all other received outputs. Note: A single output may be included multiple times under different categories\n \"confirmations\": n, (numeric) The number of block confirmations of the transaction\n \"fee\": n.nnn, (numeric) The total input value minus the total output value for sent transactions\n \"generated\": true|false, (boolean) Whether the transaction output is a coinbase output\n \"involveswatchonly\": true|false, (boolean) Unset\n \"label\": \"value\", (string) A comment for the address/transaction, if any\n \"time\": n, (numeric) The earliest Unix time this transaction was known to exist\n \"timereceived\": n, (numeric) The earliest Unix time this transaction was known to exist\n \"trusted\": true|false, (boolean) Unset\n \"txid\": \"value\", (string) The hash of the transaction\n \"vout\": n, (numeric) The transaction output index\n \"walletconflicts\": [\"value\",...], (array of string) Unset\n \"comment\": \"value\", (string) Unset\n \"otheraccount\": \"value\", (string) Unset\n},...]\n", - "renameaccount": "renameaccount \"oldaccount\" \"newaccount\"\n\nRenames an account.\n\nArguments:\n1. oldaccount (string, required) The old account name to rename\n2. newaccount (string, required) The new name for the account\n\nResult:\nNothing\n", - "walletislocked": "walletislocked\n\nReturns whether or not the wallet is locked.\n\nArguments:\nNone\n\nResult:\ntrue|false (boolean) Whether the wallet is locked\n", + "walletpassphrase": "walletpassphrase \"passphrase\" timeout\n\nUnlock the wallet.\n\nArguments:\n1. passphrase (string, required) The wallet passphrase.\n2. timeout (numeric, required) The number of seconds to wait before the wallet automatically locks.\n\nResult:\nNothing\n", + "walletpassphrasechange": "walletpassphrasechange \"oldpassphrase\" \"newpassphrase\"\n\nChange the wallet passphrase.\n\nArguments:\n1. oldpassphrase (string, required) The old wallet passphrase.\n2. newpassphrase (string, required) The new wallet passphrase.\n\nResult:\nNothing\n", + "createnewaccount": "createnewaccount \"account\"\n\nCreates a new account.\n\nArguments:\n1. account (string, required) Account name.\n\nResult:\nNothing\n", + "getbestblock": "getbestblock\n\nReturns the hash and height of the newest block in the best chain that wallet has finished syncing with.\n\nArguments:\nNone\n\nResult:\n{\n \"hash\": \"value\", (string) The hash of the block.\n \"height\": n, (numeric) The blockchain height of the block.\n} \n", + "getunconfirmedbalance": "getunconfirmedbalance (account=\"default\")\n\nCalculates the unspent output value of all unmined transaction outputs.\n\nArguments:\n1. account (string, optional, default=\"default\") The account name to query the unconfirmed balance for. Default to 'default'.\n\nResult:\nn.nnn (numeric) Total amount of all unmined unspent outputs of the account valued in LBC.\n", + "listaddresstransactions": "listaddresstransactions [\"address\",...] (account=\"default\")\n\nReturns a JSON array of objects containing verbose details for wallet transactions pertaining some addresses.\n\nArguments:\n1. addresses (array of string, required) Addresses to filter transaction results by.\n2. account (string, optional, default=\"default\") Account to filter transactions results by. Defaults to 'default'.\n\nResult:\n[{\n \"abandoned\": true|false, (boolean) Unset.\n \"account\": \"value\", (string) The account name associated with the transaction.\n \"address\": \"value\", (string) Payment address for a transaction output.\n \"amount\": n.nnn, (numeric) The value of the transaction output valued in LBC.\n \"bip125-replaceable\": \"value\", (string) Unset.\n \"blockhash\": \"value\", (string) The hash of the block this transaction is mined in, or the empty string if unmined.\n \"blockheight\": n, (numeric) The block height containing the transaction.\n \"blockindex\": n, (numeric) Unset.\n \"blocktime\": n, (numeric) The Unix time of the block header this transaction is mined in, or 0 if unmined.\n \"category\": \"value\", (string) The kind of transaction: \"send\" for sent transactions, \"immature\" for immature coinbase outputs, \"generate\" for mature coinbase outputs, or \"recv\" for all other received outputs. Note: A single output may be included multiple times under different categories\n \"confirmations\": n, (numeric) The number of block confirmations of the transaction.\n \"fee\": n.nnn, (numeric) The total input value minus the total output value for sent transactions.\n \"generated\": true|false, (boolean) Whether the transaction output is a coinbase output.\n \"involveswatchonly\": true|false, (boolean) Unset.\n \"label\": \"value\", (string) A comment for the address/transaction, if any.\n \"time\": n, (numeric) The earliest Unix time this transaction was known to exist.\n \"timereceived\": n, (numeric) The earliest Unix time this transaction was known to exist.\n \"trusted\": true|false, (boolean) Unset.\n \"txid\": \"value\", (string) The hash of the transaction.\n \"vout\": n, (numeric) The transaction output index.\n \"walletconflicts\": [\"value\",...], (array of string) Unset.\n \"comment\": \"value\", (string) Unset.\n \"otheraccount\": \"value\", (string) Unset.\n},...]\n", + "listalltransactions": "listalltransactions (account=\"default\")\n\nReturns a JSON array of objects in the same format as 'listtransactions' without limiting the number of returned objects.\n\nArguments:\n1. account (string, optional, default=\"default\") Account to filter transactions results by. Defaults to 'default'.\n\nResult:\n[{\n \"abandoned\": true|false, (boolean) Unset.\n \"account\": \"value\", (string) The account name associated with the transaction.\n \"address\": \"value\", (string) Payment address for a transaction output.\n \"amount\": n.nnn, (numeric) The value of the transaction output valued in LBC.\n \"bip125-replaceable\": \"value\", (string) Unset.\n \"blockhash\": \"value\", (string) The hash of the block this transaction is mined in, or the empty string if unmined.\n \"blockheight\": n, (numeric) The block height containing the transaction.\n \"blockindex\": n, (numeric) Unset.\n \"blocktime\": n, (numeric) The Unix time of the block header this transaction is mined in, or 0 if unmined.\n \"category\": \"value\", (string) The kind of transaction: \"send\" for sent transactions, \"immature\" for immature coinbase outputs, \"generate\" for mature coinbase outputs, or \"recv\" for all other received outputs. Note: A single output may be included multiple times under different categories\n \"confirmations\": n, (numeric) The number of block confirmations of the transaction.\n \"fee\": n.nnn, (numeric) The total input value minus the total output value for sent transactions.\n \"generated\": true|false, (boolean) Whether the transaction output is a coinbase output.\n \"involveswatchonly\": true|false, (boolean) Unset.\n \"label\": \"value\", (string) A comment for the address/transaction, if any.\n \"time\": n, (numeric) The earliest Unix time this transaction was known to exist.\n \"timereceived\": n, (numeric) The earliest Unix time this transaction was known to exist.\n \"trusted\": true|false, (boolean) Unset.\n \"txid\": \"value\", (string) The hash of the transaction.\n \"vout\": n, (numeric) The transaction output index.\n \"walletconflicts\": [\"value\",...], (array of string) Unset.\n \"comment\": \"value\", (string) Unset.\n \"otheraccount\": \"value\", (string) Unset.\n},...]\n", + "renameaccount": "renameaccount \"oldaccount\" \"newaccount\"\n\nRenames an account.\n\nArguments:\n1. oldaccount (string, required) The old account name to rename.\n2. newaccount (string, required) The new name for the account.\n\nResult:\nNothing\n", + "walletislocked": "walletislocked\n\nReturns whether or not the wallet is locked.\n\nArguments:\nNone\n\nResult:\ntrue|false (boolean) Whether the wallet is locked.\n", } } @@ -56,4 +56,4 @@ var localeHelpDescs = map[string]func() map[string]string{ "en_US": helpDescsEnUS, } -var requestUsages = "addmultisigaddress nrequired [\"key\",...] (\"account\")\ncreatemultisig nrequired [\"key\",...]\ndumpprivkey \"address\"\ngetaccount \"address\"\ngetaccountaddress \"account\"\ngetaddressesbyaccount \"account\"\ngetaddressinfo \"address\"\ngetbalance (\"account\" minconf=1)\ngetbestblockhash\ngetblockcount\ngetinfo\ngetnewaddress (\"account\" \"addresstype\")\ngetrawchangeaddress (\"account\")\ngetreceivedbyaccount \"account\" (minconf=1)\ngetreceivedbyaddress \"address\" (minconf=1)\ngettransaction \"txid\" (includewatchonly=false)\nhelp (\"command\")\nimportprivkey \"privkey\" (\"label\" rescan=true)\nkeypoolrefill (newsize=100)\nlistaccounts (minconf=1)\nlistlockunspent\nlistreceivedbyaccount (minconf=1 includeempty=false includewatchonly=false)\nlistreceivedbyaddress (minconf=1 includeempty=false includewatchonly=false)\nlistsinceblock (\"blockhash\" targetconfirmations=1 includewatchonly=false)\nlisttransactions (\"account\" count=10 from=0 includewatchonly=false)\nlistunspent (minconf=1 maxconf=9999999 [\"address\",...])\nlockunspent unlock [{\"txid\":\"value\",\"vout\":n},...]\nsendfrom \"fromaccount\" \"toaddress\" amount (minconf=1 \"comment\" \"commentto\")\nsendmany \"fromaccount\" {\"address\":amount,...} (minconf=1 \"comment\")\nsendtoaddress \"address\" amount (\"comment\" \"commentto\")\nsettxfee amount\nsignmessage \"address\" \"message\"\nsignrawtransaction \"rawtx\" ([{\"txid\":\"value\",\"vout\":n,\"scriptpubkey\":\"value\",\"redeemscript\":\"value\"},...] [\"privkey\",...] flags=\"ALL\")\nvalidateaddress \"address\"\nverifymessage \"address\" \"signature\" \"message\"\nwalletlock\nwalletpassphrase \"passphrase\" timeout\nwalletpassphrasechange \"oldpassphrase\" \"newpassphrase\"\ncreatenewaccount \"account\"\ngetbestblock\ngetunconfirmedbalance (\"account\")\nlistaddresstransactions [\"address\",...] (\"account\")\nlistalltransactions (\"account\")\nrenameaccount \"oldaccount\" \"newaccount\"\nwalletislocked" +var requestUsages = "addmultisigaddress nrequired [\"key\",...] (\"account\")\ncreatemultisig nrequired [\"key\",...]\ndumpprivkey \"address\"\ngetaccount \"address\"\ngetaccountaddress (account=\"default\" addresstype=\"legacy\")\ngetaddressesbyaccount (account=\"default\" addresstype=\"*\")\ngetaddressinfo \"address\"\ngetbalance (account=\"default\" minconf=1 addresstype=\"*\")\ngetbestblockhash\ngetblockcount\ngetinfo\ngetnewaddress (account=\"default\" addresstype=\"legacy\")\ngetrawchangeaddress (account=\"default\" addresstype=\"legacy\")\ngetreceivedbyaccount (account=\"default\" minconf=1)\ngetreceivedbyaddress \"address\" (minconf=1)\ngettransaction \"txid\" (includewatchonly=false)\nhelp (\"command\")\nimportprivkey \"privkey\" (\"label\" rescan=true)\nkeypoolrefill (newsize=100)\nlistaccounts (minconf=1 addresstype=\"*\")\nlistlockunspent\nlistreceivedbyaccount (minconf=1 includeempty=false includewatchonly=false)\nlistreceivedbyaddress (minconf=1 includeempty=false includewatchonly=false)\nlistsinceblock (\"blockhash\" targetconfirmations=1 includewatchonly=false)\nlisttransactions (account=\"default\" count=10 from=0 includewatchonly=false)\nlistunspent (minconf=1 maxconf=9999999 [\"address\",...])\nlockunspent unlock [{\"txid\":\"value\",\"vout\":n},...]\nsendfrom \"fromaccount\" \"toaddress\" amount (minconf=1 addresstype=\"*\" \"comment\" \"commentto\")\nsendmany \"fromaccount\" {\"address\":amount,...} (minconf=1 addresstype=\"*\" \"comment\")\nsendtoaddress \"address\" amount (addresstype=\"*\" \"comment\" \"commentto\")\nsettxfee amount\nsignmessage \"address\" \"message\"\nsignrawtransaction \"rawtx\" ([{\"txid\":\"value\",\"vout\":n,\"scriptpubkey\":\"value\",\"redeemscript\":\"value\"},...] [\"privkey\",...] flags=\"ALL\")\nvalidateaddress \"address\"\nverifymessage \"address\" \"signature\" \"message\"\nwalletlock\nwalletpassphrase \"passphrase\" timeout\nwalletpassphrasechange \"oldpassphrase\" \"newpassphrase\"\ncreatenewaccount \"account\"\ngetbestblock\ngetunconfirmedbalance (account=\"default\")\nlistaddresstransactions [\"address\",...] (account=\"default\")\nlistalltransactions (account=\"default\")\nrenameaccount \"oldaccount\" \"newaccount\"\nwalletislocked"