fundrawtransaction (4.2.2 RPC) blockchain getbestblockhash getblock getblockchaininfo getblockcount getblockfilter getblockhash getblockheader getblockstats getchainlocks getchaintips getchaintxstats getdifficulty getmempoolancestors getmempooldescendants getmempoolentry getmempoolinfo getrawmempool gettxout gettxoutproof gettxoutsetinfo preciousblock pruneblockchain savemempool scantxoutset verifychain verifytxoutproof control getmemoryinfo getrpcinfo help logging stop uptime evo bls_fromsecret bls_generate protx_diff protx_info protx_list quorum_dkgsimerror quorum_dkgstatus quorum_getrecsig quorum_hasrecsig quorum_info quorum_isconflicting quorum_list quorum_memberof quorum_selectquorum quorum_sign quorum_verify evowallet protx_info_wallet protx_list_wallet protx_register protx_register_fund protx_register_prepare protx_register_submit protx_revoke protx_update_registrar protx_update_service generating generateblock generatetoaddress generatetodescriptor governance getgovernanceinfo getsuperblockbudget gobject_check gobject_count gobject_deserialize gobject_diff gobject_get gobject_getcurrentvotes gobject_list gobject_submit gobject_vote_conf voteraw governancewallet gobject_list_prepared gobject_prepare gobject_vote_alias gobject_vote_many masternode masternode_connect masternode_count masternode_current masternode_list masternode_outputs masternode_payments masternode_status masternode_winner masternode_winners mining createauxblock getblocktemplate getmininginfo getnetworkhashps prioritisetransaction submitauxblock submitblock submitheader network addnode clearbanned disconnectnode getaddednodeinfo getconnectioncount getnettotals getnetworkinfo getnodeaddresses getpeerinfo listbanned ping setban setnetworkactive rawtransactions analyzepsbt combinepsbt combinerawtransaction converttopsbt createpsbt createrawtransaction decodepsbt decoderawtransaction decodescript finalizepsbt fundrawtransaction getrawtransaction joinpsbts sendrawtransaction signrawtransactionwithkey testmempoolaccept utxoupdatepsbt syscoin assetallocationverifyzdag assetinfo assettransactionnotarize convertaddress getnotarysighash listassets mnauth mnsync spork syscoincheckmint syscoinclearethheaders syscoindecoderawtransaction syscoingetspvproof syscoingettxroots syscoinsetethheaders syscoinsetethstatus syscoinstartgeth syscoinstopgeth syscoinwallet addressbalance assetallocationbalance assetallocationburn assetallocationmint assetallocationsend assetallocationsendmany assetnew assetnewtest assetsend assetsendmany assettransfer assetupdate convertaddresswallet getauxblock listunspentasset sendfrom signhash signmessagebech32 syscoinburntoassetallocation util createmultisig deriveaddresses estimatesmartfee getdescriptorinfo getindexinfo signmessagewithprivkey validateaddress verifymessage wallet abandontransaction abortrescan addmultisigaddress backupwallet bumpfee createwallet dumpprivkey dumpwallet encryptwallet getaddressesbylabel getaddressinfo getbalance getbalances getnewaddress getrawchangeaddress getreceivedbyaddress getreceivedbylabel gettransaction getunconfirmedbalance getwalletinfo importaddress importdescriptors importmulti importprivkey importprunedfunds importpubkey importwallet keypoolrefill listaddressgroupings listdescriptors listlabels listlockunspent listreceivedbyaddress listreceivedbylabel listsinceblock listtransactions listunspent listwalletdir listwallets loadwallet lockunspent psbtbumpfee removeprunedfunds rescanblockchain send sendmany sendtoaddress sethdseed setlabel settxfee setwalletflag signmessage signrawtransactionwithwallet unloadwallet upgradewallet walletcreatefundedpsbt walletlock walletpassphrase walletpassphrasechange walletprocesspsbt zmq getzmqnotifications fundrawtransaction "hexstring" ( options iswitness ) If the transaction has no inputs, they will be automatically selected to meet its out value. It will add at most one change output to the outputs. No existing outputs will be modified unless "subtractFeeFromOutputs" is specified. Note that inputs which were signed may need to be resigned after completion since in/outputs have been added. The inputs added will not be signed, use signrawtransactionwithkey or signrawtransactionwithwallet for that. Note that all existing inputs must have their previous output transaction be in the wallet. Note that all inputs selected must be of standard form and P2SH scripts must be in the wallet using importaddress or addmultisigaddress (to calculate fees). You can see whether this is the case by checking the "solvable" field in the listunspent output. Only pay-to-pubkey, multisig, and P2SH versions thereof are currently supported for watch-only Arguments: 1. hexstring (string, required) The hex string of the raw transaction 2. options (json object, optional) for backward compatibility: passing in a true instead of an object will result in {"includeWatching":true} { "add_inputs": bool, (boolean, optional, default=true) For a transaction with existing inputs, automatically include more if they are not enough. "include_unsafe": bool, (boolean, optional, default=false) Include inputs that are not safe to spend (unconfirmed transactions from outside keys and unconfirmed replacement transactions). Warning: the resulting transaction may become invalid if one of the unsafe inputs disappears. If that happens, you will need to fund the transaction with different inputs and republish it. "changeAddress": "str", (string, optional, default=pool address) The syscoin address to receive the change "changePosition": n, (numeric, optional, default=random) The index of the change output "change_type": "str", (string, optional, default=set by -changetype) The output type to use. Only valid if changeAddress is not specified. Options are "legacy", "p2sh-segwit", and "bech32". "includeWatching": bool, (boolean, optional, default=true for watch-only wallets, otherwise false) Also select inputs which are watch only. Only solvable inputs can be used. Watch-only destinations are solvable if the public key and/or output script was imported, e.g. with 'importpubkey' or 'importmulti' with the 'pubkeys' or 'desc' field. "lockUnspents": bool, (boolean, optional, default=false) Lock selected unspent outputs "fee_rate": amount, (numeric or string, optional, default=not set, fall back to wallet fee estimation) Specify a fee rate in sat/vB. "feeRate": amount, (numeric or string, optional, default=not set, fall back to wallet fee estimation) Specify a fee rate in SYS/kvB. "subtractFeeFromOutputs": [ (json array, optional, default=[]) The integers. The fee will be equally deducted from the amount of each specified output. Those recipients will receive less syscoins than you enter in their corresponding amount field. If no outputs are specified here, the sender pays the fee. vout_index, (numeric) The zero-based output index, before a change output is added. ... ], "replaceable": bool, (boolean, optional, default=wallet default) Marks this transaction as BIP125 replaceable. Allows this transaction to be replaced by a transaction with higher fees "conf_target": n, (numeric, optional, default=wallet -txconfirmtarget) Confirmation target in blocks "estimate_mode": "str", (string, optional, default="unset") The fee estimate mode, must be one of (case insensitive): "unset" "economical" "conservative" } 3. iswitness (boolean, optional, default=depends on heuristic tests) 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 deserialization will be tried. If false, only non-witness deserialization will be tried. This boolean should reflect whether the transaction has inputs (e.g. fully valid, or on-chain transactions), if known by the caller. Result: { (json object) "hex" : "hex", (string) The resulting raw transaction (hex-encoded string) "fee" : n, (numeric) Fee in SYS the resulting transaction pays "changepos" : n (numeric) The position of the added change output, or -1 } Examples: Create a transaction with no inputs > syscoin-cli createrawtransaction "[]" "{\"myaddress\":0.01}" Add sufficient unsigned inputs to meet the output value > syscoin-cli fundrawtransaction "rawtransactionhex" Sign the transaction > syscoin-cli signrawtransactionwithwallet "fundedtransactionhex" Send the transaction > syscoin-cli sendrawtransaction "signedtransactionhex"