ELEMENTS-CLI(1)
π ELEMENTS-CLI β the manual page, but make it make sense
okay so this is the man page for elements-cli (that's the User Commands one, bestie, in case you were wondering which manual section you wandered into) β¨
πΈ NAME πΈ
elements-cli β manual page for elements-cli v23.3.4. that's it, that's the name section, she's short and sweet π
π¦ SYNOPSIS π¦
elements-cli [options] <command> [params] Send command to Elements Core
elements-cli [options] -named <command> [name=value]... Send command to
Elements Core (with named arguments)
elements-cli [options] help List commands
elements-cli [options] help <command> Get help for a command
like, four whole ways to talk to your node. pick your fighter π«Ά
π DESCRIPTION π
Elements Core RPC client version v23.3.4. that's literally the whole description and honestly? iconic minimalism π
β¨ OPTIONS β¨
-?β prints this help message and dips. that's it. bye π-addrinfoβ gets you the number of addresses the node knows about, broken down per network and as a total, after filtering for quality and recency. heads up though: the total number of addresses the node knows may actually be higher than what you see. lowkey mysterious of it.-color=<when>β color setting for CLI output (default:auto). valid values:always,auto(adds color codes when standard output is connected to a terminal and the OS is not WIN32),never. pick your aesthetic π¨-conf=<file>β specify the configuration file. relative paths get prefixed by the datadir location. (default:elements.conf)-datadir=<dir>β specify the data directory. your stuff lives here π-generateβ generate blocks, which is equivalent to the RPCgetnewaddressfollowed by the RPCgeneratetoaddress. optional positional integer arguments are the number of blocks to generate (default:1) and the maximum iterations to try (default:1000000), equivalent to the RPCgeneratetoaddressnblocksandmaxtriesarguments. example:bitcoin-cli -generate 4 1000β yes bestie, the example really does saybitcoin-cli, i don't make the rules π-getinfoβ get general information from the remote server. note that unlike server-side RPC calls, the results of-getinfoare the result of multiple non-atomic requests. some entries in the result may represent results from different states (e.g. the wallet balance may be as of a different block from the chain state reported). so like, don't treat it as one perfect snapshot, mkay? π-namedβ pass named instead of positional arguments (default:false)-netinfoβ get network peer connection information from the remote server. an optional integer argument from0to4can be passed for different peer listings (default:0). pass"help"for detailed help documentation.-rpcclienttimeout=<n>β timeout in seconds during HTTP requests, or0for no timeout. (default:900)-rpcconnect=<ip>β send commands to the node running on <ip> (default:127.0.0.1)-rpccookiefile=<loc>β location of the auth cookie. relative paths will be prefixed by a net-specific datadir location. (default: data dir) πͺ-rpcpassword=<pw>β password for JSON-RPC connections-rpcport=<port>β connect to JSON-RPC on <port> (default:7041, testnet:18332, signet:38332, regtest:18443)-rpcuser=<user>β username for JSON-RPC connections-rpcwaitβ wait for the RPC server to start. patience is a virtue etc etc β³-rpcwaittimeout=<n>β timeout in seconds to wait for the RPC server to start, or0for no timeout. (default:0)-rpcwallet=<walletname>β send RPC for a non-default wallet on the RPC server (needs to exactly match the corresponding-walletoption passed toelementsd). this changes the RPC endpoint used, e.g.http://127.0.0.1:8332/wallet/<walletname>-stdinβ read extra arguments from standard input, one per line, until EOF/Ctrl-D (recommended for sensitive information such as passphrases). when combined with-stdinrpcpass, the first line from standard input is used for the RPC password. π-stdinrpcpassβ read the RPC password from standard input as a single line. when combined with-stdin, the first line from standard input is used for the RPC password. when combined with-stdinwalletpassphrase,-stdinrpcpassconsumes the first line, and-stdinwalletpassphraseconsumes the second. line order matters, don't get it twisted π-stdinwalletpassphraseβ read the wallet passphrase from standard input as a single line. when combined with-stdin, the first line from standard input is used for the wallet passphrase.-versionβ print version and exit
π§ͺ Debugging/Testing options:
(that's genuinely all it says here β the heading, then straight into the next heading. she's a little empty, but we respect her π«Ά)
βοΈ Chain selection options:
-chain=<chain>β use the chain <chain> (default:liquidv1). reserved values:main,test,signet,regtest,liquidv1,liquidv1test,liquidtestnet-con_blockheightinheaderβ whether the chain includes the block height directly in the header, for easier validation of block height in low-resource environments. (default:1)-con_has_parent_chainβ whether or not there is a parent chain.-con_max_block_sig_sizeβ max allowed witness data for the signed block header.-con_parent_chain_signblockscriptβ whether the parent chain uses pow or signed blocks. if the parent chain uses signed blocks, the challenge (scriptPubKey) script. if not, an empty string. (default: empty script [ie parent uses pow])-con_parentpowlimitβ the proof-of-work limit value for the parent chain.-con_signed_blocksβ signed blockchain. uses input of-signblockscriptto define what signatures are necessary to solve it.-fedpegscriptβ the script for the federated peg enforce from genesis block. this script may stop being enforced once dynamic federations activates. π-parentgenesisblockhashβ the genesis blockhash of the parent chain.-signblockscriptβ signed blockchain enumberance. only active when-con_signed_blocksis set to true. (yes, "enumberance" β that's how the original spells it, i'm not touching it π)-signetβ use the signet chain. equivalent to-chain=signet. note that the network is defined by the-signetchallengeparameter-signetchallengeβ blocks must satisfy the given script to be considered valid (only for signet networks; defaults to the global default signet test network challenge)-signetseednodeβ specify a seed node for the signet network, in thehostname[:port]format, e.g.sig.net:1234(may be used multiple times to specify multiple seed nodes; defaults to the global default signet test network seed node(s))-testnetβ use the test chain. equivalent to-chain=test.
π Elements Options:
-acceptunlimitedissuancesβ allow unblinded issuance amounts to exceed 21 million units-con_blocksubsidyβ defines the amount of block subsidy to start with, at genesis block, in satoshis.-con_connect_genesis_outputsβ connect outputs in genesis block to utxo database.-con_csv_deploy_startβ starting height for CSV deployment. (default:-1, which means ACTIVE from genesis)-con_dyna_deploy_signalβ whether to signal for the Dynamic Federations deployment (default:1).-con_elementsmodeβ use Elements-like instead of Core-like witness encoding. this is required for CA/CT. (default:1)-con_mandatorycoinbaseβ all non-zero valued coinbase outputs must go to thisscriptPubKey, if set.-dynamic_epoch_lengthβ per-chain parameter that sets how many blocks dynamic federation voting and enforcement are in effect for.-enforce_pakβ causes standardness checks to enforce Pegout Authorization Key (PAK) validation before dynamic federations, and consensus enforcement after.-multi_data_permittedβ allow relay of multipleOP_RETURNoutputs. (default:-enforce_pak)-pakβ sets the'first extension space'field to the pak entries ala pre-dynamic federations. only used for testing in custom chains.-total_valid_epochsβ per-chain parameter that sets how long a particularfedpegscriptis in effect for.
π COPYRIGHT π
Copyright (C) 2009-2026 The Elements Project developers Copyright (C) 2009-2026 The Bitcoin Core developers
please contribute if you find Elements Core useful!! visit <https://elementsproject.org/> for further information about the software. the source code is available from <https://github.com/ElementsProject/elements>. π«Ά
β οΈ real talk: this is experimental software. distributed under the MIT software license, see the accompanying file COPYING or <https://opensource.org/licenses/MIT>
π the cute sign-off π
and that's the whole page, bestie!! this was elements-cli v23.3.4, dated September 2026, and it ate. literally no crumbs. go forth and RPC responsibly πβ¨ππ¦πΈπ
π¦ where this page comes from
- nixpkgs unstable: elements 23.3.4
- nixpkgs unstable: elementsd 23.3.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms