UNPKG

bitcoin-cli-ts

Version:

Auto-generated Bitcoin client library for bitcoind JSON-RPC API

14 lines (13 loc) 546 B
// Auto synced from github actions. Don't change this file import { __rest } from "tslib"; import request from '../../rpc-request'; /** * simulaterawtransaction ( ["rawtx",...] {"include_watchonly":bool,...} ) * * Calculate the balance change resulting in the signing and broadcasting of the given transaction(s). * */ export function simulateRawTransaction(params) { var bitcoind = params.bitcoind, methodParams = __rest(params, ["bitcoind"]); return request({ method: 'simulaterawtransaction', params: methodParams }, bitcoind); }