ELEMENTS-TX(1)
๐
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-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_blocksset to true โก-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 ๐ณ 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. seesignrawtransactionwithkeydocs for format of sighash flags, JSON objects โ๏ธ
๐ง Register Commands:
-serialization=TYPEโ sets the serialization of transactions.ELEMENTSorBITCOINare 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 ๐
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
- 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