bitcoind.app
CommandsGuidesContact ↗
Home/Wallet/simulaterawtransaction
Wallet

simulaterawtransaction

Calculate the balance change resulting from a list of raw transactions as if they were sent/received by this wallet.

Parameters

rawtxsarrayoptional
Array of hex strings of raw transactions
optionsobjectoptional
Options: include_watchonly

Returns

objectObject with balance_change

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"simulaterawtransaction","params":[["hex"]]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

{
  "balance_change": -0.00050000
}
← Previous
signrawtransactionwithwallet
Next →
walletcreatefundedpsbt

More Wallet Commands

abandontransactioncreatewalletdumpprivkeygetbalancegetnewaddressgettransaction

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗