Wallet Commands

addmultisigaddress nrequired ["key",...] ( "account" )

Add a nrequired-to-sign multisignature address to the wallet. Each key is a LYRA address or hex-encoded public key. If 'account' is specified (DEPRECATED), assign address to that account.

autocombinerewards <true/false> threshold

Wallet will automatically monitor for any coins with value below the threshold amount, and combine them if they reside with the same LYRA address.

backupwallet "destination"

Safely copies wallet.dat to destination, which can be a directory or a path with filename.

bip38decrypt "lyraaddress"

Decrypts and then imports password protected private key.

dumpprivkey "lyraaddress"

Reveals the private key corresponding to 'lyraaddress'.

dumpwallet "filename"

Dumps all wallet keys in a human-readable format.

encryptwallet <passphrase>

Encrypts the wallet with <passphrase>.

getaccount "lyraaddress"

Returns the account associated with the given address.

getaccountaddress "account"

Returns the current bitcoin address for receiving payments to this account. If does not exist, it will be created along with an associated new address that will be returned.

getaddressesbyaccount "account"

Returns the list of addresses for the given account.

getbalance ( "account" minconf includeWatchonly )

If [account] is not specified, returns the server's total available balance. If [account] is specified, returns the balance in the account.

getaddressesbyaccount "account"

Returns a new LYRA address for receiving payments. If [account] is specified payments received with the address will be credited to [account].

getaddressesbyaccount "account"

Returns the list of addresses for the given account.

getbalance ( "account" minconf includeWatchonly )

If [account] is not specified, returns the server's total available balance. If [account] is specified, returns the balance in the account.

getnewaddress ( "account" )

Returns a new LYRA address for receiving payments. If [account] is specified payments received with the address will be credited to [account].

getrawchangeaddress

Returns a new LYRA address, for receiving change. This is for use with raw transactions, NOT normal use.

getreceivedbyaccount "account" ( minconf )

Returns the total amount received by addresses with [account] in transactions with at least [minconf] confirmations. If [account] not provided return will include all transactions to all accounts.

getreceivedbyaddress "lyraaddress" ( minconf )

Returns the amount received by in transactions with at least [minconf] confirmations. It correctly handles the case where someone has sent to the address in multiple transactions. Keep in mind that addresses are only ever used for receiving transactions. Works only for addresses in the local wallet, external addresses will always show 0.

getstakesplitthreshold

Returns the threshold for stake splitting.

getstakingstatus

Returns an object containing detailed staking information.

gettransaction "txid" ( includeWatchonly )

Get detailed information about in-wallet transaction .

getunconfirmedbalance

Returns the server's total unconfirmed balance.

getwalletinfo

Returns an object containing various wallet state info.

importaddress "address" ( "label" rescan )

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 "lyraprivkey" ( "label" rescan )

Adds a private key (as returned by dumpprivkey) to your wallet.

importwallet "filename"

Imports keys from a wallet dump file (see dumpwallet).

keypoolrefill ( newsize )

Fills the keypool.

listaccounts ( minconf includeWatchonly )

Returns Object that has account names as keys, account balances as values.

listaddressgroupings

Returns all addresses in the wallet and info used for coincontrol.

listlockunspent

Returns list of temporarily unspendable outputs.

listreceivedbyaccount ( minconf include empty includeWatchonly )

List balances by account.

listreceivedbyaddress ( minconf include empty includeWatchonly )

List balances by receiving address.

listsinceblock ( "blockhash" target-confirmations includ Watchonly )

Get all transactions in blocks since block [blockhash], or all transactions if omitted.

listtransactions ( "account" count from includeWatchonly )

Returns up to [count] most recent transactions skipping the first [from] transactions for account [account]. If [account] not provided it'll return recent transactions from all accounts.

listunspent ( minconf maxconf ["address",...] )

Returns array of unspent transaction outputs with between minconf and maxconf (inclusive) confirmations. Optionally filter to only include txouts paid to specified addresses.

lockunspent unlock [{"txid":"txid","vout":n},...]

Updates list of temporarily unspendable outputs.

move "fromaccount" "toaccount" amount ( minconf "comment" )

Move from one account in your wallet to another.

multisend <command>

MultiSend allows a user to automatically send a percent of their stake reward to as many addresses as you would like the MultiSend transaction is sent when the staked coins mature (60 confirmations). Multisend This will add a new address to the MultiSend vector Percent is a whole number 1 to 100.

NOTE: In GUI you can't use address which has its private key in your wallet.

<command>
print - displays the current MultiSend vector
clear - deletes the current MultiSend vector
enablestake/activatestake - activates the current MultiSend vector to be activated on stake rewards
enablemasternode/activatemasternode - activates the current MultiSend vector to be activated on masternode rewards
disable/deactivate - disables the current MultiSend vector
delete <Address #> - deletes an address from the MultiSend vector
disable- prevents a specific address from sending MultiSend transactions
enableall - enables all addresses to be eligible to send MultiSend transactions

If you had some previous setups, you can check if you have already any existing and get their activity state: masternode print. If you have never used it, your output will look like this:

~ $ ./Lyra-cli multisend print
[
{
"MultiSendStake Activated?": false,
"MultiSendMasternode Activated?": false
},
"MultiSend Addresses to Send To:",
{
}
]

sendfrom "fromaccount" "tolyraaddress" amount ( minconf "comment" "comment-to" )

Is a real and is rounded to 8 decimal places. Will send the given amount to the given address, ensuring the account has a valid balance using [minconf] confirmations. Returns the transaction ID if successful (not in JSON object).

sendmany "fromaccount" {"address":amount,...} ( minconf "comment" )

Send multiple times. Amounts are double-precision floating point numbers

sendtoaddress "lyraaddress" amount ( "comment" "comment-to" )

Send an amount to a given address. is a real and is rounded to 8 decimal places. Returns the transaction ID if successful.

sendtoaddressix "lyraaddress" amount ( "comment" "comment-to" )

Send an amount to a given address using SwiftX. is a real and is rounded to 8 decimal places. Returns the transaction ID if successful.

setaccount "lyraaddress" "account"

Sets the account associated with the given address. Assigning address that is already assigned to the same account will create a new address associated with that account.

setstakesplitthreshold <1 - 999,999>

This will set the output size of your stakes to never be below the given value.

settxfee amount

Set the transaction fee per kB.

signmessage "lyraaddress" "message"

Sign a message with the private key of an address.

walletlock

Removes the wallet encryption key from memory, locking the wallet.

walletpassphrase "passphrase" timeout ( anonymizeonly )

Stores the wallet decryption key in memory for 'timeout' seconds.

walletpassphrasechange "oldpassphrase" "newpassphrase"

Changes the wallet passphrase from "oldpassphrase" to "newpassphrase".