converttopsbt (0.17.0 RPC) blockchain getbestblockhash getblock getblockchaininfo getblockcount getblockhash getblockheader getblockstats getchaintips getchaintxstats getdifficulty getmempoolancestors getmempooldescendants getmempoolentry getmempoolinfo getrawmempool gettxout gettxoutproof gettxoutsetinfo preciousblock pruneblockchain savemempool scantxoutset verifychain verifytxoutproof control getmemoryinfo help logging stop uptime generating generate generatetoaddress mining getblocktemplate getmininginfo getnetworkhashps prioritisetransaction submitblock network addnode clearbanned disconnectnode getaddednodeinfo getconnectioncount getnettotals getnetworkinfo getpeerinfo listbanned ping setban setnetworkactive rawtransactions combinepsbt combinerawtransaction converttopsbt createpsbt createrawtransaction decodepsbt decoderawtransaction decodescript finalizepsbt fundrawtransaction getrawtransaction sendrawtransaction signrawtransaction signrawtransactionwithkey testmempoolaccept util createmultisig estimatesmartfee signmessagewithprivkey validateaddress verifymessage wallet abandontransaction abortrescan addmultisigaddress backupwallet bumpfee createwallet dumpprivkey dumpwallet encryptwallet getaccount getaccountaddress getaddressbyaccount getaddressesbylabel getaddressinfo getbalance getnewaddress getrawchangeaddress getreceivedbyaccount getreceivedbyaddress gettransaction getunconfirmedbalance getwalletinfo importaddress importmulti importprivkey importprunedfunds importpubkey importwallet keypoolrefill listaccounts listaddressgroupings listlabels listlockunspent listreceivedbyaccount listreceivedbyaddress listsinceblock listtransactions listunspent listwallets loadwallet lockunspent move removeprunedfunds rescanblockchain sendfrom sendmany sendtoaddress setaccount sethdseed settxfee signmessage signrawtransactionwithwallet unloadwallet walletcreatefundedpsbt walletlock walletpassphrase walletpassphrasechange walletprocesspsbt zmq getzmqnotifications converttopsbt "hexstring" ( permitsigdata iswitness ) Converts a network serialized transaction to a PSBT. This should be used only with createrawtransaction and fundrawtransaction createpsbt and walletcreatefundedpsbt should be used for new applications. Arguments: 1. "hexstring" (string, required) The hex string of a raw transaction 2. permitsigdata (boolean, optional, default=false) If true, any signatures in the input will be discarded and conversion. will continue. If false, RPC will fail if any signatures are present. 3. iswitness (boolean, optional) Whether the transaction hex is a serialized witness transaction. If iswitness is not present, heuristic tests will be used in decoding. If true, only witness deserializaion will be tried. If false, only non-witness deserialization wil be tried. Only has an effect if permitsigdata is true. Result: "psbt" (string) The resulting raw transaction (base64-encoded string) Examples: Create a transaction > bitcoin-cli createrawtransaction "[{\"txid\":\"myid\",\"vout\":0}]" "[{\"data\":\"00010203\"}]" Convert the transaction to a PSBT > bitcoin-cli converttopsbt "rawtransaction" Share on Twitter Facebook Google+