Parameters
- rawtxsarrayREQUIRED
Raw transaction hex strings to simulate. Transaction inputs must still be unspent. The default empty array returns zero without simulating a transaction. The balance change refers to the node wallet, including watched addresses only when requested.
- optionsobject
Optional wallet simulation settings.
- include_watchonlyboolean
Include watch-only addresses in the wallet balance calculation. Defaults to false.
Returns
- resultobject
Simulated change to the node wallet balance.
- balance_changenumber
Wallet balance change in BCH; a negative value represents a decrease. This is not a balance calculation for an arbitrary address.
Request
Response
1{2"result": {3"balance_change": 04},5"error": null,6"id": 17}
1{2"result": {3"balance_change": 04},5"error": null,6"id": 17}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free