mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Add Note About Tx Fees To All Createrawtransaction Example Calls
Based on feedback from @saivann, this may help remind users that poor use of createrawtransactions can cost them satoshis.
This commit is contained in:
parent
96bc22b40c
commit
abf8ac25d6
1 changed files with 4 additions and 0 deletions
|
@ -252,6 +252,7 @@ mz6KvC4aoUeo6wSxtiVQTo7FDwPnkp6URG
|
||||||
Get a new address to use in the raw transaction.
|
Get a new address to use in the raw transaction.
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
|
## Outputs - inputs = transaction fee, so always double-check your math!
|
||||||
> bitcoin-cli -regtest createrawtransaction '''
|
> bitcoin-cli -regtest createrawtransaction '''
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
@ -498,6 +499,7 @@ n4LWXU59yM5MzQev7Jx7VNeq1BqZ85ZbLj
|
||||||
For our two outputs, get two new addresses.
|
For our two outputs, get two new addresses.
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
|
## Outputs - inputs = transaction fee, so always double-check your math!
|
||||||
> bitcoin-cli -regtest createrawtransaction '''
|
> bitcoin-cli -regtest createrawtransaction '''
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
@ -761,6 +763,7 @@ mfdCHEFL2tW9eEUpizk7XLZJcnFM4hrp78
|
||||||
Get a new address to spend the satoshis to.
|
Get a new address to spend the satoshis to.
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
|
## Outputs - inputs = transaction fee, so always double-check your math!
|
||||||
> bitcoin-cli -regtest createrawtransaction '''
|
> bitcoin-cli -regtest createrawtransaction '''
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
@ -1130,6 +1133,7 @@ We generate a new P2PKH address to use in the output we're about to
|
||||||
create.
|
create.
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
|
## Outputs - inputs = transaction fee, so always double-check your math!
|
||||||
> bitcoin-cli -regtest createrawtransaction '''
|
> bitcoin-cli -regtest createrawtransaction '''
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue