List of commands for Tkeycoin Daemon
By Support Agent Tkeycoin
updated 3 months ago
Tkeycoin Daemon works as a service in the background and is controlled by special commands from the console.
▪️ tkeycoin-cli help - Display a list of available commands or a description of the command, if indicated by an argument.
▪️ tkeycoind start - Launch Tkeycoin Daemon.
▪️ tkeycoind stop - Stop Tkeycoin Daemon.
▪️ tkeycoind restart - Restart Tkeycoin Daemon.
▪️ tkeycoin-cli automining start YOUR_ADDRESS - Run mining, the third parameter (YOUR_ADDRESS) is the tkeycoin address for receiving a reward for mining.
▪️ tkeycoin-cli automining stop - Stop mining.
▪️ tkeycoin-cli automining status - Check mining status.
▪️ tkeycoin-cli backupwallet - Make a backup copy of wallet.dat.
▪️ tkeycoin-cli encryptwallet - Encrypt wallet.
▪️ tkeycoin-cli getaccount - Find out which account the specified address belongs to. Parameter - tkeycoin address, the result is a string with the account name.
▪️ tkeycoin-cli getaddressesbyaccount - List the addresses belonging to the specified account. The parameter is the name of the account, the result is a list of tkeycoin addresses in JSON format.
▪️ tkeycoin-cli getaccountaddress - Generate another address for the specified account. The parameter is the name of the account, the result is a string with a tkeycoin address.
▪️ tkeycoin-cli getbalance - Display the account balance for the specified number of confirmations. The first optional parameter is the account name, the second optional parameter is the number of confirmations, the result is a positive or negative number with 8 characters after the period.
▪️ tkeycoin-cli getblockcount - Print the current number of blocks. The result is an integer.
▪️ tkeycoin-cli getconnectioncount - Print the current number of connections. The result is an integer.
▪️ tkeycoin-cli getpeerinfo - Display information about each connected node (peer).
▪️ tkeycoin-cli getdifficulty - Print the current difficulty.
▪️ tkeycoin-cli getnewaddress - Generate another address for the specified account. The parameter is the name of the account, the result is a string with a tkeycoin address.
▪️ tkeycoin-cli getreceivedbyaddress - Print a list of incoming transactions to the specified address. The first parameter is a tkeycoin address, the second optional parameter is the number of confirmations, the result is a JSON array with incoming transactions to the specified address.
▪️ tkeycoin-cli gettransaction - Display transaction information.
▪️ tkeycoin-cli listaccounts - Display a list of accounts with a balance on them. The result is a JSON array.
▪️ tkeycoin-cli listreceivedbyaccount - Output a JSON array with accounts, the total number of funds received on them, excluding sent and the number of confirmations.
▪️ tkeycoin-cli listreceivedbyaddress - The same, but with details on tkeycoin addresses.
▪️ tkeycoin-cli listtransactions - List the transactions in JSON format.
▪️ tkeycoin-cli move - Transfer funds from one account to another without making a transaction on the network.
▪️ tkeycoin-cli sendfrom - Send TKEY from the specified account.
▪️ tkeycoin-cli sendmany - Send TKEY from the specified account to multiple addresses.
▪️ tkeycoin-cli sendtoaddress - Send funds from the account by default.
▪️ tkeycoin-cli setaccount - Make the address belong to the account.
▪️ tkeycoin-cli setgenerate - Turn on / off block generation. The parameter - true or false, does not return anything.
▪️ tkeycoin-cli settxfee - Set commission.
▪️ tkeycoin-cli signmessage - Sign a message, useful for verifying the ownership of an address.
▪️ tkeycoin-cli validateaddress - Check the address is correct. It also returns the account to which it belongs, if any.
▪️ tkeycoin-cli verifymessage - Check message signature.