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;IAC3B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,uBAAuB,EAAE,MAAM,CAAC;IAChC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,yBAAyB,EAAE,MAAM,CAAC;IAClC,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAED,OAAO,MAAM,SAAS,QAk+IrB,CAAC;ACzoJF,uBAAuB,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,YAWlC,MAAM,UAAU,GAAG,EAAE,kBA0DxD","sources":["docs.ts","index.ts"],"sourcesContent":["interface IMethods {\n abandontransaction: string;\n abortrescan: string;\n addmultisigaddress: string;\n addnode: string;\n addtagtoaddress: string;\n addwitnessaddress: string;\n backupwallet: string;\n bumpfee: string;\n cancelsnapshotrequest: string;\n checkaddressrestriction: string;\n checkaddresstag: string;\n checkglobalrestriction: string;\n clearbanned: string;\n clearmempool: string;\n clearmessages: string;\n combinerawtransaction: string;\n createmultisig: string;\n createrawtransaction: string;\n decodeblock: string;\n decoderawtransaction: string;\n decodescript: string;\n disconnectnode: string;\n distributereward: string;\n dumpprivkey: string;\n dumpwallet: string;\n encryptwallet: string;\n estimatefee: string;\n estimatesmartfee: string;\n freezeaddress: string;\n freezerestrictedasset: string;\n fundrawtransaction: string;\n generate: string;\n generatetoaddress: string;\n getaccount: string;\n getaccountaddress: string;\n getaddednodeinfo: string;\n getaddressbalance: string;\n getaddressdeltas: string;\n getaddressesbyaccount: string;\n getaddressmempool: string;\n getaddresstxids: string;\n getaddressutxos: string;\n getassetdata: string;\n getbalance: string;\n getbestblockhash: string;\n getblock: string;\n getblockchaininfo: string;\n getblockcount: string;\n getblockhash: string;\n getblockhashes: string;\n getblockheader: string;\n getblocktemplate: string;\n getcacheinfo: string;\n getchaintips: string;\n getchaintxstats: string;\n getconnectioncount: string;\n getdifficulty: string;\n getdistributestatus: string;\n getgenerate: string;\n getinfo: string;\n getkawpowhash: string;\n getmasterkeyinfo: string;\n getmemoryinfo: string;\n getmempoolancestors: string;\n getmempooldescendants: string;\n getmempoolentry: string;\n getmempoolinfo: string;\n getmininginfo: string;\n getmywords: string;\n getnettotals: string;\n getnetworkhashps: string;\n getnetworkinfo: string;\n getnewaddress: string;\n getpeerinfo: string;\n getrawchangeaddress: string;\n getrawmempool: string;\n getrawtransaction: string;\n getreceivedbyaccount: string;\n getreceivedbyaddress: string;\n getrpcinfo: string;\n getsnapshot: string;\n getsnapshotrequest: string;\n getspentinfo: string;\n gettransaction: string;\n gettxout: string;\n gettxoutproof: string;\n gettxoutsetinfo: string;\n getunconfirmedbalance: string;\n getverifierstring: string;\n getwalletinfo: string;\n help: string;\n importaddress: string;\n importmulti: string;\n importprivkey: string;\n importprunedfunds: string;\n importpubkey: string;\n importwallet: string;\n issue: string;\n issuequalifierasset: string;\n issuerestrictedasset: string;\n issueunique: string;\n isvalidverifierstring: string;\n keypoolrefill: string;\n listaccounts: string;\n listaddressesbyasset: string;\n listaddressesfortag: string;\n listaddressgroupings: string;\n listaddressrestrictions: string;\n listassetbalancesbyaddress: string;\n listassets: string;\n listbanned: string;\n listglobalrestrictions: string;\n listlockunspent: string;\n listmyassets: string;\n listreceivedbyaccount: string;\n listreceivedbyaddress: string;\n listsinceblock: string;\n listsnapshotrequests: string;\n listtagsforaddress: string;\n listtransactions: string;\n listunspent: string;\n listwallets: string;\n lockunspent: string;\n move: string;\n ping: string;\n pprpcsb: string;\n preciousblock: string;\n prioritisetransaction: string;\n pruneblockchain: string;\n purgesnapshot: string;\n reissue: string;\n reissuerestrictedasset: string;\n removeprunedfunds: string;\n removetagfromaddress: string;\n requestsnapshot: string;\n rescanblockchain: string;\n savemempool: string;\n sendfrom: string;\n sendfromaddress: string;\n sendmany: string;\n sendmessage: string;\n sendrawtransaction: string;\n sendtoaddress: string;\n setaccount: string;\n setban: string;\n setgenerate: string;\n setnetworkactive: string;\n settxfee: string;\n signmessage: string;\n signmessagewithprivkey: string;\n signrawtransaction: string;\n stop: string;\n submitblock: string;\n subscribetochannel: string;\n testmempoolaccept: string;\n transfer: string;\n transferfromaddress: string;\n transferfromaddresses: string;\n transferqualifier: string;\n unfreezeaddress: string;\n unfreezerestrictedasset: string;\n unsubscribefromchannel: string;\n uptime: string;\n validateaddress: string;\n verifychain: string;\n verifymessage: string;\n verifytxoutproof: string;\n viewallmessagechannels: string;\n viewallmessages: string;\n viewmyrestrictedaddresses: string;\n viewmytaggedaddresses: string;\n}\n\nexport const methods: IMethods = {\n /** abandontransaction \"txid\"\n\nMark in-wallet transaction <txid> as abandoned\nThis will mark this transaction and all its in-wallet descendants as abandoned which will allow\nfor their inputs to be respent. It can be used to replace \"stuck\" or evicted transactions.\nIt only works on transactions which are not included in a block and are not currently in the mempool.\nIt has no effect on transactions which are already conflicted or abandoned.\n\nArguments:\n1. \"txid\" (string, required) The transaction id\n\nResult:\n\nExamples:\n> raven-cli abandontransaction \"1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"abandontransaction\", \"params\": [\"1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n abandontransaction: \"abandontransaction\",\n\n /** abortrescan\n\nStops current wallet rescan triggered e.g. by an importprivkey call.\n\nExamples:\n\nImport a private key\n> raven-cli importprivkey \"mykey\"\n\nAbort the running wallet rescan\n> raven-cli abortrescan \n\nAs a JSON-RPC call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"abortrescan\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n abortrescan: \"abortrescan\",\n\n /** addmultisigaddress nrequired [\"key\",...] ( \"account\" )\n\nAdd a nrequired-to-sign multisignature address to the wallet.\nEach key is a Raven address or hex-encoded public key.\nIf 'account' is specified (DEPRECATED), assign address to that account.\n\nArguments:\n1. nrequired (numeric, required) The number of required signatures out of the n keys or addresses.\n2. \"keys\" (string, required) A json array of raven addresses or hex-encoded public keys\n [\n \"address\" (string) raven address or hex-encoded public key\n ...,\n ]\n3. \"account\" (string, optional) DEPRECATED. An account to assign the addresses to.\n\nResult:\n\"address\" (string) A raven address associated with the keys.\n\nExamples:\n\nAdd a multisig address from 2 addresses\n> raven-cli addmultisigaddress 2 \"[\\\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\\\",\\\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\\\"]\"\n\nAs json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"addmultisigaddress\", \"params\": [2, \"[\\\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\\\",\\\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\\\"]\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n addmultisigaddress: \"addmultisigaddress\",\n\n /** addnode \"node\" \"add|remove|onetry\"\n\nAttempts to add or remove a node from the addnode list.\nOr try a connection to a node once.\nNodes added using addnode (or -connect) are protected from DoS disconnection and are not required to be\nfull nodes/support SegWit as other outbound peers are (though such peers will not be synced from).\n\nArguments:\n1. \"node\" (string, required) The node (see getpeerinfo for nodes)\n2. \"command\" (string, required) 'add' to add a node to the list, 'remove' to remove a node from the list, 'onetry' to try a connection to the node once\n\nExamples:\n> raven-cli addnode \"192.168.0.6:8767\" \"onetry\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"addnode\", \"params\": [\"192.168.0.6:8767\", \"onetry\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n addnode: \"addnode\",\n\n /** addtagtoaddress tag_name to_address (change_address) (asset_data)\n\nAssign a tag to a address\n\nArguments:\n1. \"tag_name\" (string, required) the name of the tag you are assigning to the address, if it doens't have '#' at the front it will be added\n2. \"to_address\" (string, required) the address that will be assigned the tag\n3. \"change_address\" (string, optional) The change address for the qualifier token to be sent to\n4. \"asset_data\" (string, optional) The asset data (ipfs or a hash) to be applied to the transfer of the qualifier token\n\nResult:\n\"txid\" (string) The transaction id\n\nExamples:\n> raven-cli addtagtoaddress \"#TAG\" \"to_address\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"addtagtoaddress\", \"params\": [\"#TAG\" \"to_address\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n> raven-cli addtagtoaddress \"#TAG\" \"to_address\" \"change_address\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"addtagtoaddress\", \"params\": [\"#TAG\" \"to_address\" \"change_address\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n addtagtoaddress: \"addtagtoaddress\",\n\n /** addwitnessaddress \"address\"\n\nAdd a witness address for a script (with pubkey or redeemscript known).\nIt returns the witness script.\n\nArguments:\n1. \"address\" (string, required) An address known to the wallet\n\nResult:\n\"witnessaddress\", (string) The value of the new address (P2SH of witness script).\n}\n**/\n addwitnessaddress: \"addwitnessaddress\",\n\n /** backupwallet \"destination\"\n\nSafely copies current wallet file to destination, which can be a directory or a path with filename.\n\nArguments:\n1. \"destination\" (string) The destination directory or file\n\nExamples:\n> raven-cli backupwallet \"backup.dat\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"backupwallet\", \"params\": [\"backup.dat\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n backupwallet: \"backupwallet\",\n\n /** bumpfee has been deprecated on the RVN Wallet.**/\n bumpfee: \"bumpfee\",\n\n /** cancelsnapshotrequest \"asset_name\" block_height\n\nCancels the specified snapshot request.\n\nArguments:\n1. \"asset_name\" (string, required) The asset name for which the snapshot will be taken\n2. \"block_height\" (number, required) The block height at which the snapshot will be take\n\nResult:\n{\n request_status: (string),\n}\n\nExamples:\n> raven-cli cancelsnapshotrequest \"TRONCO\" 12345\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"cancelsnapshotrequest\", \"params\": [\"PHATSTACKS\" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n cancelsnapshotrequest: \"cancelsnapshotrequest\",\n\n /** checkaddressrestriction address restricted_name\n\nChecks to see if an address has been frozen by the given restricted asset\n\nArguments:\n1. \"address\" (string, required) the RVN address to search\n1. \"restricted_name\" (string, required) the restricted asset to search\n\nResult:\n\"true/false\", (boolean) If the address is frozen\n\nExamples:\n> raven-cli checkaddressrestriction \"address\" \"restricted_name\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"checkaddressrestriction\", \"params\": [\"address\" \"restricted_name\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n checkaddressrestriction: \"checkaddressrestriction\",\n\n /** checkaddresstag address tag_name\n\nChecks to see if an address has the given tag\n\nArguments:\n1. \"address\" (string, required) the RVN address to search\n1. \"tag_name\" (string, required) the tag to search\n\nResult:\n\"true/false\", (boolean) If the address has the tag\n\nExamples:\n> raven-cli checkaddresstag \"address\" \"tag_name\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"checkaddresstag\", \"params\": [\"address\" \"tag_name\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n checkaddresstag: \"checkaddresstag\",\n\n /** checkglobalrestriction restricted_name\n\nChecks to see if a restricted asset is globally frozen\n\nArguments:\n1. \"restricted_name\" (string, required) the restricted asset to search\n\nResult:\n\"true/false\", (boolean) If the restricted asset is frozen globally\n\nExamples:\n> raven-cli checkglobalrestriction \"restricted_name\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"checkglobalrestriction\", \"params\": [\"restricted_name\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n checkglobalrestriction: \"checkglobalrestriction\",\n\n /** clearbanned\n\nClear all banned IPs.\n\nExamples:\n> raven-cli clearbanned \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"clearbanned\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n clearbanned: \"clearbanned\",\n\n /** clearmempool\n\nRemoves all transaction from the mempool\n\nExamples:\n> raven-cli clearmempool \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"clearmempool\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n clearmempool: \"clearmempool\",\n\n /** clearmessages \n\nDelete current database of messages\n\nResult:[\n\n]\n\nExamples:\n> raven-cli clearmessages \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"clearmessages\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n clearmessages: \"clearmessages\",\n\n /** combinerawtransaction [\"hexstring\",...]\n\nCombine multiple partially signed transactions into one transaction.\nThe combined transaction may be another partially signed transaction or a \nfully signed transaction.\nArguments:\n1. \"txs\" (string) A json array of hex strings of partially signed transactions\n [\n \"hexstring\" (string) A transaction hash\n ,...\n ]\n\nResult:\n\"hex\" (string) The hex-encoded raw transaction with signature(s)\n\nExamples:\n> raven-cli combinerawtransaction [\"myhex1\", \"myhex2\", \"myhex3\"]\n**/\n combinerawtransaction: \"combinerawtransaction\",\n\n /** createmultisig nrequired [\"key\",...]\n\nCreates a multi-signature address with n signature of m keys required.\nIt returns a json object with the address and redeemScript.\n\nArguments:\n1. nrequired (numeric, required) The number of required signatures out of the n keys or addresses.\n2. \"keys\" (string, required) A json array of keys which are raven addresses or hex-encoded public keys\n [\n \"key\" (string) raven address or hex-encoded public key\n ,...\n ]\n\nResult:\n{\n \"address\":\"multisigaddress\", (string) The value of the new multisig address.\n \"redeemScript\":\"script\" (string) The string value of the hex-encoded redemption script.\n}\n\nExamples:\n\nCreate a multisig address from 2 addresses\n> raven-cli createmultisig 2 \"[\\\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\\\",\\\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\\\"]\"\n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"createmultisig\", \"params\": [2, \"[\\\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\\\",\\\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\\\"]\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n createmultisig: \"createmultisig\",\n\n /** createrawtransaction [{\"txid\":\"id\",\"vout\":n},...] {\"address\":(amount or object),\"data\":\"hex\",...}\n ( locktime ) ( replaceable )\n\nCreate a transaction spending the given inputs and creating new outputs.\nOutputs are addresses (paired with a RVN amount, data or object specifying an asset operation) or data.\nReturns hex-encoded raw transaction.\nNote that the transaction's inputs are not signed, and\nit is not stored in the wallet or transmitted to the network.\n\nPaying for Asset Operations:\n Some operations require an amount of RVN to be sent to a burn address:\n\n Operation Amount + Burn Address\n transfer 0\n transferwithmessage 0\n issue 500 to RXissueAssetXXXXXXXXXXXXXXXXXhhZGt\n issue (subasset) 100 to RXissueSubAssetXXXXXXXXXXXXXWcwhwL\n issue_unique 5 to RXissueUniqueAssetXXXXXXXXXXWEAe58\n reissue 100 to RXReissueAssetXXXXXXXXXXXXXXVEFAWu\n issue_restricted 1500 to RXissueRestrictedXXXXXXXXXXXXzJZ1q\n reissue_restricted 100 to RXReissueAssetXXXXXXXXXXXXXXVEFAWu\n issue_qualifier 1000 to RXissueQuaLifierXXXXXXXXXXXXUgEDbC\n issue_qualifier (sub) 100 to RXissueSubQuaLifierXXXXXXXXXVTzvv5\n tag_addresses 0.1 to RXaddTagBurnXXXXXXXXXXXXXXXXZQm5ya (per address)\n untag_addresses 0.1 to RXaddTagBurnXXXXXXXXXXXXXXXXZQm5ya (per address)\n freeze_addresses 0\n unfreeze_addresses 0\n freeze_asset 0\n unfreeze_asset 0\n\nAssets For Authorization:\n These operations require a specific asset input for authorization:\n Root Owner Token:\n reissue\n issue_unique\n issue_restricted\n reissue_restricted\n freeze_addresses\n unfreeze_addresses\n freeze_asset\n unfreeze_asset\n Root Qualifier Token:\n issue_qualifier (when issuing subqualifier)\n Qualifier Token:\n tag_addresses\n untag_addresses\n\nOutput Ordering:\n Asset operations require the following:\n 1) All coin outputs come first (including the burn output).\n 2) The owner token change output comes next (if required).\n 3) An issue, reissue, or any number of transfers comes last\n (different types can't be mixed in a single transaction).\n\nArguments:\n1. \"inputs\" (array, required) A json array of json objects\n [\n {\n \"txid\":\"id\", (string, required) The transaction id\n \"vout\":n, (number, required) The output number\n \"sequence\":n (number, optional) The sequence number\n } \n ,...\n ]\n2. \"outputs\" (object, required) a json object with outputs\n {\n \"address\": (string, required) The destination raven address.\n Each output must have a different address.\n x.xxx (number or string, required) The RVN amount\n or\n { (object) A json object of assets to send\n \"transfer\":\n {\n \"asset-name\": (string, required) asset name\n asset-quantity (number, required) the number of raw units to transfer\n ,...\n }\n }\n or\n { (object) A json object of describing the transfer and message contents to send\n \"transferwithmessage\":\n {\n \"asset-name\": (string, required) asset name\n asset-quantity, (number, required) the number of raw units to transfer\n \"message\":\"hash\", (string, required) ipfs hash or a txid hash\n \"expire_time\": n (number, required) utc time in seconds to expire the message\n }\n }\n or\n { (object) A json object describing new assets to issue\n \"issue\":\n {\n \"asset_name\":\"asset-name\", (string, required) new asset name\n \"asset_quantity\":n, (number, required) the number of raw units to issue\n \"units\":[1-8], (number, required) display units, between 1 (integral) to 8 (max precision)\n \"reissuable\":[0-1], (number, required) 1=reissuable asset\n \"has_ipfs\":[0-1], (number, required) 1=passing ipfs_hash\n \"ipfs_hash\":\"hash\" (string, optional) an ipfs hash for discovering asset metadata\n }\n }\n or\n { (object) A json object describing new unique assets to issue\n \"issue_unique\":\n {\n \"root_name\":\"root-name\", (string, required) name of the asset the unique asset(s) \n are being issued under\n \"asset_tags\":[\"asset_tag\", ...], (array, required) the unique tag for each asset which is to be issued\n \"ipfs_hashes\":[\"hash\", ...], (array, optional) ipfs hashes corresponding to each supplied tag \n (should be same size as \"asset_tags\")\n }\n }\n or\n { (object) A json object describing follow-on asset issue.\n \"reissue\":\n {\n \"asset_name\":\"asset-name\", (string, required) name of asset to be reissued\n \"asset_quantity\":n, (number, required) the number of raw units to issue\n \"reissuable\":[0-1], (number, optional) default is 1, 1=reissuable asset\n \"ipfs_hash\":\"hash\", (string, optional) An ipfs hash for discovering asset metadata, \n Overrides the current ipfs hash if given\n \"owner_change_address\" (string, optional) the address where the owner token will be sent to. \n If not given, it will be sent to the output address\n }\n }\n or\n { (object) A json object describing how restricted asset to issue\n \"issue_restricted\":\n {\n \"asset_name\":\"asset-name\",(string, required) new asset name\n \"asset_quantity\":n, (number, required) the number of raw units to issue\n \"verifier_string\":\"text\", (string, required) the verifier string to be used for a restricted \n asset transfer verification\n \"units\":[0-8], (number, required) display units, between 0 (integral) and 8 (max precision)\n \"reissuable\":[0-1], (number, required) 1=reissuable asset\n \"has_ipfs\":[0-1], (number, required) 1=passing ipfs_hash\n \"ipfs_hash\":\"hash\", (string, optional) an ipfs hash for discovering asset metadata\n \"owner_change_address\" (string, optional) the address where the owner token will be sent to. \n If not given, it will be sent to the output address\n }\n }\n or\n { (object) A json object describing follow-on asset issue.\n \"reissue_restricted\":\n {\n \"asset_name\":\"asset-name\", (string, required) name of asset to be reissued\n \"asset_quantity\":n, (number, required) the number of raw units to issue\n \"reissuable\":[0-1], (number, optional) default is 1, 1=reissuable asset\n \"verifier_string\":\"text\", (string, optional) the verifier string to be used for a restricted asset \n transfer verification\n \"ipfs_hash\":\"hash\", (string, optional) An ipfs hash for discovering asset metadata, \n Overrides the current ipfs hash if given\n \"owner_change_address\" (string, optional) the address where the owner token will be sent to. \n If not given, it will be sent to the output address\n }\n }\n or\n { (object) A json object describing a new qualifier to issue.\n \"issue_qualifier\":\n {\n \"asset_name\":\"asset_name\", (string, required) a qualifier name (starts with '#')\n \"asset_quantity\":n, (numeric, optional, default=1) the number of units to be issued (1 to 10)\n \"has_ipfs\":[0-1], (boolean, optional, default=false), whether ifps hash is going \n to be added to the asset\n \"ipfs_hash\":\"hash\", (string, optional but required if has_ipfs = 1), an ipfs hash or a \n txid hash once RIP5 is activated\n \"root_change_address\" (string, optional) Only applies when issuing subqualifiers.\n The address where the root qualifier will be sent.\n If not specified, it will be sent to the output address.\n \"change_quantity\":\"qty\" (numeric, optional) the asset change amount (defaults to 1)\n }\n }\n or\n { (object) A json object describing addresses to be tagged.\n The address in the key will used as the asset change address.\n \"tag_addresses\":\n {\n \"qualifier\":\"qualifier\", (string, required) a qualifier name (starts with '#')\n \"addresses\":[\"addr\", ...], (array, required) the addresses to be tagged (up to 10)\n \"change_quantity\":\"qty\", (numeric, optional) the asset change amount (defaults to 1)\n }\n }\n or\n { (object) A json object describing addresses to be untagged.\n The address in the key will be used as the asset change address.\n \"untag_addresses\":\n {\n \"qualifier\":\"qualifier\", (string, required) a qualifier name (starts with '#')\n \"addresses\":[\"addr\", ...], (array, required) the addresses to be untagged (up to 10)\n \"change_quantity\":\"qty\", (numeric, optional) the asset change amount (defaults to 1)\n }\n }\n or\n { (object) A json object describing addresses to be frozen.\n The address in the key will used as the owner change address.\n \"freeze_addresses\":\n {\n \"asset_name\":\"asset_name\", (string, required) a restricted asset name (starts with '$')\n \"addresses\":[\"addr\", ...], (array, required) the addresses to be frozen (up to 10)\n }\n }\n or\n { (object) A json object describing addresses to be frozen.\n The address in the key will be used as the owner change address.\n \"unfreeze_addresses\":\n {\n \"asset_name\":\"asset_name\", (string, required) a restricted asset name (starts with '$')\n \"addresses\":[\"addr\", ...], (array, required) the addresses to be untagged (up to 10)\n }\n }\n or\n { (object) A json object describing an asset to be frozen.\n The address in the key will used as the owner change address.\n \"freeze_asset\":\n {\n \"asset_name\":\"asset_name\", (string, required) a restricted asset name (starts with '$')\n }\n }\n or\n { (object) A json object describing an asset to be frozen.\n The address in the key will be used as the owner change address.\n \"unfreeze_asset\":\n {\n \"asset_name\":\"asset_name\", (string, required) a restricted asset name (starts with '$')\n }\n }\n or\n \"data\": \"hex\" (string, required) The key is \"data\", the value is hex encoded data\n ,...\n }\n3. locktime (numeric, optional, default=0) Raw locktime. Non-0 value also locktime-activates inputs\n\nResult:\n\"transaction\" (string) hex string of the transaction\n\nExamples:\n> raven-cli createrawtransaction \"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0}]\" \"{\\\"address\\\":0.01}\"\n> raven-cli createrawtransaction \"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0}]\" \"{\\\"data\\\":\\\"00010203\\\"}\"\n> raven-cli createrawtransaction \"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0}]\" \"{\\\"RXissueAssetXXXXXXXXXXXXXXXXXhhZGt\\\":500,\\\"change_address\\\":change_amount,\\\"issuer_address\\\":{\\\"issue\\\":{\\\"asset_name\\\":\\\"MYASSET\\\",\\\"asset_quantity\\\":1000000,\\\"units\\\":1,\\\"reissuable\\\":0,\\\"has_ipfs\\\":1,\\\"ipfs_hash\\\":\\\"43f81c6f2c0593bde5a85e09ae662816eca80797\\\"}}}\"\n> raven-cli createrawtransaction \"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0}]\" \"{\\\"RXissueRestrictedXXXXXXXXXXXXzJZ1q\\\":1500,\\\"change_address\\\":change_amount,\\\"issuer_address\\\":{\\\"issue_restricted\\\":{\\\"asset_name\\\":\\\"$MYASSET\\\",\\\"asset_quantity\\\":1000000,\\\"verifier_string\\\":\\\"#TAG & !KYC\\\",\\\"units\\\":1,\\\"reissuable\\\":0,\\\"has_ipfs\\\":1,\\\"ipfs_hash\\\":\\\"43f81c6f2c0593bde5a85e09ae662816eca80797\\\"}}}\"\n> raven-cli createrawtransaction \"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0}]\" \"{\\\"RXissueUniqueAssetXXXXXXXXXXWEAe58\\\":20,\\\"change_address\\\":change_amount,\\\"issuer_address\\\":{\\\"issue_unique\\\":{\\\"root_name\\\":\\\"MYASSET\\\",\\\"asset_tags\\\":[\\\"ALPHA\\\",\\\"BETA\\\"],\\\"ipfs_hashes\\\":[\\\"43f81c6f2c0593bde5a85e09ae662816eca80797\\\",\\\"43f81c6f2c0593bde5a85e09ae662816eca80797\\\"]}}}\"\n> raven-cli createrawtransaction \"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0},{\\\"txid\\\":\\\"myasset\\\",\\\"vout\\\":0}]\" \"{\\\"address\\\":{\\\"transfer\\\":{\\\"MYASSET\\\":50}}}\"\n> raven-cli createrawtransaction \"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0},{\\\"txid\\\":\\\"myasset\\\",\\\"vout\\\":0}]\" \"{\\\"address\\\":{\\\"transferwithmessage\\\":{\\\"MYASSET\\\":50,\\\"message\\\":\\\"hash\\\",\\\"expire_time\\\": utc_time}}}\"\n> raven-cli createrawtransaction \"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0},{\\\"txid\\\":\\\"myownership\\\",\\\"vout\\\":0}]\" \"{\\\"issuer_address\\\":{\\\"reissue\\\":{\\\"asset_name\\\":\\\"MYASSET\\\",\\\"asset_quantity\\\":2000000}}}\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"createrawtransaction\", \"params\": [\"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0}]\", \"{\\\"data\\\":\\\"00010203\\\"}\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n createrawtransaction: \"createrawtransaction\",\n\n /** decodeblock \"blockhex\"\n\nArguments:\n1. \"blockhex\" (string, required) The block hex\n\nResult:\n{\n \"hash\" : \"hash\", (string) the block hash (same as provided)\n \"size\" : n, (numeric) The block size\n \"strippedsize\" : n, (numeric) The block size excluding witness data\n \"weight\" : n (numeric) The block weight as defined in BIP 141\n \"height\" : n, (numeric) The block height or index\n \"version\" : n, (numeric) The block version\n \"versionHex\" : \"00000000\", (string) The block version formatted in hexadecimal\n \"merkleroot\" : \"xxxx\", (string) The merkle root\n \"tx\" : [ (array of string) The transaction ids\n \"transactionid\" (string) The transaction id\n ,...\n ],\n \"time\" : ttt, (numeric) The block time in seconds since epoch (Jan 1 1970 GMT)\n \"nonce\" : n, (numeric) The nonce\n \"bits\" : \"1d00ffff\", (string) The bits\n}\n\nExamples:\n> raven-cli decodeblock \"xxxx\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"decodeblock\", \"params\": [\"xxxx\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n decodeblock: \"decodeblock\",\n\n /** decoderawtransaction \"hexstring\"\n\nReturn a JSON object representing the serialized, hex-encoded transaction.\n\nArguments:\n1. \"hexstring\" (string, required) The transaction hex string\n\nResult:\n{\n \"txid\" : \"id\", (string) The transaction id\n \"hash\" : \"id\", (string) The transaction hash (differs from txid for witness transactions)\n \"size\" : n, (numeric) The transaction size\n \"vsize\" : n, (numeric) The virtual transaction size (differs from size for witness transactions)\n \"version\" : n, (numeric) The version\n \"locktime\" : ttt, (numeric) The lock time\n \"vin\" : [ (array of json objects)\n {\n \"txid\": \"id\", (string) The transaction id\n \"vout\": n, (numeric) The output number\n \"scriptSig\": { (json object) The script\n \"asm\": \"asm\", (string) asm\n \"hex\": \"hex\" (string) hex\n },\n \"txinwitness\": [\"hex\", ...] (array of string) hex-encoded witness data (if any)\n \"sequence\": n (numeric) The script sequence number\n }\n ,...\n ],\n \"vout\" : [ (array of json objects)\n {\n \"value\" : x.xxx, (numeric) The value in RVN\n \"n\" : n, (numeric) index\n \"scriptPubKey\" : { (json object)\n \"asm\" : \"asm\", (string) the asm\n \"hex\" : \"hex\", (string) the hex\n \"reqSigs\" : n, (numeric) The required sigs\n \"type\" : \"pubkeyhash\", (string) The type, eg 'pubkeyhash'\n \"asset\" : { (json object) optional\n \"name\" : \"name\", (string) the asset name\n \"amount\" : n, (numeric) the amount of asset that was sent\n \"message\" : \"message\", (string optional) the message if one was sent\n \"expire_time\" : n, (numeric optional) the message epoch expiration time if one was set\n \"addresses\" : [ (json array of string)\n \"12tvKAXCxZjSmdNbao16dKXC8tRWfcF5oc\" (string) raven address\n ,...\n ]\n }\n }\n ,...\n ],\n}\n\nExamples:\n> raven-cli decoderawtransaction \"hexstring\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"decoderawtransaction\", \"params\": [\"hexstring\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n decoderawtransaction: \"decoderawtransaction\",\n\n /** decodescript \"hexstring\"\n\nDecode a hex-encoded script.\n\nArguments:\n1. \"hexstring\" (string) the hex encoded script\n\nResult:\n{\n \"asm\":\"asm\", (string) Script public key\n \"hex\":\"hex\", (string) hex encoded public key\n \"type\":\"type\", (string) The output type\n \"asset\" : { (json object) optional\n \"name\" : \"name\", (string) the asset name\n \"amount\" : n, (numeric) the amount of asset that was sent\n \"message\" : \"message\", (string optional) the message if one was sent\n \"expire_time\" : n, (numeric optional ) the message epoch expiration time if one was set\n \"reqSigs\": n, (numeric) The required signatures\n \"addresses\": [ (json array of string)\n \"address\" (string) raven address\n ,...\n ],\n \"p2sh\":\"address\", (string) address of P2SH script wrapping this redeem script (not returned if the script is already a P2SH).\n \"(The following only appears if the script is an asset script)\n \"asset_name\":\"name\", (string) Name of the asset.\n \"amount\":\"x.xx\", (numeric) The amount of assets interacted with.\n \"units\": n, (numeric) The units of the asset. (Only appears in the type (new_asset))\n \"reissuable\": true|false, (boolean) If this asset is reissuable. (Only appears in type (new_asset|reissue_asset))\n \"hasIPFS\": true|false, (boolean) If this asset has an IPFS hash. (Only appears in type (new_asset if hasIPFS is true))\n \"ipfs_hash\": \"hash\", (string) The ipfs hash for the new asset. (Only appears in type (new_asset))\n \"new_ipfs_hash\":\"hash\", (string) If new ipfs hash (Only appears in type. (reissue_asset))\n}\n\nExamples:\n> raven-cli decodescript \"hexstring\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"decodescript\", \"params\": [\"hexstring\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n decodescript: \"decodescript\",\n\n /** disconnectnode \"[address]\" [nodeid]\n\nImmediately disconnects from the specified peer node.\n\nStrictly one out of 'address' and 'nodeid' can be provided to identify the node.\n\nTo disconnect by nodeid, either set 'address' to the empty string, or call using the named 'nodeid' argument only.\n\nArguments:\n1. \"address\" (string, optional) The IP address/port of the node\n2. \"nodeid\" (number, optional) The node ID (see getpeerinfo for node IDs)\n\nExamples:\n> raven-cli disconnectnode \"192.168.0.6:8767\"\n> raven-cli disconnectnode \"\" 1\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"disconnectnode\", \"params\": [\"192.168.0.6:8767\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"disconnectnode\", \"params\": [\"\", 1] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n disconnectnode: \"disconnectnode\",\n\n /** distributereward \"asset_name\" snapshot_height \"distribution_asset_name\" gross_distribution_amount ( \"exception_addresses\" ) (\"change_address\") (\"dry_run\")\n\nSplits the specified amount of the distribution asset to all owners of asset_name that are not in the optional exclusion_addresses\n\nArguments:\n1. \"asset_name\" (string, required) The reward will be distributed all owners of this asset\n2. \"snapshot_height\" (number, required) The block height of the ownership snapshot\n3. \"distribution_asset_name\" (string, required) The name of the asset that will be distributed, or RVN\n4. \"gross_distribution_amount\" (number, required) The amount of the distribution asset that will be split amongst all owners\n5. \"exception_addresses\" (string, optional) Ownership addresses that should be excluded\n6. \"change_address\" (string, optional) If the rewards can't be fully distributed. The change will be sent to this address\n\nResult:\n{\n error_txn_gen_failed: (string),\n error_nsf: (string),\n error_rejects: (string),\n error_db_update: (string),\n batch_results: [\n {\n transaction_id: (string),\n error_txn_rejected: (string),\n total_amount: (number),\n fee: (number),\n expected_count: (number),\n actual_count: (number),\n }\n ]\n}\n\nExamples:\n> raven-cli distributereward \"TRONCO\" 12345 \"RVN\" 1000\n> raven-cli distributereward \"PHATSTACKS\" 12345 \"DIVIDENDS\" 1000 \"mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"distributereward\", \"params\": [\"TRONCO\" 34987 \"DIVIDENDS\" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"distributereward\", \"params\": [\"PHATSTACKS\" 34987 \"RVN\" 100000 \"mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n distributereward: \"distributereward\",\n\n /** dumpprivkey \"address\"\n\nReveals the private key corresponding to 'address'.\nThen the importprivkey can be used with this output\n\nArguments:\n1. \"address\" (string, required) The raven address for the private key\n\nResult:\n\"key\" (string) The private key\n\nExamples:\n> raven-cli dumpprivkey \"myaddress\"\n> raven-cli importprivkey \"mykey\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"dumpprivkey\", \"params\": [\"myaddress\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n dumpprivkey: \"dumpprivkey\",\n\n /** dumpwallet \"filename\"\n\nDumps all wallet keys in a human-readable format to a server-side file. This does not allow overwriting existing files.\n\nArguments:\n1. \"filename\" (string, required) The filename with path (either absolute or relative to ravend)\n\nResult:\n{ (json object)\n \"filename\" : { (string) The filename with full absolute path\n}\n\nExamples:\n> raven-cli dumpwallet \"test\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"dumpwallet\", \"params\": [\"test\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n dumpwallet: \"dumpwallet\",\n\n /** encryptwallet \"passphrase\"\n\nEncrypts the wallet with 'passphrase'. This is for first time encryption.\nAfter this, any calls that interact with private keys such as sending or signing \nwill require the passphrase to be set prior the making these calls.\nUse the walletpassphrase call for this, and then walletlock call.\nIf the wallet is already encrypted, use the walletpassphrasechange call.\nNote that this will shutdown the server.\n\nArguments:\n1. \"passphrase\" (string) The pass phrase to encrypt the wallet with. It must be at least 1 character, but should be long.\n\nExamples:\n\nEncrypt your wallet\n> raven-cli encryptwallet \"my pass phrase\"\n\nNow set the passphrase to use the wallet, such as for signing or sending raven\n> raven-cli walletpassphrase \"my pass phrase\"\n\nNow we can do something like sign\n> raven-cli signmessage \"address\" \"test message\"\n\nNow lock the wallet again by removing the passphrase\n> raven-cli walletlock \n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"encryptwallet\", \"params\": [\"my pass phrase\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n**/\n encryptwallet: \"encryptwallet\",\n\n /** estimatefee nblocks\n\nDEPRECATED. Please use estimatesmartfee for more intelligent estimates.\nEstimates the approximate fee per kilobyte needed for a transaction to begin\nconfirmation within nblocks blocks. Uses virtual transaction size of transaction\nas defined in BIP 141 (witness data is discounted).\n\nArguments:\n1. nblocks (numeric, required)\n\nResult:\nn (numeric) estimated fee-per-kilobyte\n\nA negative value is returned if not enough transactions and blocks\nhave been observed to make an estimate.\n-1 is always returned for nblocks == 1 as it is impossible to calculate\na fee that is high enough to get reliably included in the next block.\n\nExample:\n> raven-cli estimatefee 6\n**/\n estimatefee: \"estimatefee\",\n\n /** estimatesmartfee conf_target (\"estimate_mode\")\n\nEstimates the approximate fee per kilobyte needed for a transaction to begin\nconfirmation within conf_target blocks if possible and return the number of blocks\nfor which the estimate is valid. Uses virtual transaction size as defined\nin BIP 141 (witness data is discounted).\n\nArguments:\n1. conf_target (numeric) Confirmation target in blocks (1 - 1008)\n2. \"estimate_mode\" (string, optional, default=CONSERVATIVE) The fee estimate mode.\n