UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

19 lines 882 B
import { Bitcoind } from '../../types.js'; type SignRawTransactionWithWalletParams = { bitcoind: Bitcoind; hexstring: string; prevtxs?: Array<unknown>; sighashtype?: string; }; /** * signrawtransactionwithwallet "hexstring" ( [{"txid":"hex","vout":n,"scriptPubKey":"hex","redeemScript":"hex","witnessScript":"hex","amount":amount},...] "sighashtype" ) * * Sign inputs for raw transaction (serialized, hex-encoded). * The second optional argument (may be null) is an array of previous transaction outputs that * this transaction depends on but may not yet be in the block chain. * Requires wallet passphrase to be set with walletpassphrase call if wallet is encrypted. * */ export declare function signRawTransactionWithWallet(params: SignRawTransactionWithWalletParams): Promise<any>; export {}; //# sourceMappingURL=sign-raw-transaction-with-wallet.d.ts.map