@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
13 lines • 538 B
JavaScript
// Auto synced from github actions. Don't change this file
import request from '../../rpc-request.js';
/**
* simulaterawtransaction ( ["rawtx",...] {"include_watchonly":bool,...} )
*
* Calculate the balance change resulting in the signing and broadcasting of the given transaction(s).
*
*/
export function simulateRawTransaction(params) {
const { bitcoind, ...methodParams } = params;
return request({ method: 'simulaterawtransaction', params: methodParams }, bitcoind);
}
//# sourceMappingURL=simulate-raw-transaction.js.map