dcrlncli Options and Commands
Last updated for dcrlnd release v0.2.1.
dcrlncli - a client which controls Decred Lightning Network Daemon (
dcrlnd) via RPC calls.
You can use
dcrlncli for many things, such as checking your balance, managing channels,
creating transactions, and viewing network information.
dcrlncli is not a daemon - it does not run permanently in the background - it calls the
requested RPC method, prints the response, and then terminates immediately.
dcrlncli [global options] command [command options] [arguments...]
Host:port of Decred LN daemon (default: “localhost:10009”)
Path to dcrlnd’s base directory
Path to TLS certificate
The chain dcrlnd is running on e.g. decred (default: “decred”)
The network drlnd is running on e.g. mainnet, testnet, etc. (default: “mainnet”)
Disable macaroon authentication
Path to macaroon file
Anti-replay macaroon validity time in seconds (default: 60)
If set, lock macaroon to specific IP address
Print the version
Returns basic information related to the active daemon.
Set the debug level.
Stop and shutdown the daemon.
Shows a list of commands or help for one command
estimatefee Get fee estimates for sending decred on-chain to multiple addresses.
sendmany Send decred on-chain to multiple addresses.
sendcoins Send decred on-chain to an address.
listunspent List UTXOs available for spending.
listchaintxns List transactions from the wallet.
connect Connect to a remote dcrlnd peer.
disconnect Disconnect a remote dcrlnd peer identified by public key.
listpeers List all active, currently connected peers.
describegraph Describe the network graph.
getnodeinfo Get information on a specific node.
create Initialize a wallet when starting dcrlnd for the first time.
unlock Unlock an encrypted wallet at startup.
changepassword Change an encrypted wallet’s password at startup.
wtclient Interact with the watchtower client.