Scroll to navigation

DOGECOIN-TX(1) User Commands DOGECOIN-TX(1)

NAME

dogecoin-tx - Dogecoin Core transaction utility

DESCRIPTION

Dogecoin Core dogecoin-tx utility version v1.14.6.0

Usage:

Update hex-encoded dogecoin transaction
Create hex-encoded dogecoin transaction

OPTIONS

-?

This help message

-create

Create new, empty TX.

-json

Select JSON output

-txid

Output only the hex-encoded transaction id of the resultant transaction.

Chain selection options:

-testnet

Use the test chain

-regtest

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.

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
Add address-based output to TX
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.
outdata=[VALUE:]DATA
Add data-based output to TX
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.
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.
sign=SIGHASH-FLAGS
Add zero or more signatures to transaction. This command requires JSON registers:prevtxs=JSON object, privatekeys=JSON object. See signrawtransaction docs for format of sighash flags, JSON objects.

Register Commands:

load=NAME:FILENAME
Load JSON file FILENAME into register NAME
set=NAME:JSON-STRING
Set register NAME to given JSON-STRING

COPYRIGHT

Copyright (C) 2013-2021 The Bitcoin Core and Dogecoin Core developers

Please contribute if you find Dogecoin Core useful. Visit <https://dogecoin.com> for further information about the software. The source code is available from <https://github.com/dogecoin/dogecoin>.

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. Paper wallet art provided by Anacoluthia.

July 2022 dogecoin-tx v1.14.6.0