assetallocationlock (4.1.2 RPC) blockchain getbestblockhash getblock getblockchaininfo getblockcount getblockfilter getblockhash getblockheader getblockstats getchaintips getchaintxstats getdifficulty getmempoolancestors getmempooldescendants getmempoolentry getmempoolinfo getrawmempool gettxout gettxoutproof gettxoutsetinfo preciousblock pruneblockchain savemempool scantxoutset verifychain verifytxoutproof control getmemoryinfo getrpcinfo help logging stop uptime generating generate generatetoaddress generatetodescriptor governance getgovernanceinfo getsuperblockbudget masternodelist mnsync sentinelping spork voteraw governancewallet gobject masternode masternodebroadcast mining createauxblock getauxblock 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 addressbalance assetallocationbalance assetallocationbalances assetallocationinfo assetallocationverifyzdag assetinfo convertaddress getblockhashbytxid listassetallocationmempoolbalances listassetallocations listassetindex listassetindexallocations listassetindexassets listassets syscoincheckmint syscoinclearethheaders syscoindecoderawtransaction syscoingetspvproof syscoingettxroot syscoinsetethheaders syscoinsetethstatus syscoinstartgeth syscoinstopgeth tpstestadd tpstestinfo tpstestsetenabled syscoinwallet assetallocationburn assetallocationlock assetallocationmint assetallocationsend assetallocationsendmany assetnew assetsend assetsendmany assettransfer assetupdate convertaddresswallet sendfrom syscoinburntoassetallocation util createmultisig deriveaddresses estimatesmartfee getdescriptorinfo 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 importmulti importprivkey importprunedfunds importpubkey importwallet keypoolrefill listaddressgroupings listlabels listlockunspent listreceivedbyaddress listreceivedbylabel listsinceblock listtransactions listunspent listwalletdir listwallets loadwallet lockunspent removeprunedfunds rescanblockchain sendmany sendtoaddress sethdseed setlabel settxfee setwalletflag signmessage signrawtransactionwithwallet unloadwallet walletcreatefundedpsbt walletlock walletpassphrase walletpassphrasechange walletprocesspsbt zmq getzmqnotifications assetallocationlock asset_guid "addressfrom" "txid" output_index ( "witness" ) Lock an asset allocation to a specific UTXO (txid/output). This is useful for things such as hashlock and CLTV type operations where script checks are done on UTXO prior to spending which extend to an assetallocationsend. Arguments: 1. asset_guid (numeric, required) Asset guid 2. addressfrom (string, required) Address that owns this asset allocation 3. txid (string, required) Transaction hash 4. output_index (numeric, required) Output index inside the transaction output array 5. witness (string, optional, default="") Witness address that will sign for web-of-trust notarization of this transaction Result: { "hex": "hexstring" (string) the unsigned transaction hexstring. } Examples: > syscoin-cli assetallocationlock "asset_guid" "addressfrom" "txid" "output_index" "" > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "assetallocationlock", "params": ["asset_guid","addressfrom","txid","output_index",""] }' -H 'content-type: text/plain;' http://127.0.0.1:8370/