git / moonbite-core / doc/man/litecoin-cli.1 · raw
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1..TH LITECOIN-CLI "1" "May 2026" "litecoin-cli v0.21.5.5" "User Commands".SH NAMElitecoin-cli \- manual page for litecoin-cli v0.21.5.5.SH SYNOPSIS.B litecoin-cli[\fI\,options\/\fR] \fI\,<command> \/\fR[\fI\,params\/\fR] \fI\,Send command to Litecoin Core\/\fR.br.B litecoin-cli[\fI\,options\/\fR] \fI\,-named <command> \/\fR[\fI\,name=value\/\fR]... \fI\,Send command to Litecoin Core (with named arguments)\/\fR.br.B litecoin-cli[\fI\,options\/\fR] \fI\,help List commands\/\fR.br.B litecoin-cli[\fI\,options\/\fR] \fI\,help <command> Get help for a command\/\fR.SH DESCRIPTIONLitecoin Core RPC client version v0.21.5.5\-dirty.SH OPTIONS.HP\-?.IPPrint this help message and exit.HP\fB\-conf=\fR<file>.IPSpecify configuration file. Relative paths will be prefixed by datadirlocation. (default: litecoin.conf).HP\fB\-datadir=\fR<dir>.IPSpecify data directory.HP\fB\-generate\fR.IPGenerate blocks immediately, equivalent to RPC generatenewaddressfollowed by RPC generatetoaddress. Optional positional integerarguments are number of blocks to generate (default: 1) andmaximum iterations to try (default: 1000000), equivalent to RPCgeneratetoaddress nblocks and maxtries arguments. Example:litecoin\-cli \fB\-generate\fR 4 1000.HP\fB\-getinfo\fR.IPGet general information from the remote server. Note that unlikeserver\-side RPC calls, the results of \fB\-getinfo\fR is the result ofmultiple non\-atomic requests. Some entries in the result mayrepresent results from different states (e.g. wallet balance maybe as of a different block from the chain state reported).HP\fB\-named\fR.IPPass named instead of positional arguments (default: false).HP\fB\-netinfo\fR.IPGet network peer connection information from the remote server. Anoptional integer argument from 0 to 4 can be passed for differentpeers listings (default: 0)..HP\fB\-rpcclienttimeout=\fR<n>.IPTimeout in seconds during HTTP requests, or 0 for no timeout. (default:900).HP\fB\-rpcconnect=\fR<ip>.IPSend commands to node running on <ip> (default: 127.0.0.1).HP\fB\-rpccookiefile=\fR<loc>.IPLocation of the auth cookie. Relative paths will be prefixed by anet\-specific datadir location. (default: data dir).HP\fB\-rpcpassword=\fR<pw>.IPPassword for JSON\-RPC connections.HP\fB\-rpcport=\fR<port>.IPConnect to JSON\-RPC on <port> (default: 9332, testnet: 19332, signet:39332, regtest: 19443).HP\fB\-rpcuser=\fR<user>.IPUsername for JSON\-RPC connections.HP\fB\-rpcwait\fR.IPWait for RPC server to start.HP\fB\-rpcwallet=\fR<walletname>.IPSend RPC for non\-default wallet on RPC server (needs to exactly matchcorresponding \fB\-wallet\fR option passed to litecoind). This changesthe RPC endpoint used, e.g.http://127.0.0.1:8332/wallet/<walletname>.HP\fB\-stdin\fR.IPRead extra arguments from standard input, one per line until EOF/Ctrl\-D(recommended for sensitive information such as passphrases). Whencombined with \fB\-stdinrpcpass\fR, the first line from standard inputis used for the RPC password..HP\fB\-stdinrpcpass\fR.IPRead RPC password from standard input as a single line. When combinedwith \fB\-stdin\fR, the first line from standard input is used for theRPC password. When combined with \fB\-stdinwalletpassphrase\fR,\fB\-stdinrpcpass\fR consumes the first line, and \fB\-stdinwalletpassphrase\fRconsumes the second..HP\fB\-stdinwalletpassphrase\fR.IPRead wallet passphrase from standard input as a single line. Whencombined with \fB\-stdin\fR, the first line from standard input is usedfor the wallet passphrase..HP\fB\-version\fR.IPPrint version and exit.PPDebugging/Testing options:.PPChain selection options:.HP\fB\-chain=\fR<chain>.IPUse the chain <chain> (default: main). Allowed values: main, test,signet, regtest.HP\fB\-signet\fR.IPUse the signet chain. Equivalent to \fB\-chain\fR=\fI\,signet\/\fR. Note that the networkis defined by the \fB\-signetchallenge\fR parameter.HP\fB\-signetchallenge\fR.IPBlocks must satisfy the given script to be considered valid (only forsignet networks; defaults to the global default signet testnetwork challenge).HP\fB\-signetseednode\fR.IPSpecify a seed node for the signet network, in the hostname[:port]format, e.g. sig.net:1234 (may be used multiple times to specifymultiple seed nodes; defaults to the global default signet testnetwork seed node(s)).HP\fB\-testnet\fR.IPUse the test chain. Equivalent to \fB\-chain\fR=\fI\,test\/\fR..SH COPYRIGHTCopyright (C) 2011-2026 The Litecoin Core developersCopyright (C) 2009-2026 The Bitcoin Core developersPlease contribute if you find Litecoin Core useful. Visit<https://litecoin.org/> for further information about the software.The source code is available from<https://github.com/litecoin-project/litecoin>.This is experimental software.Distributed under the MIT software license, see the accompanying file COPYINGor <https://opensource.org/licenses/MIT>