Novacoind & GUI console commands
In command line:novacoind helpor
helpin console.
For get help for command
novacoind help <command>or
help <command>in console
Commands
addmultisigaddress <nrequired> <'["key","key"]'> [account] Add a nrequired-to-sign multisignature address to the wallet" each key is a NovaCoin address or hex-encoded public key If [account] is specified, assign address to [account]. addnode <node> <add|remove|onetry> Attempts add or remove <node> from the addnode list or try a connection to <node> once. addredeemscript <redeemScript> [account] Add a P2SH address with a specified redeemScript to the wallet. If [account] is specified, assign address to [account]. backupwallet <destination> Safely copies wallet.dat to destination, which can be a directory or a path with filename. checkwallet Check wallet for integrity. createmultisig <nrequired> <'["key","key"]'> Creates a multi-signature address with n signature of m keys required. It returns a json object with the address and redeemScript. createrawtransaction [{"txid":txid,"vout":n},...] {address:amount,...} Create a transaction spending given inputs (array of objects containing transaction id and output number), sending to given address(es). Returns hex-encoded raw transaction. Note that the transaction's inputs are not signed, and it is not stored in the wallet or transmitted to the network. decoderawtransaction <hex string> Return a JSON object representing the serialized, hex-encoded transaction. decodescript <hex string> Decode a hex-encoded script. dumpblock <block hash> [path] dumpblockbynumber <block number> [path] dumpprivkey <novacoinaddress> Reveals the private key corresponding to <novacoinaddress>. dumpwallet <filename> Dumps all wallet keys in a human-readable format. encryptwallet <passphrase> Encrypts the wallet with <passphrase>. getaccount <novacoinaddress> Returns the account associated with the given address. getaccountaddress <account> Returns the current NovaCoin address for receiving payments to this account. getaddednodeinfo <dns> [node] Returns information about the given added node, or all added nodes (note that onetry addnodes are not listed here) If dns is false, only a list of added nodes will be provided, otherwise connected information will also be available. getaddressesbyaccount <account> Returns the list of addresses for the given account. getaddrmaninfo [networkType] Returns a dump of addrman data. getbalance [account] [minconf=1] [watchonly=0] If [account] is not specified, returns the server's total available balance. If [account] is specified, returns the balance in the account. if [includeWatchonly] is specified, include balance in watchonly addresses (see 'importaddress'). getbestblockhash Returns the hash of the best block in the longest block chain. getblock <hash> [txinfo] Returns details of a block with given block-hash. txinfo optional to print more detailed tx info getblockbynumber <number> [txinfo] Returns details of a block with given block-number. txinfo optional to print more detailed tx info getblockcount Returns the number of blocks in the longest block chain. getblockhash <index> Returns hash of block in best-block-chain at <index>. getblocktemplate [params] Returns data needed to construct a block to work on: "version" : block version "previousblockhash" : hash of current highest block "transactions" : contents of non-coinbase transactions that should be included in the next block "coinbaseaux" : data that should be included in coinbase "coinbasevalue" : maximum allowable input to coinbase transaction, including the generation award and transaction fees "target" : hash target "mintime" : minimum timestamp appropriate for next block "curtime" : current timestamp "mutable" : list of ways the block template may be changed "noncerange" : range of valid nonces "sigoplimit" : limit of sigops in blocks "sizelimit" : limit of block size "bits" : compressed target of next block "height" : height of the next block See https://en.bitcoin.it/wiki/BIP_0022 for full specification. getcheckpoint Show info of synchronized checkpoint. getconnectioncount Returns the number of connections to other nodes. getdifficulty Returns the difficulty as a multiple of the minimum difficulty. getinfo Returns an object containing various state info. getmininginfo Returns an object containing mining-related information. getnettotals Returns information about network traffic, including bytes in, bytes out, and current time. getnewaddress [account] Returns a new NovaCoin address for receiving payments. If [account] is specified (recommended), it is added to the address book so payments received with the address will be credited to [account]. getpeerinfo Returns data about each connected network node. getrawmempool Returns all transaction ids in memory pool. getrawtransaction <txid> [verbose=0] If verbose=0, returns a string that is serialized, hex-encoded data for <txid>. If verbose is non-zero, returns an Object with information about <txid>. getreceivedbyaccount <account> [minconf=1] Returns the total amount received by addresses with <account> in transactions with at least [minconf] confirmations. getreceivedbyaddress <novacoinaddress> [minconf=1] Returns the total amount received by <novacoinaddress> in transactions with at least [minconf] confirmations. getsubsidy [nTarget] Returns proof-of-work subsidy value for the specified value of target. gettransaction <txid> Get detailed information about <txid> getwork [data] If [data] is not specified, returns formatted hash data to work on: "midstate" : precomputed hash state after hashing the first half of the data (DEPRECATED) "data" : block data "hash1" : formatted hash buffer for second hash (DEPRECATED) "target" : little endian hash target If [data] is specified, tries to solve the block and returns true if it was successful. getworkex [data, coinbase] If [data, coinbase] is not specified, returns extended work data. help [command] List commands, or get help for a command. importaddress <address> [label] [rescan=true] Adds an address or script (in hex) that can be watched as if it were in your wallet but cannot be used to spend. importprivkey <novacoinprivkey> [label] [rescan=true] Adds a private key (as returned by dumpprivkey) to your wallet. importwallet <filename> Imports keys from a wallet dump file (see dumpwallet). keypoolrefill [new-size] Fills the keypool. IMPORTANT: Any previous backups you have made of your wallet file should be replaced with the newly generated one. keypoolreset [new-size] Resets the keypool. IMPORTANT: Any previous backups you have made of your wallet file should be replaced with the newly generated one. listaccounts [minconf=1] Returns Object that has account names as keys, account balances as values. listaddressgroupings Lists groups of addresses which have had their common ownership made public by common use as inputs or as the resulting changein past transactions listreceivedbyaccount [minconf=1] [includeempty=false] Returns an array of objects containing: "account" : the account of the receiving addresses "amount" : total amount received by addresses with this account "confirmations" : number of confirmations of the most recent transaction included listreceivedbyaddress [minconf=1] [includeempty=false] Returns an array of objects containing: "address" : receiving address "account" : the account of the receiving address "amount" : total amount received by the address "confirmations" : number of confirmations of the most recent transaction included listsinceblock [blockhash] [target-confirmations] Get all transactions in blocks since block [blockhash], or all transactions if omitted listtransactions [account] [count=10] [from=0] Returns up to [count] most recent transactions skipping the first [from] transactions for account [account]. listunspent [minconf=1] [maxconf=9999999] ["address",...] Returns array of unspent transaction outputs with between minconf and maxconf (inclusive) confirmations. Optionally filtered to only include txouts paid to specified addresses. Results are an array of Objects, each of which has: {txid, vout, scriptPubKey, amount, confirmations} makekeypair [prefix] Make a public/private key pair. [prefix] is optional preferred prefix for the public key. mergecoins <amount> <minvalue> <outputvalue> <amount> is resulting inputs sum <minvalue> is minimum value of inputs which are used in join process <outputvalue> is resulting value of inputs which will be created All values are real and and rounded to the nearest 0.0001 move <fromaccount> <toaccount> <amount> [minconf=1] [comment] Move from one account in your wallet to another. removeaddress 'address' Removes watch-only address or script (in hex) added by importaddress. repairwallet Repair wallet if checkwallet reports any problem. resendtx Re-send unconfirmed transactions. reservebalance [<reserve> [amount]] <reserve> is true or false to turn balance reserve on or off. <amount> is a real and rounded to cent. Set reserve amount not participating in network protection. If no parameters provided current setting is printed. scaninput '{"txid":"txid", "vout":[vout1, vout2, ..., voutN], "difficulty":difficulty, "days":days}' Scan specified input for suitable kernel solutions. txid – transaction hash; vout1, ... voutN – array of transaction outputs to be scanned (single output also enclosed in square brackets); difficulty - upper limit for difficulty, current difficulty by default; days - time window, 90 days by default. sendalert <message> <privatekey> <minver> <maxver> <priority> <id> [cancelupto] <message> is the alert text message <privatekey> is hex string of alert master private key <minver> is the minimum applicable internal client version <maxver> is the maximum applicable internal client version <priority> is integer priority number <id> is the alert id [cancelupto] cancels all alert id's up to this number Returns true or false. sendfrom <fromaccount> <tonovacoinaddress> <amount> [minconf=1] [comment] [comment-to] <amount> is a real and is rounded to the nearest 0.0001 sendmany <fromaccount> {address:amount,...} [minconf=1] [comment] amounts are double-precision floating point numbers sendrawtransaction <hex string> Submits raw transaction (serialized, hex-encoded) to local node and network. sendtoaddress <novacoinaddress> <amount> [comment] [comment-to] <amount> is a real and is rounded to the nearest 0.0001 setaccount <novacoinaddress> <account> Sets the account associated with the given address. settxfee <amount> <amount> is a real and is rounded to the nearest 0.001 signmessage <novacoinaddress> <message> Sign a message with the private key of an address signrawtransaction <hex string> [{"txid":txid,"vout":n,"scriptPubKey":hex,"redeemScript":hex},...] \ [<privatekey1>,...] [sighashtype="ALL"] Sign inputs for raw transaction (serialized, hex-encoded). Second optional argument (may be null) is an array of previous transaction outputs that this transaction depends on but may not yet be in the blockchain. Third optional argument (may be null) is an array of base58-encoded private keys that, if given, will be the only keys used to sign the transaction. Fourth optional argument is a string that is one of six values; ALL, NONE, SINGLE or ALL|ANYONECANPAY, NONE|ANYONECANPAY, SINGLE|ANYONECANPAY. Returns json object with keys: hex : raw transaction with signature(s) (hex-encoded string) complete : 1 if transaction has a complete set of signature (0 if not) stop <detach> Stop NovaCoin server (and possibly override the detachdb config value). <detach> is true or false to detach the database or not for this stop only submitblock <hex data> [optional-params-obj] Attempts to submit new block to network. [optional-params-obj] parameter is currently ignored. See https://en.bitcoin.it/wiki/BIP_0022 for full specification. validateaddress <novacoinaddress> Return information about <novacoinaddress>. verifymessage <novacoinaddress> <signature> <message> Verify a signed message walletlock Removes the wallet encryption key from memory, locking the wallet. After calling this method, you will need to call walletpassphrase again before being able to call any methods which require the wallet to be unlocked. walletpassphrase <passphrase> <timeout> [mintonly] Stores the wallet decryption key in memory for <timeout> seconds. walletpassphrasechange <oldpassphrase> <newpassphrase> After calling this method, you will need to call walletpassphrase again