simulaterawtransaction

Back to wallet

Wallet

Summary

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

Description

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

Arguments

  • rawtxs (ARR): An array of hex strings of raw transactions.

  • rawtx (STR_HEX): No description.

  • options (OBJ_NAMED_PARAMS): No description.
  • include_watchonly (BOOL): (DEPRECATED) No longer used

Results

  • value (OBJ): No description.
  • balance_change (STR_AMOUNT): The wallet balance change (negative means decrease).

Examples

qbit-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:8352/