@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
21 lines • 798 B
TypeScript
import { Bitcoind } from '../../types.js';
type CreateRawTransactionParams = {
bitcoind: Bitcoind;
inputs: Array<unknown>;
outputs: Array<unknown>;
locktime?: number;
replaceable?: boolean;
};
/**
* createrawtransaction [{"txid":"hex","vout":n,"sequence":n},...] [{"address":amount,...},{"data":"hex"},...] ( locktime replaceable )
*
* Create a transaction spending the given inputs and creating new outputs.
* Outputs can be addresses or data.
* Returns hex-encoded raw transaction.
* Note that the transaction's inputs are not signed, and
* it is not stored in the wallet or transmitted to the network.
*
*/
export declare function createRawTransaction(params: CreateRawTransactionParams): Promise<any>;
export {};
//# sourceMappingURL=create-raw-transaction.d.ts.map