{ "getaddressbalance": "getaddressbalance\n\nReturns the balance for an address(es) (requires addressindex to be enabled).\n\nArguments:\n{\n \"addresses:\"\n [\n \"address\" (string) The base58check encoded address\n ,...\n ]\n},\n\"includeAssets\" (boolean, optional, default false) If true this will return an expanded result which includes asset balances\n\n\nResult:\n{\n \"balance\" (string) The current balance in satoshis\n \"received\" (string) The total number of satoshis received (including change)\n}\nOR\n[\n {\n \"assetName\" (string) The asset associated with the balance (RVN for Ravencoin)\n \"balance\" (string) The current balance in satoshis\n \"received\" (string) The total number of satoshis received (including change)\n },...\n\n]\nExamples:\n> raven-cli getaddressbalance '{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"]}'\n> raven-cli getaddressbalance '{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"]}', true\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getaddressbalance\", \"params\": [{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getaddressbalance\", \"params\": [{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getaddressdeltas": "getaddressdeltas\n\nReturns all changes for an address (requires addressindex to be enabled).\n\nArguments:\n{\n \"addresses\"\n [\n \"address\" (string) The base58check encoded address\n ,...\n ]\n \"start\" (number) The start block height\n \"end\" (number) The end block height\n \"chainInfo\" (boolean) Include chain info in results, only applies if start and end specified\n \"assetName\" (string, optional) Get deltas for a particular asset instead of RVN.\n}\n\nResult:\n[\n {\n \"assetName\" (string) The asset associated with the deltas (RVN for Ravencoin)\n \"satoshis\" (number) The difference of satoshis\n \"txid\" (string) The related txid\n \"index\" (number) The related input or output index\n \"height\" (number) The block height\n \"address\" (string) The base58check encoded address\n }\n]\n\nExamples:\n> raven-cli getaddressdeltas '{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"]}'\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getaddressdeltas\", \"params\": [{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n> raven-cli getaddressdeltas '{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"],\"assetName\":\"MY_ASSET\"}'\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getaddressdeltas\", \"params\": [{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"],\"assetName\":\"MY_ASSET\"}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getaddressmempool": "getaddressmempool\n\nReturns all mempool deltas for an address (requires addressindex to be enabled).\n\nArguments:\n{\n \"addresses\"\n [\n \"address\" (string) The base58check encoded address\n ,...\n ]\n},\n\"includeAssets\" (boolean, optional, default false) If true this will return an expanded result which includes asset deltas\n\nResult:\n[\n {\n \"address\" (string) The base58check encoded address\n \"assetName\" (string) The name of the associated asset (RVN for Ravencoin)\n \"txid\" (string) The related txid\n \"index\" (number) The related input or output index\n \"satoshis\" (number) The difference of satoshis\n \"timestamp\" (number) The time the transaction entered the mempool (seconds)\n \"prevtxid\" (string) The previous txid (if spending)\n \"prevout\" (string) The previous transaction output index (if spending)\n }\n]\n\nExamples:\n> raven-cli getaddressmempool '{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"]}'\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getaddressmempool\", \"params\": [{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n> raven-cli getaddressmempool '{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"]}', true\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getaddressmempool\", \"params\": [{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getaddresstxids": "getaddresstxids\n\nReturns the txids for an address(es) (requires addressindex to be enabled).\n\nArguments:\n{\n \"addresses\"\n [\n \"address\" (string) The base58check encoded address\n ,...\n ]\n \"start\" (number, optional) The start block height\n \"end\" (number, optional) The end block height\n},\n\"includeAssets\" (boolean, optional, default false) If true this will return an expanded result which includes asset transactions\n\nResult:\n[\n \"transactionid\" (string) The transaction id\n ,...\n]\n\nExamples:\n> raven-cli getaddresstxids '{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"]}'\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getaddresstxids\", \"params\": [{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n> raven-cli getaddresstxids '{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"]}', true\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getaddresstxids\", \"params\": [{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getaddressutxos": "getaddressutxos\n\nReturns all unspent outputs for an address (requires addressindex to be enabled).\n\nArguments:\n{\n \"addresses\"\n [\n \"address\" (string) The base58check encoded address\n ,...\n ],\n \"chainInfo\", (boolean, optional, default false) Include chain info with results\n \"assetName\" (string, optional) Get UTXOs for a particular asset instead of RVN ('*' for all assets).\n}\n\nResult\n[\n {\n \"address\" (string) The address base58check encoded\n \"assetName\" (string) The asset associated with the UTXOs (RVN for Ravencoin)\n \"txid\" (string) The output txid\n \"height\" (number) The block height\n \"outputIndex\" (number) The output index\n \"script\" (strin) The script hex encoded\n \"satoshis\" (number) The number of satoshis of the output\n }\n]\n\nExamples:\n> raven-cli getaddressutxos '{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"]}'\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getaddressutxos\", \"params\": [{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n> raven-cli getaddressutxos '{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"],\"assetName\":\"MY_ASSET\"}'\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getaddressutxos\", \"params\": [{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"],\"assetName\":\"MY_ASSET\"}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "": "== Addressindex ==\ngetaddressbalance\ngetaddressdeltas\ngetaddressmempool\ngetaddresstxids\ngetaddressutxos\n\n== Assets ==\ngetassetdata \"asset_name\"\ngetcacheinfo \ngetsnapshot \"asset_name\" block_height\nissue \"asset_name\" qty \"( to_address )\" \"( change_address )\" ( units ) ( reissuable ) ( has_ipfs ) \"( ipfs_hash )\"\nissueunique \"root_name\" [asset_tags] ( [ipfs_hashes] ) \"( to_address )\" \"( change_address )\"\nlistaddressesbyasset \"asset_name\" (onlytotal) (count) (start)\nlistassetbalancesbyaddress \"address\" (onlytotal) (count) (start)\nlistassets \"( asset )\" ( verbose ) ( count ) ( start )\nlistmyassets \"( asset )\" ( verbose ) ( count ) ( start ) (confs) \npurgesnapshot \"asset_name\" block_height\nreissue \"asset_name\" qty \"to_address\" \"change_address\" ( reissuable ) ( new_units) \"( new_ipfs )\" \ntransfer \"asset_name\" qty \"to_address\" \"message\" expire_time \"change_address\" \"asset_change_address\"\ntransferfromaddress \"asset_name\" \"from_address\" qty \"to_address\" \"message\" expire_time \"rvn_change_address\" \"asset_change_address\"\ntransferfromaddresses \"asset_name\" [\"from_addresses\"] qty \"to_address\" \"message\" expire_time \"rvn_change_address\" \"asset_change_address\"\n\n== Blockchain ==\nclearmempool\ndecodeblock \"blockhex\"\ngetbestblockhash\ngetblock \"blockhash\" ( verbosity ) \ngetblockchaininfo\ngetblockcount\n\ngetblockhash height\ngetblockhashes timestamp\ngetblockheader \"hash\" ( verbose )\ngetchaintips\ngetchaintxstats ( nblocks blockhash )\ngetdifficulty\ngetmempoolancestors txid (verbose)\ngetmempooldescendants txid (verbose)\ngetmempoolentry txid\ngetmempoolinfo\ngetrawmempool ( verbose )\ngetspentinfo\ngettxout \"txid\" n ( include_mempool )\ngettxoutproof [\"txid\",...] ( blockhash )\ngettxoutsetinfo\npreciousblock \"blockhash\"\npruneblockchain\nsavemempool\nverifychain ( checklevel nblocks )\nverifytxoutproof \"proof\"\n\n== Control ==\ngetinfo\ngetmemoryinfo (\"mode\")\ngetrpcinfo\nhelp ( \"command\" )\nstop\nuptime\n\n== Generating ==\ngenerate nblocks ( maxtries )\ngeneratetoaddress nblocks address (maxtries)\ngetgenerate\nsetgenerate generate ( genproclimit )\n\n== Messages ==\nclearmessages \nsendmessage \"channel_name\" \"ipfs_hash\" (expire_time)\nsubscribetochannel \nunsubscribefromchannel \nviewallmessagechannels \nviewallmessages \n\n== Mining ==\ngetblocktemplate ( TemplateRequest )\ngetkawpowhash \"header_hash\" \"mix_hash\" nonce, height, \"target\"\ngetmininginfo\ngetnetworkhashps ( nblocks height )\npprpcsb \"header_hash\" \"mix_hash\" \"nonce\"\nprioritisetransaction \nsubmitblock \"hexdata\" ( \"dummy\" )\n\n== Network ==\naddnode \"node\" \"add|remove|onetry\"\nclearbanned\ndisconnectnode \"[address]\" [nodeid]\ngetaddednodeinfo ( \"node\" )\ngetconnectioncount\ngetnettotals\ngetnetworkinfo\ngetpeerinfo\nlistbanned\nping\nsetban \"subnet\" \"add|remove\" (bantime) (absolute)\nsetnetworkactive true|false\n\n== Rawtransactions ==\ncombinerawtransaction [\"hexstring\",...]\ncreaterawtransaction [{\"txid\":\"id\",\"vout\":n},...] {\"address\":(amount or object),\"data\":\"hex\",...}\ndecoderawtransaction \"hexstring\"\ndecodescript \"hexstring\"\nfundrawtransaction \"hexstring\" ( options )\ngetrawtransaction \"txid\" ( verbose )\nsendrawtransaction \"hexstring\" ( allowhighfees )\nsignrawtransaction \"hexstring\" ( [{\"txid\":\"id\",\"vout\":n,\"scriptPubKey\":\"hex\",\"redeemScript\":\"hex\"},...] [\"privatekey1\",...] sighashtype )\ntestmempoolaccept [\"rawtxs\"] ( allowhighfees )\n\n== Restricted assets ==\naddtagtoaddress tag_name to_address (change_address) (asset_data)\ncheckaddressrestriction address restricted_name\ncheckaddresstag address tag_name\ncheckglobalrestriction restricted_name\nfreezeaddress asset_name address (change_address) (asset_data)\nfreezerestrictedasset asset_name (change_address) (asset_data)\ngetverifierstring restricted_name\nissuequalifierasset \"asset_name\" qty \"( to_address )\" \"( change_address )\" ( has_ipfs ) \"( ipfs_hash )\"\nissuerestrictedasset \"asset_name\" qty \"verifier\" \"to_address\" \"( change_address )\" (units) ( reissuable ) ( has_ipfs ) \"( ipfs_hash )\"\nisvalidverifierstring verifier_string\nlistaddressesfortag tag_name\nlistaddressrestrictions address\nlistglobalrestrictions\nlisttagsforaddress address\nreissuerestrictedasset \"asset_name\" qty to_address ( change_verifier ) ( \"new_verifier\" ) \"( change_address )\" ( new_units ) ( reissuable ) \"( new_ipfs )\"\nremovetagfromaddress tag_name to_address (change_address) (asset_data)\ntransferqualifier \"qualifier_name\" qty \"to_address\" (\"change_address\") (\"message\") (expire_time) \nunfreezeaddress asset_name address (change_address) (asset_data)\nunfreezerestrictedasset asset_name (change_address) (asset_data)\n\n== Restricted ==\nviewmyrestrictedaddresses \nviewmytaggedaddresses \n\n== Rewards ==\ncancelsnapshotrequest \"asset_name\" block_height\ndistributereward \"asset_name\" snapshot_height \"distribution_asset_name\" gross_distribution_amount ( \"exception_addresses\" ) (\"change_address\") (\"dry_run\")\ngetdistributestatus \"asset_name\" snapshot_height \"distribution_asset_name\" gross_distribution_amount ( \"exception_addresses\" )\ngetsnapshotrequest \"asset_name\" block_height\nlistsnapshotrequests [\"asset_name\" [block_height]]\nrequestsnapshot \"asset_name\" block_height\n\n== Util ==\ncreatemultisig nrequired [\"key\",...]\nestimatefee nblocks\nestimatesmartfee conf_target (\"estimate_mode\")\nsignmessagewithprivkey \"privkey\" \"message\"\nvalidateaddress \"address\"\nverifymessage \"address\" \"signature\" \"message\"\n\n== Wallet ==\nabandontransaction \"txid\"\nabortrescan\naddmultisigaddress nrequired [\"key\",...] ( \"account\" )\naddwitnessaddress \"address\"\nbackupwallet \"destination\"\nbumpfee has been deprecated on the RVN Wallet.\ndumpprivkey \"address\"\ndumpwallet \"filename\"\nencryptwallet \"passphrase\"\ngetaccount \"address\"\ngetaccountaddress \"account\"\ngetaddressesbyaccount \"account\"\ngetbalance ( \"account\" minconf include_watchonly )\ngetmasterkeyinfo\ngetmywords ( \"account\" )\ngetnewaddress ( \"account\" )\ngetrawchangeaddress\ngetreceivedbyaccount \"account\" ( minconf )\ngetreceivedbyaddress \"address\" ( minconf )\ngettransaction \"txid\" ( include_watchonly )\ngetunconfirmedbalance\ngetwalletinfo\nimportaddress \"address\" ( \"label\" rescan p2sh )\nimportmulti \"requests\" ( \"options\" )\nimportprivkey \"privkey\" ( \"label\" ) ( rescan )\nimportprunedfunds\nimportpubkey \"pubkey\" ( \"label\" rescan )\nimportwallet \"filename\"\nkeypoolrefill ( newsize )\nlistaccounts ( minconf include_watchonly)\nlistaddressgroupings\nlistlockunspent\nlistreceivedbyaccount ( minconf include_empty include_watchonly)\nlistreceivedbyaddress ( minconf include_empty include_watchonly)\nlistsinceblock ( \"blockhash\" target_confirmations include_watchonly include_removed )\nlisttransactions ( \"account\" count skip include_watchonly)\nlistunspent ( minconf maxconf [\"addresses\",...] [include_unsafe] [query_options])\nlistwallets\nlockunspent unlock ([{\"txid\":\"txid\",\"vout\":n},...])\nmove \"fromaccount\" \"toaccount\" amount ( minconf \"comment\" )\nremoveprunedfunds \"txid\"\nrescanblockchain (\"start_height\") (\"stop_height\")\nsendfrom \"fromaccount\" \"toaddress\" amount ( minconf \"comment\" \"comment_to\" )\nsendfromaddress \"from_address\" \"to_address\" amount ( \"comment\" \"comment_to\" subtractfeefromamount replaceable conf_target \"estimate_mode\")\nsendmany \"fromaccount\" {\"address\":amount,...} ( minconf \"comment\" [\"address\",...] replaceable conf_target \"estimate_mode\")\nsendtoaddress \"address\" amount ( \"comment\" \"comment_to\" subtractfeefromamount replaceable conf_target \"estimate_mode\")\nsetaccount \"address\" \"account\"\nsettxfee amount\nsignmessage \"address\" \"message\"", "getassetdata": "getassetdata \"asset_name\"\n\nReturns assets metadata if that asset exists\n\nArguments:\n1. \"asset_name\" (string, required) the name of the asset\n\nResult:\n{\n name: (string),\n amount: (number),\n units: (number),\n reissuable: (number),\n has_ipfs: (number),\n ipfs_hash: (hash), (only if has_ipfs = 1 and that data is a ipfs hash)\n txid_hash: (hash), (only if has_ipfs = 1 and that data is a txid hash)\n verifier_string: (string)\n}\n\nExamples:\n> raven-cli getassetdata \"ASSET_NAME\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getassetdata\", \"params\": [\"ASSET_NAME\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getcacheinfo": "getcacheinfo \n\nResult:\n[\n uxto cache size:\n asset total (exclude dirty):\n asset address map:\n asset address balance:\n my unspent asset:\n reissue data:\n asset metadata map:\n asset metadata list (est):\n dirty cache (est):\n]\n\nExamples:\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getcacheinfo\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n> raven-cli getcacheinfo \n", "getsnapshot": "getsnapshot \"asset_name\" block_height\n\nReturns details for the asset snapshot, at the specified height\n\nArguments:\n1. \"asset_name\" (string, required) the name of the asset\n2. block_height (int, required) the block height of the snapshot\n\nResult:\n{\n name: (string),\n height: (number),\n owners: [\n {\n address: (string),\n amount_owned: (number),\n }\n}\n\nExamples:\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getsnapshot\", \"params\": [\"ASSET_NAME\" 28546] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "issue": "issue \"asset_name\" qty \"( to_address )\" \"( change_address )\" ( units ) ( reissuable ) ( has_ipfs ) \"( ipfs_hash )\"\n\nIssue an asset, subasset or unique asset.\nAsset name must not conflict with any existing asset.\nUnit as the number of decimals precision for the asset (0 for whole units (\"1\"), 8 for max precision (\"1.00000000\")\nReissuable is true/false for whether additional units can be issued by the original issuer.\nIf issuing a unique asset these values are required (and will be defaulted to): qty=1, units=0, reissuable=false.\n\nArguments:\n1. \"asset_name\" (string, required) a unique name\n2. \"qty\" (numeric, optional, default=1) the number of units to be issued\n3. \"to_address\" (string), optional, default=\"\"), address asset will be sent to, if it is empty, address will be generated for you\n4. \"change_address\" (string), optional, default=\"\"), address the the rvn change will be sent to, if it is empty, change address will be generated for you\n5. \"units\" (integer, optional, default=0, min=0, max=8), the number of decimals precision for the asset (0 for whole units (\"1\"), 8 for max precision (\"1.00000000\")\n6. \"reissuable\" (boolean, optional, default=true (false for unique assets)), whether future reissuance is allowed\n7. \"has_ipfs\" (boolean, optional, default=false), whether ipfs hash is going to be added to the asset\n8. \"ipfs_hash\" (string, optional but required if has_ipfs = 1), an ipfs hash or a txid hash once RIP5 is activated\n\nResult:\n\"txid\" (string) The transaction id\n\nExamples:\n> raven-cli issue \"ASSET_NAME\" 1000\n> raven-cli issue \"ASSET_NAME\" 1000 \"myaddress\"\n> raven-cli issue \"ASSET_NAME\" 1000 \"myaddress\" \"changeaddress\" 4\n> raven-cli issue \"ASSET_NAME\" 1000 \"myaddress\" \"changeaddress\" 2 true\n> raven-cli issue \"ASSET_NAME\" 1000 \"myaddress\" \"changeaddress\" 8 false true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\n> raven-cli issue \"ASSET_NAME/SUB_ASSET\" 1000 \"myaddress\" \"changeaddress\" 2 true\n> raven-cli issue \"ASSET_NAME#uniquetag\"\n", "issueunique": "issueunique \"root_name\" [asset_tags] ( [ipfs_hashes] ) \"( to_address )\" \"( change_address )\"\n\nIssue unique asset(s).\nroot_name must be an asset you own.\nAn asset will be created for each element of asset_tags.\nIf provided ipfs_hashes must be the same length as asset_tags.\nFive (5) RVN will be burned for each asset created.\n\nArguments:\n1. \"root_name\" (string, required) name of the asset the unique asset(s) are being issued under\n2. \"asset_tags\" (array, required) the unique tag for each asset which is to be issued\n3. \"ipfs_hashes\" (array, optional) ipfs hashes or txid hashes corresponding to each supplied tag (should be same size as \"asset_tags\")\n4. \"to_address\" (string, optional, default=\"\"), address assets will be sent to, if it is empty, address will be generated for you\n5. \"change_address\" (string, optional, default=\"\"), address the the rvn change will be sent to, if it is empty, change address will be generated for you\n\nResult:\n\"txid\" (string) The transaction id\n\nExamples:\n> raven-cli issueunique \"MY_ASSET\" '[\"primo\",\"secundo\"]'\n> raven-cli issueunique \"MY_ASSET\" '[\"primo\",\"secundo\"]' '[\"first_hash\",\"second_hash\"]'\n", "listaddressesbyasset": "listaddressesbyasset \"asset_name\" (onlytotal) (count) (start)\n\nReturns a list of all address that own the given asset (with balances)\nOr returns the total size of how many address own the given asset\nArguments:\n1. \"asset_name\" (string, required) name of asset\n2. \"onlytotal\" (boolean, optional, default=false) when false result is just a list of addresses with balances -- when true the result is just a single number representing the number of addresses\n3. \"count\" (integer, optional, default=50000, MAX=50000) truncates results to include only the first _count_ assets found\n4. \"start\" (integer, optional, default=0) results skip over the first _start_ assets found (if negative it skips back from the end)\n\nResult:\n[ (address): balance,\n ...\n]\n\nExamples:\n> raven-cli listaddressesbyasset \"ASSET_NAME\" false 2 0\n> raven-cli listaddressesbyasset \"ASSET_NAME\" true\n> raven-cli listaddressesbyasset \"ASSET_NAME\"\n", "listassetbalancesbyaddress": "listassetbalancesbyaddress \"address\" (onlytotal) (count) (start)\n\nReturns a list of all asset balances for an address.\n\nArguments:\n1. \"address\" (string, required) a raven address\n2. \"onlytotal\" (boolean, optional, default=false) when false result is just a list of assets balances -- when true the result is just a single number representing the number of assets\n3. \"count\" (integer, optional, default=50000, MAX=50000) truncates results to include only the first _count_ assets found\n4. \"start\" (integer, optional, default=0) results skip over the first _start_ assets found (if negative it skips back from the end)\n\nResult:\n{\n (asset_name) : (quantity),\n ...\n}\n\nExamples:\n> raven-cli listassetbalancesbyaddress \"myaddress\" false 2 0\n> raven-cli listassetbalancesbyaddress \"myaddress\" true\n> raven-cli listassetbalancesbyaddress \"myaddress\"\n", "listassets": "listassets \"( asset )\" ( verbose ) ( count ) ( start )\n\nReturns a list of all assets\n\nThis could be a slow/expensive operation as it reads from the database\n\nArguments:\n1. \"asset\" (string, optional, default=\"*\") filters results -- must be an asset name or a partial asset name followed by '*' ('*' matches all trailing characters)\n2. \"verbose\" (boolean, optional, default=false) when false result is just a list of asset names -- when true results are asset name mapped to metadata\n3. \"count\" (integer, optional, default=ALL) truncates results to include only the first _count_ assets found\n4. \"start\" (integer, optional, default=0) results skip over the first _start_ assets found (if negative it skips back from the end)\n\nResult (verbose=false):\n[\n asset_name,\n ...\n]\n\nResult (verbose=true):\n{\n (asset_name):\n {\n amount: (number),\n units: (number),\n reissuable: (number),\n has_ipfs: (number),\n ipfs_hash: (hash) (only if has_ipfs = 1 and data is a ipfs hash)\n ipfs_hash: (hash) (only if has_ipfs = 1 and data is a txid hash)\n },\n {...}, {...}\n}\n\nExamples:\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listassets\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n> raven-cli listassets ASSET\n> raven-cli listassets \"ASSET*\" true 10 20\n", "listmyassets": "listmyassets \"( asset )\" ( verbose ) ( count ) ( start ) (confs) \n\nReturns a list of all asset that are owned by this wallet\n\nArguments:\n1. \"asset\" (string, optional, default=\"*\") filters results -- must be an asset name or a partial asset name followed by '*' ('*' matches all trailing characters)\n2. \"verbose\" (boolean, optional, default=false) when false results only contain balances -- when true results include outpoints\n3. \"count\" (integer, optional, default=ALL) truncates results to include only the first _count_ assets found\n4. \"start\" (integer, optional, default=0) results skip over the first _start_ assets found (if negative it skips back from the end)\n5. \"confs\" (integet, optional, default=0) results are skipped if they don't have this number of confirmations\n\nResult (verbose=false):\n{\n (asset_name): balance,\n ...\n}\n\nResult (verbose=true):\n{\n (asset_name):\n {\n \"balance\": balance,\n \"outpoints\":\n [\n {\n \"txid\": txid,\n \"vout\": vout,\n \"amount\": amount\n }\n {...}, {...}\n ]\n }\n}\n{...}, {...}\n\nExamples:\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listmyassets\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n> raven-cli listmyassets ASSET\n> raven-cli listmyassets \"ASSET*\" true 10 20\n> raven-cli listmyassets \"ASSET*\" true 10 20 1\n", "purgesnapshot": "purgesnapshot \"asset_name\" block_height\n\nRemoves details for the asset snapshot, at the specified height\n\nArguments:\n1. \"asset_name\" (string, required) the name of the asset\n2. block_height (int, required) the block height of the snapshot\n\nResult:\n{\n name: (string),\n height: (number),\n}\n\nExamples:\n> raven-cli purgesnapshot \"ASSET_NAME\" 28546\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"purgesnapshot\", \"params\": [\"ASSET_NAME\" 28546] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "reissue": "reissue \"asset_name\" qty \"to_address\" \"change_address\" ( reissuable ) ( new_units) \"( new_ipfs )\" \n\nReissues a quantity of an asset to an owned address if you own the Owner Token\nCan change the reissuable flag during reissuance\nCan change the ipfs hash during reissuance\nArguments:\n1. \"asset_name\" (string, required) name of asset that is being reissued\n2. \"qty\" (numeric, required) number of assets to reissue\n3. \"to_address\" (string, required) address to send the asset to\n4. \"change_address\" (string, optional) address that the change of the transaction will be sent to\n5. \"reissuable\" (boolean, optional, default=true), whether future reissuance is allowed\n6. \"new_units\" (numeric, optional, default=-1), the new units that will be associated with the asset\n7. \"new_ipfs\" (string, optional, default=\"\"), whether to update the current ipfs hash or txid once RIP5 is active\n\nResult:\n\"txid\" (string) The transaction id\n\nExamples:\n> raven-cli reissue \"ASSET_NAME\" 20 \"address\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"reissue\", \"params\": [\"ASSET_NAME\" 20 \"address\" \"change_address\" \"true\" 8 \"Qmd286K6pohQcTKYqnS1YhWrCiS4gz7Xi34sdwMe9USZ7u\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "transfer": "transfer \"asset_name\" qty \"to_address\" \"message\" expire_time \"change_address\" \"asset_change_address\"\n\nTransfers a quantity of an owned asset to a given address\nArguments:\n1. \"asset_name\" (string, required) name of asset\n2. \"qty\" (numeric, required) number of assets you want to send to the address\n3. \"to_address\" (string, required) address to send the asset to\n4. \"message\" (string, optional) Once RIP5 is voted in ipfs hash or txid hash to send along with the transfer\n5. \"expire_time\" (numeric, optional) UTC timestamp of when the message expires\n6. \"change_address\" (string, optional, default = \"\") the transactions RVN change will be sent to this address\n7. \"asset_change_address\" (string, optional, default = \"\") the transactions Asset change will be sent to this address\n\nResult:\ntxid[ \ntxid\n]\n\nExamples:\n> raven-cli transfer \"ASSET_NAME\" 20 \"address\" \"\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\" 15863654\n> raven-cli transfer \"ASSET_NAME\" 20 \"address\" \"\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\" 15863654\n", "transferfromaddress": "transferfromaddress \"asset_name\" \"from_address\" qty \"to_address\" \"message\" expire_time \"rvn_change_address\" \"asset_change_address\"\n\nTransfer a quantity of an owned asset in a specific address to a given address\nArguments:\n1. \"asset_name\" (string, required) name of asset\n2. \"from_address\" (string, required) address that the asset will be transferred from\n3. \"qty\" (numeric, required) number of assets you want to send to the address\n4. \"to_address\" (string, required) address to send the asset to\n5. \"message\" (string, optional) Once RIP5 is voted in ipfs hash or txid hash to send along with the transfer\n6. \"expire_time\" (numeric, optional) UTC timestamp of when the message expires\n7. \"rvn_change_address\" (string, optional, default = \"\") the transaction RVN change will be sent to this address\n8. \"asset_change_address\" (string, optional, default = \"\") the transaction Asset change will be sent to this address\n\nResult:\ntxid[ \ntxid\n]\n\nExamples:\n> raven-cli transferfromaddress \"ASSET_NAME\" \"fromaddress\" 20 \"address\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\", 156545652\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"transferfromaddress\", \"params\": [\"ASSET_NAME\" \"fromaddress\" 20 \"address\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\", 156545652] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "transferfromaddresses": "transferfromaddresses \"asset_name\" [\"from_addresses\"] qty \"to_address\" \"message\" expire_time \"rvn_change_address\" \"asset_change_address\"\n\nTransfer a quantity of an owned asset in specific address(es) to a given address\nArguments:\n1. \"asset_name\" (string, required) name of asset\n2. \"from_addresses\" (array, required) list of from addresses to send from\n3. \"qty\" (numeric, required) number of assets you want to send to the address\n4. \"to_address\" (string, required) address to send the asset to\n5. \"message\" (string, optional) Once RIP5 is voted in ipfs hash or txid hash to send along with the transfer\n6. \"expire_time\" (numeric, optional) UTC timestamp of when the message expires\n7. \"rvn_change_address\" (string, optional, default = \"\") the transactions RVN change will be sent to this address\n8. \"asset_change_address\" (string, optional, default = \"\") the transactions Asset change will be sent to this address\n\nResult:\ntxid[ \ntxid\n]\n\nExamples:\n> raven-cli transferfromaddresses \"ASSET_NAME\" '[\"fromaddress1\", \"fromaddress2\"]' 20 \"to_address\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\" 154652365\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"transferfromaddresses\", \"params\": [\"ASSET_NAME\" '[\"fromaddress1\", \"fromaddress2\"]' 20 \"to_address\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\" 154652365] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "clearmempool": "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", "decodeblock": "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", "getbestblockhash": "getbestblockhash\n\nReturns the hash of the best (tip) block in the longest blockchain.\n\nResult:\n\"hex\" (string) the block hash hex encoded\n\nExamples:\n> raven-cli getbestblockhash \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getbestblockhash\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getblock": "getblock \"blockhash\" ( verbosity ) \n\nIf verbosity is 0, returns a string that is serialized, hex-encoded data for block 'hash'.\nIf verbosity is 1, returns an Object with information about block .\nIf verbosity is 2, returns an Object with information about block and information about each transaction. \n\nArguments:\n1. \"blockhash\" (string, required) The block hash\n2. verbosity (numeric, optional, default=1) 0 for hex encoded data, 1 for a json object, and 2 for json object with transaction data\n\nResult (for verbosity = 0):\n\"data\" (string) A string that is serialized, hex-encoded data for block 'hash'.\n\nResult (for verbosity = 1):\n{\n \"hash\" : \"hash\", (string) the block hash (same as provided)\n \"confirmations\" : n, (numeric) The number of confirmations, or -1 if the block is not on the main chain\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 \"mediantime\" : ttt, (numeric) The median block time in seconds since epoch (Jan 1 1970 GMT)\n \"nonce\" : n, (numeric) The nonce\n \"bits\" : \"1d00ffff\", (string) The bits\n \"difficulty\" : x.xxx, (numeric) The difficulty\n \"chainwork\" : \"xxxx\", (string) Expected number of hashes required to produce the chain up to this block (in hex)\n \"previousblockhash\" : \"hash\", (string) The hash of the previous block\n \"nextblockhash\" : \"hash\" (string) The hash of the next block\n}\n\nResult (for verbosity = 2):\n{\n ..., Same output as verbosity = 1.\n \"tx\" : [ (array of Objects) The transactions in the format of the getrawtransaction RPC. Different from verbosity = 1 \"tx\" result.\n ,...\n ],\n ,... Same output as verbosity = 1.\n}\n\nExamples:\n> raven-cli getblock \"00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getblock\", \"params\": [\"00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getblockchaininfo": "getblockchaininfo\nReturns an object containing various state info regarding blockchain processing.\n\nResult:\n{\n \"chain\": \"xxxx\", (string) current network name as defined in BIP70 (main, test, regtest)\n \"blocks\": xxxxxx, (numeric) the current number of blocks processed in the server\n \"headers\": xxxxxx, (numeric) the current number of headers we have validated\n \"bestblockhash\": \"...\", (string) the hash of the currently best block\n \"difficulty\": xxxxxx, (numeric) the current difficulty\n \"mediantime\": xxxxxx, (numeric) median time for the current best block\n \"verificationprogress\": xxxx, (numeric) estimate of verification progress [0..1]\n \"chainwork\": \"xxxx\" (string) total amount of work in active chain, in hexadecimal\n \"size_on_disk\": xxxxxx, (numeric) the estimated size of the block and undo files on disk\n \"pruned\": xx, (boolean) if the blocks are subject to pruning\n \"pruneheight\": xxxxxx, (numeric) lowest-height complete block stored (only present if pruning is enabled)\n \"automatic_pruning\": xx, (boolean) whether automatic pruning is enabled (only present if pruning is enabled)\n \"prune_target_size\": xxxxxx, (numeric) the target size used by pruning (only present if automatic pruning is enabled)\n \"softforks\": [ (array) status of softforks in progress\n {\n \"id\": \"xxxx\", (string) name of softfork\n \"version\": xx, (numeric) block version\n \"reject\": { (object) progress toward rejecting pre-softfork blocks\n \"status\": xx, (boolean) true if threshold reached\n },\n }, ...\n ],\n \"bip9_softforks\": { (object) status of BIP9 softforks in progress\n \"xxxx\" : { (string) name of the softfork\n \"status\": \"xxxx\", (string) one of \"defined\", \"started\", \"locked_in\", \"active\", \"failed\"\n \"bit\": xx, (numeric) the bit (0-28) in the block version field used to signal this softfork (only for \"started\" status)\n \"startTime\": xx, (numeric) the minimum median time past of a block at which the bit gains its meaning\n \"timeout\": xx, (numeric) the median time past of a block at which the deployment is considered failed if not yet locked in\n \"since\": xx, (numeric) height of the first block to which the status applies\n \"statistics\": { (object) numeric statistics about BIP9 signalling for a softfork (only for \"started\" status)\n \"period\": xx, (numeric) the length in blocks of the BIP9 signalling period \n \"threshold\": xx, (numeric) the number of blocks with the version bit set required to activate the feature \n \"elapsed\": xx, (numeric) the number of blocks elapsed since the beginning of the current period \n \"count\": xx, (numeric) the number of blocks with the version bit set in the current period \n \"possible\": xx (boolean) returns false if there are not enough blocks left in this period to pass activation threshold \n }\n }\n }\n \"warnings\" : \"...\", (string) any network and blockchain warnings.\n}\n\nExamples:\n> raven-cli getblockchaininfo \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getblockchaininfo\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getblockcount": "getblockcount\n\nReturns the number of blocks in the longest blockchain.\n\nResult:\nn (numeric) The current block count\n\nExamples:\n> raven-cli getblockcount \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getblockcount\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getblockhash": "getblockhash height\n\nReturns hash of block in best-block-chain at height provided.\n\nArguments:\n1. height (numeric, required) The height index\n\nResult:\n\"hash\" (string) The block hash\n\nExamples:\n> raven-cli getblockhash 1000\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getblockhash\", \"params\": [1000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getblockhashes": "getblockhashes timestamp\n\nReturns array of hashes of blocks within the timestamp range provided.\n\nArguments:\n1. high (numeric, required) The newer block timestamp\n2. low (numeric, required) The older block timestamp\n3. options (string, required) A json object\n {\n \"noOrphans\":true (boolean) will only include blocks on the main chain\n \"logicalTimes\":true (boolean) will include logical timestamps with hashes\n }\n\nResult:\n[\n \"hash\" (string) The block hash\n]\n[\n {\n \"blockhash\": (string) The block hash\n \"logicalts\": (numeric) The logical timestamp\n }\n]\n\nExamples:\n> raven-cli getblockhashes 1231614698 1231024505\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getblockhashes\", \"params\": [1231614698, 1231024505] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n> raven-cli getblockhashes 1231614698 1231024505 '{\"noOrphans\":false, \"logicalTimes\":true}'\n", "getblockheader": "getblockheader \"hash\" ( verbose )\n\nIf verbose is false, returns a string that is serialized, hex-encoded data for blockheader 'hash'.\nIf verbose is true, returns an Object with information about blockheader .\n\nArguments:\n1. \"hash\" (string, required) The block hash\n2. verbose (boolean, optional, default=true) true for a json object, false for the hex encoded data\n\nResult (for verbose = true):\n{\n \"hash\" : \"hash\", (string) the block hash (same as provided)\n \"confirmations\" : n, (numeric) The number of confirmations, or -1 if the block is not on the main chain\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 \"time\" : ttt, (numeric) The block time in seconds since epoch (Jan 1 1970 GMT)\n \"mediantime\" : ttt, (numeric) The median block time in seconds since epoch (Jan 1 1970 GMT)\n \"nonce\" : n, (numeric) The nonce\n \"bits\" : \"1d00ffff\", (string) The bits\n \"difficulty\" : x.xxx, (numeric) The difficulty\n \"chainwork\" : \"0000...1f3\" (string) Expected number of hashes required to produce the current chain (in hex)\n \"previousblockhash\" : \"hash\", (string) The hash of the previous block\n \"nextblockhash\" : \"hash\", (string) The hash of the next block\n}\n\nResult (for verbose=false):\n\"data\" (string) A string that is serialized, hex-encoded data for block 'hash'.\n\nExamples:\n> raven-cli getblockheader \"00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getblockheader\", \"params\": [\"00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getchaintips": "getchaintips\nReturn information about all known tips in the block tree, including the main chain as well as orphaned branches.\n\nResult:\n[\n {\n \"height\": xxxx, (numeric) height of the chain tip\n \"hash\": \"xxxx\", (string) block hash of the tip\n \"branchlen\": 0 (numeric) zero for main chain\n \"status\": \"active\" (string) \"active\" for the main chain\n },\n {\n \"height\": xxxx,\n \"hash\": \"xxxx\",\n \"branchlen\": 1 (numeric) length of branch connecting the tip to the main chain\n \"status\": \"xxxx\" (string) status of the chain (active, valid-fork, valid-headers, headers-only, invalid)\n }\n]\nPossible values for status:\n1. \"invalid\" This branch contains at least one invalid block\n2. \"headers-only\" Not all blocks for this branch are available, but the headers are valid\n3. \"valid-headers\" All blocks are available for this branch, but they were never fully validated\n4. \"valid-fork\" This branch is not part of the active chain, but is fully validated\n5. \"active\" This is the tip of the active main chain, which is certainly valid\n\nExamples:\n> raven-cli getchaintips \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getchaintips\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getchaintxstats": "getchaintxstats ( nblocks blockhash )\n\nCompute statistics about the total number and rate of transactions in the chain.\n\nArguments:\n1. nblocks (numeric, optional) Size of the window in number of blocks (default: one month).\n2. \"blockhash\" (string, optional) The hash of the block that ends the window.\n\nResult:\n{\n \"time\": xxxxx, (numeric) The timestamp for the final block in the window in UNIX format.\n \"txcount\": xxxxx, (numeric) The total number of transactions in the chain up to that point.\n \"window_block_count\": xxxxx, (numeric) Size of the window in number of blocks.\n \"window_tx_count\": xxxxx, (numeric) The number of transactions in the window. Only returned if \"window_block_count\" is > 0.\n \"window_interval\": xxxxx, (numeric) The elapsed time in the window in seconds. Only returned if \"window_block_count\" is > 0.\n \"txrate\": x.xx, (numeric) The average rate of transactions per second in the window. Only returned if \"window_interval\" is > 0.\n}\n\nExamples:\n> raven-cli getchaintxstats \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getchaintxstats\", \"params\": [2016] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getdifficulty": "getdifficulty\n\nReturns the proof-of-work difficulty as a multiple of the minimum difficulty.\n\nResult:\nn.nnn (numeric) the proof-of-work difficulty as a multiple of the minimum difficulty.\n\nExamples:\n> raven-cli getdifficulty \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getdifficulty\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getmempoolancestors": "getmempoolancestors txid (verbose)\n\nIf txid is in the mempool, returns all in-mempool ancestors.\n\nArguments:\n1. \"txid\" (string, required) The transaction id (must be in mempool)\n2. verbose (boolean, optional, default=false) True for a json object, false for array of transaction ids\n\nResult (for verbose=false):\n[ (json array of strings)\n \"transactionid\" (string) The transaction id of an in-mempool ancestor transaction\n ,...\n]\n\nResult (for verbose=true):\n{ (json object)\n \"transactionid\" : { (json object)\n \"size\" : n, (numeric) virtual transaction size as defined in BIP 141. This is different from actual serialized size for witness transactions as witness data is discounted.\n \"fee\" : n, (numeric) transaction fee in RVN\n \"modifiedfee\" : n, (numeric) transaction fee with fee deltas used for mining priority\n \"time\" : n, (numeric) local time transaction entered pool in seconds since 1 Jan 1970 GMT\n \"height\" : n, (numeric) block height when transaction entered pool\n \"descendantcount\" : n, (numeric) number of in-mempool descendant transactions (including this one)\n \"descendantsize\" : n, (numeric) virtual transaction size of in-mempool descendants (including this one)\n \"descendantfees\" : n, (numeric) modified fees (see above) of in-mempool descendants (including this one)\n \"ancestorcount\" : n, (numeric) number of in-mempool ancestor transactions (including this one)\n \"ancestorsize\" : n, (numeric) virtual transaction size of in-mempool ancestors (including this one)\n \"ancestorfees\" : n, (numeric) modified fees (see above) of in-mempool ancestors (including this one)\n \"wtxid\" : hash, (string) hash of serialized transaction, including witness data\n \"depends\" : [ (array) unconfirmed transactions used as inputs for this transaction\n \"transactionid\", (string) parent transaction id\n ... ]\n }, ...\n}\n\nExamples:\n> raven-cli getmempoolancestors \"mytxid\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getmempoolancestors\", \"params\": [\"mytxid\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getmempooldescendants": "getmempooldescendants txid (verbose)\n\nIf txid is in the mempool, returns all in-mempool descendants.\n\nArguments:\n1. \"txid\" (string, required) The transaction id (must be in mempool)\n2. verbose (boolean, optional, default=false) True for a json object, false for array of transaction ids\n\nResult (for verbose=false):\n[ (json array of strings)\n \"transactionid\" (string) The transaction id of an in-mempool descendant transaction\n ,...\n]\n\nResult (for verbose=true):\n{ (json object)\n \"transactionid\" : { (json object)\n \"size\" : n, (numeric) virtual transaction size as defined in BIP 141. This is different from actual serialized size for witness transactions as witness data is discounted.\n \"fee\" : n, (numeric) transaction fee in RVN\n \"modifiedfee\" : n, (numeric) transaction fee with fee deltas used for mining priority\n \"time\" : n, (numeric) local time transaction entered pool in seconds since 1 Jan 1970 GMT\n \"height\" : n, (numeric) block height when transaction entered pool\n \"descendantcount\" : n, (numeric) number of in-mempool descendant transactions (including this one)\n \"descendantsize\" : n, (numeric) virtual transaction size of in-mempool descendants (including this one)\n \"descendantfees\" : n, (numeric) modified fees (see above) of in-mempool descendants (including this one)\n \"ancestorcount\" : n, (numeric) number of in-mempool ancestor transactions (including this one)\n \"ancestorsize\" : n, (numeric) virtual transaction size of in-mempool ancestors (including this one)\n \"ancestorfees\" : n, (numeric) modified fees (see above) of in-mempool ancestors (including this one)\n \"wtxid\" : hash, (string) hash of serialized transaction, including witness data\n \"depends\" : [ (array) unconfirmed transactions used as inputs for this transaction\n \"transactionid\", (string) parent transaction id\n ... ]\n }, ...\n}\n\nExamples:\n> raven-cli getmempooldescendants \"mytxid\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getmempooldescendants\", \"params\": [\"mytxid\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getmempoolentry": "getmempoolentry txid\n\nReturns mempool data for given transaction\n\nArguments:\n1. \"txid\" (string, required) The transaction id (must be in mempool)\n\nResult:\n{ (json object)\n \"size\" : n, (numeric) virtual transaction size as defined in BIP 141. This is different from actual serialized size for witness transactions as witness data is discounted.\n \"fee\" : n, (numeric) transaction fee in RVN\n \"modifiedfee\" : n, (numeric) transaction fee with fee deltas used for mining priority\n \"time\" : n, (numeric) local time transaction entered pool in seconds since 1 Jan 1970 GMT\n \"height\" : n, (numeric) block height when transaction entered pool\n \"descendantcount\" : n, (numeric) number of in-mempool descendant transactions (including this one)\n \"descendantsize\" : n, (numeric) virtual transaction size of in-mempool descendants (including this one)\n \"descendantfees\" : n, (numeric) modified fees (see above) of in-mempool descendants (including this one)\n \"ancestorcount\" : n, (numeric) number of in-mempool ancestor transactions (including this one)\n \"ancestorsize\" : n, (numeric) virtual transaction size of in-mempool ancestors (including this one)\n \"ancestorfees\" : n, (numeric) modified fees (see above) of in-mempool ancestors (including this one)\n \"wtxid\" : hash, (string) hash of serialized transaction, including witness data\n \"depends\" : [ (array) unconfirmed transactions used as inputs for this transaction\n \"transactionid\", (string) parent transaction id\n ... ]\n}\n\nExamples:\n> raven-cli getmempoolentry \"mytxid\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getmempoolentry\", \"params\": [\"mytxid\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getmempoolinfo": "getmempoolinfo\n\nReturns details on the active state of the TX memory pool.\n\nResult:\n{\n \"size\": xxxxx, (numeric) Current tx count\n \"bytes\": xxxxx, (numeric) Sum of all virtual transaction sizes as defined in BIP 141. Differs from actual serialized size because witness data is discounted\n \"usage\": xxxxx, (numeric) Total memory usage for the mempool\n \"maxmempool\": xxxxx, (numeric) Maximum memory usage for the mempool\n \"mempoolminfee\": xxxxx (numeric) Minimum fee rate in RVN/kB for tx to be accepted\n}\n\nExamples:\n> raven-cli getmempoolinfo \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getmempoolinfo\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getrawmempool": "getrawmempool ( verbose )\n\nReturns all transaction ids in memory pool as a json array of string transaction ids.\n\nHint: use getmempoolentry to fetch a specific transaction from the mempool.\n\nArguments:\n1. verbose (boolean, optional, default=false) True for a json object, false for array of transaction ids\n\nResult: (for verbose = false):\n[ (json array of string)\n \"transactionid\" (string) The transaction id\n ,...\n]\n\nResult: (for verbose = true):\n{ (json object)\n \"transactionid\" : { (json object)\n \"size\" : n, (numeric) virtual transaction size as defined in BIP 141. This is different from actual serialized size for witness transactions as witness data is discounted.\n \"fee\" : n, (numeric) transaction fee in RVN\n \"modifiedfee\" : n, (numeric) transaction fee with fee deltas used for mining priority\n \"time\" : n, (numeric) local time transaction entered pool in seconds since 1 Jan 1970 GMT\n \"height\" : n, (numeric) block height when transaction entered pool\n \"descendantcount\" : n, (numeric) number of in-mempool descendant transactions (including this one)\n \"descendantsize\" : n, (numeric) virtual transaction size of in-mempool descendants (including this one)\n \"descendantfees\" : n, (numeric) modified fees (see above) of in-mempool descendants (including this one)\n \"ancestorcount\" : n, (numeric) number of in-mempool ancestor transactions (including this one)\n \"ancestorsize\" : n, (numeric) virtual transaction size of in-mempool ancestors (including this one)\n \"ancestorfees\" : n, (numeric) modified fees (see above) of in-mempool ancestors (including this one)\n \"wtxid\" : hash, (string) hash of serialized transaction, including witness data\n \"depends\" : [ (array) unconfirmed transactions used as inputs for this transaction\n \"transactionid\", (string) parent transaction id\n ... ]\n }, ...\n}\n\nExamples:\n> raven-cli getrawmempool true\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getrawmempool\", \"params\": [true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getspentinfo": "getspentinfo\n\nReturns the txid and index where an output is spent.\n\nArguments:\n{\n \"txid\" (string) The hex string of the txid\n \"index\" (number) The start block height\n}\n\nResult:\n{\n \"txid\" (string) The transaction id\n \"index\" (number) The spending input index\n ,...\n}\n\nExamples:\n> raven-cli getspentinfo '{\"txid\": \"0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9\", \"index\": 0}'\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getspentinfo\", \"params\": [{\"txid\": \"0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9\", \"index\": 0}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "gettxout": "gettxout \"txid\" n ( include_mempool )\n\nReturns details about an unspent transaction output.\n\nArguments:\n1. \"txid\" (string, required) The transaction id\n2. \"n\" (numeric, required) vout number\n3. \"include_mempool\" (boolean, optional) Whether to include the mempool. Default: true. Note that an unspent output that is spent in the mempool won't appear.\n\nResult:\n{\n \"bestblock\" : \"hash\", (string) the block hash\n \"confirmations\" : n, (numeric) The number of confirmations\n \"value\" : x.xxx, (numeric) The transaction value in RVN\n \"scriptPubKey\" : { (json object)\n \"asm\" : \"code\", (string) \n \"hex\" : \"hex\", (string) \n \"reqSigs\" : n, (numeric) Number of required signatures\n \"type\" : \"pubkeyhash\", (string) The type, eg pubkeyhash\n \"addresses\" : [ (array of string) array of raven addresses\n \"address\" (string) raven address\n ,...\n ]\n },\n \"coinbase\" : true|false (boolean) Coinbase or not\n}\n\nExamples:\n\nGet unspent transactions\n> raven-cli listunspent \n\nView the details\n> raven-cli gettxout \"txid\" 1\n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"gettxout\", \"params\": [\"txid\", 1] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "gettxoutproof": "gettxoutproof [\"txid\",...] ( blockhash )\n\nReturns a hex-encoded proof that \"txid\" was included in a block.\n\nNOTE: By default this function only works sometimes. This is when there is an\nunspent output in the utxo for this transaction. To make it always work,\nyou need to maintain a transaction index, using the -txindex command line option or\nspecify the block in which the transaction is included manually (by blockhash).\n\nArguments:\n1. \"txids\" (string) A json array of txids to filter\n [\n \"txid\" (string) A transaction hash\n ,...\n ]\n2. \"blockhash\" (string, optional) If specified, looks for txid in the block with this hash\n\nResult:\n\"data\" (string) A string that is a serialized, hex-encoded data for the proof.\n", "gettxoutsetinfo": "gettxoutsetinfo\n\nReturns statistics about the unspent transaction output set.\nNote this call may take some time.\n\nResult:\n{\n \"height\":n, (numeric) The current block height (index)\n \"bestblock\": \"hex\", (string) the best block hash hex\n \"transactions\": n, (numeric) The number of transactions\n \"txouts\": n, (numeric) The number of output transactions\n \"bogosize\": n, (numeric) A meaningless metric for UTXO set size\n \"hash_serialized_2\": \"hash\", (string) The serialized hash\n \"disk_size\": n, (numeric) The estimated size of the chainstate on disk\n \"total_amount\": x.xxx (numeric) The total amount\n}\n\nExamples:\n> raven-cli gettxoutsetinfo \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"gettxoutsetinfo\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "preciousblock": "preciousblock \"blockhash\"\n\nTreats a block as if it were received before others with the same work.\n\nA later preciousblock call can override the effect of an earlier one.\n\nThe effects of preciousblock are not retained across restarts.\n\nArguments:\n1. \"blockhash\" (string, required) the hash of the block to mark as precious\n\nResult:\n\nExamples:\n> raven-cli preciousblock \"blockhash\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"preciousblock\", \"params\": [\"blockhash\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "pruneblockchain": "pruneblockchain\n\nArguments:\n1. \"height\" (numeric, required) The block height to prune up to. May be set to a discrete height, or a unix timestamp\n to prune blocks whose block time is at least 2 hours older than the provided timestamp.\n\nResult:\nn (numeric) Height of the last block pruned.\n\nExamples:\n> raven-cli pruneblockchain 1000\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"pruneblockchain\", \"params\": [1000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "savemempool": "savemempool\n\nDumps the mempool to disk.\n\nExamples:\n> raven-cli savemempool \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"savemempool\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "verifychain": "verifychain ( checklevel nblocks )\n\nVerifies blockchain database.\n\nArguments:\n1. checklevel (numeric, optional, 0-4, default=3) How thorough the block verification is.\n2. nblocks (numeric, optional, default=6, 0=all) The number of blocks to check.\n\nResult:\ntrue|false (boolean) Verified or not\n\nExamples:\n> raven-cli verifychain \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"verifychain\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "verifytxoutproof": "verifytxoutproof \"proof\"\n\nVerifies that a proof points to a transaction in a block, returning the transaction it commits to\nand throwing an RPC error if the block is not in our best chain\n\nArguments:\n1. \"proof\" (string, required) The hex-encoded proof generated by gettxoutproof\n\nResult:\n[\"txid\"] (array, strings) The txid(s) which the proof commits to, or empty array if the proof is invalid\n", "getinfo": "getinfo\n\nDEPRECATED. Returns an object containing various state info.\n\nResult:\n{\n \"deprecation-warning\": \"...\" (string) warning that the getinfo command is deprecated and will be removed in 0.16\n \"version\": xxxxx, (numeric) the server version\n \"protocolversion\": xxxxx, (numeric) the protocol version\n \"walletversion\": xxxxx, (numeric) the wallet version\n \"balance\": xxxxxxx, (numeric) the total Ravencoin balance of the wallet\n \"blocks\": xxxxxx, (numeric) the current number of blocks processed in the server\n \"timeoffset\": xxxxx, (numeric) the time offset\n \"connections\": xxxxx, (numeric) the number of connections\n \"proxy\": \"host:port\", (string, optional) the proxy used by the server\n \"difficulty\": xxxxxx, (numeric) the current difficulty\n \"testnet\": true|false, (boolean) if the server is using testnet or not\n \"keypoololdest\": xxxxxx, (numeric) the timestamp (seconds since Unix epoch) of the oldest pre-generated key in the key pool\n \"keypoolsize\": xxxx, (numeric) how many new keys are pre-generated\n \"unlocked_until\": ttt, (numeric) the timestamp in seconds since epoch (midnight Jan 1 1970 GMT) that the wallet is unlocked for transfers, or 0 if the wallet is locked\n \"paytxfee\": x.xxxx, (numeric) the transaction fee set in RVN/kB\n \"relayfee\": x.xxxx, (numeric) minimum relay fee for transactions in RVN/kB\n \"errors\": \"...\" (string) any error messages\n}\n\nExamples:\n> raven-cli getinfo \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getinfo\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getmemoryinfo": "getmemoryinfo (\"mode\")\nReturns an object containing information about memory usage.\nArguments:\n1. \"mode\" determines what kind of information is returned. This argument is optional, the default mode is \"stats\".\n - \"stats\" returns general statistics about memory usage in the daemon.\n - \"mallocinfo\" returns an XML string describing low-level heap state (only available if compiled with glibc 2.10+).\n\nResult (mode \"stats\"):\n{\n \"locked\": { (json object) Information about locked memory manager\n \"used\": xxxxx, (numeric) Number of bytes used\n \"free\": xxxxx, (numeric) Number of bytes available in current arenas\n \"total\": xxxxxxx, (numeric) Total number of bytes managed\n \"locked\": xxxxxx, (numeric) Amount of bytes that succeeded locking. If this number is smaller than total, locking pages failed at some point and key data could be swapped to disk.\n \"chunks_used\": xxxxx, (numeric) Number allocated chunks\n \"chunks_free\": xxxxx, (numeric) Number unused chunks\n }\n}\n\nResult (mode \"mallocinfo\"):\n\"...\"\n\nExamples:\n> raven-cli getmemoryinfo \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getmemoryinfo\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getrpcinfo": "getrpcinfo\nReturns details of the RPC server.\n\nResult:\n{\n \"active_commands\" (array) All active commands\n [\n { (object) Information about an active command\n \"method\" (string) The name of the RPC command \n \"duration\" (numeric) The running time in microseconds\n },...\n ],\n}\n> raven-cli getrpcinfo \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getrpcinfo\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "help": "help ( \"command\" )\n\nList all commands, or get help for a specified command.\n\nArguments:\n1. \"command\" (string, optional) The command to get help on\n\nResult:\n\"text\" (string) The help text\n", "stop": "stop\n\nStop Raven server.", "uptime": "uptime\n\nReturns the total uptime of the server.\n\nResult:\nttt (numeric) The number of seconds that the server has been running\n\nExamples:\n> raven-cli uptime \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"uptime\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "generate": "generate nblocks ( maxtries )\n\nMine up to nblocks blocks immediately (before the RPC call returns) to an address in the wallet.\n\nArguments:\n1. nblocks (numeric, required) How many blocks are generated immediately.\n2. maxtries (numeric, optional) How many iterations to try (default = 1000000).\n\nResult:\n[ blockhashes ] (array) hashes of blocks generated\n\nExamples:\n\nGenerate 11 blocks\n> raven-cli generate 11\n", "generatetoaddress": "generatetoaddress nblocks address (maxtries)\n\nMine blocks immediately to a specified address (before the RPC call returns)\n\nArguments:\n1. nblocks (numeric, required) How many blocks are generated immediately.\n2. address (string, required) The address to send the newly generated raven to.\n3. maxtries (numeric, optional) How many iterations to try (default = 1000000).\n\nResult:\n[ blockhashes ] (array) hashes of blocks generated\n\nExamples:\n\nGenerate 11 blocks to myaddress\n> raven-cli generatetoaddress 11 \"myaddress\"\n", "getgenerate": "getgenerate\n\nReturn if the server is set to generate coins or not. The default is false.\nIt is set with the command line argument -gen (or raven.conf setting gen)\nIt can also be set with the setgenerate call.\n\nResult\ntrue|false (boolean) If the server is set to generate coins or not\n\nExamples:\n> raven-cli getgenerate \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getgenerate\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "setgenerate": "setgenerate generate ( genproclimit )\n\nSet 'generate' true or false to turn generation on or off.\nGeneration is limited to 'genproclimit' processors, -1 is unlimited.\nSee the getgenerate call for the current setting.\n\nArguments:\n1. generate (boolean, required) Set to true to turn on generation, false to turn off.\n2. genproclimit (numeric, optional) Set the processor limit for when generation is on. Can be -1 for unlimited.\n\nExamples:\n\nSet the generation on with a limit of one processor\n> raven-cli setgenerate true 1\n\nCheck the setting\n> raven-cli getgenerate \n\nTurn off generation\n> raven-cli setgenerate false\n\nUsing json rpc\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"setgenerate\", \"params\": [true, 1] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "clearmessages": "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", "sendmessage": "sendmessage \"channel_name\" \"ipfs_hash\" (expire_time)\n\nCreates and broadcasts a message transaction to the network for a channel this wallet owns\nArguments:\n1. \"channel_name\" (string, required) Name of the channel that you want to send a message with (message channel, administrator asset), if a non administrator asset name is given, the administrator '!' will be added to it\n2. \"ipfs_hash\" (string, required) The IPFS hash of the message\n3. \"expire_time\" (numeric, optional) UTC timestamp of when the message expires\n\nResult:[\ntxid\n]\n\nExamples:\n> raven-cli sendmessage \"ASSET_NAME!\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\" 15863654\n> raven-cli sendmessage \"ASSET_NAME!\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\" 15863654\n", "subscribetochannel": "subscribetochannel \n\nSubscribe to a certain message channel\n\nArguments:\n1. \"channel_name\" (string, required) The channel name to subscribe to, it must end with '!' or have an '~' in the name\n\nResult:[\n\n]\n\nExamples:\n> raven-cli subscribetochannel \"ASSET_NAME!\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"subscribetochannel\", \"params\": [\"ASSET_NAME!\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "unsubscribefromchannel": "unsubscribefromchannel \n\nUnsubscribe from a certain message channel\n\nArguments:\n1. \"channel_name\" (string, required) The channel name to unsubscribe from, must end with '!' or have an '~' in the name\n\nResult:[\n\n]\n\nExamples:\n> raven-cli unsubscribefromchannel \"ASSET_NAME!\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"unsubscribefromchannel\", \"params\": [\"ASSET_NAME!\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "viewallmessagechannels": "viewallmessagechannels \n\nView all message channels the wallet is subscribed to\n\nResult:[\n\"Asset Name\" (string) The asset channel name\n\n]\n\nExamples:\n> raven-cli viewallmessagechannels \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"viewallmessagechannels\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "viewallmessages": "viewallmessages \n\nView all messages that the wallet contains\n\nResult:\n\"Asset Name:\" (string) The name of the asset the message was sent on\n\"Message:\" (string) The IPFS hash of the message\n\"Time:\" (Date) The time as a date in the format (YY-mm-dd Hour-minute-second)\n\"Block Height:\" (number) The height of the block the message was included in\n\"Status:\" (string) Status of the message (READ, UNREAD, ORPHAN, EXPIRED, SPAM, HIDDEN, ERROR)\n\"Expire Time:\" (Date, optional) If the message had an expiration date assigned, it will be shown here in the format (YY-mm-dd Hour-minute-second)\n\"Expire UTC Time:\" (Date, optional) If the message contains an expire date that is too large, the UTC number will be displayed\n\nExamples:\n> raven-cli viewallmessages \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"viewallmessages\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getblocktemplate": "getblocktemplate ( TemplateRequest )\n\nIf the request parameters include a 'mode' key, that is used to explicitly select between the default 'template' request or a 'proposal'.\nIt returns data needed to construct a block to work on.\nFor full specification, see BIPs 22, 23, 9, and 145:\n https://github.com/raven/bips/blob/master/bip-0022.mediawiki\n https://github.com/raven/bips/blob/master/bip-0023.mediawiki\n https://github.com/raven/bips/blob/master/bip-0009.mediawiki#getblocktemplate_changes\n https://github.com/raven/bips/blob/master/bip-0145.mediawiki\n\nArguments:\n1. template_request (json object, optional) A json object in the following spec\n {\n \"mode\":\"template\" (string, optional) This must be set to \"template\", \"proposal\" (see BIP 23), or omitted\n \"capabilities\":[ (array, optional) A list of strings\n \"support\" (string) client side supported feature, 'longpoll', 'coinbasetxn', 'coinbasevalue', 'proposal', 'serverlist', 'workid'\n ,...\n ],\n \"rules\":[ (array, optional) A list of strings\n \"support\" (string) client side supported softfork deployment\n ,...\n ]\n }\n\n\nResult:\n{\n \"version\" : n, (numeric) The preferred block version\n \"rules\" : [ \"rulename\", ... ], (array of strings) specific block rules that are to be enforced\n \"vbavailable\" : { (json object) set of pending, supported versionbit (BIP 9) softfork deployments\n \"rulename\" : bitnumber (numeric) identifies the bit number as indicating acceptance and readiness for the named softfork rule\n ,...\n },\n \"vbrequired\" : n, (numeric) bit mask of versionbits the server requires set in submissions\n \"previousblockhash\" : \"xxxx\", (string) The hash of current highest block\n \"transactions\" : [ (array) contents of non-coinbase transactions that should be included in the next block\n {\n \"data\" : \"xxxx\", (string) transaction data encoded in hexadecimal (byte-for-byte)\n \"txid\" : \"xxxx\", (string) transaction id encoded in little-endian hexadecimal\n \"hash\" : \"xxxx\", (string) hash encoded in little-endian hexadecimal (including witness data)\n \"depends\" : [ (array) array of numbers \n n (numeric) transactions before this one (by 1-based index in 'transactions' list) that must be present in the final block if this one is\n ,...\n ],\n \"fee\": n, (numeric) difference in value between transaction inputs and outputs (in satoshis); for coinbase transactions, this is a negative Number of the total collected block fees (ie, not including the block subsidy); if key is not present, fee is unknown and clients MUST NOT assume there isn't one\n \"sigops\" : n, (numeric) total SigOps cost, as counted for purposes of block limits; if key is not present, sigop cost is unknown and clients MUST NOT assume it is zero\n \"weight\" : n, (numeric) total transaction weight, as counted for purposes of block limits\n \"required\" : true|false (boolean) if provided and true, this transaction must be in the final block\n }\n ,...\n ],\n \"coinbaseaux\" : { (json object) data that should be included in the coinbase's scriptSig content\n \"flags\" : \"xx\" (string) key name is to be ignored, and value included in scriptSig\n },\n \"coinbasevalue\" : n, (numeric) maximum allowable input to coinbase transaction, including the generation award and transaction fees (in satoshis)\n \"coinbasetxn\" : { ... }, (json object) information for coinbase transaction\n \"target\" : \"xxxx\", (string) The hash target\n \"mintime\" : xxx, (numeric) The minimum timestamp appropriate for next block time in seconds since epoch (Jan 1 1970 GMT)\n \"mutable\" : [ (array of string) list of ways the block template may be changed \n \"value\" (string) A way the block template may be changed, e.g. 'time', 'transactions', 'prevblock'\n ,...\n ],\n \"noncerange\" : \"00000000ffffffff\",(string) A range of valid nonces\n \"sigoplimit\" : n, (numeric) limit of sigops in blocks\n \"sizelimit\" : n, (numeric) limit of block size\n \"weightlimit\" : n, (numeric) limit of block weight\n \"curtime\" : ttt, (numeric) current timestamp in seconds since epoch (Jan 1 1970 GMT)\n \"bits\" : \"xxxxxxxx\", (string) compressed target of next block\n \"height\" : n (numeric) The height of the next block\n}\n\nExamples:\n> raven-cli getblocktemplate \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getblocktemplate\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getkawpowhash": "getkawpowhash \"header_hash\" \"mix_hash\" nonce, height, \"target\"\n\nGet the kawpow hash for a block given its block data\n\nArguments\n1. \"header_hash\" (string, required) the prow_pow header hash that was given to the gpu miner from this rpc client\n2. \"mix_hash\" (string, required) the mix hash that was mined by the gpu miner via rpc\n3. \"nonce\" (string, required) the hex nonce of the block that hashed the valid block\n4. \"height\" (number, required) the height of the block data that is being hashed\n5. \"target\" (string, optional) the target of the block that is hash is trying to meet\n\nResult:\n\nExamples:\n> raven-cli getkawpowhash \"header_hash\" \"mix_hash\" \"0x100000\" 2456\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getkawpowhash\", \"params\": [\"header_hash\" \"mix_hash\" \"0x100000\" 2456] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getmininginfo": "getmininginfo\n\nReturns a json object containing mining-related information.\nResult:\n{\n \"blocks\": nnn, (numeric) The current block\n \"currentblockweight\": nnn, (numeric) The last block weight\n \"currentblocktx\": nnn, (numeric) The last block transaction\n \"difficulty\": xxx.xxxxx (numeric) The current difficulty\n \"networkhashps\": nnn, (numeric) The network hashes per second\n \"hashespersec\": nnn, (numeric) The hashes per second of built-in miner\n \"pooledtx\": n (numeric) The size of the mempool\n \"chain\": \"xxxx\", (string) current network name as defined in BIP70 (main, test, regtest)\n \"warnings\": \"...\" (string) any network and blockchain warnings\n \"errors\": \"...\" (string) DEPRECATED. Same as warnings. Only shown when ravend is started with -deprecatedrpc=getmininginfo\n}\n\nExamples:\n> raven-cli getmininginfo \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getmininginfo\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getnetworkhashps": "getnetworkhashps ( nblocks height )\n\nReturns the estimated network hashes per second based on the last n blocks.\nPass in [blocks] to override # of blocks, -1 specifies since last difficulty change.\nPass in [height] to estimate the network speed at the time when a certain block was found.\n\nArguments:\n1. nblocks (numeric, optional, default=120) The number of blocks, or -1 for blocks since last difficulty change.\n2. height (numeric, optional, default=-1) To estimate at the time of the given height.\n\nResult:\nx (numeric) Hashes per second estimated\n\nExamples:\n> raven-cli getnetworkhashps \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getnetworkhashps\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "pprpcsb": "pprpcsb \"header_hash\" \"mix_hash\" \"nonce\"\n\nAttempts to submit new block to network mined by kawpow gpu miner via rpc.\n\nArguments\n1. \"header_hash\" (string, required) the prow_pow header hash that was given to the gpu miner from this rpc client\n2. \"mix_hash\" (string, required) the mix hash that was mined by the gpu miner via rpc\n3. \"nonce\" (string, required) the nonce of the block that hashed the valid block\n\nResult:\n\nExamples:\n> raven-cli pprpcsb \"header_hash\" \"mix_hash\" 100000\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"pprpcsb\", \"params\": [\"header_hash\" \"mix_hash\" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "prioritisetransaction": "prioritisetransaction \nAccepts the transaction into mined blocks at a higher (or lower) priority\n\nArguments:\n1. \"txid\" (string, required) The transaction id.\n2. dummy (numeric, optional) API-Compatibility for previous API. Must be zero or null.\n DEPRECATED. For forward compatibility use named arguments and omit this parameter.\n3. fee_delta (numeric, required) The fee value (in satoshis) to add (or subtract, if negative).\n The fee is not actually paid, only the algorithm for selecting transactions into a block\n considers the transaction as it would have paid a higher (or lower) fee.\n\nResult:\ntrue (boolean) Returns true\n\nExamples:\n> raven-cli prioritisetransaction \"txid\" 0.0 10000\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"prioritisetransaction\", \"params\": [\"txid\", 0.0, 10000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "submitblock": "submitblock \"hexdata\" ( \"dummy\" )\n\nAttempts to submit new block to network.\nSee https://en.raven.it/wiki/BIP_0022 for full specification.\n\nArguments\n1. \"hexdata\" (string, required) the hex-encoded block data to submit\n2. \"dummy\" (optional) dummy value, for compatibility with BIP22. This value is ignored.\n\nResult:\n\nExamples:\n> raven-cli submitblock \"mydata\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"submitblock\", \"params\": [\"mydata\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "addnode": "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", "clearbanned": "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", "disconnectnode": "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", "getaddednodeinfo": "getaddednodeinfo ( \"node\" )\n\nReturns information about the given added node, or all added nodes\n(note that onetry addnodes are not listed here)\n\nArguments:\n1. \"node\" (string, optional) If provided, return information about this specific node, otherwise all nodes are returned.\n\nResult:\n[\n {\n \"addednode\" : \"192.168.0.201\", (string) The node IP address or name (as provided to addnode)\n \"connected\" : true|false, (boolean) If connected\n \"addresses\" : [ (list of objects) Only when connected = true\n {\n \"address\" : \"192.168.0.201:8767\", (string) The raven server IP and port we're connected to\n \"connected\" : \"outbound\" (string) connection, inbound or outbound\n }\n ]\n }\n ,...\n]\n\nExamples:\n> raven-cli getaddednodeinfo \"192.168.0.201\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getaddednodeinfo\", \"params\": [\"192.168.0.201\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getconnectioncount": "getconnectioncount\n\nReturns the number of connections to other nodes.\n\nResult:\nn (numeric) The connection count\n\nExamples:\n> raven-cli getconnectioncount \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getconnectioncount\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getnettotals": "getnettotals\n\nReturns information about network traffic, including bytes in, bytes out,\nand current time.\n\nResult:\n{\n \"totalbytesrecv\": n, (numeric) Total bytes received\n \"totalbytessent\": n, (numeric) Total bytes sent\n \"timemillis\": t, (numeric) Current UNIX time in milliseconds\n \"uploadtarget\":\n {\n \"timeframe\": n, (numeric) Length of the measuring timeframe in seconds\n \"target\": n, (numeric) Target in bytes\n \"target_reached\": true|false, (boolean) True if target is reached\n \"serve_historical_blocks\": true|false, (boolean) True if serving historical blocks\n \"bytes_left_in_cycle\": t, (numeric) Bytes left in current time cycle\n \"time_left_in_cycle\": t (numeric) Seconds left in current time cycle\n }\n}\n\nExamples:\n> raven-cli getnettotals \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getnettotals\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getnetworkinfo": "getnetworkinfo\nReturns an object containing various state info regarding P2P networking.\n\nResult:\n{\n \"version\": xxxxx, (numeric) the server version\n \"subversion\": \"/Satoshi:x.x.x/\", (string) the server subversion string\n \"protocolversion\": xxxxx, (numeric) the protocol version\n \"localservices\": \"xxxxxxxxxxxxxxxx\", (string) the services we offer to the network\n \"localrelay\": true|false, (bool) true if transaction relay is requested from peers\n \"timeoffset\": xxxxx, (numeric) the time offset\n \"connections\": xxxxx, (numeric) the number of connections\n \"networkactive\": true|false, (bool) whether p2p networking is enabled\n \"networks\": [ (array) information per network\n {\n \"name\": \"xxx\", (string) network (ipv4, ipv6 or onion)\n \"limited\": true|false, (boolean) is the network limited using -onlynet?\n \"reachable\": true|false, (boolean) is the network reachable?\n \"proxy\": \"host:port\" (string) the proxy that is used for this network, or empty if none\n \"proxy_randomize_credentials\": true|false, (string) Whether randomized credentials are used\n }\n ,...\n ],\n \"relayfee\": x.xxxxxxxx, (numeric) minimum relay fee for transactions in RVN/kB\n \"incrementalfee\": x.xxxxxxxx, (numeric) minimum fee increment for mempool limiting or BIP 125 replacement in RVN/kB\n \"localaddresses\": [ (array) list of local addresses\n {\n \"address\": \"xxxx\", (string) network address\n \"port\": xxx, (numeric) network port\n \"score\": xxx (numeric) relative score\n }\n ,...\n ]\n \"warnings\": \"...\" (string) any network and blockchain warnings\n}\n\nExamples:\n> raven-cli getnetworkinfo \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getnetworkinfo\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getpeerinfo": "getpeerinfo\n\nReturns data about each connected network node as a json array of objects.\n\nResult:\n[\n {\n \"id\": n, (numeric) Peer index\n \"addr\":\"host:port\", (string) The IP address and port of the peer\n \"addrbind\":\"ip:port\", (string) Bind address of the connection to the peer\n \"addrlocal\":\"ip:port\", (string) Local address as reported by the peer\n \"services\":\"xxxxxxxxxxxxxxxx\", (string) The services offered\n \"relaytxes\":true|false, (boolean) Whether peer has asked us to relay transactions to it\n \"lastsend\": ttt, (numeric) The time in seconds since epoch (Jan 1 1970 GMT) of the last send\n \"lastrecv\": ttt, (numeric) The time in seconds since epoch (Jan 1 1970 GMT) of the last receive\n \"bytessent\": n, (numeric) The total bytes sent\n \"bytesrecv\": n, (numeric) The total bytes received\n \"conntime\": ttt, (numeric) The connection time in seconds since epoch (Jan 1 1970 GMT)\n \"timeoffset\": ttt, (numeric) The time offset in seconds\n \"pingtime\": n, (numeric) ping time (if available)\n \"minping\": n, (numeric) minimum observed ping time (if any at all)\n \"pingwait\": n, (numeric) ping wait (if non-zero)\n \"version\": v, (numeric) The peer version, such as 7001\n \"subver\": \"/Satoshi:0.8.5/\", (string) The string version\n \"inbound\": true|false, (boolean) Inbound (true) or Outbound (false)\n \"addnode\": true|false, (boolean) Whether connection was due to addnode/-connect or if it was an automatic/inbound connection\n \"startingheight\": n, (numeric) The starting height (block) of the peer\n \"banscore\": n, (numeric) The ban score\n \"synced_headers\": n, (numeric) The last header we have in common with this peer\n \"synced_blocks\": n, (numeric) The last block we have in common with this peer\n \"inflight\": [\n n, (numeric) The heights of blocks we're currently asking from this peer\n ...\n ],\n \"whitelisted\": true|false, (boolean) Whether the peer is whitelisted\n \"bytessent_per_msg\": {\n \"addr\": n, (numeric) The total bytes sent aggregated by message type\n ...\n },\n \"bytesrecv_per_msg\": {\n \"addr\": n, (numeric) The total bytes received aggregated by message type\n ...\n }\n }\n ,...\n]\n\nExamples:\n> raven-cli getpeerinfo \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getpeerinfo\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "listbanned": "listbanned\n\nList all banned IPs/Subnets.\n\nExamples:\n> raven-cli listbanned \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listbanned\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "ping": "ping\n\nRequests that a ping be sent to all other nodes, to measure ping time.\nResults provided in getpeerinfo, pingtime and pingwait fields are decimal seconds.\nPing command is handled in queue with all other commands, so it measures processing backlog, not just network ping.\n\nExamples:\n> raven-cli ping \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"ping\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "setban": "setban \"subnet\" \"add|remove\" (bantime) (absolute)\n\nAttempts to add or remove an IP/Subnet from the banned list.\n\nArguments:\n1. \"subnet\" (string, required) The IP/Subnet (see getpeerinfo for nodes IP) with an optional netmask (default is /32 = single IP)\n2. \"command\" (string, required) 'add' to add an IP/Subnet to the list, 'remove' to remove an IP/Subnet from the list\n3. \"bantime\" (numeric, optional) time in seconds how long (or until when if [absolute] is set) the IP is banned (0 or empty means using the default time of 24h which can also be overwritten by the -bantime startup argument)\n4. \"absolute\" (boolean, optional) If set, the bantime must be an absolute timestamp in seconds since epoch (Jan 1 1970 GMT)\n\nExamples:\n> raven-cli setban \"192.168.0.6\" \"add\" 86400\n> raven-cli setban \"192.168.0.0/24\" \"add\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"setban\", \"params\": [\"192.168.0.6\", \"add\", 86400] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "setnetworkactive": "setnetworkactive true|false\n\nDisable/enable all p2p network activity.\n\nArguments:\n1. \"state\" (boolean, required) true to enable networking, false to disable\n", "combinerawtransaction": "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", "createrawtransaction": "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", "decoderawtransaction": "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", "decodescript": "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", "fundrawtransaction": "fundrawtransaction \"hexstring\" ( options )\n\nAdd inputs to a transaction until it has enough in value to meet its out value.\nThis will not modify existing inputs, and will add at most one change output to the outputs.\nNo existing outputs will be modified unless \"subtractFeeFromOutputs\" is specified.\nNote that inputs which were signed may need to be resigned after completion since in/outputs have been added.\nThe inputs added will not be signed, use signrawtransaction for that.\nNote that all existing inputs must have their previous output transaction be in the wallet.\nNote that all inputs selected must be of standard form and P2SH scripts must be\nin the wallet using importaddress or addmultisigaddress (to calculate fees).\nYou can see whether this is the case by checking the \"solvable\" field in the listunspent output.\nOnly pay-to-pubkey, multisig, and P2SH versions thereof are currently supported for watch-only\n\nArguments:\n1. \"hexstring\" (string, required) The hex string of the raw transaction\n2. options (object, optional)\n {\n \"changeAddress\" (string, optional, default pool address) The raven address to receive the change\n \"changePosition\" (numeric, optional, default random) The index of the change output\n \"includeWatching\" (boolean, optional, default false) Also select inputs which are watch only\n \"lockUnspents\" (boolean, optional, default false) Lock selected unspent outputs\n \"feeRate\" (numeric, optional, default not set: makes wallet determine the fee) Set a specific fee rate in RVN/kB\n \"subtractFeeFromOutputs\" (array, optional) A json array of integers.\n The fee will be equally deducted from the amount of each specified output.\n The outputs are specified by their zero-based index, before any change output is added.\n Those recipients will receive less ravens than you enter in their corresponding amount field.\n If no outputs are specified here, the sender pays the fee.\n [vout_index,...]\n Allows this transaction to be replaced by a transaction with higher fees\n \"conf_target\" (numeric, optional) Confirmation target (in blocks)\n \"estimate_mode\" (string, optional, default=UNSET) The fee estimate mode, must be one of:\n \"UNSET\"\n \"ECONOMICAL\"\n \"CONSERVATIVE\"\n }\n for backward compatibility: passing in a true instead of an object will result in {\"includeWatching\":true}\n\nResult:\n{\n \"hex\": \"value\", (string) The resulting raw transaction (hex-encoded string)\n \"fee\": n, (numeric) Fee in RVN the resulting transaction pays\n \"changepos\": n (numeric) The position of the added change output, or -1\n}\n\nExamples:\n\nCreate a transaction with no inputs\n> raven-cli createrawtransaction \"[]\" \"{\\\"myaddress\\\":0.01}\"\n\nAdd sufficient unsigned inputs to meet the output value\n> raven-cli fundrawtransaction \"rawtransactionhex\"\n\nSign the transaction\n> raven-cli signrawtransaction \"fundedtransactionhex\"\n\nSend the transaction\n> raven-cli sendrawtransaction \"signedtransactionhex\"\n", "getrawtransaction": "getrawtransaction \"txid\" ( verbose )\n\nNOTE: By default this function only works for mempool transactions. If the -txindex option is\nenabled, it also works for blockchain transactions.\nDEPRECATED: for now, it also works for transactions with unspent outputs.\n\nReturn the raw transaction data.\n\nIf verbose is 'true', returns an Object with information about 'txid'.\nIf verbose is 'false' or omitted, returns a string that is serialized, hex-encoded data for 'txid'.\n\nArguments:\n1. \"txid\" (string, required) The transaction id\n2. verbose (bool, optional, default=false) If false, return a string, otherwise return a json object\n\nResult (if verbose is not set or set to false):\n\"data\" (string) The serialized, hex-encoded data for 'txid'\n\nResult (if verbose is set to true):\n{\n \"hex\" : \"data\", (string) The serialized, hex-encoded data for 'txid'\n \"txid\" : \"id\", (string) The transaction id (same as provided)\n \"hash\" : \"id\", (string) The transaction hash (differs from txid for witness transactions)\n \"size\" : n, (numeric) The serialized 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) \n \"scriptSig\": { (json object) The script\n \"asm\": \"asm\", (string) asm\n \"hex\": \"hex\" (string) hex\n },\n \"sequence\": n (numeric) The script sequence number\n \"txinwitness\": [\"hex\", ...] (array of string) hex-encoded witness data (if any)\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 \"addresses\" : [ (json array of string)\n \"address\" (string) raven address\n ,...\n ]\n }\n }\n ,...\n ],\n \"blockhash\" : \"hash\", (string) the block hash\n \"confirmations\" : n, (numeric) The confirmations\n \"time\" : ttt, (numeric) The transaction time in seconds since epoch (Jan 1 1970 GMT)\n \"blocktime\" : ttt (numeric) The block time in seconds since epoch (Jan 1 1970 GMT)\n}\n\nExamples:\n> raven-cli getrawtransaction \"mytxid\"\n> raven-cli getrawtransaction \"mytxid\" true\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getrawtransaction\", \"params\": [\"mytxid\", true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "sendrawtransaction": "sendrawtransaction \"hexstring\" ( allowhighfees )\n\nSubmits raw transaction (serialized, hex-encoded) to local node and network.\n\nAlso see createrawtransaction and signrawtransaction calls.\n\nArguments:\n1. \"hexstring\" (string, required) The hex string of the raw transaction)\n2. allowhighfees (boolean, optional, default=false) Allow high fees\n\nResult:\n\"hex\" (string) The transaction hash in hex\n\nExamples:\n\nCreate a transaction\n> raven-cli createrawtransaction \"[{\\\"txid\\\" : \\\"mytxid\\\",\\\"vout\\\":0}]\" \"{\\\"myaddress\\\":0.01}\"\nSign the transaction, and get back the hex\n> raven-cli signrawtransaction \"myhex\"\n\nSend the transaction (signed hex)\n> raven-cli sendrawtransaction \"signedhex\"\n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"sendrawtransaction\", \"params\": [\"signedhex\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "signrawtransaction": "signrawtransaction \"hexstring\" ( [{\"txid\":\"id\",\"vout\":n,\"scriptPubKey\":\"hex\",\"redeemScript\":\"hex\"},...] [\"privatekey1\",...] sighashtype )\n\nSign inputs for raw transaction (serialized, hex-encoded).\nThe second optional argument (may be null) is an array of previous transaction outputs that\nthis transaction depends on but may not yet be in the block chain.\nThe third optional argument (may be null) is an array of base58-encoded private\nkeys that, if given, will be the only keys used to sign the transaction.\n\n\nArguments:\n1. \"hexstring\" (string, required) The transaction hex string\n2. \"prevtxs\" (string, optional) An json array of previous dependent transaction outputs\n [ (json array of json objects, or 'null' if none provided)\n {\n \"txid\":\"id\", (string, required) The transaction id\n \"vout\":n, (numeric, required) The output number\n \"scriptPubKey\": \"hex\", (string, required) script key\n \"redeemScript\": \"hex\", (string, required for P2SH or P2WSH) redeem script\n \"amount\": value (numeric, required) The amount spent\n }\n ,...\n ]\n3. \"privkeys\" (string, optional) A json array of base58-encoded private keys for signing\n [ (json array of strings, or 'null' if none provided)\n \"privatekey\" (string) private key in base58-encoding\n ,...\n ]\n4. \"sighashtype\" (string, optional, default=ALL) The signature hash type. Must be one of\n \"ALL\"\n \"NONE\"\n \"SINGLE\"\n \"ALL|ANYONECANPAY\"\n \"NONE|ANYONECANPAY\"\n \"SINGLE|ANYONECANPAY\"\n\nResult:\n{\n \"hex\" : \"value\", (string) The hex-encoded raw transaction with signature(s)\n \"complete\" : true|false, (boolean) If the transaction has a complete set of signatures\n \"errors\" : [ (json array of objects) Script verification errors (if there are any)\n {\n \"txid\" : \"hash\", (string) The hash of the referenced, previous transaction\n \"vout\" : n, (numeric) The index of the output to spent and used as input\n \"scriptSig\" : \"hex\", (string) The hex-encoded signature script\n \"sequence\" : n, (numeric) Script sequence number\n \"error\" : \"text\" (string) Verification or signing error related to the input\n }\n ,...\n ]\n}\n\nExamples:\n> raven-cli signrawtransaction \"myhex\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"signrawtransaction\", \"params\": [\"myhex\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "testmempoolaccept": "testmempoolaccept [\"rawtxs\"] ( allowhighfees )\n\nReturns if raw transaction (serialized, hex-encoded) would be accepted by mempool.\n\nThis checks if the transaction violates the consensus or policy rules.\n\nSee sendrawtransaction call.\n\nArguments:\n1. [\"rawtxs\"] (array, required) An array of hex strings of raw transactions.\n Length must be one for now.\n2. allowhighfees (boolean, optional, default=false) Allow high fees\n\nResult:\n[ (array) The result of the mempool acceptance test for each raw transaction in the input array.\n Length is exactly one for now.\n {\n \"txid\" (string) The transaction hash in hex\n \"allowed\" (boolean) If the mempool allows this tx to be inserted\n \"reject-reason\" (string) Rejection string (only present when 'allowed' is false)\n }\n]\n\nExamples:\n\nCreate a transaction\n> raven-cli createrawtransaction \"[{\\\"txid\\\" : \\\"mytxid\\\",\\\"vout\\\":0}]\" \"{\\\"myaddress\\\":0.01}\"\nSign the transaction, and get back the hex\n> raven-cli signrawtransaction \"myhex\"\n\nTest acceptance of the transaction (signed hex)\n> raven-cli testmempoolaccept \"signedhex\"\n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"testmempoolaccept\", \"params\": [[\"signedhex\"]] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "addtagtoaddress": "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", "checkaddressrestriction": "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", "checkaddresstag": "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", "checkglobalrestriction": "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", "freezeaddress": "freezeaddress asset_name address (change_address) (asset_data)\n\nFreeze an address from transferring a restricted asset\n\nArguments:\n1. \"asset_name\" (string, required) the name of the restricted asset you want to freeze\n2. \"address\" (string, required) the address that will be frozen\n3. \"change_address\" (string, optional) The change address for the owner token of the restricted asset\n4. \"asset_data\" (string, optional) The asset data (ipfs or a hash) to be applied to the transfer of the owner token\n\nResult:\n\"txid\" (string) The transaction id\n\nExamples:\n> raven-cli freezeaddress \"$RESTRICTED_ASSET\" \"address\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"freezeaddress\", \"params\": [\"$RESTRICTED_ASSET\" \"address\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n> raven-cli freezeaddress \"$RESTRICTED_ASSET\" \"address\" \"change_address\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"freezeaddress\", \"params\": [\"$RESTRICTED_ASSET\" \"address\" \"change_address\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "freezerestrictedasset": "freezerestrictedasset asset_name (change_address) (asset_data)\n\nFreeze all trading for a specific restricted asset\n\nArguments:\n1. \"asset_name\" (string, required) the name of the restricted asset you want to unfreeze\n2. \"change_address\" (string, optional) The change address for the owner token of the restricted asset\n3. \"asset_data\" (string, optional) The asset data (ipfs or a hash) to be applied to the transfer of the owner token\n\nResult:\n\"txid\" (string) The transaction id\n\nExamples:\n> raven-cli freezerestrictedasset \"$RESTRICTED_ASSET\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"freezerestrictedasset\", \"params\": [\"$RESTRICTED_ASSET\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n> raven-cli freezerestrictedasset \"$RESTRICTED_ASSET\" \"change_address\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"freezerestrictedasset\", \"params\": [\"$RESTRICTED_ASSET\" \"change_address\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getverifierstring": "getverifierstring restricted_name\n\nRetrieve the verifier string that belongs to the given restricted asset\n\nArguments:\n1. \"restricted_name\" (string, required) the asset_name\n\nResult:\n\"verifier_string\", (string) The verifier for the asset\n\nExamples:\n> raven-cli getverifierstring \"restricted_name\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getverifierstring\", \"params\": [\"restricted_name\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "issuequalifierasset": "issuequalifierasset \"asset_name\" qty \"( to_address )\" \"( change_address )\" ( has_ipfs ) \"( ipfs_hash )\"\n\nIssue an qualifier or sub qualifier asset\nIf the '#' character isn't added, it will be added automatically\nAmount is a number between 1 and 10\nAsset name must not conflict with any existing asset.\nUnit is always set to Zero (0) for qualifier assets\nReissuable is always set to false for qualifier assets\n\nArguments:\n1. \"asset_name\" (string, required) a unique name\n2. \"qty\" (numeric, optional, default=1) the number of units to be issued\n3. \"to_address\" (string), optional, default=\"\"), address asset will be sent to, if it is empty, address will be generated for you\n4. \"change_address\" (string), optional, default=\"\"), address the the rvn change will be sent to, if it is empty, change address will be generated for you\n5. \"has_ipfs\" (boolean, optional, default=false), whether ipfs hash is going to be added to the asset\n6. \"ipfs_hash\" (string, optional but required if has_ipfs = 1), an ipfs hash or a txid hash once RIP5 is activated\n\nResult:\n\"txid\" (string) The transaction id\n\nExamples:\n> raven-cli issuequalifierasset \"#ASSET_NAME\" 1000\n> raven-cli issuequalifierasset \"ASSET_NAME\" 1000 \"myaddress\"\n> raven-cli issuequalifierasset \"#ASSET_NAME\" 1000 \"myaddress\" \"changeaddress\"\n> raven-cli issuequalifierasset \"ASSET_NAME\" 1000 \"myaddress\" \"changeaddress\"\n> raven-cli issuequalifierasset \"#ASSET_NAME\" 1000 \"myaddress\" \"changeaddress\" true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\n> raven-cli issuequalifierasset \"ASSET_NAME/SUB_QUALIFIER\" 1000 \"myaddress\" \"changeaddress\"\n> raven-cli issuequalifierasset \"#ASSET_NAME\"\n", "issuerestrictedasset": "issuerestrictedasset \"asset_name\" qty \"verifier\" \"to_address\" \"( change_address )\" (units) ( reissuable ) ( has_ipfs ) \"( ipfs_hash )\"\n\nIssue a restricted asset.\nRestricted asset names must not conflict with any existing restricted asset.\nRestricted assets have units set to 0.\nReissuable is true/false for whether additional asset quantity can be created and if the verifier string can be changed\n\nArguments:\n1. \"asset_name\" (string, required) a unique name, starts with '$', if '$' is not there it will be added automatically\n2. \"qty\" (numeric, required) the quantity of the asset to be issued\n3. \"verifier\" (string, required) the verifier string that will be evaluated when restricted asset transfers are made\n4. \"to_address\" (string, required) address asset will be sent to, this address must meet the verifier string requirements\n5. \"change_address\" (string, optional, default=\"\") address that the rvn change will be sent to, if it is empty, change address will be generated for you\n6. \"units\" (integer, optional, default=0, min=0, max=8) the number of decimals precision for the asset (0 for whole units (\"1\"), 8 for max precision (\"1.00000000\")\n7. \"reissuable\" (boolean, optional, default=true (false for unique assets)) whether future reissuance is allowed\n8. \"has_ipfs\" (boolean, optional, default=false) whether an ipfs hash or txid hash is going to be added to the asset\n9. \"ipfs_hash\" (string, optional but required if has_ipfs = 1) an ipfs hash or a txid hash once RIP5 is activated\n\nResult:\n\"txid\" (string) The transaction id\n\nExamples:\n> raven-cli issuerestrictedasset \"$ASSET_NAME\" 1000 \"#KYC & !#AML\" \"myaddress\"\n> raven-cli issuerestrictedasset \"$ASSET_NAME\" 1000 \"#KYC & !#AML\" \"myaddress\"\n> raven-cli issuerestrictedasset \"$ASSET_NAME\" 1000 \"#KYC & !#AML\" \"myaddress\" \"changeaddress\" 5\n> raven-cli issuerestrictedasset \"$ASSET_NAME\" 1000 \"#KYC & !#AML\" \"myaddress\" \"changeaddress\" 8 true\n> raven-cli issuerestrictedasset \"$ASSET_NAME\" 1000 \"#KYC & !#AML\" \"myaddress\" \"changeaddress\" 0 false true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\n", "isvalidverifierstring": "isvalidverifierstring verifier_string\n\nChecks to see if the given verifier string is valid\n\nArguments:\n1. \"verifier_string\" (string, required) the verifier string to check\n\nResult:\n\"xxxxxxx\", (string) If the verifier string is valid, and the reason\n\nExamples:\n> raven-cli isvalidverifierstring \"verifier_string\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"isvalidverifierstring\", \"params\": [\"verifier_string\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "listaddressesfortag": "listaddressesfortag tag_name\n\nList all addresses that have been assigned a given tag\n\nArguments:\n1. \"tag_name\" (string, required) the tag asset name to search for\n\nResult:\n[\"address\", (string) The address\n...,\n]\n\nExamples:\n> raven-cli listaddressesfortag \"#TAG\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listaddressesfortag\", \"params\": [\"#TAG\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "listaddressrestrictions": "listaddressrestrictions address\n\nList all assets that have frozen this address\n\nArguments:\n1. \"address\" (string), required) the address to list restrictions for\n\nResult:\n[\"asset_name\", (string) The restriction name\n...,\n]\n\nExamples:\n> raven-cli listaddressrestrictions \"address\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listaddressrestrictions\", \"params\": [\"address\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "listglobalrestrictions": "listglobalrestrictions\n\nList all global restricted assets\n\nResult:\n[\"asset_name\", (string) The asset name\n...,\n]\n\nExamples:\n> raven-cli listglobalrestrictions \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listglobalrestrictions\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "listtagsforaddress": "listtagsforaddress address\n\nList all tags assigned to an address\n\nArguments:\n1. \"address\" (string, required) the address to list tags for\n\nResult:\n[\"tag_name\", (string) The tag name\n...,\n]\n\nExamples:\n> raven-cli listtagsforaddress \"address\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listtagsforaddress\", \"params\": [\"address\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "reissuerestrictedasset": "reissuerestrictedasset \"asset_name\" qty to_address ( change_verifier ) ( \"new_verifier\" ) \"( change_address )\" ( new_units ) ( reissuable ) \"( new_ipfs )\"\n\nReissue an already created restricted asset\nReissuable is true/false for whether additional asset quantity can be created and if the verifier string can be changed\n\nArguments:\n1. \"asset_name\" (string, required) a unique name, starts with '$'\n2. \"qty\" (numeric, required) the additional quantity of the asset to be issued\n3. \"to_address\" (string, required) address asset will be sent to, this address must meet the verifier string requirements\n4. \"change_verifier\" (boolean, optional, default=false) if the verifier string will get changed\n5. \"new_verifier\" (string, optional, default=\"\") the new verifier string that will be evaluated when restricted asset transfers are made\n6. \"change_address\" (string, optional, default=\"\") address that the rvn change will be sent to, if it is empty, change address will be generated for you\n7. \"new_units\" (numeric, optional, default=-1) the new units that will be associated with the asset\n8. \"reissuable\" (boolean, optional, default=true (false for unique assets)) whether future reissuance is allowed\n9. \"new_ipfs\" (string, optional, default=\"\") whether to update the current ipfs hash or txid once RIP5 is active\n\nResult:\n\"txid\" (string) The transaction id\n\nExamples:\n> raven-cli reissuerestrictedasset \"$ASSET_NAME\" 1000 \"myaddress\" true \"KYC & !AML\"\n> raven-cli reissuerestrictedasset \"$ASSET_NAME\" 1000 \"myaddress\" true \"KYC & !AML\" \n> raven-cli reissuerestrictedasset \"$ASSET_NAME\" 1000 \"myaddress\" true \"KYC & !AML\" \"changeaddress\"\n> raven-cli reissuerestrictedasset \"$ASSET_NAME\" 1000 \"myaddress\" true \"KYC & !AML\" \"changeaddress\" -1 true\n> raven-cli reissuerestrictedasset \"$ASSET_NAME\" 1000 \"myaddress\" false \"\" \"changeaddress\" -1 false QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\n", "removetagfromaddress": "removetagfromaddress tag_name to_address (change_address) (asset_data)\n\nRemove a tag from a address\n\nArguments:\n1. \"tag_name\" (string, required) the name of the tag you are removing from the address\n2. \"to_address\" (string, required) the address that the tag will be removed from\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 removetagfromaddress \"#TAG\" \"to_address\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"removetagfromaddress\", \"params\": [\"#TAG\" \"to_address\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n> raven-cli removetagfromaddress \"#TAG\" \"to_address\" \"change_address\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"removetagfromaddress\", \"params\": [\"#TAG\" \"to_address\" \"change_address\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "transferqualifier": "transferqualifier \"qualifier_name\" qty \"to_address\" (\"change_address\") (\"message\") (expire_time) \n\nTransfer a qualifier asset owned by this wallet to the given address\nArguments:\n1. \"qualifier_name\" (string, required) name of qualifier asset\n2. \"qty\" (numeric, required) number of assets you want to send to the address\n3. \"to_address\" (string, required) address to send the asset to\n4. \"change_address\" (string, optional, default = \"\") the transaction change will be sent to this address\n5. \"message\" (string, optional) Once RIP5 is voted in ipfs hash or txid hash to send along with the transfer\n6. \"expire_time\" (numeric, optional) UTC timestamp of when the message expires\n\nResult:\ntxid[ \ntxid\n]\n\nExamples:\n> raven-cli transferqualifier \"#QUALIFIER\" 20 \"to_address\" \"\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\" 15863654\n> raven-cli transferqualifier \"#QUALIFIER\" 20 \"to_address\" \"change_address\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\" 15863654\n", "unfreezeaddress": "unfreezeaddress asset_name address (change_address) (asset_data)\n\nUnfreeze an address from transferring a restricted asset\n\nArguments:\n1. \"asset_name\" (string, required) the name of the restricted asset you want to unfreeze\n2. \"address\" (string, required) the address that will be unfrozen\n3. \"change_address\" (string, optional) The change address for the owner token of the restricted asset\n4. \"asset_data\" (string, optional) The asset data (ipfs or a hash) to be applied to the transfer of the owner token\n\nResult:\n\"txid\" (string) The transaction id\n\nExamples:\n> raven-cli unfreezeaddress \"$RESTRICTED_ASSET\" \"address\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"unfreezeaddress\", \"params\": [\"$RESTRICTED_ASSET\" \"address\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n> raven-cli unfreezeaddress \"$RESTRICTED_ASSET\" \"address\" \"change_address\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"unfreezeaddress\", \"params\": [\"$RESTRICTED_ASSET\" \"address\" \"change_address\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "unfreezerestrictedasset": "unfreezerestrictedasset asset_name (change_address) (asset_data)\n\nUnfreeze all trading for a specific restricted asset\n\nArguments:\n1. \"asset_name\" (string, required) the name of the restricted asset you want to unfreeze\n2. \"change_address\" (string, optional) The change address for the owner token of the restricted asset\n4. \"asset_data\" (string, optional) The asset data (ipfs or a hash) to be applied to the transfer of the owner token\n\nResult:\n\"txid\" (string) The transaction id\n\nExamples:\n> raven-cli unfreezerestrictedasset \"$RESTRICTED_ASSET\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"unfreezerestrictedasset\", \"params\": [\"$RESTRICTED_ASSET\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n> raven-cli unfreezerestrictedasset \"$RESTRICTED_ASSET\" \"change_address\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"unfreezerestrictedasset\", \"params\": [\"$RESTRICTED_ASSET\" \"change_address\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "viewmyrestrictedaddresses": "viewmyrestrictedaddresses \n\nView all addresses this wallet owns that have been restricted\n\nResult:\n{\n\"Address:\" (string) The address that was restricted\n\"Asset Name:\" (string) The asset that the restriction applies to\n\"[Restricted|Derestricted]:\" (Date) The UTC datetime of the restriction or derestriction in the format (YY-mm-dd HH:MM:SS))\n (Only the most recent restriction/derestriction event will be returned for each address)\n}...\n\nExamples:\n> raven-cli viewmyrestrictedaddresses \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"viewmyrestrictedaddresses\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "viewmytaggedaddresses": "viewmytaggedaddresses \n\nView all addresses this wallet owns that have been tagged\n\nResult:\n{\n\"Address:\" (string) The address that was tagged\n\"Tag Name:\" (string) The asset name\n\"[Assigned|Removed]:\" (Date) The UTC datetime of the assignment or removal of the tag in the format (YY-mm-dd HH:MM:SS)\n (Only the most recent tagging/untagging event will be returned for each address)\n}...\n\nExamples:\n> raven-cli viewmytaggedaddresses \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"viewmytaggedaddresses\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "cancelsnapshotrequest": "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", "distributereward": "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", "getdistributestatus": "getdistributestatus \"asset_name\" snapshot_height \"distribution_asset_name\" gross_distribution_amount ( \"exception_addresses\" )\n\nGive information about the status of the distribution\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\n\nExamples:\n> raven-cli getdistributestatus \"TRONCO\" 12345 \"RVN\" 1000\n> raven-cli getdistributestatus \"PHATSTACKS\" 12345 \"DIVIDENDS\" 1000 \"mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getdistributestatus\", \"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\": \"getdistributestatus\", \"params\": [\"PHATSTACKS\" 34987 \"RVN\" 100000 \"mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getsnapshotrequest": "getsnapshotrequest \"asset_name\" block_height\n\nRetrieves the specified snapshot request details.\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 asset_name: (string),\n block_height: (number),\n}\n\nExamples:\n> raven-cli getsnapshotrequest \"TRONCO\" 12345\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getsnapshotrequest\", \"params\": [\"PHATSTACKS\" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "listsnapshotrequests": "listsnapshotrequests [\"asset_name\" [block_height]]\n\nList snapshot request details.\n\nArguments:\nasset_name: (string, optional) List only requests for a specific asset (default is \"\" for ALL)\nblock_height: (number, optional) List only requests for a particular block height (default is 0 for ALL)\n\nResult:\n[\n {\n asset_name: (string),\n block_height: (number)\n }\n]\n\nExamples:\n> raven-cli listsnapshotrequests \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listsnapshotrequests\", \"params\": [\"TRONCO\" 345333] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "requestsnapshot": "requestsnapshot \"asset_name\" block_height\n\nSchedules a snapshot of the specified asset at the specified block height.\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: \"Added\",\n}\n\nExamples:\n> raven-cli requestsnapshot \"TRONCO\" 12345\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"requestsnapshot\", \"params\": [\"PHATSTACKS\" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "createmultisig": "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", "estimatefee": "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", "estimatesmartfee": "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 Whether to return a more conservative estimate which also satisfies\n a longer history. A conservative estimate potentially returns a\n higher feerate and is more likely to be sufficient for the desired\n target, but is not as responsive to short term drops in the\n prevailing fee market. Must be one of:\n \"UNSET\" (defaults to CONSERVATIVE)\n \"ECONOMICAL\"\n \"CONSERVATIVE\"\n\nResult:\n{\n \"feerate\" : x.x, (numeric, optional) estimate fee rate in RVN/kB\n \"errors\": [ str... ] (json array of strings, optional) Errors encountered during processing\n \"blocks\" : n (numeric) block number where estimate was found\n}\n\nThe request target will be clamped between 2 and the highest target\nfee estimation is able to return based on how long it has been running.\nAn error is returned if not enough transactions and blocks\nhave been observed to make an estimate for any number of blocks.\n\nExample:\n> raven-cli estimatesmartfee 6\n", "signmessagewithprivkey": "signmessagewithprivkey \"privkey\" \"message\"\n\nSign a message with the private key of an address\n\nArguments:\n1. \"privkey\" (string, required) The private key to sign the message with.\n2. \"message\" (string, required) The message to create a signature of.\n\nResult:\n\"signature\" (string) The signature of the message encoded in base 64\n\nExamples:\n\nCreate the signature\n> raven-cli signmessagewithprivkey \"privkey\" \"my message\"\n\nVerify the signature\n> raven-cli verifymessage \"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\" \"signature\" \"my message\"\n\nAs json rpc\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"signmessagewithprivkey\", \"params\": [\"privkey\", \"my message\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "validateaddress": "validateaddress \"address\"\n\nReturn information about the given raven address.\n\nArguments:\n1. \"address\" (string, required) The raven address to validate\n\nResult:\n{\n \"isvalid\" : true|false, (boolean) If the address is valid or not. If not, this is the only property returned.\n \"address\" : \"address\", (string) The raven address validated\n \"scriptPubKey\" : \"hex\", (string) The hex encoded scriptPubKey generated by the address\n \"ismine\" : true|false, (boolean) If the address is yours or not\n \"iswatchonly\" : true|false, (boolean) If the address is watchonly\n \"isscript\" : true|false, (boolean) If the key is a script\n \"script\" : \"type\" (string, optional) The output script type. Possible types: nonstandard, pubkey, pubkeyhash, scripthash, multisig, nulldata, witness_v0_keyhash, witness_v0_scripthash\n \"hex\" : \"hex\", (string, optional) The redeemscript for the p2sh address\n \"addresses\" (string, optional) Array of addresses associated with the known redeemscript\n [\n \"address\"\n ,...\n ]\n \"sigsrequired\" : xxxxx (numeric, optional) Number of signatures required to spend multisig output\n \"pubkey\" : \"publickeyhex\", (string) The hex value of the raw public key\n \"iscompressed\" : true|false, (boolean) If the address is compressed\n \"account\" : \"account\" (string) DEPRECATED. The account associated with the address, \"\" is the default account\n \"timestamp\" : timestamp, (number, optional) The creation time of the key if available in seconds since epoch (Jan 1 1970 GMT)\n \"hdkeypath\" : \"keypath\" (string, optional) The HD keypath if the key is HD and available\n \"hdmasterkeyid\" : \"\" (string, optional) The Hash160 of the HD master pubkey\n}\n\nExamples:\n> raven-cli validateaddress \"1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"validateaddress\", \"params\": [\"1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "verifymessage": "verifymessage \"address\" \"signature\" \"message\"\n\nVerify a signed message\n\nArguments:\n1. \"address\" (string, required) The raven address to use for the signature.\n2. \"signature\" (string, required) The signature provided by the signer in base 64 encoding (see signmessage).\n3. \"message\" (string, required) The message that was signed.\n\nResult:\ntrue|false (boolean) If the signature is verified or not.\n\nExamples:\n\nUnlock the wallet for 30 seconds\n> raven-cli walletpassphrase \"mypassphrase\" 30\n\nCreate the signature\n> raven-cli signmessage \"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\" \"my message\"\n\nVerify the signature\n> raven-cli verifymessage \"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\" \"signature\" \"my message\"\n\nAs json rpc\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"verifymessage\", \"params\": [\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\", \"signature\", \"my message\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "abandontransaction": "abandontransaction \"txid\"\n\nMark in-wallet transaction 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", "abortrescan": "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", "addmultisigaddress": "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", "addwitnessaddress": "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", "backupwallet": "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", "bumpfee": "bumpfee has been deprecated on the RVN Wallet.", "dumpprivkey": "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", "dumpwallet": "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", "encryptwallet": "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", "getaccount": "getaccount \"address\"\n\nDEPRECATED. Returns the account associated with the given address.\n\nArguments:\n1. \"address\" (string, required) The raven address for account lookup.\n\nResult:\n\"accountname\" (string) the account address\n\nExamples:\n> raven-cli getaccount \"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getaccount\", \"params\": [\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getaccountaddress": "getaccountaddress \"account\"\n\nDEPRECATED. Returns the current Raven address for receiving payments to this account.\n\nArguments:\n1. \"account\" (string, required) The account name for the address. It can also be set to the empty string \"\" to represent the default account. The account does not need to exist, it will be created and a new address created if there is no account by the given name.\n\nResult:\n\"address\" (string) The account raven address\n\nExamples:\n> raven-cli getaccountaddress \n> raven-cli getaccountaddress \"\"\n> raven-cli getaccountaddress \"myaccount\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getaccountaddress\", \"params\": [\"myaccount\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getaddressesbyaccount": "getaddressesbyaccount \"account\"\n\nDEPRECATED. Returns the list of addresses for the given account.\n\nArguments:\n1. \"account\" (string, required) The account name.\n\nResult:\n[ (json array of string)\n \"address\" (string) a raven address associated with the given account\n ,...\n]\n\nExamples:\n> raven-cli getaddressesbyaccount \"tabby\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getaddressesbyaccount\", \"params\": [\"tabby\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getbalance": "getbalance ( \"account\" minconf include_watchonly )\n\nIf account is not specified, returns the server's total available balance.\nIf account is specified (DEPRECATED), returns the balance in the account.\nNote that the account \"\" is not the same as leaving the parameter out.\nThe server total may be different to the balance in the default \"\" account.\n\nArguments:\n1. \"account\" (string, optional) DEPRECATED. The account string may be given as a\n specific account name to find the balance associated with wallet keys in\n a named account, or as the empty string (\"\") to find the balance\n associated with wallet keys not in any named account, or as \"*\" to find\n the balance associated with all wallet keys regardless of account.\n When this option is specified, it calculates the balance in a different\n way than when it is not specified, and which can count spends twice when\n there are conflicting pending transactions (such as those created by\n the bumpfee command), temporarily resulting in low or even negative\n balances. In general, account balance calculation is not considered\n reliable and has resulted in confusing outcomes, so it is recommended to\n avoid passing this argument.\n2. minconf (numeric, optional, default=1) Only include transactions confirmed at least this many times.\n3. include_watchonly (bool, optional, default=false) Also include balance in watch-only addresses (see 'importaddress')\n\nResult:\namount (numeric) The total amount in RVN received for this account.\n\nExamples:\n\nThe total amount in the wallet with 1 or more confirmations\n> raven-cli getbalance \n\nThe total amount in the wallet at least 6 blocks confirmed\n> raven-cli getbalance \"*\" 6\n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getbalance\", \"params\": [\"*\", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getmasterkeyinfo": "getmasterkeyinfo\n\nFetches and displays the master private key and the master public key.\n\nResult:\n{ (json object)\n \"bip32_root_private\" : (string) extended master private key,\n \"bip32_root_public\" : (string) extended master public key,\n \"account_derivation_path\" : (string) The derivation path to the account public/private keys\n \"account_extended_private_key\" : (string) extended account private key,\n \"account_extended_public_key\" : (string) extended account public key,\n}\n\nExamples:\n> raven-cli getmasterkeyinfo \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getmasterkeyinfo\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getmywords": "getmywords ( \"account\" )\n\nReturns the 12 words and passphrase used by BIP39 to generate the wallets private keys\nOnly returns value if wallet was created by the 12 words import/generation\n\nResult:\n\"word_list:\" (string) A string of words separated by spaces\n\"passphrase:\" (optional) Only show if passphrase was used when creating the wallet\n\nExamples:\n> raven-cli getmywords \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getmywords\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getnewaddress": "getnewaddress ( \"account\" )\n\nReturns a new Raven address for receiving payments.\nIf 'account' is specified (DEPRECATED), it is added to the address book \nso payments received with the address will be credited to 'account'.\n\nArguments:\n1. \"account\" (string, optional) DEPRECATED. The account name for the address to be linked to. If not provided, the default account \"\" is used. It can also be set to the empty string \"\" to represent the default account. The account does not need to exist, it will be created if there is no account by the given name.\n\nResult:\n\"address\" (string) The new raven address\n\nExamples:\n> raven-cli getnewaddress \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getnewaddress\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getrawchangeaddress": "getrawchangeaddress\n\nReturns a new Raven address, for receiving change.\nThis is for use with raw transactions, NOT normal use.\n\nResult:\n\"address\" (string) The address\n\nExamples:\n> raven-cli getrawchangeaddress \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getrawchangeaddress\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getreceivedbyaccount": "getreceivedbyaccount \"account\" ( minconf )\n\nDEPRECATED. Returns the total amount received by addresses with in transactions with at least [minconf] confirmations.\n\nArguments:\n1. \"account\" (string, required) The selected account, may be the default account using \"\".\n2. minconf (numeric, optional, default=1) Only include transactions confirmed at least this many times.\n\nResult:\namount (numeric) The total amount in RVN received for this account.\n\nExamples:\n\nAmount received by the default account with at least 1 confirmation\n> raven-cli getreceivedbyaccount \"\"\n\nAmount received at the tabby account including unconfirmed amounts with zero confirmations\n> raven-cli getreceivedbyaccount \"tabby\" 0\n\nThe amount with at least 6 confirmations\n> raven-cli getreceivedbyaccount \"tabby\" 6\n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getreceivedbyaccount\", \"params\": [\"tabby\", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getreceivedbyaddress": "getreceivedbyaddress \"address\" ( minconf )\n\nReturns the total amount received by the given address in transactions with at least minconf confirmations.\n\nArguments:\n1. \"address\" (string, required) The raven address for transactions.\n2. minconf (numeric, optional, default=1) Only include transactions confirmed at least this many times.\n\nResult:\namount (numeric) The total amount in RVN received at this address.\n\nExamples:\n\nThe amount from transactions with at least 1 confirmation\n> raven-cli getreceivedbyaddress \"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\"\n\nThe amount including unconfirmed transactions, zero confirmations\n> raven-cli getreceivedbyaddress \"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\" 0\n\nThe amount with at least 6 confirmations\n> raven-cli getreceivedbyaddress \"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\" 6\n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getreceivedbyaddress\", \"params\": [\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "gettransaction": "gettransaction \"txid\" ( include_watchonly )\n\nGet detailed information about in-wallet transaction \n\nArguments:\n1. \"txid\" (string, required) The transaction id\n2. \"include_watchonly\" (bool, optional, default=false) Whether to include watch-only addresses in balance calculation and details[]\n\nResult:\n{\n \"amount\" : x.xxx, (numeric) The transaction amount in RVN\n \"fee\": x.xxx, (numeric) The amount of the fee in RVN. This is negative and only available for the \n 'send' category of transactions.\n \"confirmations\" : n, (numeric) The number of confirmations\n \"blockhash\" : \"hash\", (string) The block hash\n \"blockindex\" : xx, (numeric) The index of the transaction in the block that includes it\n \"blocktime\" : ttt, (numeric) The time in seconds since epoch (1 Jan 1970 GMT)\n \"txid\" : \"transactionid\", (string) The transaction id.\n \"time\" : ttt, (numeric) The transaction time in seconds since epoch (1 Jan 1970 GMT)\n \"timereceived\" : ttt, (numeric) The time received in seconds since epoch (1 Jan 1970 GMT)\n \"bip125-replaceable\": \"yes|no|unknown\", (string) Whether this transaction could be replaced due to BIP125 (replace-by-fee);\n may be unknown for unconfirmed transactions not in the mempool\n \"details\" : [\n {\n \"account\" : \"accountname\", (string) DEPRECATED. The account name involved in the transaction, can be \"\" for the default account.\n \"address\" : \"address\", (string) The raven address involved in the transaction\n \"category\" : \"send|receive\", (string) The category, either 'send' or 'receive'\n \"amount\" : x.xxx, (numeric) The amount in RVN\n \"label\" : \"label\", (string) A comment for the address/transaction, if any\n \"vout\" : n, (numeric) the vout value\n \"fee\": x.xxx, (numeric) The amount of the fee in RVN. This is negative and only available for the \n 'send' category of transactions.\n \"abandoned\": xxx (bool) 'true' if the transaction has been abandoned (inputs are respendable). Only available for the \n 'send' category of transactions.\n }\n ,...\n ],\n \"asset_details\" : [\n {\n \"asset_type\" : \"new_asset|transfer_asset|reissue_asset\", (string) The type of asset transaction\n \"asset_name\" : \"asset_name\", (string) The name of the asset\n \"amount\" : x.xxx, (numeric) The amount in RVN\n \"address\" : \"address\", (string) The raven address involved in the transaction\n \"vout\" : n, (numeric) the vout value\n \"category\" : \"send|receive\", (string) The category, either 'send' or 'receive'\n }\n ,...\n ],\n \"hex\" : \"data\" (string) Raw data for transaction\n}\n\nExamples:\n> raven-cli gettransaction \"1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d\"\n> raven-cli gettransaction \"1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d\" true\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"gettransaction\", \"params\": [\"1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d\"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "getunconfirmedbalance": "getunconfirmedbalance\nReturns the server's total unconfirmed balance\n", "getwalletinfo": "getwalletinfo\nReturns an object containing various wallet state info.\n\nResult:\n{\n \"walletname\": xxxxx, (string) the wallet name\n \"walletversion\": xxxxx, (numeric) the wallet version\n \"balance\": xxxxxxx, (numeric) the total confirmed balance of the wallet in RVN\n \"unconfirmed_balance\": xxx, (numeric) the total unconfirmed balance of the wallet in RVN\n \"immature_balance\": xxxxxx, (numeric) the total immature balance of the wallet in RVN\n \"txcount\": xxxxxxx, (numeric) the total number of transactions in the wallet\n \"keypoololdest\": xxxxxx, (numeric) the timestamp (seconds since Unix epoch) of the oldest pre-generated key in the key pool\n \"keypoolsize\": xxxx, (numeric) how many new keys are pre-generated (only counts external keys)\n \"keypoolsize_hd_internal\": xxxx, (numeric) how many new keys are pre-generated for internal use (used for change outputs, only appears if the wallet is using this feature, otherwise external keys are used)\n \"unlocked_until\": ttt, (numeric) the timestamp in seconds since epoch (midnight Jan 1 1970 GMT) that the wallet is unlocked for transfers, or 0 if the wallet is locked\n \"paytxfee\": x.xxxx, (numeric) the transaction fee configuration, set in RVN/kB\n \"hdseedid\": \"\" (string, optional) the Hash160 of the HD seed (only present when HD is enabled)\n \"hdmasterkeyid\": \"\" (string, optional) alias for hdseedid retained for backwards-compatibility. Will be removed in V0.18.\n}\n\nExamples:\n> raven-cli getwalletinfo \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getwalletinfo\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "importaddress": "importaddress \"address\" ( \"label\" rescan p2sh )\n\nAdds a script (in hex) or address that can be watched as if it were in your wallet but cannot be used to spend.\n\nArguments:\n1. \"script\" (string, required) The hex-encoded script (or address)\n2. \"label\" (string, optional, default=\"\") An optional label\n3. rescan (boolean, optional, default=true) Rescan the wallet for transactions\n4. p2sh (boolean, optional, default=false) Add the P2SH version of the script as well\n\nNote: This call can take minutes to complete if rescan is true.\nIf you have the full public key, you should call importpubkey instead of this.\n\nNote: If you import a non-standard raw script in hex form, outputs sending to it will be treated\nas change, and not show up in many RPCs.\n\nExamples:\n\nImport a script with rescan\n> raven-cli importaddress \"myscript\"\n\nImport using a label without rescan\n> raven-cli importaddress \"myscript\" \"testing\" false\n\nAs a JSON-RPC call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"importaddress\", \"params\": [\"myscript\", \"testing\", false] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/\n", "importmulti": "importmulti \"requests\" ( \"options\" )\n\nImport addresses/scripts (with private or public keys, redeem script (P2SH)), rescanning all addresses in one-shot-only (rescan can be disabled via options).\n\nArguments:\n1. requests (array, required) Data to be imported\n [ (array of json objects)\n {\n \"scriptPubKey\": \"