2023-06-17 18:26:05 +02:00
|
|
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
|
2024-12-07 21:51:58 +01:00
|
|
|
.TH DASH-TX "1" "December 2024" "dash-tx v22.0.0" "User Commands"
|
2016-09-13 10:25:41 +02:00
|
|
|
.SH NAME
|
2024-12-07 21:51:58 +01:00
|
|
|
dash-tx \- manual page for dash-tx v22.0.0
|
2022-08-11 00:56:34 +02:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B dash-tx
|
|
|
|
[\fI\,options\/\fR] \fI\,<hex-tx> \/\fR[\fI\,commands\/\fR] \fI\,Update hex-encoded dash transaction\/\fR
|
|
|
|
.br
|
|
|
|
.B dash-tx
|
|
|
|
[\fI\,options\/\fR] \fI\,-create \/\fR[\fI\,commands\/\fR] \fI\,Create hex-encoded dash transaction\/\fR
|
2016-09-13 10:25:41 +02:00
|
|
|
.SH DESCRIPTION
|
2024-12-07 21:51:58 +01:00
|
|
|
Dash Core dash\-tx utility version v22.0.0
|
2016-09-13 10:25:41 +02:00
|
|
|
.SH OPTIONS
|
|
|
|
.HP
|
|
|
|
\-?
|
|
|
|
.IP
|
2022-05-21 10:12:13 +02:00
|
|
|
Print this help message and exit
|
2016-09-13 10:25:41 +02:00
|
|
|
.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.
|
2023-11-07 15:04:39 +01:00
|
|
|
.HP
|
|
|
|
\fB\-version\fR
|
|
|
|
.IP
|
|
|
|
Print version and exit
|
2016-09-13 10:25:41 +02:00
|
|
|
.PP
|
2024-12-07 21:51:58 +01:00
|
|
|
Debugging/Testing options:
|
|
|
|
.PP
|
2016-09-13 10:25:41 +02:00
|
|
|
Chain selection options:
|
|
|
|
.HP
|
2023-11-07 15:04:39 +01:00
|
|
|
\fB\-chain=\fR<chain>
|
|
|
|
.IP
|
|
|
|
Use the chain <chain> (default: main). Allowed values: main, test,
|
|
|
|
regtest
|
|
|
|
.HP
|
2018-05-30 14:29:01 +02:00
|
|
|
\fB\-devnet=\fR<name>
|
|
|
|
.IP
|
|
|
|
Use devnet chain with provided name
|
|
|
|
.HP
|
2022-08-11 00:56:34 +02:00
|
|
|
\fB\-highsubsidyblocks=\fR<n>
|
|
|
|
.IP
|
|
|
|
The number of blocks with a higher than normal subsidy to mine at the
|
2024-03-04 16:44:18 +01:00
|
|
|
start of a chain. Block after that height will have fixed subsidy
|
|
|
|
base. (default: 0, devnet\-only)
|
2022-08-11 00:56:34 +02:00
|
|
|
.HP
|
|
|
|
\fB\-highsubsidyfactor=\fR<n>
|
|
|
|
.IP
|
|
|
|
The factor to multiply the normal block subsidy by while in the
|
|
|
|
highsubsidyblocks window of a chain (default: 1, devnet\-only)
|
|
|
|
.HP
|
|
|
|
\fB\-llmqchainlocks=\fR<quorum name>
|
|
|
|
.IP
|
|
|
|
Override the default LLMQ type used for ChainLocks. Allows using
|
2023-11-07 15:04:39 +01:00
|
|
|
ChainLocks with smaller LLMQs. (default: llmq_devnet,
|
|
|
|
devnet\-only)
|
2022-08-11 00:56:34 +02:00
|
|
|
.HP
|
|
|
|
\fB\-llmqdevnetparams=\fR<size>:<threshold>
|
|
|
|
.IP
|
2024-07-18 07:43:14 +02:00
|
|
|
Override the default LLMQ size for the LLMQ_DEVNET quorum (devnet\-only)
|
2022-08-11 00:56:34 +02:00
|
|
|
.HP
|
|
|
|
\fB\-llmqinstantsenddip0024=\fR<quorum name>
|
|
|
|
.IP
|
|
|
|
Override the default LLMQ type used for InstantSendDIP0024. (default:
|
2023-11-07 15:04:39 +01:00
|
|
|
llmq_devnet_dip0024, devnet\-only)
|
2022-08-11 00:56:34 +02:00
|
|
|
.HP
|
2023-11-07 15:04:39 +01:00
|
|
|
\fB\-llmqmnhf=\fR<quorum name>
|
2023-04-09 07:05:39 +02:00
|
|
|
.IP
|
2023-11-07 15:04:39 +01:00
|
|
|
Override the default LLMQ type used for EHF. (default: llmq_devnet,
|
2023-04-09 07:05:39 +02:00
|
|
|
devnet\-only)
|
|
|
|
.HP
|
2023-11-07 15:04:39 +01:00
|
|
|
\fB\-llmqplatform=\fR<quorum name>
|
|
|
|
.IP
|
|
|
|
Override the default LLMQ type used for Platform. (default:
|
|
|
|
llmq_devnet_platform, devnet\-only)
|
|
|
|
.HP
|
2022-08-11 00:56:34 +02:00
|
|
|
\fB\-minimumdifficultyblocks=\fR<n>
|
|
|
|
.IP
|
|
|
|
The number of blocks that can be mined with the minimum difficulty at
|
|
|
|
the start of a chain (default: 0, devnet\-only)
|
|
|
|
.HP
|
|
|
|
\fB\-powtargetspacing=\fR<n>
|
|
|
|
.IP
|
|
|
|
Override the default PowTargetSpacing value in seconds (default: 2.5
|
|
|
|
minutes, devnet\-only)
|
|
|
|
.HP
|
2021-04-10 22:37:07 +02:00
|
|
|
\fB\-testnet\fR
|
2016-09-13 10:25:41 +02:00
|
|
|
.IP
|
2023-11-07 15:04:39 +01:00
|
|
|
Use the test chain. Equivalent to \fB\-chain\fR=\fI\,test\/\fR
|
2016-09-13 10:25:41 +02:00
|
|
|
.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
|
2018-05-30 14:29:01 +02:00
|
|
|
outmultisig=VALUE:REQUIRED:PUBKEYS:PUBKEY1:PUBKEY2:....[:FLAGS]
|
2016-09-13 10:25:41 +02:00
|
|
|
.IP
|
2018-05-30 14:29:01 +02:00
|
|
|
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
|
|
|
|
pay\-to\-script\-hash.
|
2016-09-13 10:25:41 +02:00
|
|
|
.IP
|
2021-04-10 22:37:07 +02:00
|
|
|
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
|
2016-09-13 10:25:41 +02:00
|
|
|
sign=SIGHASH\-FLAGS
|
|
|
|
.IP
|
|
|
|
Add zero or more signatures to transaction. This command requires JSON
|
|
|
|
registers:prevtxs=JSON object, privatekeys=JSON object. See
|
2019-02-06 17:18:23 +01:00
|
|
|
signrawtransactionwithkey docs for format of sighash flags, JSON
|
2016-09-13 10:25:41 +02:00
|
|
|
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
|