1bc9988993
Tree-SHA512: d53a2bfa5bc589e7130cf8cd1627083ad7c72a197cbd80754c9dcf78e3775021fbd6426c5762f5f3e52e4b23ed06387c0be224914e0f98d14f3f7e51ee66c809
127 lines
3.2 KiB
Groff
127 lines
3.2 KiB
Groff
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
|
|
.TH BITCOIN-TX "1" "November 2019" "bitcoin-tx v0.19.0.1" "User Commands"
|
|
.SH NAME
|
|
bitcoin-tx \- manual page for bitcoin-tx v0.19.0.1
|
|
.SH SYNOPSIS
|
|
.B bitcoin-tx
|
|
[\fI\,options\/\fR] \fI\,<hex-tx> \/\fR[\fI\,commands\/\fR] \fI\,Update hex-encoded bitcoin transaction\/\fR
|
|
.br
|
|
.B bitcoin-tx
|
|
[\fI\,options\/\fR] \fI\,-create \/\fR[\fI\,commands\/\fR] \fI\,Create hex-encoded bitcoin transaction\/\fR
|
|
.SH DESCRIPTION
|
|
Bitcoin Core bitcoin\-tx utility version v0.19.0.1
|
|
.SH OPTIONS
|
|
.HP
|
|
\-?
|
|
.IP
|
|
Print this help message and exit
|
|
.HP
|
|
\fB\-create\fR
|
|
.IP
|
|
Create new, empty TX.
|
|
.HP
|
|
\fB\-json\fR
|
|
.IP
|
|
Select JSON output
|
|
.HP
|
|
\fB\-txid\fR
|
|
.IP
|
|
Output only the hex\-encoded transaction id of the resultant transaction.
|
|
.PP
|
|
Debugging/Testing options:
|
|
.PP
|
|
Chain selection options:
|
|
.HP
|
|
\fB\-chain=\fR<chain>
|
|
.IP
|
|
Use the chain <chain> (default: main). Allowed values: main, test,
|
|
regtest
|
|
.HP
|
|
\fB\-testnet\fR
|
|
.IP
|
|
Use the test chain. Equivalent to \fB\-chain\fR=\fI\,test\/\fR.
|
|
.PP
|
|
Commands:
|
|
.IP
|
|
delin=N
|
|
.IP
|
|
Delete input N from TX
|
|
.IP
|
|
delout=N
|
|
.IP
|
|
Delete output N from TX
|
|
.IP
|
|
in=TXID:VOUT(:SEQUENCE_NUMBER)
|
|
.IP
|
|
Add input to TX
|
|
.IP
|
|
locktime=N
|
|
.IP
|
|
Set TX lock time to N
|
|
.IP
|
|
nversion=N
|
|
.IP
|
|
Set TX version to N
|
|
.IP
|
|
outaddr=VALUE:ADDRESS
|
|
.IP
|
|
Add address\-based output to TX
|
|
.IP
|
|
outdata=[VALUE:]DATA
|
|
.IP
|
|
Add data\-based output to TX
|
|
.IP
|
|
outmultisig=VALUE:REQUIRED:PUBKEYS:PUBKEY1:PUBKEY2:....[:FLAGS]
|
|
.IP
|
|
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.
|
|
.IP
|
|
outpubkey=VALUE:PUBKEY[:FLAGS]
|
|
.IP
|
|
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.
|
|
.IP
|
|
outscript=VALUE:SCRIPT[:FLAGS]
|
|
.IP
|
|
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.
|
|
.IP
|
|
replaceable(=N)
|
|
.IP
|
|
Set RBF opt\-in sequence number for input N (if not provided, opt\-in all
|
|
available inputs)
|
|
.IP
|
|
sign=SIGHASH\-FLAGS
|
|
.IP
|
|
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.
|
|
.PP
|
|
Register Commands:
|
|
.IP
|
|
load=NAME:FILENAME
|
|
.IP
|
|
Load JSON file FILENAME into register NAME
|
|
.IP
|
|
set=NAME:JSON\-STRING
|
|
.IP
|
|
Set register NAME to given JSON\-STRING
|
|
.SH COPYRIGHT
|
|
Copyright (C) 2009-2019 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/licenses/MIT>
|
|
|
|
This product includes software developed by the OpenSSL Project for use in the
|
|
OpenSSL Toolkit <https://www.openssl.org> and cryptographic software written by
|
|
Eric Young and UPnP software written by Thomas Bernard.
|