mirror of
https://github.com/seigler/dash-docs
synced 2025-07-28 10:16:15 +00:00
Updated GetRawTransaction 0.14.1
This commit is contained in:
parent
3e80757193
commit
4813ee834e
1 changed files with 7 additions and 7 deletions
|
@ -28,10 +28,10 @@ The `getrawtransaction` RPC {{summary_getRawTransaction}}
|
||||||
*Parameter #2---whether to get the serialized or decoded transaction*
|
*Parameter #2---whether to get the serialized or decoded transaction*
|
||||||
|
|
||||||
{% itemplate ntpd1 %}
|
{% itemplate ntpd1 %}
|
||||||
- n: "Verbose"
|
- n: "Format"
|
||||||
t: "number (int)"
|
t: "bool"
|
||||||
p: "Optional<br>(0 or 1)"
|
p: "Optional<br>(0 or 1)"
|
||||||
d: "Set to `0` (the default) to return the serialized transaction as hex. Set to `1` to return a decoded transaction"
|
d: "*Updated in Bitcoin Core 0.14.0*<br><br>Set to `false` (the default) to return the serialized transaction as hex. Set to `true` to return a decoded transaction"
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ The `getrawtransaction` RPC {{summary_getRawTransaction}}
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Result (if verbose=`0`)---the serialized transaction*
|
*Result (if verbose=`false`)---the serialized transaction*
|
||||||
|
|
||||||
{% itemplate ntpd1 %}
|
{% itemplate ntpd1 %}
|
||||||
- n: "`result`"
|
- n: "`result`"
|
||||||
|
@ -55,7 +55,7 @@ The `getrawtransaction` RPC {{summary_getRawTransaction}}
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Result (if verbose=`1`)---the decoded transaction*
|
*Result (if verbose=`true`)---the decoded transaction*
|
||||||
|
|
||||||
{% itemplate ntpd1 %}
|
{% itemplate ntpd1 %}
|
||||||
- n: "`result`"
|
- n: "`result`"
|
||||||
|
@ -90,7 +90,7 @@ The `getrawtransaction` RPC {{summary_getRawTransaction}}
|
||||||
|
|
||||||
{% enditemplate %}
|
{% enditemplate %}
|
||||||
|
|
||||||
*Examples from Bitcoin Core 0.13.1*
|
*Examples from Bitcoin Core 0.14.1*
|
||||||
|
|
||||||
A transaction in serialized transaction format:
|
A transaction in serialized transaction format:
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ Get the same transaction in JSON:
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
bitcoin-cli getrawtransaction \
|
bitcoin-cli getrawtransaction \
|
||||||
ef7c0cbf6ba5af68d2ea239bba709b26ff7b0b669839a63bb01c2cb8e8de481e \
|
ef7c0cbf6ba5af68d2ea239bba709b26ff7b0b669839a63bb01c2cb8e8de481e \
|
||||||
1
|
true
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
Result:
|
Result:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue