mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Content - RPC - Add DIP2 fields to raw tx
- Applies to decoderawtransaction and getrawtransaction - Related to dashpay/dash#2239
This commit is contained in:
parent
38bc6ece62
commit
461705aca1
4 changed files with 57 additions and 42 deletions
|
@ -157,6 +157,11 @@ NOT IN DASH
|
|||
p: "Required<br>(exactly 1)"
|
||||
d: "The transaction format version number"
|
||||
|
||||
- n: "{{DEPTH}} →<br>`type`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "*Added in Dash Core 0.12.4.0*<br><br>The transaction format type"
|
||||
|
||||
- n: "{{DEPTH}} →<br>`locktime`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
|
@ -295,6 +300,15 @@ NOT IN DASH
|
|||
p: "Required<br>(1 or more)"
|
||||
d: "A P2PKH or P2SH address"
|
||||
|
||||
- n: "{{DEPTH}} →<br>`extraPayloadSize`"
|
||||
t: "number (int)"
|
||||
p: "Optional<br>(0 or 1)"
|
||||
d: "*Added in Dash Core 0.12.4.0*<br><br>Size of the DIP2 extra payload. Only present if it's a DIP2 special transaction"
|
||||
|
||||
- n: "{{DEPTH}} →<br>`extraPayload`"
|
||||
t: "string (hex)"
|
||||
p: "Optional<br>(0 or 1)"
|
||||
d: "*Added in Dash Core 0.12.4.0*<br><br>Hex encoded DIP2 extra payload data. Only present if it's a DIP2 special transaction"
|
||||
{% endcapture %}
|
||||
|
||||
{% assign INCLUDE_WALLET_UNLOCKED="If the wallet has been encrypted either through the GUI or with the `encryptwallet` RPC, it must first be unlocked with the `walletpassphrase` RPC" %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue