Skip to content
DMD coin

simulaterawtransaction

Wallet command of DebitMyData Core 1.3.5.

simulaterawtransaction ( ["rawtx",...] {"include_watchonly":bool,...} )

Calculate the balance change resulting in the signing and broadcasting of the given transaction(s).

1. rawtxs (json array, optional) An array of hex strings of raw transactions.
[
"rawtx", (string)
...
]
2. options (json object, optional) Options object that can be used to pass named arguments, listed below.
include_watchonly (boolean, optional, default=false) (DEPRECATED) No longer used
{ (json object)
"balance_change" : n (numeric) The wallet balance change (negative means decrease).
}
Terminal window
debitmydata-cli simulaterawtransaction ["myhex"]
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "simulaterawtransaction", "params": [["myhex"]]}' -H 'content-type: application/json' http://127.0.0.1:18557/