ELEMENTS-TX(1)

๐Ÿ“ฆ
version 23.3.4 ยท 2 versions
, in nixpkgs unstable

๐Ÿ’… ELEMENTS-TX(1) โ€” the elements-tx glow-up โœจ

okay so bestie, this is the manual page for elements-tx โ€” it's a User Command, and it literally lives in the ELEMENTS-TX(1) section of the man pages, iykyk. buckle up ๐ŸŽ€


๐ŸŒธ NAME ๐ŸŒธ

elements-tx โ€” manual page for elements-tx v23.3.4


โญ SYNOPSIS โญ

elements-tx [options] <hex-tx> [commands]  Update hex-encoded Elements
transaction
elements-tx [options] -create [commands]   Create hex-encoded Elements
transaction

so like, two whole moods ๐Ÿ’– โ€” you're either updating a hex-encoded Elements transaction, or you're creating one from scratch with -create. pick your fighter ๐Ÿซถ


๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

Elements Core elements-tx utility version v23.3.4

that's it. that's the description. short and iconic ๐Ÿ‘‘


โœจ OPTIONS โœจ

  • -? โ€” prints this help message and then dips out, exit stage left ๐Ÿ’…
  • -create โ€” makes a brand new, empty TX. blank canvas energy ๐ŸŽจ
  • -json โ€” picks JSON output. fancy formatting unlocked โœจ
  • -txid โ€” outputs only the hex-encoded transaction id of the resultant transaction. just the id, nothing else, main character only ๐Ÿ‘‘
  • -version โ€” prints the version and exits ๐Ÿƒโ€โ™€๏ธ

๐Ÿ”ง Debugging/Testing options:

ngl this section is literally just the heading in the original โ€” no options listed under it, so don't come for me ๐Ÿ™ˆ moving on!


โ›“๏ธ Chain selection options:

  • -chain=<chain> โ€” use the chain <chain> (default: liquidv1). reserved values are: main, test, signet, regtest, liquidv1, liquidv1test, liquidtestnet ๐Ÿ‘€ pick wisely
  • -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. simple as that, bestie ๐Ÿ‘ฉโ€๐Ÿ‘ง
  • -con_max_block_sig_size โ€” max allowed witness data for the signed block header ๐Ÿ“
  • -con_parent_chain_signblockscript โ€” whether 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 -signblockscript to 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_blocks set to true โšก
  • -signet โ€” use the signet chain. equivalent to -chain=signet. note that the network is defined by the -signetchallenge parameter ๐Ÿชง
  • -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 the hostname[: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 ๐Ÿ˜ณ yes, unlimited, no cap (literally)
  • -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 this scriptPubKey, 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 multiple OP_RETURN outputs. (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 particular fedpegscript is in effect for โŒ›

๐ŸŽ€ Commands:

  • delin=N โ€” delete input N from TX โœ‚๏ธ
  • delout=N โ€” delete output N from TX ๐Ÿ—‘๏ธ
  • in=TXID:VOUT(:SEQUENCE_NUMBER) โ€” add input to TX โž•
  • locktime=N โ€” set TX lock time to N ๐Ÿ”’
  • nversion=N โ€” set TX version to N ๐Ÿ”ข
  • outaddr=VALUE:ADDRESS(:ASSET) โ€” add address-based output to TX ๐Ÿ“ฎ
  • outdata=[VALUE:]DATA โ€” add data-based output to TX ๐Ÿ’พ
  • outmultisig=VALUE:REQUIRED:PUBKEYS:PUBKEY1:PUBKEY2:....[:FLAGS] โ€” add Pay To n-of-m Multi-sig output to TX. n = REQUIRED, m = PUBKEYS. optionally add the "W" flag to produce a pay-to-witness-script-hash output. optionally add the "S" flag to wrap the output in a pay-to-script-hash ๐Ÿ”‘
  • outpubkey=VALUE:PUBKEY[:FLAGS] โ€” add pay-to-pubkey output to TX. optionally add the "W" flag to produce a pay-to-witness-pubkey-hash output. optionally add the "S" flag to wrap the output in a pay-to-script-hash ๐Ÿ—๏ธ
  • outscript=VALUE:SCRIPT[:FLAGS] โ€” add raw script output to TX. optionally add the "W" flag to produce a pay-to-witness-script-hash output. optionally add the "S" flag to wrap the output in a pay-to-script-hash ๐Ÿ“œ
  • replaceable(=N) โ€” set RBF opt-in sequence number for input N (if not provided, opt-in all available inputs) ๐Ÿ”
  • sign=SIGHASH-FLAGS โ€” add zero or more signatures to transaction. this command requires JSON registers: prevtxs=JSON object, privatekeys=JSON object. see signrawtransactionwithkey docs for format of sighash flags, JSON objects โœ๏ธ

๐Ÿงš Register Commands:

  • -serialization=TYPE โ€” sets the serialization of transactions. ELEMENTS or BITCOIN are the two valid options ๐ŸŽš๏ธ
  • load=NAME:FILENAME โ€” load JSON file FILENAME into register NAME ๐Ÿ“‚
  • set=NAME:JSON-STRING โ€” set register NAME to given JSON-STRING ๐Ÿงพ

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>. ๐Ÿซถ

โš ๏ธ heads up bestie: this is experimental software. distributed under the MIT software license, see the accompanying file COPYING or <https://opensource.org/licenses/MIT> ๐Ÿ“„

okay and like, the cutest little sign-off ever ๐Ÿ’– this whole page is from elements-tx v23.3.4, dated September 2026, and it's filed under ELEMENTS-TX(1) โ€” so now you know, and honestly? slay. periodt. ๐ŸŒˆโœจ๐ŸŽ€

๐Ÿ“ฆ where this page comes from