simulaterawtransaction

Input(s) 2

The simulaterawtransaction RPC calculates the balance change that would occur if the specified raw transaction(s) were signed and broadcasted. Returns a JSON object containing the balance_change field, which indicates the resulting change in wallet balance.

How is this used?

It is used to predict the effect of signing and broadcasting raw transactions on the wallet balance.

Request

method

simulaterawtransaction

hexstring

Required

prevtxs

Optional

Inputs(2)

one required input remaining...

hexstring (required) - The transaction hex string
prevtxs The previous dependent transaction outputs

Result