dcrlncli Options and Commands
Last updated for dcrlnd release v0.3.0.
dcrlncli is 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:
Path to dcrlnd’s base directory (default:
Path to TLS certificate (default:
The chain dcrlnd is running on e.g. decred (default:
Use the test network
Use the simulation network
Use the regression test network
Disable macaroon authentication
Path to macaroon file
Anti-replay macaroon validity time in seconds (default:
If set, lock macaroon to specific IP address
Print the version
Returns basic information related to the active daemon.
Display information about an ongoing recovery attempt.
Set the debug level.
Stop and shutdown the daemon.
Display lncli and lnd version info.
Shows a list of commands or help for one command
autopilot Interact with a running autopilot.
bakemacaroon Bakes a new macaroon with the provided list of permissions and restrictions.
listmacaroonids List all macaroons root key IDs in use.
deletemacaroonid Delete a specific macaroon ID.
listpermissions Lists all RPC method URIs and the macaroon permissions they require to be invoked.
printmacaroon Print the content of a macaroon in a human readable format.
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.
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.
tower Interact with the watchtower.
wtclient Interact with the watchtower client.