UNPKG

bitcoin-cli-ts

Version:

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

15 lines (14 loc) 526 B
// Auto synced from github actions. Don't change this file import { __rest } from "tslib"; import request from '../../rpc-request'; /** * send [{"address":amount,...},{"data":"hex"},...] ( conf_target "estimate_mode" fee_rate options ) * * EXPERIMENTAL warning: this call may be changed in future releases. * Send a transaction. * */ export function send(params) { var bitcoind = params.bitcoind, methodParams = __rest(params, ["bitcoind"]); return request({ method: 'send', params: methodParams }, bitcoind); }