BITCOIN-TX(1)
β¨ BITCOIN-TX β¨
okay bestie, welcome to bitcoin-tx β it's a User Commands girlie, it lives in section 1 of the manual, and it is literally the manual page for bitcoin-tx v31.1.0. pull up a chair π
πΈ NAME πΈ
bitcoin-tx β the manual page for bitcoin-tx v31.1.0, no cap
π SYNOPSIS π
bitcoin-tx [options] <hex-tx> [commands]
bitcoin-tx [options] -create [commands]
π DESCRIPTION π
so this is the Bitcoin Core bitcoin-tx utility, version v31.1.0. it's giving utility. it's giving transaction wizardry.
the bitcoin-tx tool is what you use for creating and modifying bitcoin transactions. main character energy fr.
you can run it two ways:
- with
"<hex-tx> [commands]"to update a hex-encoded bitcoin transaction - with
"-create [commands]"to create a hex-encoded bitcoin transaction
that's it, that's the vibe π¦
β¨ OPTIONS β¨
-createβ make a brand new, empty TX. a little blank canvas, an empty nest, a fresh start π₯-helpβ print this help message and dip (also works as-hor-?)-jsonβ pick JSON output, bestie. the structured girlie option-txidβ output only the hex-encoded transaction id of the resultant transaction. just the id. nothing else. she's minimal like that-versionβ print version and exit
π§ Debugging/Testing options:
okay so this heading is here in the original and there's genuinely nothing under it. iconic of her. we respect it. β¨
βοΈ Chain selection options:
-chain=<chain>β use the chain<chain>(default:main). the allowed values aremain,test,testnet4,signet,regtest. pick your universe πͺ-signetβ use the signet chain. equivalent to-chain=signet. heads up though: 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 testnet3 chain. equivalent to-chain=test.
β οΈ not to be dramatic but: support for testnet3 is deprecated and will be removed in an upcoming release. consider moving to testnet4 now by using -testnet4. like, actually consider it π«Ά
-testnet4β use the testnet4 chain. equivalent to-chain=testnet4.
π Commands:
delin=Nβ delete inputNfrom TX. bye girl πdelout=Nβ delete outputNfrom TXin=TXID:VOUT(:SEQUENCE_NUMBER)β add input to TXlocktime=Nβ set TX lock time toNnversion=Nβ set TX version toNoutaddr=VALUE:ADDRESSβ add address-based output to TXoutdata=[VALUE:]DATAβ add data-based output to TXoutmultisig=VALUE:REQUIRED:PUBKEYS:PUBKEY1:PUBKEY2:....[:FLAGS]β add a 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. multi-sig said let me do it for you π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)β sets the Replace-By-Fee (RBF) opt-in sequence number for inputN. ifNisn't provided, the command attempts to opt-in all available inputs for RBF. if the transaction has no inputs, this option is ignored. RBF girlies stay winning π₯sign=SIGHASH-FLAGSβ add zero or more signatures to transaction. this command requires JSON registers:prevtxs=JSON object,privatekeys=JSON object. see thesignrawtransactionwithkeydocs for the format of sighash flags and JSON objects.
π Register Commands:
load=NAME:FILENAMEβ load JSON fileFILENAMEinto registerNAMEset=NAME:JSON-STRINGβ set registerNAMEto the givenJSON-STRING
π COPYRIGHT π
Copyright (C) 2009-2026 The Bitcoin Core developers
please contribute if you find Bitcoin Core useful!! visit <https://bitcoincore.org/> for further information about the software. the source code is available from <https://github.com/bitcoin/bitcoin>. π«Ά
β οΈ this is experimental software. distributed under the MIT software license, see the accompanying file COPYING or <https://opensource.org/license/MIT>
π¦ SEE ALSO π¦
k that's the whole page bestie, go forth and build transactions πβ¨ this was bitcoin-tx v31.1.0, dated July 2026, and yes the page name really is BITCOIN-TX(1) β ily, mwah ππ
π¦ where this page comes from
- epel 10: bitcoin-core-utils 31.1-1.el10_3 Β· MIT
- fedora 43: bitcoin-core-utils 31.1-2.fc43 Β· MIT
- fedora 44: bitcoin-core-utils 31.1-2.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms