Changeset View
Changeset View
Standalone View
Standalone View
doc/man/bitcoin-tx.1
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. | .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3. | ||||
.TH BITCOIN-TX "1" "May 2019" "bitcoin-tx v0.19.6.0" "User Commands" | .TH BITCOIN-TX "1" "May 2019" "bitcoin-tx v0.19.7.0" "User Commands" | ||||
.SH NAME | .SH NAME | ||||
bitcoin-tx \- manual page for bitcoin-tx v0.19.6.0 | bitcoin-tx \- manual page for bitcoin-tx v0.19.7.0 | ||||
.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 | .SH DESCRIPTION | ||||
Bitcoin ABC bitcoin\-tx utility version v0.19.6.0 | Bitcoin ABC bitcoin\-tx utility version v0.19.7.0 | ||||
.SS "Usage:" | |||||
.TP | |||||
bitcoin\-tx [options] <hex\-tx> [commands] | |||||
Update hex\-encoded bitcoin transaction | |||||
.TP | |||||
bitcoin\-tx [options] \fB\-create\fR [commands] | |||||
Create hex\-encoded bitcoin transaction | |||||
.SH OPTIONS | .SH OPTIONS | ||||
.HP | .HP | ||||
\-? | \-? | ||||
.IP | .IP | ||||
This help message | This help message | ||||
.HP | .HP | ||||
\fB\-create\fR | \fB\-create\fR | ||||
.IP | .IP | ||||
Create new, empty TX. | Create new, empty TX. | ||||
.HP | .HP | ||||
\fB\-json\fR | \fB\-json\fR | ||||
.IP | .IP | ||||
Select JSON output | Select JSON output | ||||
.HP | .HP | ||||
\fB\-txid\fR | \fB\-txid\fR | ||||
.IP | .IP | ||||
Output only the hex\-encoded transaction id of the resultant transaction. | Output only the hex\-encoded transaction id of the resultant transaction. | ||||
.PP | .PP | ||||
Chain selection options: | Chain selection options: | ||||
.HP | .HP | ||||
\fB\-testnet\fR | \fB\-testnet\fR | ||||
.IP | .IP | ||||
Use the test chain | Use the test chain | ||||
.HP | |||||
\fB\-regtest\fR | |||||
.IP | |||||
Enter regression test mode, which uses a special chain in which blocks | |||||
can be solved instantly. This is intended for regression testing | |||||
tools and app development. | |||||
.PP | .PP | ||||
Commands: | Commands: | ||||
.IP | .IP | ||||
delin=N | delin=N | ||||
.IP | .IP | ||||
Delete input N from TX | Delete input N from TX | ||||
.IP | .IP | ||||
delout=N | delout=N | ||||
Show All 11 Lines | |||||
nversion=N | nversion=N | ||||
.IP | .IP | ||||
Set TX version to N | Set TX version to N | ||||
.IP | .IP | ||||
outaddr=VALUE:ADDRESS | outaddr=VALUE:ADDRESS | ||||
.IP | .IP | ||||
Add address\-based output to TX | Add address\-based output to TX | ||||
.IP | .IP | ||||
outpubkey=VALUE:PUBKEY[:FLAGS] | |||||
.IP | |||||
Add pay\-to\-pubkey output to TX. Optionally add the "S" flag to wrap the | |||||
output in a pay\-to\-script\-hash. | |||||
.IP | |||||
outdata=[VALUE:]DATA | outdata=[VALUE:]DATA | ||||
.IP | .IP | ||||
Add data\-based output to TX | Add data\-based output to TX | ||||
.IP | .IP | ||||
outscript=VALUE:SCRIPT[:FLAGS] | |||||
.IP | |||||
Add raw script output to TX. Optionally add the "S" flag to wrap the | |||||
output in a pay\-to\-script\-hash. | |||||
.IP | |||||
outmultisig=VALUE:REQUIRED:PUBKEYS:PUBKEY1:PUBKEY2:....[:FLAGS] | outmultisig=VALUE:REQUIRED:PUBKEYS:PUBKEY1:PUBKEY2:....[:FLAGS] | ||||
.IP | .IP | ||||
Add Pay To n\-of\-m Multi\-sig output to TX. n = REQUIRED, m = PUBKEYS. | Add Pay To n\-of\-m Multi\-sig output to TX. n = REQUIRED, m = PUBKEYS. | ||||
Optionally add the "S" flag to wrap the output in a | Optionally add the "S" flag to wrap the output in a | ||||
pay\-to\-script\-hash. | pay\-to\-script\-hash. | ||||
.IP | .IP | ||||
outpubkey=VALUE:PUBKEY[:FLAGS] | |||||
.IP | |||||
Add pay\-to\-pubkey output to TX. 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 "S" flag to wrap the | |||||
output in a pay\-to\-script\-hash. | |||||
.IP | |||||
sign=SIGHASH\-FLAGS | sign=SIGHASH\-FLAGS | ||||
.IP | .IP | ||||
Add zero or more signatures to transaction. This command requires JSON | Add zero or more signatures to transaction. This command requires JSON | ||||
registers:prevtxs=JSON object, privatekeys=JSON object. See | registers:prevtxs=JSON object, privatekeys=JSON object. See | ||||
signrawtransaction docs for format of sighash flags, JSON | signrawtransaction docs for format of sighash flags, JSON | ||||
objects. | objects. | ||||
.PP | .PP | ||||
Register Commands: | Register Commands: | ||||
Show All 22 Lines |