fundrawtransaction - Spacecoin RPC Docs
fundrawtransaction "hexstring" Add inputs to a transaction until it has enough in value to meet its out value. This will not modify existing inputs, and will add one change output to the outputs. 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 signrawtransaction for that. Arguments: 1. "hexstring" (string, required) The hex string of the raw transaction Result: { "hex": "value", (string) The resulting raw transaction (hex-encoded string) "fee": n, (numeric) The fee added to the transaction "changepos": n (numeric) The position of the added change output, or -1 } "hex" Examples: Create a transaction with no inputs > spacecoin-cli createrawtransaction "[]" "{\"myaddress\":0.01}" Add sufficient unsigned inputs to meet the output value > spacecoin-cli fundrawtransaction "rawtransactionhex" Sign the transaction > spacecoin-cli signrawtransaction "fundedtransactionhex" Send the transaction > spacecoin-cli sendrawtransaction "signedtransactionhex"
Learn more about spacecoin at spacecoin.network. Docs generated by spacecoin v0.6.1. Find this github repo at spacecoinSPACE/spacecoin-rpc-docs.
CClib
Addressindex
Auction
Blockchain
coinsupply
getbestblockhash
getblock
getblockchaininfo
getblockcount
getblockhash
getblockhashes
getblockheader
getchaintips
getchaintxstats
getdifficulty
getlastsegidstakes
getmempoolinfo
getrawmempool
getspentinfo
gettxout
gettxoutproof
gettxoutsetinfo
kvsearch
kvupdate
minerids
notaries
verifychain
verifytxoutproof
getbestblockhash
getblock
getblockchaininfo
getblockcount
getblockhash
getblockhashes
getblockheader
getchaintips
getchaintxstats
getdifficulty
getlastsegidstakes
getmempoolinfo
getrawmempool
getspentinfo
gettxout
gettxoutproof
gettxoutsetinfo
kvsearch
kvupdate
minerids
notaries
verifychain
verifytxoutproof
Channels
Crosschain
MoMoMdata
assetchainproof
calc_MoM
getNotarisationsForBlock
getimports
getwalletburntransactions
height_MoM
importdual
importgatewaybind
importgatewaycompletesigning
importgatewayddress
importgatewaydeposit
importgatewaybind
importgatewaymarkdone
importgatewayspartialsign
importgatewaypendingwithdraws
importgatewayprocessed
importgatewaywithdraw
migrate_checkburntransactionsource
migrate_completeimporttransaction
migrate_converttoexport
migrate_createburntransaction
migrate_createimporttransaction
migrate_createnotaryapprovaltransaction
scanNotarisationsDB
selfimport
assetchainproof
calc_MoM
getNotarisationsForBlock
getimports
getwalletburntransactions
height_MoM
importdual
importgatewaybind
importgatewaycompletesigning
importgatewayddress
importgatewaydeposit
importgatewaybind
importgatewaymarkdone
importgatewayspartialsign
importgatewaypendingwithdraws
importgatewayprocessed
importgatewaywithdraw
migrate_checkburntransactionsource
migrate_completeimporttransaction
migrate_converttoexport
migrate_createburntransaction
migrate_createimporttransaction
migrate_createnotaryapprovaltransaction
scanNotarisationsDB
selfimport
Gateways
Generating
Lotto
Marmara
Mining
NSPV
Network
Oracles
Payments
Pegs
Prices
Rawtransactions
Rewards
Tokens
Util
Wallet
addmultisigaddress
backupwallet
cleanwallettransactions
convertpassphrase
dumpprivkey
dumpwallet
encryptwallet
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getnewaddress
getrawchangeaddress
getreceivedbyaccount
getreceivedbyaddress
gettransaction
getunconfirmedbalance
getwalletinfo
importaddress
importprivkey
importwallet
keypoolrefill
listaccounts
listaddressgroupings
listlockunspent
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
listtransactions
listunspent
lockunspent
move
opreturn_burn
resendwallettransactions
sendfrom
sendmany
sendtoaddress
setaccount
setpubkey
setstakingsplit
settxfee
signmessage
z_exportkey
z_exportviewingkey
z_exportwallet
z_getbalance
z_getnewaddress
z_getoperationresult
z_getoperationstatus
z_gettotalbalance
z_importkey
z_importviewingkey
z_importwallet
z_listaddresses
z_listoperationids
z_listreceivedbyaddress
z_listunspent
z_mergetoaddress
z_sendmany
z_shieldcoinbase
z_viewtransaction
zcbenchmark
zcrawjoinsplit
zcrawkeygen
zcrawreceive
zcsamplejoinsplit
backupwallet
cleanwallettransactions
convertpassphrase
dumpprivkey
dumpwallet
encryptwallet
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getnewaddress
getrawchangeaddress
getreceivedbyaccount
getreceivedbyaddress
gettransaction
getunconfirmedbalance
getwalletinfo
importaddress
importprivkey
importwallet
keypoolrefill
listaccounts
listaddressgroupings
listlockunspent
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
listtransactions
listunspent
lockunspent
move
opreturn_burn
resendwallettransactions
sendfrom
sendmany
sendtoaddress
setaccount
setpubkey
setstakingsplit
settxfee
signmessage
z_exportkey
z_exportviewingkey
z_exportwallet
z_getbalance
z_getnewaddress
z_getoperationresult
z_getoperationstatus
z_gettotalbalance
z_importkey
z_importviewingkey
z_importwallet
z_listaddresses
z_listoperationids
z_listreceivedbyaddress
z_listunspent
z_mergetoaddress
z_sendmany
z_shieldcoinbase
z_viewtransaction
zcbenchmark
zcrawjoinsplit
zcrawkeygen
zcrawreceive
zcsamplejoinsplit