diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/dumphdinfo.md b/_includes/devdoc/dash-core/rpcs/rpcs/dumphdinfo.md index 8130612d..80a1d402 100644 --- a/_includes/devdoc/dash-core/rpcs/rpcs/dumphdinfo.md +++ b/_includes/devdoc/dash-core/rpcs/rpcs/dumphdinfo.md @@ -7,15 +7,41 @@ http://opensource.org/licenses/MIT. ##### DumpHDInfo {% include helpers/subhead-links.md %} -{% assign summary_dumpHDInfo="" %} +{% assign summary_dumpHDInfo="returns an object containing sensitive private info about this HD wallet" %} + + {% autocrossref %} The `dumphdinfo` RPC {{summary_dumpHDInfo}} -*Parameter #1---PARAMETER DESCRIPTION* +*Parameters: none* + +*Result---HD wallet information* + +{% itemplate ntpd1 %} +- n: "Result" + t: "object" + p: "Required
(exactly 1)" + d: "An object containing sensitive private info about this HD wallet." + +- n: "→
`hdseed`" + t: "string" + p: "Required
(exactly 1)" + d: "The BIP-32 HD seed (in hex)" + +- n: "→
`mnemonic`" + t: "string" + p: "Required
(exactly 1)" + d: "The BIP-39 mnemonic for this HD wallet (English words)" + +- n: "→
`mnemonicpassphrase`" + t: "string" + p: "Required
(exactly 1)" + d: "The BIP-39 mnemonic passphrase for this HD wallet (may be empty)" + +{% enditemplate %} -*Result---RESULT DESCRIPTION* *Example from Dash Core 0.12.2* @@ -23,11 +49,15 @@ The `dumphdinfo` RPC {{summary_dumpHDInfo}} dash-cli -testnet dumphdinfo {% endhighlight %} -Result: +Result (truncated for security reasons): {% highlight json %} - *INSERT RESULTS HERE* +{ + "hdseed": "20c63c3fb298ebd52de3 ...", + "mnemonic": "cost circle shiver ...", + "mnemonicpassphrase": "" +} {% endhighlight %} -*See also:* +*See also: none* {% endautocrossref %} diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/importprivkey.md b/_includes/devdoc/dash-core/rpcs/rpcs/importprivkey.md index f7f9ca00..bad262f8 100644 --- a/_includes/devdoc/dash-core/rpcs/rpcs/importprivkey.md +++ b/_includes/devdoc/dash-core/rpcs/rpcs/importprivkey.md @@ -76,7 +76,7 @@ dash-cli -testnet importprivkey \ * [DumpPrivKey][rpc dumpprivkey]: {{summary_dumpPrivKey}} * [ImportAddress][rpc importaddress]: {{summary_importAddress}} -* [ImportPrivKey][rpc importpubkey]: {{summary_importPubKey}} +* [ImportPubKey][rpc importpubkey]: {{summary_importPubKey}} * [ImportWallet][rpc importwallet]: {{summary_importWallet}} {% endautocrossref %} diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/instantsendtoaddress.md b/_includes/devdoc/dash-core/rpcs/rpcs/instantsendtoaddress.md index a825c6f5..ffab6e6c 100644 --- a/_includes/devdoc/dash-core/rpcs/rpcs/instantsendtoaddress.md +++ b/_includes/devdoc/dash-core/rpcs/rpcs/instantsendtoaddress.md @@ -7,27 +7,95 @@ http://opensource.org/licenses/MIT. ##### InstantSendToAddress {% include helpers/subhead-links.md %} -{% assign summary_instantSendToAddress="" %} +{% assign summary_instantSendToAddress="InstantSend an amount to a given address." %} + + {% autocrossref %} The `instantsendtoaddress` RPC {{summary_instantSendToAddress}} -*Parameter #1---PARAMETER DESCRIPTION* +*Parameter #1---to address* -*Result---RESULT DESCRIPTION* +{% itemplate ntpd1 %} +- n: "To Address" + t: "string" + p: "Required
(exactly 1)" + d: "A P2PKH or P2SH address to which the dash should be sent" + +{% enditemplate %} + +*Parameter #2---amount to spend* + +{% itemplate ntpd1 %} +- n: "Amount" + t: "number (dash)" + p: "Required
(exactly 1)" + d: "The amount to spent in dash" + +{% enditemplate %} + +*Parameter #3---a comment* + +{% itemplate ntpd1 %} +- n: "Comment" + t: "string" + p: "Optional
(0 or 1)" + d: "A locally-stored (not broadcast) comment assigned to this transaction. Default is no comment" + +{% enditemplate %} + +*Parameter #4---a comment about who the payment was sent to* + +{% itemplate ntpd1 %} +- n: "Comment To" + t: "string" + p: "Optional
(0 or 1)" + d: "A locally-stored (not broadcast) comment assigned to this transaction. Meant to be used for describing who the payment was sent to. Default is no comment" + +{% enditemplate %} + +*Parameter #5---automatic fee subtraction* + +{% itemplate ntpd1 %} +- n: "Subtract Fee From Amount" + t: "boolean" + p: "Optional
(0 or 1)" + d: "The fee will be deducted from the amount being sent. The recipient will receive less dash than you enter in the amount field. Default is `false`" + +{% enditemplate %} + +*Result---a TXID of the sent transaction* + +{% itemplate ntpd1 %} +- n: "`result`" + t: "string" + p: "Required
(exactly 1)" + d: "The TXID of the sent transaction, encoded as hex in RPC byte order" + +{% enditemplate %} *Example from Dash Core 0.12.2* +InstantSend 0.1 dash to the address below with the comment "instantsendtoadress +example" and the comment-to "Nemo From Example.com": + {% highlight bash %} -dash-cli -testnet instantsendtoaddress +dash-cli -testnet instantsendtoaddress ySutkc49Khpz1HQN8AfWNitVBLwqtyaxvv \ + 1.0 "instantsendtoadress example" "Nemo From Example.com" {% endhighlight %} Result: -{% highlight json %} - *INSERT RESULTS HERE* + +{% highlight text %} +70e2029d363f0110fe8a0aa2ba7bd771a579453135568b2aa559b2cb30f875aa {% endhighlight %} *See also:* +* [SendFrom][rpc sendfrom]: {{summary_sendFrom}} +* [SendMany][rpc sendmany]: {{summary_sendMany}} +* [SendToAddress][rpc sendtoaddress]: {{summary_sendToAddress}} +* [Move][rpc move]: {{summary_move}} + {% endautocrossref %} diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/sendtoaddress.md b/_includes/devdoc/dash-core/rpcs/rpcs/sendtoaddress.md index 05ce636e..baf69d73 100644 --- a/_includes/devdoc/dash-core/rpcs/rpcs/sendtoaddress.md +++ b/_includes/devdoc/dash-core/rpcs/rpcs/sendtoaddress.md @@ -164,9 +164,9 @@ ba4bbe29fa06b67d6f3f3a73e381627e66abe22e217ce329aefad41ea72c3922 *See also* +* [InstantSendToAddress][rpc instantsendtoaddress]: {{summary_instantSendToAddress}} * [SendFrom][rpc sendfrom]: {{summary_sendFrom}} * [SendMany][rpc sendmany]: {{summary_sendMany}} * [Move][rpc move]: {{summary_move}} - {% endautocrossref %}