@neuraiproject/neurai-rpc 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs.json CHANGED
@@ -1,200 +1,225 @@
1
1
  {
2
- "": "== Addressindex ==\ngetaddressbalance\ngetaddressdeltas\ngetaddressmempool\ngetaddresstxids\ngetaddressutxos\n\n== Assets ==\ncheckdepinvalidity \"asset_name\" \"address\"\nfreezedepin \"asset_name\" \"address\" (\"change_address\")\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 )\nlistdepinaddresses \"asset_name\" (count) (start)\nlistdepinholders \"asset_name\"\nlistmyassets \"( asset )\" ( verbose ) ( count ) ( start ) (confs) \npurgesnapshot \"asset_name\" block_height\nreissue \"asset_name\" qty \"to_address\" \"change_address\" ( reissuable ) ( new_units) \"( new_ipfs )\" \nselfrevokedepin \"asset_name\"\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 \"xna_change_address\" \"asset_change_address\"\ntransferfromaddresses \"asset_name\" [\"from_addresses\"] qty \"to_address\" \"message\" expire_time \"xna_change_address\" \"asset_change_address\"\nunfreezedepin \"asset_name\" \"address\" (\"change_address\")\n\n== Blockchain ==\nclearmempool\ndecodeblock \"blockhex\"\ngetbestblockhash\ngetblock \"blockhash\" ( verbosity ) \ngetblockchaininfo\ngetibdstatus\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 <txid> <dummy value> <fee delta>\nsubmitblock \"hexdata\" ( \"dummy\" )\n\n== Network ==\naddnode \"node\" \"add|remove|onetry\"\nclearbanned\ndisconnectnode \"[address]\" [nodeid]\ngetaddednodeinfo ( \"node\" )\ngetconnectioncount\ngetnettotals\ngetnetworkinfo\ngetpeerinfo\ngetpubkey \"address\"\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 XNA Wallet.\ndumpprivkey \"address\"\ndumpwallet \"filename\"\nencryptwallet \"passphrase\"\ngetaccount \"address\"\ngetaccountaddress \"account\"\ngetaddressesbyaccount \"account\"\ngetbalance ( \"account\" minconf include_watchonly )\ngetmasterkeyinfo\ngetmywords ( \"account\" )\ngetnewaddress ( \"account\" \"address_type\" )\ngetrawchangeaddress ( \"address_type\" )\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\nlistpqaddresses\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\"",
3
- "abandontransaction": "abandontransaction \"txid\"\n\nMark in-wallet transaction <txid> as abandoned\nThis will mark this transaction and all its in-wallet descendants as abandoned which will allow\nfor their inputs to be respent. It can be used to replace \"stuck\" or evicted transactions.\nIt only works on transactions which are not included in a block and are not currently in the mempool.\nIt has no effect on transactions which are already conflicted or abandoned.\n\nArguments:\n1. \"txid\" (string, required) The transaction id\n\nResult:\n\nExamples:\n> neurai-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:19001/\n",
4
- "abortrescan": "abortrescan\n\nStops current wallet rescan triggered e.g. by an importprivkey call.\n\nExamples:\n\nImport a private key\n> neurai-cli importprivkey \"mykey\"\n\nAbort the running wallet rescan\n> neurai-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:19001/\n",
5
- "addmultisigaddress": "addmultisigaddress nrequired [\"key\",...] ( \"account\" )\n\nAdd a nrequired-to-sign multisignature address to the wallet.\nEach key is a Neurai 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 neurai addresses or hex-encoded public keys\n [\n \"address\" (string) neurai 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 neurai address associated with the keys.\n\nExamples:\n\nAdd a multisig address from 2 addresses\n> neurai-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:19001/\n",
6
- "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> neurai-cli addnode \"192.168.0.6:19000\" \"onetry\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"addnode\", \"params\": [\"192.168.0.6:19000\", \"onetry\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
7
- "addtagtoaddress": "addtagtoaddress tag_name to_address (change_address) (asset_data)\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n> neurai-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:19001/\n",
8
- "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",
9
- "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> neurai-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:19001/\n",
10
- "bumpfee": "bumpfee has been deprecated on the XNA Wallet.\n",
11
- "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> neurai-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:19001/\n",
12
- "checkaddressrestriction": "checkaddressrestriction address restricted_name\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\n\nChecks to see if an address has been frozen by the given restricted asset\n\nArguments:\n1. \"address\" (string, required) the XNA 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> neurai-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:19001/\n",
13
- "checkaddresstag": "checkaddresstag address tag_name\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\n\nChecks to see if an address has the given tag\n\nArguments:\n1. \"address\" (string, required) the XNA 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> neurai-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:19001/\n",
14
- "checkdepinvalidity": "checkdepinvalidity \"asset_name\" \"address\"\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\n\nCheck if a DEPIN asset is valid/active for a specific address\n\nArguments:\n1. \"asset_name\" (string, required) The DEPIN asset name (must start with &)\n2. \"address\" (string, required) The address to check\n\nResult:\n{\n \"has_asset\": true|false, (boolean) Whether the address holds the asset\n \"amount\": n, (numeric) The amount (if has_asset is true)\n \"valid\": 1|0, (numeric) 1 = active/valid, 0 = blocked/revoked (if has_asset is true)\n \"blocked\": true|false (boolean) Whether the asset is blocked (if has_asset is true)\n}\n\nExamples:\n> neurai-cli checkdepinvalidity \"&FRANCE\" \"address\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"checkdepinvalidity\", \"params\": [\"&FRANCE\" \"address\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
15
- "checkglobalrestriction": "checkglobalrestriction restricted_name\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n",
16
- "clearbanned": "clearbanned\n\nClear all banned IPs.\n\nExamples:\n> neurai-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:19001/\n",
17
- "clearmempool": "clearmempool\n\nRemoves all transaction from the mempool\n\nExamples:\n> neurai-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:19001/\n",
18
- "clearmessages": "clearmessages \n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0005.mediawiki\n\nDelete current database of messages\n\nResult:[\n\n]\n\nExamples:\n> neurai-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:19001/\n",
19
- "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> neurai-cli combinerawtransaction [\"myhex1\", \"myhex2\", \"myhex3\"]\n",
20
- "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 neurai addresses or hex-encoded public keys\n [\n \"key\" (string) neurai 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> neurai-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:19001/\n",
21
- "createrawtransaction": "createrawtransaction [{\"txid\":\"id\",\"vout\":n},...] {\"address\":(amount or object),\"data\":\"hex\",...}\ncreaterawtransaction [{\"txid\":\"id\",\"vout\":n},...] [{\"address\":(amount or object)},{\"data\":\"hex\"},...]\n ( locktime ) ( [{\"txid\":\"id\",\"vout\":n},...] )\n\nCreate a transaction spending the given inputs and creating new outputs.\nOutputs are addresses (paired with a XNA 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 XNA to be sent to a burn address:\n\n Operation Amount + Burn Address\n transfer 0\n transferwithmessage 0\n issue 1000 to tBURNXXXXXXXXXXXXXXXXXXXXXXXVZLroy\n issue (subasset) 200 to tBURNXXXXXXXXXXXXXXXXXXXXXXXVZLroy\n issue_unique 10 to tBURNXXXXXXXXXXXXXXXXXXXXXXXVZLroy\n reissue 200 to tBURNXXXXXXXXXXXXXXXXXXXXXXXVZLroy\n issue_restricted 3000 to tBURNXXXXXXXXXXXXXXXXXXXXXXXVZLroy\n reissue_restricted 200 to tBURNXXXXXXXXXXXXXXXXXXXXXXXVZLroy\n issue_qualifier 2000 to tBURNXXXXXXXXXXXXXXXXXXXXXXXVZLroy\n issue_qualifier (sub) 200 to tBURNXXXXXXXXXXXXXXXXXXXXXXXVZLroy\n tag_addresses 0.1 to tBURNXXXXXXXXXXXXXXXXXXXXXXXVZLroy (per address)\n untag_addresses 0.1 to tBURNXXXXXXXXXXXXXXXXXXXXXXXVZLroy (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 or array, required) outputs in object or ordered-array form\n {\n \"address\": (string, required) The destination neurai address.\n Each output must have a different address.\n x.xxx (number or string, required) The XNA 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 }\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 }\n or\n [\n {\"address\":x.xxx}, (object, required) exactly one key per entry\n {\"address\":{...}}, (object, required) ordered form allows duplicate addresses\n {\"data\":\"hex\"},\n ...\n ]\n Array form must be non-empty.\n3. locktime (numeric, optional, default=0) Raw locktime. Non-0 value also locktime-activates inputs\n4. \"refinputs\" (array, optional) NIP-014: reference inputs (forces v3 transaction)\n [\n {\n \"txid\":\"id\", (string, required) The transaction id\n \"vout\":n (number, required) The output number\n }\n ,...\n ]\n\nResult:\n\"transaction\" (string) hex string of the transaction\n\nExamples:\n> neurai-cli createrawtransaction \"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0}]\" \"{\\\"address\\\":0.01}\"\n> neurai-cli createrawtransaction \"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0}]\" \"{\\\"data\\\":\\\"00010203\\\"}\"\n> neurai-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> neurai-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> neurai-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> neurai-cli createrawtransaction \"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0},{\\\"txid\\\":\\\"myasset\\\",\\\"vout\\\":0}]\" \"{\\\"address\\\":{\\\"transfer\\\":{\\\"MYASSET\\\":50}}}\"\n> neurai-cli createrawtransaction \"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0},{\\\"txid\\\":\\\"myasset\\\",\\\"vout\\\":0}]\" \"{\\\"address\\\":{\\\"transferwithmessage\\\":{\\\"MYASSET\\\":50,\\\"message\\\":\\\"hash\\\",\\\"expire_time\\\": utc_time}}}\"\n> neurai-cli createrawtransaction \"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0},{\\\"txid\\\":\\\"myownership\\\",\\\"vout\\\":0}]\" \"{\\\"issuer_address\\\":{\\\"reissue\\\":{\\\"asset_name\\\":\\\"MYASSET\\\",\\\"asset_quantity\\\":2000000}}}\"\n> neurai-cli createrawtransaction \"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0}]\" \"[{\\\"address\\\":500},{\\\"address\\\":{\\\"issue\\\":{\\\"asset_name\\\":\\\"MYASSET\\\",\\\"asset_quantity\\\":1000000,\\\"units\\\":1,\\\"reissuable\\\":0,\\\"has_ipfs\\\":0}}}]\"\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:19001/\n",
22
- "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> neurai-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:19001/\n",
23
- "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 XNA\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) neurai address\n ,...\n ]\n }\n }\n ,...\n ],\n}\n\nExamples:\n> neurai-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:19001/\n",
24
- "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) neurai 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> neurai-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:19001/\n",
25
- "depinchallenge": "depinchallenge \"token\" \"address\" timestamp \"signature\" ( \"type\" )\n\nIssues a single-use challenge for authenticated DePIN RPCs. The request must be signed over:\n\"DEPIN-REQ|<type>|<token>|<address>|<timestamp>\", where timestamp is Unix time in milliseconds and type is \"receive\" (default) or \"admin\".\n\nThe encrypted result contains challenge, expires_in and type. Decrypt it with depindecrypt, then sign the challenge with depinsignchallenge or signmessage.\n\nExamples:\n> neurai-cli depinchallenge \"&TOKEN/SECTION\" \"NXholder...\" 1730000000000 \"<signature>\"\n",
26
- "depinclearmsg": "depinclearmsg \"scope\" \"address\" \"challenge\" \"signature\" ( \"all\" | hours )\n\nRemoves messages from a DePIN pool. This owner-level operation requires an admin challenge issued for the exact scope. Use an empty scope for the pool root. Omit mode to remove expired messages, use \"all\" to remove every message in scope, or pass an age in hours.\n\nResult:\n{\n \"removed\": n,\n \"remaining\": n\n}\n",
27
- "depindecrypt": "depindecrypt \"address\" \"encrypted\"\n\nDecrypts an encrypted DePIN reply with a wallet key. Verify the reply's poolsig before using this method; depindecrypt does not verify it.\n\nResult:\nThe decrypted JSON value, or a string when the plaintext is not JSON.\n",
28
- "depingetancestorrecipients": "depingetancestorrecipients \"token\" ( max_results ) ( \"stop_at\" )\n\nList the active holders of a DEPIN branch: the deduplicated union of the\nholders of the given token and of every one of its '/'-separated ancestors,\neach with the public key it has revealed on chain.\n\nActive means: positive balance, public key revealed, and not blocked by an\nowner freeze or by self-revocation. Restriction is per (asset, address), so an\naddress that is active in at least one ancestor is returned even if it revoked\nitself in another -- holding the root already grants visibility over the branch.\n\nThe query is exact: '&TEST' returns holders of '&TEST' only, never of\n'&TEST/APPLE', '&TESTING' or '&TEST.FOO'. Every derived ancestor must exist; a\nmissing intermediate level is an error rather than something skipped.\n\nThis command is informational. It does not know about -depinmsgmaxusers, does\nnot decide whether a message fits in a pool, and a truncated result must not be\ntreated as a complete recipient set.\n\nRequires -assetindex and -pubkeyindex.\n\nArguments:\n1. \"token\" (string, required) DEPIN token, e.g. \"&TEST/APPLE/GOLDEN\"\n2. max_results (numeric, optional, default=1000) Maximum recipients to return\n (1..10000)\n3. \"stop_at\" (string, optional) Stop deriving ancestors at this token,\n inclusive. Must be the token itself or one of its ancestors.\n Omitted: derive up to the absolute root.\n\nResult:\n{\n \"token\": \"name\", (string) Token queried\n \"stop_at\": \"name\", (string) Where derivation stopped (\"\" = root)\n \"ancestors\": [\"name\", ...], (array) Token first, then each ancestor\n \"recipients\": [ (array) Active holders, ordered by address\n {\n \"address\": \"address\", (string) Holder address\n \"pubkey\": \"hex\" (string) Public key revealed on chain\n }, ...\n ],\n \"returned\": n, (numeric) Number of recipients returned\n \"max_results\": n, (numeric) Limit applied\n \"truncated\": true|false, (boolean) True if more eligible recipients exist\n \"skipped_no_pubkey\": n, (numeric) Addresses dropped for lacking a usable\n revealed public key\n \"skipped_no_pubkey_complete\": bool, (boolean) False when truncated: the count then\n covers only the addresses examined\n \"skipped_restricted\": n, (numeric) Addresses dropped as frozen or\n self-revoked in every ancestor they hold\n \"skipped_restricted_complete\": bool (boolean) Same rule as above\n}\n\nExamples:\n> neurai-cli depingetancestorrecipients \"&TEST/APPLE/GOLDEN\"\n> neurai-cli depingetancestorrecipients \"&TEST/APPLE/GOLDEN\" 50 \"&TEST/APPLE\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"depingetancestorrecipients\", \"params\": [\"&TEST/APPLE/GOLDEN\", 50, \"&TEST/APPLE\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
29
- "depingetmsg": "depingetmsg \"token\" ( \"fromaddress\" )\n\nUses the local node wallet to decrypt messages from the local DePIN pool. The optional address must belong to the wallet and hold the requested token or a related branch token.\n",
30
- "depingetmsginfo": "depingetmsginfo\n\nReturns DePIN protocol and pool configuration. Protocol 2 publishes depinpoolpkey in this response; clients should pin it on first use. Responses are signed with the pool key.\n",
31
- "depinlistsections": "depinlistsections ( \"address\" \"scope\" \"challenge\" \"signature\" )\n\nWith no arguments, lists public section names. Address mode requires all four arguments, authenticates with a receive challenge for scope, limits results to that subtree, and returns encrypted personal access and message counters.\n",
32
- "depinmcpstatus": "depinmcpstatus\n\nGet status information about the DePIN MCP (AI) worker\n\nResult:\n{\n \"enabled\": true|false, (boolean) Whether MCP worker is enabled\n \"running\": true|false, (boolean) Whether MCP worker is running\n \"mcp_url\": \"url\", (string) MCP server URL\n \"model_name\": \"name\", (string) Name of the loaded AI model\n \"command_key\": \"key\", (string) Command prefix (e.g. /ai)\n \"depin_token\": \"token\", (string) DePIN token being monitored\n \"poll_interval\": n, (numeric) Polling interval in seconds\n \"commands_processed\": n, (numeric) Total commands processed\n \"total_errors\": n, (numeric) Total errors encountered\n \"rate_limited\": n, (numeric) Commands rejected by rate limiting\n \"concurrency\": n, (numeric) Number of parallel task threads\n \"tasks_in_flight\": n, (numeric) AI requests currently being processed\n \"processed_cache\": n, (numeric) Size of the processed-message dedup cache\n \"context_sessions\": n, (numeric) Active conversation contexts\n \"last_poll_time\": n (numeric) Unix timestamp of last poll\n}\n\nExamples:\n> neurai-cli depinmcpstatus \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"depinmcpstatus\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
33
- "depinpoolpkey": "depinpoolpkey\n\nWallet-only operator helper that derives the dedicated DePIN pool public key from the loaded service wallet.\n\nResult:\n{\n \"pubkey\": \"hex\",\n \"address\": \"address\",\n \"path\": \"derivation_path\"\n}\n",
34
- "depinpoolstats": "depinpoolstats\n\nGet statistical analysis of the DePIN message pool.\n\nResult:\n{\n \"enabled\": true|false,\n \"token\": \"string\",\n \"total_messages\": n,\n \"total_size_bytes\": n,\n \"memory_usage_bytes\": n,\n \"oldest_message\": \"YYYY-MM-DD HH:MM:SS\",\n \"newest_message\": \"YYYY-MM-DD HH:MM:SS\",\n \"messages_by_age\": {\n \"last_hour\": n,\n \"last_day\": n,\n \"last_week\": n\n },\n \"unique_senders\": n,\n \"unique_recipients\": n,\n \"avg_recipients_per_message\": n.nn,\n \"avg_message_size\": n,\n \"expiring_in_24h\": n\n}\n\nExamples:\n> neurai-cli depinpoolstats \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"depinpoolstats\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
35
- "depinreceivemsg": "depinreceivemsg \"token\" \"address\" \"challenge\" \"signature\" ( timestamp \"after_hash\" limit )\n\nReturns messages accessible to an address, encrypted for its revealed public key and signed by the pool key. Requires a receive challenge. Pagination uses timestamp, after_hash and limit. The decrypted reply includes next_challenge for subsequent calls.\n",
36
- "depinsendmsg": "depinsendmsg \"token\" \"message\" \"fromaddress\"\n\nUses the local node wallet to sign and encrypt a message for eligible recipients, then adds it to the local DePIN pool. Remote host and port parameters were removed in protocol 2.\n",
37
- "depinsignchallenge": "depinsignchallenge \"address\" \"token\" \"challenge\" ( \"type\" )\n\nWallet helper that signs \"DEPIN-GET|<token>|<address>|<challenge>\" for receive access or \"DEPIN-CLEAR|...\" for admin access.\n\nResult:\n{\n \"signature\": \"base64\",\n \"preimage\": \"text\"\n}\n",
38
- "depinsignrequest": "depinsignrequest \"address\" \"token\" ( \"type\" )\n\nWallet helper that signs a depinchallenge request over the current Unix time in milliseconds.\n\nResult:\n{\n \"timestamp\": n,\n \"signature\": \"base64\",\n \"preimage\": \"DEPIN-REQ|...\"\n}\n",
39
- "depinsubmitmsg": "depinsubmitmsg {\"sender\":\"...\",\"encrypted\":\"...\"}\n\nSubmits a client-prepared, signed DePIN message wrapped in an ECIES envelope for the pool key published by depingetmsginfo. Bare serialized hex is no longer accepted.\n",
40
- "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> neurai-cli disconnectnode \"192.168.0.6:19000\"\n> neurai-cli disconnectnode \"\" 1\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"disconnectnode\", \"params\": [\"192.168.0.6:19000\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\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:19001/\n",
41
- "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 XNA\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> neurai-cli distributereward \"TRONCO\" 12345 \"XNA\" 1000\n> neurai-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:19001/\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"distributereward\", \"params\": [\"PHATSTACKS\" 34987 \"XNA\" 100000 \"mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
42
- "dumpextkeypq": "dumpextkeypq\n\nReturns the master PQ extended private key (xpqpriv) for this wallet.\nWARNING: exposes the master secret — keep it safe.\n\nResult:\n\"xpqpriv...\" (string) Base58Check-encoded master CExtKeyPQ\n\nExamples:\n> neurai-cli dumpextkeypq \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"dumpextkeypq\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
43
- "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 neurai address for the private key\n\nResult:\n\"key\" (string) The private key\n\nExamples:\n> neurai-cli dumpprivkey \"myaddress\"\n> neurai-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:19001/\n",
44
- "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 neuraid)\n\nResult:\n{ (json object)\n \"filename\" : { (string) The filename with full absolute path\n}\n\nExamples:\n> neurai-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:19001/\n",
45
- "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> neurai-cli encryptwallet \"my pass phrase\"\n\nNow set the passphrase to use the wallet, such as for signing or sending neurai\n> neurai-cli walletpassphrase \"my pass phrase\"\n\nNow we can do something like sign\n> neurai-cli signmessage \"address\" \"test message\"\n\nNow lock the wallet again by removing the passphrase\n> neurai-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:19001/\n",
46
- "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> neurai-cli estimatefee 6\n",
47
- "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 XNA/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> neurai-cli estimatesmartfee 6\n",
48
- "exportxpqpub": "exportxpqpub count ( chain offset )\n\nGenerates a batch of count ML-DSA-44 public keys and returns the xpqpub blob.\n\nArguments:\n1. count (numeric, required) Number of pubkeys to generate (max 1000)\n2. chain (numeric, optional, default=0) Chain index (0=external, 1=change)\n3. offset (numeric, optional, default=0) Starting index\n\nResult:\n\"hex\" (string) Hex-encoded xpqpub binary blob\n\nExamples:\n> neurai-cli exportxpqpub 20\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"exportxpqpub\", \"params\": [20, 0, 0] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
49
- "freezeaddress": "freezeaddress asset_name address (change_address) (asset_data)\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n> neurai-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:19001/\n",
50
- "freezedepin": "freezedepin \"asset_name\" \"address\" (\"change_address\")\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\n\nFreeze a DEPIN asset for a specific address (owner only)\n\nThe address will still hold the asset but it will be marked as invalid\n\nRequires the owner token (&ASSET!) in the wallet\n\nArguments:\n1. \"asset_name\" (string, required) The DEPIN asset name (must start with &)\n2. \"address\" (string, required) The address to freeze\n3. \"change_address\" (string, optional) The change address for the owner token\n\nResult:\n\"txid\" (string) The transaction id\n\nExamples:\n> neurai-cli freezedepin \"&FRANCE\" \"address\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"freezedepin\", \"params\": [\"&FRANCE\" \"address\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
51
- "freezerestrictedasset": "freezerestrictedasset asset_name (change_address) (asset_data)\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n> neurai-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:19001/\n",
52
- "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 neurai 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 XNA/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 neurais 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 XNA 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> neurai-cli createrawtransaction \"[]\" \"{\\\"myaddress\\\":0.01}\"\n\nAdd sufficient unsigned inputs to meet the output value\n> neurai-cli fundrawtransaction \"rawtransactionhex\"\n\nSign the transaction\n> neurai-cli signrawtransaction \"fundedtransactionhex\"\n\nSend the transaction\n> neurai-cli sendrawtransaction \"signedtransactionhex\"\n",
53
- "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> neurai-cli generate 11\n",
54
- "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 neurai 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> neurai-cli generatetoaddress 11 \"myaddress\"\n",
55
- "getaccount": "getaccount \"address\"\n\nDEPRECATED. Returns the account associated with the given address.\n\nArguments:\n1. \"address\" (string, required) The neurai address for account lookup.\n\nResult:\n\"accountname\" (string) the account address\n\nExamples:\n> neurai-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:19001/\n",
56
- "getaccountaddress": "getaccountaddress \"account\"\n\nDEPRECATED. Returns the current Neurai 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 neurai address\n\nExamples:\n> neurai-cli getaccountaddress \n> neurai-cli getaccountaddress \"\"\n> neurai-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:19001/\n",
57
- "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:19000\", (string) The neurai server IP and port we're connected to\n \"connected\" : \"outbound\" (string) connection, inbound or outbound\n }\n ]\n }\n ,...\n]\n\nExamples:\n> neurai-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:19001/\n",
58
- "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 (XNA for Neurai)\n \"balance\" (string) The current balance in satoshis\n \"received\" (string) The total number of satoshis received (including change)\n },...\n\n]\nExamples:\n> neurai-cli getaddressbalance '{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"]}'\n> neurai-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:19001/\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:19001/\n",
59
- "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 XNA ('*' for all assets).\n}\n\nResult:\n[\n {\n \"assetName\" (string) The asset associated with the deltas (XNA for Neurai)\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> neurai-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:19001/\n> neurai-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:19001/\n",
60
- "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 neurai address associated with the given account\n ,...\n]\n\nExamples:\n> neurai-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:19001/\n",
61
- "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 (XNA for Neurai)\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> neurai-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:19001/\n> neurai-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:19001/\n",
62
- "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> neurai-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:19001/\n> neurai-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:19001/\n",
63
- "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 XNA ('*' for all assets).\n}\n\nResult\n[\n {\n \"address\" (string) The address base58check encoded\n \"assetName\" (string) The asset associated with the UTXOs (XNA for Neurai)\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> neurai-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:19001/\n> neurai-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:19001/\n",
64
- "getassetdata": "getassetdata \"asset_name\"\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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> neurai-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:19001/\n",
65
- "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 XNA received for this account.\n\nExamples:\n\nThe total amount in the wallet with 1 or more confirmations\n> neurai-cli getbalance \n\nThe total amount in the wallet at least 6 blocks confirmed\n> neurai-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:19001/\n",
66
- "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> neurai-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:19001/\n",
67
- "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 <hash>.\nIf verbosity is 2, returns an Object with information about block <hash> 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> neurai-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:19001/\n",
68
- "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> neurai-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:19001/\n",
69
- "getblockcount": "getblockcount\n\nReturns the number of blocks in the longest blockchain.\n\nResult:\nn (numeric) The current block count\n\nExamples:\n> neurai-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:19001/\n",
70
- "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> neurai-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:19001/\n",
71
- "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> neurai-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:19001/\n> neurai-cli getblockhashes 1231614698 1231024505 '{\"noOrphans\":false, \"logicalTimes\":true}'\n",
72
- "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 <hash>.\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> neurai-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:19001/\n",
73
- "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/neurai/bips/blob/master/bip-0022.mediawiki\n https://github.com/neurai/bips/blob/master/bip-0023.mediawiki\n https://github.com/neurai/bips/blob/master/bip-0009.mediawiki#getblocktemplate_changes\n https://github.com/neurai/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> neurai-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:19001/\n",
74
- "getcacheinfo": "getcacheinfo \n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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:19001/\n> neurai-cli getcacheinfo \n",
75
- "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> neurai-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:19001/\n",
76
- "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> neurai-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:19001/\n",
77
- "getconnectioncount": "getconnectioncount\n\nReturns the number of connections to other nodes.\n\nResult:\nn (numeric) The connection count\n\nExamples:\n> neurai-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:19001/\n",
78
- "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> neurai-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:19001/\n",
79
- "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 XNA\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> neurai-cli getdistributestatus \"TRONCO\" 12345 \"XNA\" 1000\n> neurai-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:19001/\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getdistributestatus\", \"params\": [\"PHATSTACKS\" 34987 \"XNA\" 100000 \"mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
80
- "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 neurai.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> neurai-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:19001/\n",
81
- "getibdstatus": "getibdstatus\n\nReturns header synchronization timing collected since process start.\n\nResult:\n{\n \"blocks\": n,\n \"headers\": n,\n \"header_batches\": n,\n \"headers_in_batches\": n,\n \"unsolicited_header_responses\": n,\n \"average_request_to_response_us\": n,\n \"average_validation_us\": n,\n \"peers\": [...]\n}\n\nExamples:\n> neurai-cli getibdstatus\n> curl --user myusername --data-binary '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"getibdstatus\",\"params\":[]}' -H 'content-type: application/json' http://127.0.0.1:19001/\n",
82
- "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 Neurai 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 XNA/kB\n \"relayfee\": x.xxxx, (numeric) minimum relay fee for transactions in XNA/kB\n \"errors\": \"...\" (string) any error messages\n}\n\nExamples:\n> neurai-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:19001/\n",
83
- "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> neurai-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:19001/\n",
84
- "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 \"external_derivation_path\" : (string) The derivation path prefix for receiving addresses\n \"internal_derivation_path\" : (string) The derivation path prefix for change addresses\n \"account_extended_private_key\" : (string) extended account private key,\n \"account_extended_public_key\" : (string) extended account public key,\n}\n\nExamples:\n> neurai-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:19001/\n",
85
- "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\"<malloc version=\"1\">...\"\n\nExamples:\n> neurai-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:19001/\n",
86
- "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 XNA\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> neurai-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:19001/\n",
87
- "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 XNA\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> neurai-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:19001/\n",
88
- "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 XNA\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> neurai-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:19001/\n",
89
- "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 XNA/kB for tx to be accepted\n}\n\nExamples:\n> neurai-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:19001/\n",
90
- "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 neuraid is started with -deprecatedrpc=getmininginfo\n}\n\nExamples:\n> neurai-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:19001/\n",
91
- "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> neurai-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:19001/\n",
92
- "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> neurai-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:19001/\n",
93
- "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> neurai-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:19001/\n",
94
- "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 XNA/kB\n \"incrementalfee\": x.xxxxxxxx, (numeric) minimum fee increment for mempool limiting or BIP 125 replacement in XNA/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> neurai-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:19001/\n",
95
- "getnewaddress": "getnewaddress ( \"account\" \"address_type\" )\n\nReturns a new Neurai 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.\n2. \"address_type\" (string, optional) The address family: \"legacy\" (Base58, secp256k1), \"pq\" (strict post-quantum, witness v2, pq1.../tpq1...) or \"ecdsa\" (strict ECDSA, witness v3, nq1r.../tnq1r...). If omitted, the wallet's default family is used (legacy for classic wallets, generic AuthScript v1 for PQ wallets).\n\nResult:\n\"address\" (string) The new neurai address\n\nExamples:\n> neurai-cli getnewaddress \n> neurai-cli getnewaddress \"\" \"ecdsa\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getnewaddress\", \"params\": [\"\", \"pq\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
96
- "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> neurai-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:19001/\n",
97
- "getpubkey": "getpubkey \"address\"\n\nReturns the public key for an address that has revealed it by spending (requires pubkeyindex to be enabled).\n\nArguments:\n1. \"address\" (string, required) The Neurai address\n\nResult:\n{\n \"address\": \"address\", (string) The Neurai address\n \"pubkey\": \"hex\", (string) The public key in hex format\n \"revealed\": true|false, (boolean) Whether the public key has been revealed\n \"height\": n, (numeric) Block height where it was revealed\n \"txid\": \"hash\" (string) Transaction ID where it was revealed\n}\n\nExamples:\n> neurai-cli getpubkey \"NXa1b2c3d4e5f6...\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getpubkey\", \"params\": [\"NXa1b2c3d4e5f6...\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
98
- "getrawchangeaddress": "getrawchangeaddress ( \"address_type\" )\n\nReturns a new Neurai address, for receiving change.\nThis is for use with raw transactions, NOT normal use.\n\nArguments:\n1. \"address_type\" (string, optional) \"legacy\", \"pq\" (strict witness v2) or \"ecdsa\" (strict witness v3). Default: the wallet's default family.\n\nResult:\n\"address\" (string) The address\n\nExamples:\n> neurai-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:19001/\n",
99
- "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 XNA\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> neurai-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:19001/\n",
100
- "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 XNA\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) neurai 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> neurai-cli getrawtransaction \"mytxid\"\n> neurai-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:19001/\n",
101
- "getreceivedbyaccount": "getreceivedbyaccount \"account\" ( minconf )\n\nDEPRECATED. Returns the total amount received by addresses with <account> 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 XNA received for this account.\n\nExamples:\n\nAmount received by the default account with at least 1 confirmation\n> neurai-cli getreceivedbyaccount \"\"\n\nAmount received at the tabby account including unconfirmed amounts with zero confirmations\n> neurai-cli getreceivedbyaccount \"tabby\" 0\n\nThe amount with at least 6 confirmations\n> neurai-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:19001/\n",
102
- "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 neurai 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 XNA received at this address.\n\nExamples:\n\nThe amount from transactions with at least 1 confirmation\n> neurai-cli getreceivedbyaddress \"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\"\n\nThe amount including unconfirmed transactions, zero confirmations\n> neurai-cli getreceivedbyaddress \"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\" 0\n\nThe amount with at least 6 confirmations\n> neurai-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:19001/\n",
103
- "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> neurai-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:19001/\n",
104
- "getsnapshot": "getsnapshot \"asset_name\" block_height\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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:19001/\n",
105
- "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> neurai-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:19001/\n",
106
- "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> neurai-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:19001/\n",
107
- "gettransaction": "gettransaction \"txid\" ( include_watchonly )\n\nGet detailed information about in-wallet transaction <txid>\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 XNA\n \"fee\": x.xxx, (numeric) The amount of the fee in XNA. 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 neurai address involved in the transaction\n \"category\" : \"send|receive\", (string) The category, either 'send' or 'receive'\n \"amount\" : x.xxx, (numeric) The amount in XNA\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 XNA. 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 XNA\n \"address\" : \"address\", (string) The neurai 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> neurai-cli gettransaction \"1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d\"\n> neurai-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:19001/\n",
108
- "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 XNA\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 neurai addresses\n \"address\" (string) neurai address\n ,...\n ]\n },\n \"coinbase\" : true|false (boolean) Coinbase or not\n}\n\nExamples:\n\nGet unspent transactions\n> neurai-cli listunspent \n\nView the details\n> neurai-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:19001/\n",
109
- "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",
110
- "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> neurai-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:19001/\n",
111
- "getunconfirmedbalance": "getunconfirmedbalance\nReturns the server's total unconfirmed balance\n",
112
- "getverifierstring": "getverifierstring restricted_name\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n",
113
- "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 XNA\n \"unconfirmed_balance\": xxx, (numeric) the total unconfirmed balance of the wallet in XNA\n \"immature_balance\": xxxxxx, (numeric) the total immature balance of the wallet in XNA\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 XNA/kB\n \"hdseedid\": \"<hash160>\" (string, optional) the Hash160 of the HD seed (only present when HD is enabled)\n \"hdmasterkeyid\": \"<hash160>\" (string, optional) alias for hdseedid retained for backwards-compatibility. Will be removed in V0.18.\n}\n\nExamples:\n> neurai-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:19001/\n",
114
- "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",
115
- "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> neurai-cli importaddress \"myscript\"\n\nImport using a label without rescan\n> neurai-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:19001/\n",
116
- "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\": \"<script>\" | { \"address\":\"<address>\" }, (string / json, required) Type of scriptPubKey (string for script, json for address)\n \"timestamp\": timestamp | \"now\" , (integer / string, required) Creation time of the key in seconds since epoch (Jan 1 1970 GMT),\n or the string \"now\" to substitute the current synced blockchain time. The timestamp of the oldest\n key will determine how far back blockchain rescans need to begin for missing wallet transactions.\n \"now\" can be specified to bypass scanning, for keys which are known to never have been used, and\n 0 can be specified to scan the entire blockchain. Blocks up to 2 hours before the earliest key\n creation time of all keys being imported by the importmulti call will be scanned.\n \"redeemscript\": \"<script>\" , (string, optional) Allowed only if the scriptPubKey is a P2SH address or a P2SH scriptPubKey\n \"pubkeys\": [\"<pubKey>\", ... ] , (array, optional) Array of strings giving pubkeys that must occur in the output or redeemscript\n \"keys\": [\"<key>\", ... ] , (array, optional) Array of strings giving private keys whose corresponding public keys must occur in the output or redeemscript\n \"internal\": <true> , (boolean, optional, default: false) Stating whether matching outputs should be treated as not incoming payments\n \"watchonly\": <true> , (boolean, optional, default: false) Stating whether matching outputs should be considered watched even when they're not spendable, only allowed if keys are empty\n \"label\": <label> , (string, optional, default: '') Label to assign to the address (aka account name, for now), only allowed with internal=false\n }\n ,...\n ]\n2. options (json, optional)\n {\n \"rescan\": <false>, (boolean, optional, default: true) Stating if should rescan the blockchain after all imports\n }\n\nExamples:\n> neurai-cli importmulti '[{ \"scriptPubKey\": { \"address\": \"<my address>\" }, \"timestamp\":1455191478 }, { \"scriptPubKey\": { \"address\": \"<my 2nd address>\" }, \"label\": \"example 2\", \"timestamp\": 1455191480 }]'\n> neurai-cli importmulti '[{ \"scriptPubKey\": { \"address\": \"<my address>\" }, \"timestamp\":1455191478 }]' '{ \"rescan\": false}'\n\nResponse is an array with the same size as the input that has the execution result :\n [{ \"success\": true } , { \"success\": false, \"error\": { \"code\": -1, \"message\": \"Internal Server Error\"} }, ... ]\n",
117
- "importprivkey": "importprivkey \"privkey\" ( \"label\" ) ( rescan )\n\nAdds a private key (as returned by dumpprivkey) to your wallet.\n\nArguments:\n1. \"privkey\" (string, required) The private key (see dumpprivkey)\n2. \"label\" (string, optional, default=\"\") An optional label\n3. rescan (boolean, optional, default=true) Rescan the wallet for transactions\n\nNote: This call can take minutes to complete if rescan is true.\n\nExamples:\n\nDump a private key\n> neurai-cli dumpprivkey \"myaddress\"\n\nImport the private key with rescan\n> neurai-cli importprivkey \"mykey\"\n\nImport using a label and without rescan\n> neurai-cli importprivkey \"mykey\" \"testing\" false\n\nImport using default blank label and without rescan\n> neurai-cli importprivkey \"mykey\" \"\" false\n\nAs a JSON-RPC call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"importprivkey\", \"params\": [\"mykey\", \"testing\", false] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
118
- "importprunedfunds": "importprunedfunds\n\nImports funds without rescan. Corresponding address or script must previously be included in wallet. Aimed towards pruned wallets. The end-user is responsible to import additional transactions that subsequently spend the imported outputs or rescan after the point in the blockchain the transaction is included.\n\nArguments:\n1. \"rawtransaction\" (string, required) A raw transaction in hex funding an already-existing address in wallet\n2. \"txoutproof\" (string, required) The hex output from gettxoutproof that contains the transaction\n",
119
- "importpubkey": "importpubkey \"pubkey\" ( \"label\" rescan )\n\nAdds a public key (in hex) that can be watched as if it were in your wallet but cannot be used to spend.\n\nArguments:\n1. \"pubkey\" (string, required) The hex-encoded public key\n2. \"label\" (string, optional, default=\"\") An optional label\n3. rescan (boolean, optional, default=true) Rescan the wallet for transactions\n\nNote: This call can take minutes to complete if rescan is true.\n\nExamples:\n\nImport a public key with rescan\n> neurai-cli importpubkey \"mypubkey\"\n\nImport using a label without rescan\n> neurai-cli importpubkey \"mypubkey\" \"testing\" false\n\nAs a JSON-RPC call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"importpubkey\", \"params\": [\"mypubkey\", \"testing\", false] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
120
- "importwallet": "importwallet \"filename\"\n\nImports keys from a wallet dump file (see dumpwallet).\n\nArguments:\n1. \"filename\" (string, required) The wallet file\n\nExamples:\n\nDump the wallet\n> neurai-cli dumpwallet \"test\"\n\nImport the wallet\n> neurai-cli importwallet \"test\"\n\nImport using the json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"importwallet\", \"params\": [\"test\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
121
- "issue": "issue \"asset_name\" qty \"( to_address )\" \"( change_address )\" ( units ) ( reissuable ) ( has_ipfs ) \"( ipfs_hash )\"\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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 xna 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> neurai-cli issue \"ASSET_NAME\" 1000\n> neurai-cli issue \"ASSET_NAME\" 1000 \"myaddress\"\n> neurai-cli issue \"ASSET_NAME\" 1000 \"myaddress\" \"changeaddress\" 4\n> neurai-cli issue \"ASSET_NAME\" 1000 \"myaddress\" \"changeaddress\" 2 true\n> neurai-cli issue \"ASSET_NAME\" 1000 \"myaddress\" \"changeaddress\" 8 false true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\n> neurai-cli issue \"ASSET_NAME/SUB_ASSET\" 1000 \"myaddress\" \"changeaddress\" 2 true\n> neurai-cli issue \"ASSET_NAME#uniquetag\"\n",
122
- "issuequalifierasset": "issuequalifierasset \"asset_name\" qty \"( to_address )\" \"( change_address )\" ( has_ipfs ) \"( ipfs_hash )\"\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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 xna 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> neurai-cli issuequalifierasset \"#ASSET_NAME\" 1000\n> neurai-cli issuequalifierasset \"ASSET_NAME\" 1000 \"myaddress\"\n> neurai-cli issuequalifierasset \"#ASSET_NAME\" 1000 \"myaddress\" \"changeaddress\"\n> neurai-cli issuequalifierasset \"ASSET_NAME\" 1000 \"myaddress\" \"changeaddress\"\n> neurai-cli issuequalifierasset \"#ASSET_NAME\" 1000 \"myaddress\" \"changeaddress\" true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\n> neurai-cli issuequalifierasset \"ASSET_NAME/SUB_QUALIFIER\" 1000 \"myaddress\" \"changeaddress\"\n> neurai-cli issuequalifierasset \"#ASSET_NAME\"\n",
123
- "issuerestrictedasset": "issuerestrictedasset \"asset_name\" qty \"verifier\" \"to_address\" \"( change_address )\" (units) ( reissuable ) ( has_ipfs ) \"( ipfs_hash )\"\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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 xna 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> neurai-cli issuerestrictedasset \"$ASSET_NAME\" 1000 \"#KYC & !#AML\" \"myaddress\"\n> neurai-cli issuerestrictedasset \"$ASSET_NAME\" 1000 \"#KYC & !#AML\" \"myaddress\"\n> neurai-cli issuerestrictedasset \"$ASSET_NAME\" 1000 \"#KYC & !#AML\" \"myaddress\" \"changeaddress\" 5\n> neurai-cli issuerestrictedasset \"$ASSET_NAME\" 1000 \"#KYC & !#AML\" \"myaddress\" \"changeaddress\" 8 true\n> neurai-cli issuerestrictedasset \"$ASSET_NAME\" 1000 \"#KYC & !#AML\" \"myaddress\" \"changeaddress\" 0 false true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\n",
124
- "issueunique": "issueunique \"root_name\" [asset_tags] ( [ipfs_hashes] ) \"( to_address )\" \"( change_address )\"\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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) XNA 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 xna 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> neurai-cli issueunique \"MY_ASSET\" '[\"primo\",\"secundo\"]'\n> neurai-cli issueunique \"MY_ASSET\" '[\"primo\",\"secundo\"]' '[\"first_hash\",\"second_hash\"]'\n",
125
- "isvalidverifierstring": "isvalidverifierstring verifier_string\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n",
126
- "keypoolrefill": "keypoolrefill ( newsize )\n\nFills the keypool.\n\nArguments\n1. newsize (numeric, optional, default=100) The new keypool size\n\nExamples:\n> neurai-cli keypoolrefill \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"keypoolrefill\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
127
- "listaccounts": "listaccounts ( minconf include_watchonly)\n\nDEPRECATED. Returns Object that has account names as keys, account balances as values.\n\nArguments:\n1. minconf (numeric, optional, default=1) Only include transactions with at least this many confirmations\n2. include_watchonly (bool, optional, default=false) Include balances in watch-only addresses (see 'importaddress')\n\nResult:\n{ (json object where keys are account names, and values are numeric balances\n \"account\": x.xxx, (numeric) The property name is the account name, and the value is the total balance for the account.\n ...\n}\n\nExamples:\n\nList account balances where there at least 1 confirmation\n> neurai-cli listaccounts \n\nList account balances including zero confirmation transactions\n> neurai-cli listaccounts 0\n\nList account balances for 6 or more confirmations\n> neurai-cli listaccounts 6\n\nAs json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listaccounts\", \"params\": [6] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
128
- "listaddressesbyasset": "listaddressesbyasset \"asset_name\" (onlytotal) (count) (start)\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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> neurai-cli listaddressesbyasset \"ASSET_NAME\" false 2 0\n> neurai-cli listaddressesbyasset \"ASSET_NAME\" true\n> neurai-cli listaddressesbyasset \"ASSET_NAME\"\n",
129
- "listaddressesfortag": "listaddressesfortag tag_name\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n",
130
- "listaddressgroupings": "listaddressgroupings\n\nLists groups of addresses which have had their common ownership\nmade public by common use as inputs or as the resulting change\nin past transactions\n\nResult:\n[\n [\n [\n \"address\", (string) The neurai address\n amount, (numeric) The amount in XNA\n \"account\" (string, optional) DEPRECATED. The account\n ]\n ,...\n ]\n ,...\n]\n\nExamples:\n> neurai-cli listaddressgroupings \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listaddressgroupings\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
131
- "listaddressrestrictions": "listaddressrestrictions address\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n",
132
- "listassetbalancesbyaddress": "listassetbalancesbyaddress \"address\" (onlytotal) (count) (start)\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\n\nReturns a list of all asset balances for an address.\n\nArguments:\n1. \"address\" (string, required) a neurai 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> neurai-cli listassetbalancesbyaddress \"myaddress\" false 2 0\n> neurai-cli listassetbalancesbyaddress \"myaddress\" true\n> neurai-cli listassetbalancesbyaddress \"myaddress\"\n",
133
- "listassets": "listassets \"( asset )\" ( verbose ) ( count ) ( start )\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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:19001/\n> neurai-cli listassets ASSET\n> neurai-cli listassets \"ASSET*\" true 10 20\n",
134
- "listbanned": "listbanned\n\nList all banned IPs/Subnets.\n\nExamples:\n> neurai-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:19001/\n",
135
- "listdepinaddresses": "listdepinaddresses \"asset_name\" (count) (start)\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\n\nReturns a list of addresses that own the given asset AND have a revealed public key on the blockchain.\nThis is useful for DePIN messaging systems where only addresses with revealed public keys can participate.\n\nArguments:\n1. \"asset_name\" (string, required) name of asset\n2. \"count\" (integer, optional, default=50000, MAX=50000) truncates results to include only the first _count_ addresses found\n3. \"start\" (integer, optional, default=0) results skip over the first _start_ addresses found (if negative it skips back from the end)\n\nResult:\n[\n {\n \"address\": \"address\", (string) The Neurai address\n \"pubkey\": \"pubkey_hex\" (string) The public key in hex format\n },\n ...\n]\n\nExamples:\n> neurai-cli listdepinaddresses \"ASSET_NAME\"\n> neurai-cli listdepinaddresses \"ASSET_NAME\" 10 0\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listdepinaddresses\", \"params\": [\"ASSET_NAME\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
136
- "listdepinholders": "listdepinholders \"asset_name\"\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\n\nReturns all addresses holding a DEPIN asset with validity status\n\nDEPIN assets are soulbound (non-transferable except by owner) and can be frozen/revoked\n\nArguments:\n1. \"asset_name\" (string, required) The DEPIN asset name (must start with &)\n\nResult:\n[\n {\n \"address\": \"address\", (string) The address\n \"amount\": n, (numeric) The amount held at the address\n \"valid\": 1|0 (numeric) 1 = active/valid, 0 = blocked/revoked\n },\n ...\n]\n\nExamples:\n> neurai-cli listdepinholders \"&FRANCE\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listdepinholders\", \"params\": [\"&FRANCE\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
137
- "listglobalrestrictions": "listglobalrestrictions\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\n\nList all global restricted assets\n\nResult:\n[\"asset_name\", (string) The asset name\n...,\n]\n\nExamples:\n> neurai-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:19001/\n",
138
- "listlockunspent": "listlockunspent\n\nReturns list of temporarily unspendable outputs.\nSee the lockunspent call to lock and unlock transactions for spending.\n\nResult:\n[\n {\n \"txid\" : \"transactionid\", (string) The transaction id locked\n \"vout\" : n (numeric) The vout value\n }\n ,...\n]\n\nExamples:\n\nList the unspent transactions\n> neurai-cli listunspent \n\nLock an unspent transaction\n> neurai-cli lockunspent false \"[{\\\"txid\\\":\\\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\\\",\\\"vout\\\":1}]\"\n\nList the locked transactions\n> neurai-cli listlockunspent \n\nUnlock the transaction again\n> neurai-cli lockunspent true \"[{\\\"txid\\\":\\\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\\\",\\\"vout\\\":1}]\"\n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listlockunspent\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
139
- "listmyassets": "listmyassets \"( asset )\" ( verbose ) ( count ) ( start ) (confs) \n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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:19001/\n> neurai-cli listmyassets ASSET\n> neurai-cli listmyassets \"ASSET*\" true 10 20\n> neurai-cli listmyassets \"ASSET*\" true 10 20 1\n",
140
- "listpqaddresses": "listpqaddresses\n\nReturns the list of post-quantum (ML-DSA-44) Bech32m addresses in the wallet.\n\nResult:\n[ (json array of strings)\n \"address\" (string) A generic AuthScript v1 address with a PQ key (nc1p.../tnc1p...)\n ...\n]\n\nExamples:\n> neurai-cli listpqaddresses \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listpqaddresses\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
141
- "listreceivedbyaccount": "listreceivedbyaccount ( minconf include_empty include_watchonly)\n\nDEPRECATED. List balances by account.\n\nArguments:\n1. minconf (numeric, optional, default=1) The minimum number of confirmations before payments are included.\n2. include_empty (bool, optional, default=false) Whether to include accounts that haven't received any payments.\n3. include_watchonly (bool, optional, default=false) Whether to include watch-only addresses (see 'importaddress').\n\nResult:\n[\n {\n \"involvesWatchonly\" : true, (bool) Only returned if imported addresses were involved in transaction\n \"account\" : \"accountname\", (string) The account name of the receiving account\n \"amount\" : x.xxx, (numeric) The total amount received by addresses with this account\n \"confirmations\" : n, (numeric) The number of confirmations of the most recent transaction included\n \"label\" : \"label\" (string) A comment for the address/transaction, if any\n }\n ,...\n]\n\nExamples:\n> neurai-cli listreceivedbyaccount \n> neurai-cli listreceivedbyaccount 6 true\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listreceivedbyaccount\", \"params\": [6, true, true] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
142
- "listreceivedbyaddress": "listreceivedbyaddress ( minconf include_empty include_watchonly)\n\nList balances by receiving address.\n\nArguments:\n1. minconf (numeric, optional, default=1) The minimum number of confirmations before payments are included.\n2. include_empty (bool, optional, default=false) Whether to include addresses that haven't received any payments.\n3. include_watchonly (bool, optional, default=false) Whether to include watch-only addresses (see 'importaddress').\n\nResult:\n[\n {\n \"involvesWatchonly\" : true, (bool) Only returned if imported addresses were involved in transaction\n \"address\" : \"receivingaddress\", (string) The receiving address\n \"account\" : \"accountname\", (string) DEPRECATED. The account of the receiving address. The default account is \"\".\n \"amount\" : x.xxx, (numeric) The total amount in XNA received by the address\n \"confirmations\" : n, (numeric) The number of confirmations of the most recent transaction included\n \"label\" : \"label\", (string) A comment for the address/transaction, if any\n \"txids\": [\n n, (numeric) The ids of transactions received with the address \n ...\n ]\n }\n ,...\n]\n\nExamples:\n> neurai-cli listreceivedbyaddress \n> neurai-cli listreceivedbyaddress 6 true\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listreceivedbyaddress\", \"params\": [6, true, true] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
143
- "listsinceblock": "listsinceblock ( \"blockhash\" target_confirmations include_watchonly include_removed )\n\nGet all transactions in blocks since block [blockhash], or all transactions if omitted.\nIf \"blockhash\" is no longer a part of the main chain, transactions from the fork point onward are included.\nAdditionally, if include_removed is set, transactions affecting the wallet which were removed are returned in the \"removed\" array.\n\nArguments:\n1. \"blockhash\" (string, optional) The block hash to list transactions since\n2. target_confirmations: (numeric, optional, default=1) Return the nth block hash from the main chain. e.g. 1 would mean the best block hash. Note: this is not used as a filter, but only affects [lastblock] in the return value\n3. include_watchonly: (bool, optional, default=false) Include transactions to watch-only addresses (see 'importaddress')\n4. include_removed: (bool, optional, default=true) Show transactions that were removed due to a reorg in the \"removed\" array\n (not guaranteed to work on pruned nodes)\n\nResult:\n{\n \"transactions\": [\n \"account\":\"accountname\", (string) DEPRECATED. The account name associated with the transaction. Will be \"\" for the default account.\n \"address\":\"address\", (string) The neurai address of the transaction. Not present for move transactions (category = move).\n \"category\":\"send|receive\", (string) The transaction category. 'send' has negative amounts, 'receive' has positive amounts.\n \"amount\": x.xxx, (numeric) The amount in XNA. This is negative for the 'send' category, and for the 'move' category for moves \n outbound. It is positive for the 'receive' category, and for the 'move' category for inbound funds.\n \"vout\" : n, (numeric) the vout value\n \"fee\": x.xxx, (numeric) The amount of the fee in XNA. This is negative and only available for the 'send' category of transactions.\n \"confirmations\": n, (numeric) The number of confirmations for the transaction. Available for 'send' and 'receive' category of transactions.\n When it's < 0, it means the transaction conflicted that many blocks ago.\n \"blockhash\": \"hashvalue\", (string) The block hash containing the transaction. Available for 'send' and 'receive' category of transactions.\n \"blockindex\": n, (numeric) The index of the transaction in the block that includes it. Available for 'send' and 'receive' category of transactions.\n \"blocktime\": xxx, (numeric) The block time in seconds since epoch (1 Jan 1970 GMT).\n \"txid\": \"transactionid\", (string) The transaction id. Available for 'send' and 'receive' category of transactions.\n \"time\": xxx, (numeric) The transaction time in seconds since epoch (Jan 1 1970 GMT).\n \"timereceived\": xxx, (numeric) The time received in seconds since epoch (Jan 1 1970 GMT). Available for 'send' and 'receive' category of transactions.\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 \"abandoned\": xxx, (bool) 'true' if the transaction has been abandoned (inputs are respendable). Only available for the 'send' category of transactions.\n \"comment\": \"...\", (string) If a comment is associated with the transaction.\n \"label\" : \"label\" (string) A comment for the address/transaction, if any\n \"to\": \"...\", (string) If a comment to is associated with the transaction.\n ],\n \"removed\": [\n <structure is the same as \"transactions\" above, only present if include_removed=true>\n Note: transactions that were readded in the active chain will appear as-is in this array, and may thus have a positive confirmation count.\n ],\n \"lastblock\": \"lastblockhash\" (string) The hash of the block (target_confirmations-1) from the best block on the main chain. This is typically used to feed back into listsinceblock the next time you call it. So you would generally use a target_confirmations of say 6, so you will be continually re-notified of transactions until they've reached 6 confirmations plus any new ones\n}\n\nExamples:\n> neurai-cli listsinceblock \n> neurai-cli listsinceblock \"000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad\" 6\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listsinceblock\", \"params\": [\"000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad\", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
144
- "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> neurai-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:19001/\n",
145
- "listtagsforaddress": "listtagsforaddress address\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n",
146
- "listtransactions": "listtransactions ( \"account\" count skip include_watchonly)\n\nReturns up to 'count' most recent transactions skipping the first 'from' transactions for account 'account'.\n\nArguments:\n1. \"account\" (string, optional) DEPRECATED. The account name. Should be \"*\".\n2. count (numeric, optional, default=10) The number of transactions to return\n3. skip (numeric, optional, default=0) The number of transactions to skip\n4. include_watchonly (bool, optional, default=false) Include transactions to watch-only addresses (see 'importaddress')\n\nResult:\n[\n {\n \"account\":\"accountname\", (string) DEPRECATED. The account name associated with the transaction. \n It will be \"\" for the default account.\n \"address\":\"address\", (string) The neurai address of the transaction. Not present for \n move transactions (category = move).\n \"category\":\"send|receive|move\", (string) The transaction category. 'move' is a local (off blockchain)\n transaction between accounts, and not associated with an address,\n transaction id or block. 'send' and 'receive' transactions are \n associated with an address, transaction id and block details\n \"amount\": x.xxx, (numeric) The amount in XNA. This is negative for the 'send' category, and for the\n 'move' category for moves outbound. It is positive for the 'receive' category,\n and for the 'move' category for inbound funds.\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 XNA. This is negative and only available for the \n 'send' category of transactions.\n \"confirmations\": n, (numeric) The number of confirmations for the transaction. Available for 'send' and \n 'receive' category of transactions. Negative confirmations indicate the\n transaction conflicts with the block chain\n \"trusted\": xxx, (bool) Whether we consider the outputs of this unconfirmed transaction safe to spend.\n \"blockhash\": \"hashvalue\", (string) The block hash containing the transaction. Available for 'send' and 'receive'\n category of transactions.\n \"blockindex\": n, (numeric) The index of the transaction in the block that includes it. Available for 'send' and 'receive'\n category of transactions.\n \"blocktime\": xxx, (numeric) The block time in seconds since epoch (1 Jan 1970 GMT).\n \"txid\": \"transactionid\", (string) The transaction id. Available for 'send' and 'receive' category of transactions.\n \"time\": xxx, (numeric) The transaction time in seconds since epoch (midnight Jan 1 1970 GMT).\n \"timereceived\": xxx, (numeric) The time received in seconds since epoch (midnight Jan 1 1970 GMT). Available \n for 'send' and 'receive' category of transactions.\n \"comment\": \"...\", (string) If a comment is associated with the transaction.\n \"otheraccount\": \"accountname\", (string) DEPRECATED. For the 'move' category of transactions, the account the funds came \n from (for receiving funds, positive amounts), or went to (for sending funds,\n negative amounts).\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 \"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\nExamples:\n\nList the most recent 10 transactions in the systems\n> neurai-cli listtransactions \n\nList transactions 100 to 120\n> neurai-cli listtransactions \"*\" 20 100\n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listtransactions\", \"params\": [\"*\", 20, 100] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
147
- "listunspent": "listunspent ( minconf maxconf [\"addresses\",...] [include_unsafe] [query_options])\n\nReturns array of unspent transaction outputs\nwith between minconf and maxconf (inclusive) confirmations.\nOptionally filter to only include txouts paid to specified addresses.\n\nArguments:\n1. minconf (numeric, optional, default=1) The minimum confirmations to filter\n2. maxconf (numeric, optional, default=9999999) The maximum confirmations to filter\n3. \"addresses\" (string) A json array of neurai addresses to filter\n [\n \"address\" (string) neurai address\n ,...\n ]\n4. include_unsafe (bool, optional, default=true) Include outputs that are not safe to spend\n See description of \"safe\" attribute below.\n5. query_options (json, optional) JSON with query options\n {\n \"minimumAmount\" (numeric or string, default=0) Minimum value of each UTXO in XNA\n \"maximumAmount\" (numeric or string, default=unlimited) Maximum value of each UTXO in XNA\n \"maximumCount\" (numeric or string, default=unlimited) Maximum number of UTXOs\n \"minimumSumAmount\" (numeric or string, default=unlimited) Minimum sum value of all UTXOs in XNA\n }\n\nResult\n[ (array of json object)\n {\n \"txid\" : \"txid\", (string) the transaction id \n \"vout\" : n, (numeric) the vout value\n \"address\" : \"address\", (string) the neurai address\n \"account\" : \"account\", (string) DEPRECATED. The associated account, or \"\" for the default account\n \"scriptPubKey\" : \"key\", (string) the script key\n \"amount\" : x.xxx, (numeric) the transaction output amount in XNA\n \"confirmations\" : n, (numeric) The number of confirmations\n \"redeemScript\" : n (string) The redeemScript if scriptPubKey is P2SH\n \"spendable\" : xxx, (bool) Whether we have the private keys to spend this output\n \"solvable\" : xxx, (bool) Whether we know how to spend this output, ignoring the lack of keys\n \"safe\" : xxx (bool) Whether this output is considered safe to spend. Unconfirmed transactions\n from outside keys and unconfirmed replacement transactions are considered unsafe\n and are not eligible for spending by fundrawtransaction and sendtoaddress.\n }\n ,...\n]\n\nExamples\n> neurai-cli listunspent \n> neurai-cli listunspent 6 9999999 \"[\\\"1PGFqEzfmQch1gKD3ra4k18PNj3tTUUSqg\\\",\\\"1LtvqCaApEdUGFkpKMM4MstjcaL4dKg8SP\\\"]\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listunspent\", \"params\": [6, 9999999 \"[\\\"1PGFqEzfmQch1gKD3ra4k18PNj3tTUUSqg\\\",\\\"1LtvqCaApEdUGFkpKMM4MstjcaL4dKg8SP\\\"]\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n> neurai-cli listunspent 6 9999999 '[]' true '{ \"minimumAmount\": 0.005 }'\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listunspent\", \"params\": [6, 9999999, [] , true, { \"minimumAmount\": 0.005 } ] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
148
- "listwallets": "listwallets\nReturns a list of currently loaded wallets.\nFor full information on the wallet, use \"getwalletinfo\"\n\nResult:\n[ (json array of strings)\n \"walletname\" (string) the wallet name\n ...\n]\n\nExamples:\n> neurai-cli listwallets \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listwallets\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
149
- "lockunspent": "lockunspent unlock ([{\"txid\":\"txid\",\"vout\":n},...])\n\nUpdates list of temporarily unspendable outputs.\nTemporarily lock (unlock=false) or unlock (unlock=true) specified transaction outputs.\nIf no transaction outputs are specified when unlocking then all current locked transaction outputs are unlocked.\nA locked transaction output will not be chosen by automatic coin selection, when spending neurais.\nLocks are stored in memory only. Nodes start with zero locked outputs, and the locked output list\nis always cleared (by virtue of process exit) when a node stops or fails.\nAlso see the listunspent call\n\nArguments:\n1. unlock (boolean, required) Whether to unlock (true) or lock (false) the specified transactions\n2. \"transactions\" (string, optional) A json array of objects. Each object the txid (string) vout (numeric)\n [ (json array of json objects)\n {\n \"txid\":\"id\", (string) The transaction id\n \"vout\": n (numeric) The output number\n }\n ,...\n ]\n\nResult:\ntrue|false (boolean) Whether the command was successful or not\n\nExamples:\n\nList the unspent transactions\n> neurai-cli listunspent \n\nLock an unspent transaction\n> neurai-cli lockunspent false \"[{\\\"txid\\\":\\\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\\\",\\\"vout\\\":1}]\"\n\nList the locked transactions\n> neurai-cli listlockunspent \n\nUnlock the transaction again\n> neurai-cli lockunspent true \"[{\\\"txid\\\":\\\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\\\",\\\"vout\\\":1}]\"\n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"lockunspent\", \"params\": [false, \"[{\\\"txid\\\":\\\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\\\",\\\"vout\\\":1}]\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
150
- "move": "move \"fromaccount\" \"toaccount\" amount ( minconf \"comment\" )\n\nDEPRECATED. Move a specified amount from one account in your wallet to another.\n\nArguments:\n1. \"fromaccount\" (string, required) The name of the account to move funds from. May be the default account using \"\".\n2. \"toaccount\" (string, required) The name of the account to move funds to. May be the default account using \"\".\n3. amount (numeric) Quantity of XNA to move between accounts.\n4. (dummy) (numeric, optional) Ignored. Remains for backward compatibility.\n5. \"comment\" (string, optional) An optional comment, stored in the wallet only.\n\nResult:\ntrue|false (boolean) true if successful.\n\nExamples:\n\nMove 0.01 XNA from the default account to the account named tabby\n> neurai-cli move \"\" \"tabby\" 0.01\n\nMove 0.01 XNA timotei to akiko with a comment and funds have 6 confirmations\n> neurai-cli move \"timotei\" \"akiko\" 0.01 6 \"happy birthday!\"\n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"move\", \"params\": [\"timotei\", \"akiko\", 0.01, 6, \"happy birthday!\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
151
- "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> neurai-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:19001/\n",
152
- "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> neurai-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:19001/\n",
153
- "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> neurai-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:19001/\n",
154
- "prioritisetransaction": "prioritisetransaction <txid> <dummy value> <fee delta>\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> neurai-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:19001/\n",
155
- "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> neurai-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:19001/\n",
156
- "purgesnapshot": "purgesnapshot \"asset_name\" block_height\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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> neurai-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:19001/\n",
157
- "reissue": "reissue \"asset_name\" qty \"to_address\" \"change_address\" ( reissuable ) ( new_units) \"( new_ipfs )\" \n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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> neurai-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:19001/\n",
158
- "reissuerestrictedasset": "reissuerestrictedasset \"asset_name\" qty to_address ( change_verifier ) ( \"new_verifier\" ) \"( change_address )\" ( new_units ) ( reissuable ) \"( new_ipfs )\"\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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 xna 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> neurai-cli reissuerestrictedasset \"$ASSET_NAME\" 1000 \"myaddress\" true \"KYC & !AML\"\n> neurai-cli reissuerestrictedasset \"$ASSET_NAME\" 1000 \"myaddress\" true \"KYC & !AML\" \n> neurai-cli reissuerestrictedasset \"$ASSET_NAME\" 1000 \"myaddress\" true \"KYC & !AML\" \"changeaddress\"\n> neurai-cli reissuerestrictedasset \"$ASSET_NAME\" 1000 \"myaddress\" true \"KYC & !AML\" \"changeaddress\" -1 true\n> neurai-cli reissuerestrictedasset \"$ASSET_NAME\" 1000 \"myaddress\" false \"\" \"changeaddress\" -1 false QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\n",
159
- "removeprunedfunds": "removeprunedfunds \"txid\"\n\nDeletes the specified transaction from the wallet. Meant for use with pruned wallets and as a companion to importprunedfunds. This will affect wallet balances.\n\nArguments:\n1. \"txid\" (string, required) The hex-encoded id of the transaction you are deleting\n\nExamples:\n> neurai-cli removeprunedfunds \"a8d0c0184dde994a09ec054286f1ce581bebf46446a512166eae7628734ea0a5\"\n\nAs a JSON-RPC call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"removeprunedfunds\", \"params\": [\"a8d0c0184dde994a09ec054286f1ce581bebf46446a512166eae7628734ea0a5\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
160
- "removetagfromaddress": "removetagfromaddress tag_name to_address (change_address) (asset_data)\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n> neurai-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:19001/\n",
161
- "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> neurai-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:19001/\n",
162
- "rescanblockchain": "rescanblockchain (\"start_height\") (\"stop_height\")\n\nRescan the local blockchain for wallet related transactions.\n\nArguments:\n1. \"start_height\" (numeric, optional) block height where the rescan should start\n2. \"stop_height\" (numeric, optional) the last block height that should be scanned\n\nResult:\n{\n \"start_height\" (numeric) The block height where the rescan has started. If omitted, rescan started from the genesis block.\n \"stop_height\" (numeric) The height of the last rescanned block. If omitted, rescan stopped at the chain tip.\n}\n\nExamples:\n> neurai-cli rescanblockchain 100000 120000\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"rescanblockchain\", \"params\": [100000, 120000] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
163
- "savemempool": "savemempool\n\nDumps the mempool to disk.\n\nExamples:\n> neurai-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:19001/\n",
164
- "selfrevokedepin": "selfrevokedepin \"asset_name\"\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\n\nSelf-revoke a DEPIN asset held in this wallet\n\nBuilds a self-transfer: one UTXO of the asset is spent and returned to its own\n\naddress together with the revocation marker. Spending that UTXO is the proof of\n\nownership, so the address needs no XNA of its own; the fee is paid by the wallet.\n\nThe asset will be marked as invalid but will remain in the address\n\nThis action can only be undone by the asset owner (unfreezedepin). If the\n\nrevoked address also held the owner token, the owner must first move the owner\n\ntoken to another address and then unfreeze; this wallet refuses to auto-pick\n\nthat address for exactly that reason.\n\nArguments:\n1. \"asset_name\" (string, required) The DEPIN asset name (must start with &)\n\nResult:\n\"txid\" (string) The transaction id\n\nExamples:\n> neurai-cli selfrevokedepin \"&FRANCE\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"selfrevokedepin\", \"params\": [\"&FRANCE\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
165
- "sendfrom": "sendfrom \"fromaccount\" \"toaddress\" amount ( minconf \"comment\" \"comment_to\" )\n\nDEPRECATED (use sendtoaddress). Sent an amount from an account to a neurai address.\n\nArguments:\n1. \"fromaccount\" (string, required) The name of the account to send funds from. May be the default account using \"\".\n Specifying an account does not influence coin selection, but it does associate the newly created\n transaction with the account, so the account's balance computation and transaction history can reflect\n the spend.\n2. \"toaddress\" (string, required) The neurai address to send funds to.\n3. amount (numeric or string, required) The amount in XNA (transaction fee is added on top).\n4. minconf (numeric, optional, default=1) Only use funds with at least this many confirmations.\n5. \"comment\" (string, optional) A comment used to store what the transaction is for. \n This is not part of the transaction, just kept in your wallet.\n6. \"comment_to\" (string, optional) An optional comment to store the name of the person or organization \n to which you're sending the transaction. This is not part of the transaction, \n it is just kept in your wallet.\n\nResult:\n\"txid\" (string) The transaction id.\n\nExamples:\n\nSend 0.01 XNA from the default account to the address, must have at least 1 confirmation\n> neurai-cli sendfrom \"\" \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" 0.01\n\nSend 0.01 from the tabby account to the given address, funds must have at least 6 confirmations\n> neurai-cli sendfrom \"tabby\" \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" 0.01 6 \"donation\" \"seans outpost\"\n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"sendfrom\", \"params\": [\"tabby\", \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\", 0.01, 6, \"donation\", \"seans outpost\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
166
- "sendfromaddress": "sendfromaddress \"from_address\" \"to_address\" amount ( \"comment\" \"comment_to\" subtractfeefromamount replaceable conf_target \"estimate_mode\")\n\nSend an amount from a specific address to a given address. All xna change will get sent back to the from_address\n\nArguments:\n1. \"from_address\" (string, required) The neurai address to send from.\n2. \"to_address\" (string, required) The neurai address to send to.\n3. \"amount\" (numeric or string, required) The amount in XNA to send. eg 0.1\n4. \"comment\" (string, optional) A comment used to store what the transaction is for. \n This is not part of the transaction, just kept in your wallet.\n5. \"comment_to\" (string, optional) A comment to store the name of the person or organization \n to which you're sending the transaction. This is not part of the \n transaction, just kept in your wallet.\n6. subtractfeefromamount (boolean, optional, default=false) The fee will be deducted from the amount being sent.\n The recipient will receive less neurais than you enter in the amount field.\n7. conf_target (numeric, optional) Confirmation target (in blocks)\n8. \"estimate_mode\" (string, optional, default=UNSET) The fee estimate mode, must be one of:\n \"UNSET\"\n \"ECONOMICAL\"\n \"CONSERVATIVE\"\n\nResult:\n\"txid\" (string) The transaction id.\n\nExamples:\n> neurai-cli sendfromaddress \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" 0.1\n> neurai-cli sendfromaddress \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" 0.1 \"donation\" \"seans outpost\"\n> neurai-cli sendfromaddress \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" 0.1 \"\" \"\" true\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"sendfromaddress\", \"params\": [\"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\", 0.1, \"donation\", \"seans outpost\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
167
- "sendmany": "sendmany \"fromaccount\" {\"address\":amount,...} ( minconf \"comment\" [\"address\",...] replaceable conf_target \"estimate_mode\")\n\nSend multiple times. Amounts are double-precision floating point numbers.\n\nArguments:\n1. \"fromaccount\" (string, required) DEPRECATED. The account to send the funds from. Should be \"\" for the default account\n2. \"amounts\" (string, required) A json object with addresses and amounts\n {\n \"address\":amount (numeric or string) The neurai address is the key, the numeric amount (can be string) in XNA is the value\n ,...\n }\n3. minconf (numeric, optional, default=1) Only use the balance confirmed at least this many times.\n4. \"comment\" (string, optional) A comment\n5. subtractfeefrom (array, optional) A json array with addresses.\n The fee will be equally deducted from the amount of each selected address.\n Those recipients will receive less neurais than you enter in their corresponding amount field.\n If no addresses are specified here, the sender pays the fee.\n [\n \"address\" (string) Subtract fee from this address\n ,...\n ]\n6. conf_target (numeric, optional) Confirmation target (in blocks)\n7. \"estimate_mode\" (string, optional, default=UNSET) The fee estimate mode, must be one of:\n \"UNSET\"\n \"ECONOMICAL\"\n \"CONSERVATIVE\"\n\nResult:\n\"txid\" (string) The transaction id for the send. Only 1 transaction is created regardless of \n the number of addresses.\n\nExamples:\n\nSend two amounts to two different addresses:\n> neurai-cli sendmany \"\" \"{\\\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\\\":0.01,\\\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\\\":0.02}\"\n\nSend two amounts to two different addresses setting the confirmation and comment:\n> neurai-cli sendmany \"\" \"{\\\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\\\":0.01,\\\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\\\":0.02}\" 6 \"testing\"\n\nSend two amounts to two different addresses, subtract fee from amount:\n> neurai-cli sendmany \"\" \"{\\\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\\\":0.01,\\\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\\\":0.02}\" 1 \"\" \"[\\\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\\\",\\\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\\\"]\"\n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"sendmany\", \"params\": [\"\", \"{\\\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\\\":0.01,\\\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\\\":0.02}\", 6, \"testing\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
168
- "sendmessage": "sendmessage \"channel_name\" \"ipfs_hash\" (expire_time)\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0005.mediawiki\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> neurai-cli sendmessage \"ASSET_NAME!\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\" 15863654\n> neurai-cli sendmessage \"ASSET_NAME!\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\" 15863654\n",
169
- "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> neurai-cli createrawtransaction \"[{\\\"txid\\\" : \\\"mytxid\\\",\\\"vout\\\":0}]\" \"{\\\"myaddress\\\":0.01}\"\nSign the transaction, and get back the hex\n> neurai-cli signrawtransaction \"myhex\"\n\nSend the transaction (signed hex)\n> neurai-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:19001/\n",
170
- "sendtoaddress": "sendtoaddress \"address\" amount ( \"comment\" \"comment_to\" subtractfeefromamount replaceable conf_target \"estimate_mode\")\n\nSend an amount to a given address.\n\nArguments:\n1. \"address\" (string, required) The neurai address to send to.\n2. \"amount\" (numeric or string, required) The amount in XNA to send. eg 0.1\n3. \"comment\" (string, optional) A comment used to store what the transaction is for. \n This is not part of the transaction, just kept in your wallet.\n4. \"comment_to\" (string, optional) A comment to store the name of the person or organization \n to which you're sending the transaction. This is not part of the \n transaction, just kept in your wallet.\n5. subtractfeefromamount (boolean, optional, default=false) The fee will be deducted from the amount being sent.\n The recipient will receive less neurais than you enter in the amount field.\n6. conf_target (numeric, optional) Confirmation target (in blocks)\n7. \"estimate_mode\" (string, optional, default=UNSET) The fee estimate mode, must be one of:\n \"UNSET\"\n \"ECONOMICAL\"\n \"CONSERVATIVE\"\n\nResult:\n\"txid\" (string) The transaction id.\n\nExamples:\n> neurai-cli sendtoaddress \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" 0.1\n> neurai-cli sendtoaddress \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" 0.1 \"donation\" \"seans outpost\"\n> neurai-cli sendtoaddress \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" 0.1 \"\" \"\" true\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"sendtoaddress\", \"params\": [\"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\", 0.1, \"donation\", \"seans outpost\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
171
- "setaccount": "setaccount \"address\" \"account\"\n\nDEPRECATED. Sets the account associated with the given address.\n\nArguments:\n1. \"address\" (string, required) The neurai address to be associated with an account.\n2. \"account\" (string, required) The account to assign the address to.\n\nExamples:\n> neurai-cli setaccount \"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\" \"tabby\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"setaccount\", \"params\": [\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\", \"tabby\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
172
- "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> neurai-cli setban \"192.168.0.6\" \"add\" 86400\n> neurai-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:19001/\n",
173
- "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> neurai-cli setgenerate true 1\n\nCheck the setting\n> neurai-cli getgenerate \n\nTurn off generation\n> neurai-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:19001/\n",
174
- "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",
175
- "settxfee": "settxfee amount\n\nSet the transaction fee per kB. Overwrites the paytxfee parameter.\n\nArguments:\n1. amount (numeric or string, required) The transaction fee in XNA/kB\n\nResult\ntrue|false (boolean) Returns true if successful\n\nExamples:\n> neurai-cli settxfee 0.00001\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"settxfee\", \"params\": [0.00001] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
176
- "signmessage": "signmessage \"address\" \"message\"\n\nSign a message with the private key of an address\n\nArguments:\n1. \"address\" (string, required) The neurai address to use for the private key.\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\nUnlock the wallet for 30 seconds\n> neurai-cli walletpassphrase \"mypassphrase\" 30\n\nCreate the signature\n> neurai-cli signmessage \"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\" \"my message\"\n\nVerify the signature\n> neurai-cli verifymessage \"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\" \"signature\" \"my message\"\n\nAs json rpc\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"signmessage\", \"params\": [\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\", \"my message\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
177
- "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> neurai-cli signmessagewithprivkey \"privkey\" \"my message\"\n\nVerify the signature\n> neurai-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:19001/\n",
178
- "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> neurai-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:19001/\n",
179
- "stop": "stop\n\nStop Neurai server.\n",
180
- "submitblock": "submitblock \"hexdata\" ( \"dummy\" )\n\nAttempts to submit new block to network.\nSee https://en.bitcoin.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> neurai-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:19001/\n",
181
- "subscribetochannel": "subscribetochannel \n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0005.mediawiki\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> neurai-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:19001/\n",
182
- "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> neurai-cli createrawtransaction \"[{\\\"txid\\\" : \\\"mytxid\\\",\\\"vout\\\":0}]\" \"{\\\"myaddress\\\":0.01}\"\nSign the transaction, and get back the hex\n> neurai-cli signrawtransaction \"myhex\"\n\nTest acceptance of the transaction (signed hex)\n> neurai-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:19001/\n",
183
- "transfer": "transfer \"asset_name\" qty \"to_address\" \"message\" expire_time \"change_address\" \"asset_change_address\"\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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 XNA 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> neurai-cli transfer \"ASSET_NAME\" 20 \"address\" \"\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\" 15863654\n> neurai-cli transfer \"ASSET_NAME\" 20 \"address\" \"\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\" 15863654\n",
184
- "transferfromaddress": "transferfromaddress \"asset_name\" \"from_address\" qty \"to_address\" \"message\" expire_time \"xna_change_address\" \"asset_change_address\"\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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. \"xna_change_address\" (string, optional, default = \"\") the transaction XNA 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> neurai-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:19001/\n",
185
- "transferfromaddresses": "transferfromaddresses \"asset_name\" [\"from_addresses\"] qty \"to_address\" \"message\" expire_time \"xna_change_address\" \"asset_change_address\"\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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. \"xna_change_address\" (string, optional, default = \"\") the transactions XNA 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> neurai-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:19001/\n",
186
- "transferqualifier": "transferqualifier \"qualifier_name\" qty \"to_address\" (\"change_address\") (\"message\") (expire_time) \n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-cli transferqualifier \"#QUALIFIER\" 20 \"to_address\" \"\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\" 15863654\n> neurai-cli transferqualifier \"#QUALIFIER\" 20 \"to_address\" \"change_address\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\" 15863654\n",
187
- "unfreezeaddress": "unfreezeaddress asset_name address (change_address) (asset_data)\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n> neurai-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:19001/\n",
188
- "unfreezedepin": "unfreezedepin \"asset_name\" \"address\" (\"change_address\")\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\n\nUnfreeze a DEPIN asset for a specific address (owner only)\n\nThe asset will be marked as valid again\n\nRequires the owner token (&ASSET!) in the wallet\n\nArguments:\n1. \"asset_name\" (string, required) The DEPIN asset name (must start with &)\n2. \"address\" (string, required) The address to unfreeze\n3. \"change_address\" (string, optional) The change address for the owner token\n\nResult:\n\"txid\" (string) The transaction id\n\nExamples:\n> neurai-cli unfreezedepin \"&FRANCE\" \"address\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"unfreezedepin\", \"params\": [\"&FRANCE\" \"address\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
189
- "unfreezerestrictedasset": "unfreezerestrictedasset asset_name (change_address) (asset_data)\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n> neurai-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:19001/\n",
190
- "unsubscribefromchannel": "unsubscribefromchannel \n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0005.mediawiki\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> neurai-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:19001/\n",
191
- "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> neurai-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:19001/\n",
192
- "validateaddress": "validateaddress \"address\"\n\nReturn information about the given neurai address.\n\nArguments:\n1. \"address\" (string, required) The neurai 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 neurai 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 \"isauthscript\" : true, (boolean, optional) Only for AuthScript witness addresses (witness v1, v2 or v3)\n \"witness_version\" : n, (numeric, optional) AuthScript witness version: 1 (generic AuthScript, nc1p.../tnc1p...), 2 (strict post-quantum, pq1z.../tpq1z...) or 3 (strict ECDSA, nq1r.../tnq1r...)\n \"family\" : \"family\", (string, optional) AuthScript family: \"authscript\" (v1; the commitment does not reveal the authentication type), \"pq\" (v2) or \"ecdsa\" (v3)\n \"commitment\" : \"hex\", (string, optional) Strict addresses (v2/v3) only: the 32-byte AuthScript commitment as a uint256 hex string (byte-reversed with respect to the scriptPubKey)\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\" : \"<hash160>\" (string, optional) The Hash160 of the HD master pubkey\n}\n\nExamples:\n> neurai-cli validateaddress \"NLhdtwjgrcEkRqjJZkRY4sjhkJ93EytLeE\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"validateaddress\", \"params\": [\"NLhdtwjgrcEkRqjJZkRY4sjhkJ93EytLeE\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
193
- "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> neurai-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:19001/\n",
194
- "verifymessage": "verifymessage \"address\" \"signature\" \"message\"\n\nVerify a signed message\n\nArguments:\n1. \"address\" (string, required) The neurai 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> neurai-cli walletpassphrase \"mypassphrase\" 30\n\nCreate the signature\n> neurai-cli signmessage \"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\" \"my message\"\n\nVerify the signature\n> neurai-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:19001/\n",
195
- "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",
196
- "viewallmessagechannels": "viewallmessagechannels \n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0005.mediawiki\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> neurai-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:19001/\n",
197
- "viewallmessages": "viewallmessages \n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0005.mediawiki\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> neurai-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:19001/\n",
198
- "viewmyrestrictedaddresses": "viewmyrestrictedaddresses \n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0005.mediawiki\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> neurai-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:19001/\n",
199
- "viewmytaggedaddresses": "viewmytaggedaddresses \n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0005.mediawiki\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> neurai-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:19001/\n"
2
+ "": "== 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 \"xna_change_address\" \"asset_change_address\"\ntransferfromaddresses \"asset_name\" [\"from_addresses\"] qty \"to_address\" \"message\" expire_time \"xna_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\ngetibdstatus\ngetmempoolancestors txid (verbose)\ngetmempooldescendants txid (verbose)\ngetmempoolentry txid\ngetmempoolinfo\ngetprivacypoolinfo pool ( limit )\ngetprivacypoolupdates pool ( cursor limit )\ngetpubkey \"address\"\ngetrawmempool ( verbose )\ngetsilentpaymentindexinfo\ngetsilentpaymenttweaks \"blockhash\" ( \"encoding\" )\ngetsilentpaymenttweaksrange start_height count ( \"anchor_hash\" \"encoding\" )\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== Depin asset ==\ncheckdepinvalidity \"asset_name\" \"address\"\nclosedepin \"asset_name\" (\"change_address\")\nfreezedepin \"asset_name\" \"address\" (\"change_address\")\nlistdepinholders \"asset_name\"\nopendepin \"asset_name\" (\"change_address\")\nsealdepin \"asset_name\" (\"change_address\")\nselfrevokedepin \"asset_name\"\nunfreezedepin \"asset_name\" \"address\" (\"change_address\")\n\n== Depin messaging ==\ndepinchallenge request\ndepindecrypt \"address\" \"encrypted\"\ndepingetmsg \"token\" ( \"fromaddress\" )\ndepinpoolpkey\ndepinsendmsg \"token\" \"message\" \"fromaddress\"\ndepinsignrpc method request\nlistdepinaddresses \"asset_name\" (count) (start)\n\n== Generating ==\ngenerate nblocks ( maxtries )\ngeneratetoaddress nblocks address (maxtries)\ngetgenerate\nsetgenerate generate ( genproclimit )\n\n== Messages ==\nclearmessages \ngetchannelmessages \"channel\" ( {options} )\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 <txid> <dummy value> <fee delta>\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\ncreatedistributionbatch \"plan_hash\" {plan} batch_index ( {options} )\ndistributereward \"asset_name\" snapshot_height \"distribution_asset_name\" gross_distribution_amount ( \"exception_addresses\" ) ( \"change_address\" )\ngetdistributestatus \"asset_name\" snapshot_height \"distribution_asset_name\" gross_distribution_amount ( \"exception_addresses\" )\ngetdistributionbatches {plan} ( {options} )\ngetdistributionplan \"asset_name\" snapshot_height \"distribution_asset_name\" gross_distribution_amount ( \"exception_addresses\" {options} )\ngetdistributionproof {plan} \"address\"\ngetsnapshotannouncement \"asset_name\" snapshot_height\ngetsnapshotrecipients \"asset_name\" snapshot_height\ngetsnapshotrequest \"asset_name\" block_height\nlistsnapshotrequests [\"asset_name\" [block_height]]\nreplaysnapshot \"asset_name\" snapshot_height ( \"expected_snapshot_hash\" )\nrequestsnapshot \"asset_name\" block_height\nverifydistribution {plan} [batches] ( {options} )\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\"\ndecodesilentpaymentcode \"code\"\ndumpextkeypq\ndumpprivkey \"address\"\ndumpwallet \"filename\"\nencryptwallet \"passphrase\"\nexportsilentpaymentviewkey \"acknowledge\"\nexportxpqpub count ( chain offset )\ngetaccount \"address\"\ngetaccountaddress \"account\"\ngetaddressesbyaccount \"account\"\ngetbalance ( \"account\" minconf include_watchonly )\ngetmasterkeyinfo\ngetmywords ( \"account\" )\ngetnewaddress ( \"account\" \"address_type\" )\ngetrawchangeaddress ( \"address_type\" )\ngetreceivedbyaccount \"account\" ( minconf )\ngetreceivedbyaddress \"address\" ( minconf )\ngetsilentpaymentcode\ngetsilentpaymentinfo\ngettransaction \"txid\" ( include_watchonly )\ngetunconfirmedbalance\ngetwalletinfo\nimportaddress \"address\" ( \"label\" rescan p2sh )\nimportmulti \"requests\" ( \"options\" )\nimportprivkey \"privkey\" ( \"label\" ) ( rescan )\nimportprunedfunds\nimportpubkey \"pubkey\" ( \"label\" rescan )\nimportsilentpaymentviewkey \"scan_private_key\" \"spend_pubkey\" ( start_height )\nimportwallet \"filename\"\nkeypoolrefill ( newsize )\nlistaccounts ( minconf include_watchonly)\nlistaddressgroupings\nlistlockunspent\nlistpqaddresses\nlistreceivedbyaccount ( minconf include_empty include_watchonly)\nlistreceivedbyaddress ( minconf include_empty include_watchonly)\nlistsilentpayments ( include_spent )\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\"\nrepairsilentpaymentidentity\nrescanblockchain (\"start_height\") (\"stop_height\")\nrescansilentpayments ( start_height )\nsendfrom \"fromaccount\" \"toaddress\" amount ( minconf \"comment\" \"comment_to\" )\nsendfromaddress \"from_address\" \"to_address\" amount ( \"comment\" \"comment_to\" subtractfeefromamount conf_target \"estimate_mode\")\nsendmany \"fromaccount\" {\"address\":amount,...} ( minconf \"comment\" [\"address\",...] conf_target \"estimate_mode\")\nsendsilentpayments [{\"code\":\"str\",\"amount\":x},...] ( conf_target \"estimate_mode\" )\nsendtoaddress \"address\" amount ( \"comment\" \"comment_to\" subtractfeefromamount conf_target \"estimate_mode\")\nsetaccount \"address\" \"account\"\nsettxfee amount\nsignmessage \"address\" \"message\"",
3
+ "abandontransaction": "abandontransaction \"txid\"\n\nMark in-wallet transaction <txid> as abandoned\nThis will mark this transaction and all its in-wallet descendants as abandoned which will allow\nfor their inputs to be respent. It can be used to replace \"stuck\" or evicted transactions.\nIt only works on transactions which are not included in a block and are not currently in the mempool.\nIt has no effect on transactions which are already conflicted or abandoned.\n\nArguments:\n1. \"txid\" (string, required) The transaction id\n\nResult:\n\nExamples:\n> neurai-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:19001/\n",
4
+ "abortrescan": "abortrescan\n\nStops current wallet rescan triggered e.g. by an importprivkey call.\n\nExamples:\n\nImport a private key\n> neurai-cli importprivkey \"mykey\"\n\nAbort the running wallet rescan\n> neurai-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:19001/\n",
5
+ "addmultisigaddress": "addmultisigaddress nrequired [\"key\",...] ( \"account\" )\n\nAdd a nrequired-to-sign multisignature address to the wallet.\nEach key is a Neurai 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 neurai addresses or hex-encoded public keys\n [\n \"address\" (string) neurai 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 neurai address associated with the keys.\n\nExamples:\n\nAdd a multisig address from 2 addresses\n> neurai-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:19001/\n",
6
+ "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> neurai-cli addnode \"192.168.0.6:19000\" \"onetry\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"addnode\", \"params\": [\"192.168.0.6:19000\", \"onetry\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
7
+ "addtagtoaddress": "addtagtoaddress tag_name to_address (change_address) (asset_data)\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n> neurai-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:19001/\n",
8
+ "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",
9
+ "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> neurai-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:19001/\n",
10
+ "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> neurai-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:19001/\n",
11
+ "checkaddressrestriction": "checkaddressrestriction address restricted_name\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\n\nChecks to see if an address has been frozen by the given restricted asset\n\nArguments:\n1. \"address\" (string, required) the XNA 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> neurai-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:19001/\n",
12
+ "checkaddresstag": "checkaddresstag address tag_name\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\n\nChecks to see if an address has the given tag\n\nArguments:\n1. \"address\" (string, required) the XNA 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> neurai-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:19001/\n",
13
+ "checkdepinvalidity": "checkdepinvalidity \"asset_name\" \"address\"\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\n\nCheck if a DEPIN asset is valid/active for a specific address\n\nArguments:\n1. \"asset_name\" (string, required) The DEPIN asset name (must start with &)\n2. \"address\" (string, required) The address to check\n\nResult:\n{\n \"has_asset\": true|false, (boolean) Whether the address holds the asset\n \"amount\": n, (numeric) The amount (if has_asset is true)\n \"valid\": 1|0, (numeric) 1 = active/valid, 0 = blocked/revoked (if has_asset is true)\n \"blocked\": true|false (boolean) Whether the asset is blocked (if has_asset is true)\n}\n\nExamples:\n> neurai-cli checkdepinvalidity \"&FRANCE\" \"address\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"checkdepinvalidity\", \"params\": [\"&FRANCE\" \"address\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
14
+ "checkglobalrestriction": "checkglobalrestriction restricted_name\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n",
15
+ "clearbanned": "clearbanned\n\nClear all banned IPs.\n\nExamples:\n> neurai-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:19001/\n",
16
+ "clearmempool": "clearmempool\n\nRemoves all transaction from the mempool\n\nExamples:\n> neurai-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:19001/\n",
17
+ "clearmessages": "clearmessages \n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0005.mediawiki\n\nDelete current database of messages\n\nResult:[\n\n]\n\nExamples:\n> neurai-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:19001/\n",
18
+ "closedepin": "closedepin \"asset_name\" (\"change_address\")\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\n\nClose transfers of a DEPIN asset (owner only): the asset becomes soulbound\nagain and only the owner can move it. Valid from the open state; takes effect\nfrom the block after the one that confirms it. Pending holder transfers are\ndropped from the mempool when the close confirms.\n\nArguments:\n1. \"asset_name\" (string, required) The DEPIN asset name (must start with &)\n2. \"change_address\" (string, optional) The change address for the owner token\n\nResult:\n\"txid\" (string) The transaction id\n\nExamples:\n> neurai-cli closedepin \"&FRANCE\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"closedepin\", \"params\": [\"&FRANCE\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
19
+ "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> neurai-cli combinerawtransaction [\"myhex1\", \"myhex2\", \"myhex3\"]\n",
20
+ "createdistributionbatch": "createdistributionbatch \"plan_hash\" {plan} batch_index ( {options} )\n\nBuilds, funds and signs one batch of a distribution plan from this wallet (NIP-048), and locks the inputs it\nspends. It does NOT broadcast: store the result in your batch records first, then send it with\nsendrawtransaction. The plan must still hash to plan_hash, so a payment is always bound to the plan the\noperator approved.\nTo replace a version that left the mempool, build a new one with the same anchor: every version of a batch\nspends the anchor, so at most one of them can confirm.\n\nArguments:\n1. \"plan_hash\" (string, required) The approved plan hash, from getdistributionplan\n2. plan (object, required) The plan parameters\n {\n \"asset_name\": \"name\", (string, required) as in getdistributionplan\n \"snapshot_height\": n, (number, required)\n \"distribution_asset_name\": \"name\", (string, required)\n \"amount\": x.xxx, (numeric, required) gross_distribution_amount\n \"exception_addresses\": \"a,b\", (string, optional)\n \"remainder\": \"payer\"|\"largest\", (string, optional, default \"payer\")\n \"allow_legacy_snapshot\": bool, (boolean, optional, default false)\n \"announcement\": {\"txid\": \"hex\", \"block_hash\": \"hex\"} (object, optional) as in getdistributionplan\n \"qualifier\": \"#TAG\", (string, optional) as in getdistributionplan\n \"weights\": {\"address\": n, ...}, (object, optional) as in getdistributionplan\n \"report\": {\"txid\": \"hex\", \"block_hash\": \"hex\"} (object, optional) as in getdistributionplan\n \"allocation\": \"holdings\"|\"equal\", (string, optional, default \"holdings\") as in getdistributionplan\n \"min_held\": x.xxx, (numeric, optional) as in getdistributionplan\n }\n3. batch_index (number, required) The batch to build, from getdistributionbatches\n4. options (object, optional)\n {\n \"max_outputs\": n, (number, default 500) batch size, as in getdistributionbatches\n \"anchor\": {\"txid\": \"hex\", \"vout\": n}, (object, optional) the anchor of earlier versions of this batch\n \"max_fee\": x.xxx (numeric, optional) refuse a fee above this amount of XNA\n }\n\nResult:\n{\n \"plan_hash\": \"hex\",\n \"batch_index\": n,\n \"batch_id\": \"hex\",\n \"txid\": \"hex\",\n \"hex\": \"hex\", (string) the signed transaction, not broadcast\n \"fee\": x.xxx,\n \"anchor\": {\"txid\": \"hex\", \"vout\": n}, (object) the XNA input every later version must spend\n \"inputs\": [ {\"txid\": \"hex\", \"vout\": n}, ... ] (array) inputs, now locked in this wallet\n}\n\nExamples:\n> neurai-cli createdistributionbatch \"planhash\" '{\"asset_name\":\"TRONCO\",\"snapshot_height\":12345,\"distribution_asset_name\":\"XNA\",\"amount\":1000}' 0\n",
21
+ "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 neurai addresses or hex-encoded public keys\n [\n \"key\" (string) neurai 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> neurai-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:19001/\n",
22
+ "createrawtransaction": "createrawtransaction [{\"txid\":\"id\",\"vout\":n},...] {\"address\":(amount or object),\"data\":\"hex\",...}\ncreaterawtransaction [{\"txid\":\"id\",\"vout\":n},...] [{\"address\":(amount or object)},{\"data\":\"hex\"},...]\n ( locktime ) ( [{\"txid\":\"id\",\"vout\":n},...] )\n\nCreate a transaction spending the given inputs and creating new outputs.\nOutputs are addresses (paired with a XNA 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 XNA to be sent to a burn address:\n\n Operation Amount + Burn Address\n transfer 0\n transferwithmessage 0\n issue 1000 to tBURNXXXXXXXXXXXXXXXXXXXXXXXVZLroy\n issue (subasset) 200 to tBURNXXXXXXXXXXXXXXXXXXXXXXXVZLroy\n issue_unique 10 to tBURNXXXXXXXXXXXXXXXXXXXXXXXVZLroy\n reissue 200 to tBURNXXXXXXXXXXXXXXXXXXXXXXXVZLroy\n issue_restricted 3000 to tBURNXXXXXXXXXXXXXXXXXXXXXXXVZLroy\n reissue_restricted 200 to tBURNXXXXXXXXXXXXXXXXXXXXXXXVZLroy\n issue_qualifier 2000 to tBURNXXXXXXXXXXXXXXXXXXXXXXXVZLroy\n issue_qualifier (sub) 200 to tBURNXXXXXXXXXXXXXXXXXXXXXXXVZLroy\n tag_addresses 0.1 to tBURNXXXXXXXXXXXXXXXXXXXXXXXVZLroy (per address)\n untag_addresses 0.1 to tBURNXXXXXXXXXXXXXXXXXXXXXXXVZLroy (per address)\n freeze_addresses 0\n unfreeze_addresses 0\n freeze_asset 0\n unfreeze_asset 0\n open_depin 0\n close_depin 0\n seal_depin 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 DEPIN Owner Token (&NAME!):\n open_depin\n close_depin\n seal_depin\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. Once the no-RBF sequence rule\n applies to the next block it must be 4294967295, 4294967294 or, in a\n version 2 or 3 transaction, a BIP 68 relative lock (bit 31 clear)\n } \n ,...\n ]\n2. \"outputs\" (object or array, required) outputs in object or ordered-array form\n {\n \"address\": (string, required) The destination neurai address.\n Each output must have a different address.\n x.xxx (number or string, required) The XNA 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 or string, required) the number of raw units to transfer\n ,...\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 or string, 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 or string, 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 or string, required) the number of raw units to issue\n \"reissuable\":[0-1], (number, optional) default is 1, 1=reissuable asset\n \"units\":[-1-8], (number, optional) default is -1: keep the current units; 0-8 sets new units (never fewer than now)\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 or string, 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 or string, required) the number of raw units to issue\n \"reissuable\":[0-1], (number, optional) default is 1, 1=reissuable asset\n \"units\":[-1-8], (number, optional) default is -1: keep the current units; 0-8 sets new units (never fewer than now)\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, (number or string, 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\" (number or string, 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\", (number or string, 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\", (number or string, 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 { (object) A json object describing a DEPIN transfer state operation.\n The address in the key will be used as the owner token change address.\n \"open_depin\" | \"close_depin\" | \"seal_depin\":\n {\n \"asset_name\":\"asset_name\", (string, required) a DEPIN 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 }\n or\n [\n {\"address\":x.xxx}, (object, required) exactly one key per entry\n {\"address\":{...}}, (object, required) ordered form allows duplicate addresses\n {\"data\":\"hex\"},\n ...\n ]\n Array form must be non-empty.\n3. locktime (numeric, optional, default=0) Raw locktime. Non-0 value also locktime-activates inputs\n4. \"refinputs\" (array, optional) NIP-014: reference inputs (forces v3 transaction)\n [\n {\n \"txid\":\"id\", (string, required) The transaction id\n \"vout\":n (number, required) The output number\n }\n ,...\n ]\n\nResult:\n\"transaction\" (string) hex string of the transaction\n\nExamples:\n> neurai-cli createrawtransaction \"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0}]\" \"{\\\"address\\\":0.01}\"\n> neurai-cli createrawtransaction \"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0}]\" \"{\\\"data\\\":\\\"00010203\\\"}\"\n> neurai-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> neurai-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> neurai-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> neurai-cli createrawtransaction \"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0},{\\\"txid\\\":\\\"myasset\\\",\\\"vout\\\":0}]\" \"{\\\"address\\\":{\\\"transfer\\\":{\\\"MYASSET\\\":50}}}\"\n> neurai-cli createrawtransaction \"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0},{\\\"txid\\\":\\\"myasset\\\",\\\"vout\\\":0}]\" \"{\\\"address\\\":{\\\"transferwithmessage\\\":{\\\"MYASSET\\\":50,\\\"message\\\":\\\"hash\\\",\\\"expire_time\\\": utc_time}}}\"\n> neurai-cli createrawtransaction \"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0},{\\\"txid\\\":\\\"myownership\\\",\\\"vout\\\":0}]\" \"{\\\"issuer_address\\\":{\\\"reissue\\\":{\\\"asset_name\\\":\\\"MYASSET\\\",\\\"asset_quantity\\\":2000000}}}\"\n> neurai-cli createrawtransaction \"[{\\\"txid\\\":\\\"mycoin\\\",\\\"vout\\\":0}]\" \"[{\\\"address\\\":500},{\\\"address\\\":{\\\"issue\\\":{\\\"asset_name\\\":\\\"MYASSET\\\",\\\"asset_quantity\\\":1000000,\\\"units\\\":1,\\\"reissuable\\\":0,\\\"has_ipfs\\\":0}}}]\"\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:19001/\n",
23
+ "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> neurai-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:19001/\n",
24
+ "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 XNA\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) neurai address\n ,...\n ]\n }\n }\n ,...\n ],\n}\n\nExamples:\n> neurai-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:19001/\n",
25
+ "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) neurai 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> neurai-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:19001/\n",
26
+ "decodesilentpaymentcode": "decodesilentpaymentcode \"code\"\n\nValidates a silent payment code for this network and returns its keys.\n\nArguments:\n1. \"code\" (string, required) payment code\n\nResult:\n{\n \"isvalid\": true|false, (boolean)\n \"error\": \"str\", (string) reason when invalid\n \"network\", \"scan_pubkey\", \"spend_pubkey\" when valid\n}\n\nExamples:\n> neurai-cli decodesilentpaymentcode \"tnsp1q...\"\n",
27
+ "depinchallenge": "depinchallenge request\n\nDePIN RPC protocol 5. Exactly one request object, passed as [request] or {\"request\": request}. Legacy positional arguments and protocols 2/3/4 are rejected.\nRequest fields: protocol, network (genesis), pool_pubkey, pool_root, instance_id, membership_revision, request_id, timestamp_ms, token, address, challenge, args, signature. Every private operation signs its method, target identity, revision and arguments. Public authentication fields are empty. Replies sign the exact request hash and served membership metadata. Verify before decoding/decrypting. See DEPIN_EXAMPLES.md for method-specific args and neurai-depin-msg integration.",
28
+ "depinclearmsg": "depinclearmsg request\n\nDePIN RPC protocol 5. Exactly one request object, passed as [request] or {\"request\": request}. Legacy positional arguments and protocols 2/3/4 are rejected.\nRequest fields: protocol, network (genesis), pool_pubkey, pool_root, instance_id, membership_revision, request_id, timestamp_ms, token, address, challenge, args, signature. Every private operation signs its method, target identity, revision and arguments. Public authentication fields are empty. Replies sign the exact request hash and served membership metadata. Verify before decoding/decrypting. See DEPIN_EXAMPLES.md for method-specific args and neurai-depin-msg integration.",
29
+ "depindecrypt": "depindecrypt \"address\" \"encrypted\"\n\nDecrypts an encrypted DePIN reply with a wallet key. Verify the reply's poolsig before using this method; depindecrypt does not verify it.\n\nResult:\nThe decrypted JSON value, or a string when the plaintext is not JSON.\n",
30
+ "depingetancestorrecipients": "depingetancestorrecipients request\n\nDePIN RPC protocol 5. Exactly one request object, passed as [request] or {\"request\": request}. Legacy positional arguments and protocols 2/3/4 are rejected.\nRequest fields: protocol, network (genesis), pool_pubkey, pool_root, instance_id, membership_revision, request_id, timestamp_ms, token, address, challenge, args, signature. Every private operation signs its method, target identity, revision and arguments. Public authentication fields are empty. Replies sign the exact request hash and served membership metadata. Verify before decoding/decrypting. See DEPIN_EXAMPLES.md for method-specific args and neurai-depin-msg integration.",
31
+ "depingetmsg": "depingetmsg \"token\" ( \"fromaddress\" )\n\nUses the local node wallet to decrypt messages from the local DePIN pool. The optional address must belong to the wallet and hold the requested token or a related branch token.\n",
32
+ "depingetmsginfo": "depingetmsginfo request\n\nDePIN RPC protocol 5. Exactly one request object, passed as [request] or {\"request\": request}. Legacy positional arguments and protocols 2/3/4 are rejected.\nBootstrap fields: protocol=5, request_id (32 random bytes in lowercase hex), timestamp_ms (integer milliseconds). Verify the response with the local request hash, expected genesis and pinned pool key before using its context.",
33
+ "depinlistsections": "depinlistsections request\n\nDePIN RPC protocol 5. Exactly one request object, passed as [request] or {\"request\": request}. Legacy positional arguments and protocols 2/3/4 are rejected.\nRequest fields: protocol, network (genesis), pool_pubkey, pool_root, instance_id, membership_revision, request_id, timestamp_ms, token, address, challenge, args, signature. Every private operation signs its method, target identity, revision and arguments. Public authentication fields are empty. Replies sign the exact request hash and served membership metadata. Verify before decoding/decrypting. See DEPIN_EXAMPLES.md for method-specific args and neurai-depin-msg integration.",
34
+ "depinmcpstatus": "depinmcpstatus request\n\nDePIN RPC protocol 5. Exactly one request object, passed as [request] or {\"request\": request}. Legacy positional arguments and protocols 2/3/4 are rejected.\nRequest fields: protocol, network (genesis), pool_pubkey, pool_root, instance_id, membership_revision, request_id, timestamp_ms, token, address, challenge, args, signature. Every private operation signs its method, target identity, revision and arguments. Public authentication fields are empty. Replies sign the exact request hash and served membership metadata. Verify before decoding/decrypting. See DEPIN_EXAMPLES.md for method-specific args and neurai-depin-msg integration.",
35
+ "depinpoolpkey": "depinpoolpkey\n\nWallet-only operator helper that derives the dedicated DePIN pool public key from the loaded service wallet.\n\nResult:\n{\n \"pubkey\": \"hex\",\n \"address\": \"address\",\n \"path\": \"derivation_path\"\n}\n",
36
+ "depinpoolstats": "depinpoolstats request\n\nDePIN RPC protocol 5. Exactly one request object, passed as [request] or {\"request\": request}. Legacy positional arguments and protocols 2/3/4 are rejected.\nRequest fields: protocol, network (genesis), pool_pubkey, pool_root, instance_id, membership_revision, request_id, timestamp_ms, token, address, challenge, args, signature. Every private operation signs its method, target identity, revision and arguments. Public authentication fields are empty. Replies sign the exact request hash and served membership metadata. Verify before decoding/decrypting. See DEPIN_EXAMPLES.md for method-specific args and neurai-depin-msg integration.",
37
+ "depinreceivemsg": "depinreceivemsg request\n\nDePIN RPC protocol 5. Exactly one request object, passed as [request] or {\"request\": request}. Legacy positional arguments and protocols 2/3/4 are rejected.\nRequest fields: protocol, network (genesis), pool_pubkey, pool_root, instance_id, membership_revision, request_id, timestamp_ms, token, address, challenge, args, signature. Every private operation signs its method, target identity, revision and arguments. Public authentication fields are empty. Replies sign the exact request hash and served membership metadata. Verify before decoding/decrypting. See DEPIN_EXAMPLES.md for method-specific args and neurai-depin-msg integration.",
38
+ "depinsendmsg": "depinsendmsg \"token\" \"message\" \"fromaddress\"\n\nUses the local node wallet to sign and encrypt a message for eligible recipients, then adds it to the local DePIN pool. Remote host and port parameters were removed in protocol 2.\n",
39
+ "depinsubmitmsg": "depinsubmitmsg request\n\nDePIN RPC protocol 5. Exactly one request object, passed as [request] or {\"request\": request}. Legacy positional arguments and protocols 2/3/4 are rejected.\nRequest fields: protocol, network (genesis), pool_pubkey, pool_root, instance_id, membership_revision, request_id, timestamp_ms, token, address, challenge, args, signature. Every private operation signs its method, target identity, revision and arguments. Public authentication fields are empty. Replies sign the exact request hash and served membership metadata. Verify before decoding/decrypting. See DEPIN_EXAMPLES.md for method-specific args and neurai-depin-msg integration.",
40
+ "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> neurai-cli disconnectnode \"192.168.0.6:19000\"\n> neurai-cli disconnectnode \"\" 1\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"disconnectnode\", \"params\": [\"192.168.0.6:19000\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\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:19001/\n",
41
+ "distributereward": "distributereward \"asset_name\" snapshot_height \"distribution_asset_name\" gross_distribution_amount ( \"exception_addresses\" ) ( \"change_address\" )\n\nRetired (NIP-048): the node no longer sends reward payments.\nUse getdistributionplan to compute the payments, then send them from your wallet.\n",
42
+ "dumpextkeypq": "dumpextkeypq\n\nReturns the master PQ extended private key (xpqpriv) for this wallet.\nWARNING: exposes the master secret \u2014 keep it safe.\n\nResult:\n\"xpqpriv...\" (string) Base58Check-encoded master CExtKeyPQ\n\nExamples:\n> neurai-cli dumpextkeypq \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"dumpextkeypq\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
43
+ "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 neurai address for the private key\n\nResult:\n\"key\" (string) The private key\n\nExamples:\n> neurai-cli dumpprivkey \"myaddress\"\n> neurai-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:19001/\n",
44
+ "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 neuraid)\n\nResult:\n{ (json object)\n \"filename\" : { (string) The filename with full absolute path\n}\n\nExamples:\n> neurai-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:19001/\n",
45
+ "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> neurai-cli encryptwallet \"my pass phrase\"\n\nNow set the passphrase to use the wallet, such as for signing or sending neurai\n> neurai-cli walletpassphrase \"my pass phrase\"\n\nNow we can do something like sign\n> neurai-cli signmessage \"address\" \"test message\"\n\nNow lock the wallet again by removing the passphrase\n> neurai-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:19001/\n",
46
+ "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> neurai-cli estimatefee 6\n",
47
+ "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 XNA/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> neurai-cli estimatesmartfee 6\n",
48
+ "exportsilentpaymentviewkey": "exportsilentpaymentviewkey \"acknowledge\"\n\nReturns the view key (b_scan and B_spend) of this wallet's silent payment code.\nWhoever holds it can find and link every payment to the code, but cannot spend them.\nNever combine it with an exported payment private key: together they reveal the spend key.\nThe result is a secret: from a shell, prefer a terminal that is not recorded or logged.\n\nArguments:\n1. \"acknowledge\" (string, required) must be \"reveal view key\"\n\nResult:\n{\n \"scan_private_key\": \"hex\", \"spend_pubkey\": \"hex\", \"network\": \"str\"\n}\n\nExamples:\n> neurai-cli exportsilentpaymentviewkey \"reveal view key\"\n",
49
+ "exportxpqpub": "exportxpqpub count ( chain offset )\n\nGenerates a batch of count ML-DSA-44 public keys and returns the xpqpub blob.\n\nArguments:\n1. count (numeric, required) Number of pubkeys to generate (max 1000)\n2. chain (numeric, optional, default=0) Chain index (0=external, 1=change)\n3. offset (numeric, optional, default=0) Starting index\n\nResult:\n\"hex\" (string) Hex-encoded xpqpub binary blob\n\nExamples:\n> neurai-cli exportxpqpub 20\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"exportxpqpub\", \"params\": [20, 0, 0] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
50
+ "freezeaddress": "freezeaddress asset_name address (change_address) (asset_data)\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n> neurai-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:19001/\n",
51
+ "freezedepin": "freezedepin \"asset_name\" \"address\" (\"change_address\")\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\n\nFreeze a DEPIN asset for a specific address (owner only)\n\nThe address will still hold the asset but it will be marked as invalid\n\nRequires the owner token (&ASSET!) in the wallet\n\nArguments:\n1. \"asset_name\" (string, required) The DEPIN asset name (must start with &)\n2. \"address\" (string, required) The address to freeze\n3. \"change_address\" (string, optional) The change address for the owner token\n\nResult:\n\"txid\" (string) The transaction id\n\nExamples:\n> neurai-cli freezedepin \"&FRANCE\" \"address\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"freezedepin\", \"params\": [\"&FRANCE\" \"address\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
52
+ "freezerestrictedasset": "freezerestrictedasset asset_name (change_address) (asset_data)\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n> neurai-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:19001/\n",
53
+ "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 neurai 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 XNA/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 neurais than you enter in their corresponding amount field.\n If no outputs are specified here, the sender pays the fee.\n [vout_index,...]\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 XNA 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> neurai-cli createrawtransaction \"[]\" \"{\\\"myaddress\\\":0.01}\"\n\nAdd sufficient unsigned inputs to meet the output value\n> neurai-cli fundrawtransaction \"rawtransactionhex\"\n\nSign the transaction\n> neurai-cli signrawtransaction \"fundedtransactionhex\"\n\nSend the transaction\n> neurai-cli sendrawtransaction \"signedtransactionhex\"\n",
54
+ "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> neurai-cli generate 11\n",
55
+ "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 neurai 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> neurai-cli generatetoaddress 11 \"myaddress\"\n",
56
+ "getaccount": "getaccount \"address\"\n\nDEPRECATED. Returns the account associated with the given address.\n\nArguments:\n1. \"address\" (string, required) The neurai address for account lookup.\n\nResult:\n\"accountname\" (string) the account address\n\nExamples:\n> neurai-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:19001/\n",
57
+ "getaccountaddress": "getaccountaddress \"account\"\n\nDEPRECATED. Returns the current Neurai 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 neurai address\n\nExamples:\n> neurai-cli getaccountaddress \n> neurai-cli getaccountaddress \"\"\n> neurai-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:19001/\n",
58
+ "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:19000\", (string) The neurai server IP and port we're connected to\n \"connected\" : \"outbound\" (string) connection, inbound or outbound\n }\n ]\n }\n ,...\n]\n\nExamples:\n> neurai-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:19001/\n",
59
+ "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 (XNA for Neurai)\n \"balance\" (string) The current balance in satoshis\n \"received\" (string) The total number of satoshis received (including change)\n },...\n\n]\nExamples:\n> neurai-cli getaddressbalance '{\"addresses\": [\"12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX\"]}'\n> neurai-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:19001/\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:19001/\n",
60
+ "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 XNA ('*' for all assets).\n}\n\nResult:\n[\n {\n \"assetName\" (string) The asset associated with the deltas (XNA for Neurai)\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> neurai-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:19001/\n> neurai-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:19001/\n",
61
+ "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 neurai address associated with the given account\n ,...\n]\n\nExamples:\n> neurai-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:19001/\n",
62
+ "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 (XNA for Neurai)\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> neurai-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:19001/\n> neurai-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:19001/\n",
63
+ "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> neurai-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:19001/\n> neurai-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:19001/\n",
64
+ "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 XNA ('*' for all assets).\n}\n\nResult\n[\n {\n \"address\" (string) The address base58check encoded\n \"assetName\" (string) The asset associated with the UTXOs (XNA for Neurai)\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> neurai-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:19001/\n> neurai-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:19001/\n",
65
+ "getassetdata": "getassetdata \"asset_name\"\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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 transfer_state: (string) \"closed\" | \"open\" | \"sealed\" (only for DEPIN assets, names starting with &)\n}\n\nExamples:\n> neurai-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:19001/\n",
66
+ "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 XNA received for this account.\n\nExamples:\n\nThe total amount in the wallet with 1 or more confirmations\n> neurai-cli getbalance \n\nThe total amount in the wallet at least 6 blocks confirmed\n> neurai-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:19001/\n",
67
+ "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> neurai-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:19001/\n",
68
+ "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 <hash>.\nIf verbosity is 2, returns an Object with information about block <hash> and information about each transaction. \nIf verbosity is 3, returns the same as verbosity 2 plus a \"prevout\" object in each input with the spent output\n(generated, height, value, scriptPubKey), read from the block undo data. This works without -txindex.\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, 2 for json object with transaction data, and 3 for json object with transaction data and spent outputs\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> neurai-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:19001/\n",
69
+ "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 \"asset_marker\": \"xxxx\", (string) marker required for new asset outputs in the next block (\"rvn\" or \"xna\")\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 \"zk_public_tree\": { (object) profile-2 public-transition activation\n \"activation_height\": n, (numeric or null) scheduled height, null when unscheduled\n \"active_at_tip\": b, (boolean) whether the current block uses profile 2\n \"active_for_next_block\": b (boolean) whether a candidate block uses profile 2\n },\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 \"asset_services\": { (object) legacy asset modules (NIP-048)\n \"messages\": {\n \"active\": xx, (boolean) legacy asset messaging stores are open\n \"store_on_disk\": xx (boolean) the data directory has a messages store\n },\n \"rewards\": {\n \"active\": xx, (boolean) reward snapshot stores are open\n \"store_on_disk\": xx, (boolean) the data directory has a rewards store\n \"assetindex\": xx (boolean) -assetindex, which the reward RPCs require\n }\n },\n \"warnings\" : \"...\", (string) any network and blockchain warnings.\n}\n\nExamples:\n> neurai-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:19001/\n",
70
+ "getblockcount": "getblockcount\n\nReturns the number of blocks in the longest blockchain.\n\nResult:\nn (numeric) The current block count\n\nExamples:\n> neurai-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:19001/\n",
71
+ "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> neurai-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:19001/\n",
72
+ "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> neurai-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:19001/\n> neurai-cli getblockhashes 1231614698 1231024505 '{\"noOrphans\":false, \"logicalTimes\":true}'\n",
73
+ "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 <hash>.\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> neurai-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:19001/\n",
74
+ "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/neurai/bips/blob/master/bip-0022.mediawiki\n https://github.com/neurai/bips/blob/master/bip-0023.mediawiki\n https://github.com/neurai/bips/blob/master/bip-0009.mediawiki#getblocktemplate_changes\n https://github.com/neurai/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> neurai-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:19001/\n",
75
+ "getcacheinfo": "getcacheinfo \n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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:19001/\n> neurai-cli getcacheinfo \n",
76
+ "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> neurai-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:19001/\n",
77
+ "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> neurai-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:19001/\n",
78
+ "getchannelmessages": "getchannelmessages \"channel\" ( {options} )\n\nReturns the messages of an asset channel from the chain-wide index (-channelmessageindex, NIP-048): every\nmessage an owner token (NAME!) or message channel token (NAME~CHANNEL) carried back to the address it came\nfrom, whatever the wallet. Expiry is decided at query time against reference_time, so nodes with the same\nchain answer alike.\n\nArguments:\n1. \"channel\" (string, required) The owner token or message channel\n2. options (object, optional)\n {\n \"from_height\": n, (number, default 0)\n \"to_height\": n, (number, default the tip)\n \"include_expired\": bool, (boolean, default false)\n \"reference_time\": n, (number, default the median time past of the tip) expiry reference\n \"message\": \"hash\", (string, optional) only messages with this payload\n \"include_tx\": bool, (boolean, default false) add the raw transaction\n \"include_proof\": bool, (boolean, default false) add a gettxoutproof-style proof\n \"limit\": n (number, default 1000, max 10000) messages per call;\n a block is never split, so the last block may go past it\n }\n\nResult:\n{\n \"channel\": \"name\",\n \"synced_height\": n,\n \"reference_time\": n,\n \"messages\": [ (array) in chain order\n {\n \"channel\": \"name\",\n \"authority\": \"owner\"|\"channel\", (string) the token that carried the message\n \"txid\": \"hex\", \"vout\": n,\n \"height\": n, \"block_hash\": \"hash\", \"block_time\": n,\n \"expire_time\": n, (number) 0: never expires\n \"expired\": true|false,\n \"message\": \"hash\", (string) IPFS hash or 64-hex hash\n \"address\": \"address\", (string) the address that sent it to itself\n \"op_return\": \"hex\", (string, optional) data of the transaction's OP_RETURN output\n \"op_return_matches\": bool, (boolean, with op_return) the message is the SHA-256 of that data, so\n the data is content the token holder published in full (NIP-048 D1)\n \"tx\": \"hex\", (string, optional)\n \"proof\": \"hex\" (string, optional) checked with verifytxoutproof\n }, ...\n ],\n \"next_from_height\": n|null (number) the limit stopped here: pass it as from_height for the next page\n}\n\nExamples:\n> neurai-cli getchannelmessages \"ASSET!\"\n> neurai-cli getchannelmessages \"ASSET~NEWS\" '{\"from_height\":1000,\"include_expired\":true}'\n",
79
+ "getconnectioncount": "getconnectioncount\n\nReturns the number of connections to other nodes.\n\nResult:\nn (numeric) The connection count\n\nExamples:\n> neurai-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:19001/\n",
80
+ "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> neurai-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:19001/\n",
81
+ "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 XNA\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> neurai-cli getdistributestatus \"TRONCO\" 12345 \"XNA\" 1000\n> neurai-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:19001/\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getdistributestatus\", \"params\": [\"PHATSTACKS\" 34987 \"XNA\" 100000 \"mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
82
+ "getdistributionbatches": "getdistributionbatches {plan} ( {options} )\n\nSplits the payments of a distribution plan into batches of at most max_outputs recipients, in plan order\n(NIP-048). Each batch pays all its recipients in one transaction. Nothing is spent or locked.\n\nArguments:\n1. plan (object, required) The plan parameters\n {\n \"asset_name\": \"name\", (string, required) as in getdistributionplan\n \"snapshot_height\": n, (number, required)\n \"distribution_asset_name\": \"name\", (string, required)\n \"amount\": x.xxx, (numeric, required) gross_distribution_amount\n \"exception_addresses\": \"a,b\", (string, optional)\n \"remainder\": \"payer\"|\"largest\", (string, optional, default \"payer\")\n \"allow_legacy_snapshot\": bool, (boolean, optional, default false)\n \"announcement\": {\"txid\": \"hex\", \"block_hash\": \"hex\"} (object, optional) as in getdistributionplan\n \"qualifier\": \"#TAG\", (string, optional) as in getdistributionplan\n \"weights\": {\"address\": n, ...}, (object, optional) as in getdistributionplan\n \"report\": {\"txid\": \"hex\", \"block_hash\": \"hex\"} (object, optional) as in getdistributionplan\n \"allocation\": \"holdings\"|\"equal\", (string, optional, default \"holdings\") as in getdistributionplan\n \"min_held\": x.xxx, (numeric, optional) as in getdistributionplan\n }\n2. options (object, optional)\n {\n \"max_outputs\": n (number, default 500, max 1000) recipients per batch\n }\n\nResult:\n{\n \"plan_hash\": \"hex\",\n \"max_outputs\": n,\n \"batches\": [\n {\n \"index\": n,\n \"batch_id\": \"hex\", (string) SHA-256 of 0x04 || plan hash || max_outputs || index\n \"first_recipient\": n,\n \"recipient_count\": n,\n \"amount\": x.xxx, (numeric) total paid by the batch\n \"outputs\": { ... } (object) the payments in createrawtransaction format\n }, ...\n ]\n}\n\nExamples:\n> neurai-cli getdistributionbatches '{\"asset_name\":\"TRONCO\",\"snapshot_height\":12345,\"distribution_asset_name\":\"XNA\",\"amount\":1000}'\n",
83
+ "getdistributionplan": "getdistributionplan \"asset_name\" snapshot_height \"distribution_asset_name\" gross_distribution_amount ( \"exception_addresses\" {options} )\n\nComputes, without spending anything, how gross_distribution_amount of the distribution asset is split among the\nholders of asset_name in its snapshot at snapshot_height (NIP-048). Each holder gets floor(amount * held / total)\nin whole units of the distribution asset, or floor(amount / holders) with equal allocation. The plan hash commits\nto the snapshot, the parameters and every payment;\npay the recipients from any wallet, for instance with getdistributionbatches and createdistributionbatch.\n\nArguments:\n1. \"asset_name\" (string, required) The asset whose holders receive the distribution\n2. \"snapshot_height\" (number, required) The height of a snapshot taken with requestsnapshot\n3. \"distribution_asset_name\" (string, required) The asset to distribute, or XNA\n4. \"gross_distribution_amount\" (number, required) The amount to split, a multiple of the distribution asset's smallest unit\n5. \"exception_addresses\" (string, optional) Comma-separated holder addresses to exclude\n6. options (object, optional)\n {\n \"remainder\": \"payer\"|\"largest\", (string, default \"payer\") Where the undivided remainder goes: it stays with the\n payer, or one unit each to the largest fractional parts (ties by script)\n \"allow_legacy_snapshot\": bool, (boolean, default false) Accept a snapshot captured before NIP-048, which has no block identity\n \"announcement\": { (object, optional) The transaction that announced snapshot_height in advance\n \"txid\": \"hex\", (see getsnapshotannouncement); the plan then commits to it (format version 2)\n \"block_hash\": \"hex\" (optional) Its block, for nodes without -txindex\n },\n \"qualifier\": \"#TAG\", (string, optional) Only holders tagged with this qualifier at the height\n \"weights\": {\"address\": n, ...}, (object, optional) Weights of a work report, positive integers; they replace\n the holdings, and holders without a weight are excluded\n \"report\": {\"txid\": \"hex\", \"block_hash\": \"hex\"} (object, optional) The owner token transfer that anchored\n the report hash (SHA-256 of 0x07 || weights)\n \"allocation\": \"holdings\"|\"equal\", (string, default \"holdings\") Split in proportion to the holdings (or the\n report weights), or in equal shares among the eligible holders, whatever\n they hold; equal cannot be combined with weights\n \"min_held\": x.xxx, (numeric, optional) Only holders with at least this amount of asset_name\n }\n\nA snapshot taken since NIP-048 D3 records, per holder, freezes, DEPIN self-revocations and qualifier tags; such\nholders are excluded. With a qualifier, report weights or both, the plan hash commits to them (format version 3);\nwith equal allocation or a minimum holding, it commits to those too (format version 4).\n\nResult:\n{\n \"plan_hash\": \"hex\", (string) SHA-256 commitment to the header and the Merkle root\n \"merkle_root\": \"hex\", (string) RFC 6962 root over the recipients, in order\n \"version\": n, (number) plan format version\n \"network\": \"name\", (string) network the plan belongs to\n \"snapshot\": {\n \"asset_name\": \"name\",\n \"height\": n,\n \"block_hash\": \"hash\", (string) block the snapshot was captured on; empty for a legacy snapshot\n \"snapshot_hash\": \"hex\", (string) commitment to the snapshot content\n \"legacy\": true|false,\n \"confirmations\": n\n },\n \"distribution_asset_name\": \"name\",\n \"amount\": x.xxx, (numeric) gross_distribution_amount\n \"remainder_policy\": \"payer\"|\"largest\",\n \"allocation\": \"holdings\"|\"equal\",\n \"min_held\": x.xxx, (numeric) minimum holding to be eligible, 0 if none\n \"exception_addresses\": [ \"address\", ... ], (array) sorted, as committed in the plan hash\n \"total_held\": x.xxx, (numeric) holdings of the eligible holders\n \"distributed\": x.xxx, (numeric) sum of the payments: the funds the payer needs, before fees\n \"remainder\": x.xxx, (numeric) amount left undistributed\n \"recipients\": [ (array) payments, ordered by output script\n { \"address\": \"address\", \"script\": \"hex\", \"held\": x.xxx, \"amount\": x.xxx }, ...\n ],\n \"zero_amount\": [ { \"address\": \"address\", \"held\": x.xxx }, ... ], (array) holders whose share rounds to zero\n \"excluded\": [ { \"address\": \"address\", \"held\": x.xxx, \"reason\": \"...\" }, ... ], (array) reason: exception, burn,\n globally_frozen, frozen, self_revoked, missing_qualifier, below_minimum or no_weight\n \"announcement\": { (object or null) The announcement, when given\n \"txid\": \"hex\", \"height\": n, \"notice\": n, \"minimum_notice\": n (notice: blocks between announcement and snapshot)\n },\n \"verifiability\": \"announced\"|\"late_announcement\"|\"unannounced\" (string) Whether other nodes could capture the\n same snapshot: without an announcement made with the minimum notice (-minsnapshotnotice),\n recipients rely on the issuer's snapshot or on replaysnapshot\n \"qualifier\": \"#TAG\"|null,\n \"report\": {\"hash\": \"hex\", \"txid\": \"hex\", \"height\": n}|null (recipients then also show their \"weight\")\n}\n\nExamples:\n> neurai-cli getdistributionplan \"TRONCO\" 12345 \"XNA\" 1000\n> neurai-cli getdistributionplan \"PHATSTACKS\" 12345 \"DIVIDENDS\" 1000 \"\" '{\"remainder\":\"largest\"}'\n> neurai-cli getdistributionplan \"&GRID\" 12345 \"XNA\" 1000 \"\" '{\"allocation\":\"equal\",\"min_held\":1}'\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getdistributionplan\", \"params\": [\"TRONCO\", 34987, \"DIVIDENDS\", 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
84
+ "getdistributionproof": "getdistributionproof {plan} \"address\"\n\nReturns the RFC 6962 inclusion proof of one recipient of a distribution plan (NIP-048). With the plan's\nmerkle_root it shows that the payment is part of the plan; it does not show that the amount is right or that\nno recipient is missing (recompute the plan for that).\n\nArguments:\n1. plan (object, required) The plan parameters\n {\n \"asset_name\": \"name\", (string, required) as in getdistributionplan\n \"snapshot_height\": n, (number, required)\n \"distribution_asset_name\": \"name\", (string, required)\n \"amount\": x.xxx, (numeric, required) gross_distribution_amount\n \"exception_addresses\": \"a,b\", (string, optional)\n \"remainder\": \"payer\"|\"largest\", (string, optional, default \"payer\")\n \"allow_legacy_snapshot\": bool, (boolean, optional, default false)\n \"announcement\": {\"txid\": \"hex\", \"block_hash\": \"hex\"} (object, optional) as in getdistributionplan\n \"qualifier\": \"#TAG\", (string, optional) as in getdistributionplan\n \"weights\": {\"address\": n, ...}, (object, optional) as in getdistributionplan\n \"report\": {\"txid\": \"hex\", \"block_hash\": \"hex\"} (object, optional) as in getdistributionplan\n \"allocation\": \"holdings\"|\"equal\", (string, optional, default \"holdings\") as in getdistributionplan\n \"min_held\": x.xxx, (numeric, optional) as in getdistributionplan\n }\n2. \"address\" (string, required) A recipient of the plan\n\nResult:\n{\n \"plan_hash\": \"hex\",\n \"merkle_root\": \"hex\",\n \"leaf_count\": n,\n \"index\": n, (number) position of the recipient in the plan\n \"address\": \"address\",\n \"script\": \"hex\",\n \"amount\": x.xxx,\n \"leaf_hash\": \"hex\", (string) SHA-256 of 0x00 || script || amount\n \"path\": [ \"hex\", ... ] (array) sibling hashes, deepest first\n}\n\nExamples:\n> neurai-cli getdistributionproof '{\"asset_name\":\"TRONCO\",\"snapshot_height\":12345,\"distribution_asset_name\":\"XNA\",\"amount\":1000}' \"address\"\n",
85
+ "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 neurai.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> neurai-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:19001/\n",
86
+ "getibdstatus": "getibdstatus\nReturns header synchronization timing collected since process start.\nrequest_to_response_us includes peer response and local queueing time.\n\nResult:\n{\n \"blocks\": n, (numeric) current active-chain height\n \"headers\": n, (numeric) best validated header height\n \"header_batches\": n, (numeric) requested header batches received\n \"headers_in_batches\": n, (numeric) headers in those batches\n \"average_request_to_response_us\": n, (numeric) average request-to-response time\n \"average_validation_us\": n, (numeric) average local processing time\n \"peers\": [ ... ] (array) per-peer timing counters\n}\n\nExamples:\n> neurai-cli getibdstatus \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getibdstatus\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
87
+ "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 Neurai 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 XNA/kB\n \"relayfee\": x.xxxx, (numeric) minimum relay fee for transactions in XNA/kB\n \"errors\": \"...\" (string) any error messages\n}\n\nExamples:\n> neurai-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:19001/\n",
88
+ "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 header hash given to the GPU miner (exactly 64 hex digits)\n2. \"mix_hash\" (string, required) the mix hash mined by the GPU miner (exactly 64 hex digits)\n3. \"nonce\" (string, required) 1 to 16 hex digits, optionally prefixed with 0x\n4. \"height\" (number, required) the height of the block data that is being hashed\n5. \"target\" (string, optional) the target to meet (exactly 64 hex digits)\n\nResult:\n\nExamples:\n> neurai-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:19001/\n",
89
+ "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 \"address_type\" : (string) the wallet address type (-addresstype): legacy, pq or ecdsa\n \"strict_ecdsa_derivation_path\" : (string, ecdsa wallets) account path of its witness v3 keys\n \"account_derivation_path\" : (string) The derivation path to the account public/private keys\n \"external_derivation_path\" : (string) The derivation path prefix for receiving addresses\n \"internal_derivation_path\" : (string) The derivation path prefix for change addresses\n \"account_extended_private_key\" : (string) extended account private key,\n \"account_extended_public_key\" : (string) extended account public key,\n}\n\nExamples:\n> neurai-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:19001/\n",
90
+ "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\"<malloc version=\"1\">...\"\n\nExamples:\n> neurai-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:19001/\n",
91
+ "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 XNA\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 \"poseidonwork\" : n, (numeric) reserved Poseidon permutations for this transaction\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> neurai-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:19001/\n",
92
+ "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 XNA\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 \"poseidonwork\" : n, (numeric) reserved Poseidon permutations for this transaction\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> neurai-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:19001/\n",
93
+ "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 XNA\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 \"poseidonwork\" : n, (numeric) reserved Poseidon permutations for this transaction\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> neurai-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:19001/\n",
94
+ "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 XNA/kB for tx to be accepted\n}\n\nExamples:\n> neurai-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:19001/\n",
95
+ "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 neuraid is started with -deprecatedrpc=getmininginfo\n}\n\nExamples:\n> neurai-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:19001/\n",
96
+ "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> neurai-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:19001/\n",
97
+ "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> neurai-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:19001/\n",
98
+ "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> neurai-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:19001/\n",
99
+ "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 XNA/kB\n \"incrementalfee\": x.xxxxxxxx, (numeric) minimum fee increment for mempool limiting or BIP 125 replacement in XNA/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> neurai-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:19001/\n",
100
+ "getnewaddress": "getnewaddress ( \"account\" \"address_type\" )\n\nReturns a new Neurai 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.\n2. \"address_type\" (string, optional) The address family: \"legacy\" (Base58, secp256k1), \"pq\" (strict post-quantum, witness v2, pq1.../tpq1...) or \"ecdsa\" (strict ECDSA, witness v3, nq1r.../tnq1r...). If omitted, the wallet's address type (-addresstype when it was created, see getwalletinfo) is used. \"pq\" needs a pq wallet; an ecdsa wallet refuses \"legacy\". Strict addresses are handed out before the network activates them, but payments to them are refused until then. Generic AuthScript v1 (nc1p.../tnc1p...) is a contract family and is never handed out by the wallet.\n\nResult:\n\"address\" (string) The new neurai address\n\nExamples:\n> neurai-cli getnewaddress \n> neurai-cli getnewaddress \"\" \"ecdsa\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getnewaddress\", \"params\": [\"\", \"pq\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
101
+ "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> neurai-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:19001/\n",
102
+ "getprivacypoolinfo": "getprivacypoolinfo pool ( limit )\n\nRead public state-thread identity and confirmed state, without registering a pool.\nRequires -spentindex and -txindex and readable historical transactions.\npool: {\"txid\": birth_txid, \"vout\": birth_output}\nlimit: maximum transitions to follow (default 100, maximum 1000).\nhistory_complete=false means current_state is unknown; continue with next_cursor.\nThe reported profile describes the transport, not an audited privacy circuit.\n",
103
+ "getprivacypoolupdates": "getprivacypoolupdates pool ( cursor limit )\n\nReturn confirmed public pool transactions, including complete witnesses, in state-thread order.\npool: {\"txid\": birth_txid, \"vout\": birth_output}; no registry or viewing key.\ncursor: null for birth, otherwise the unchanged next_cursor from a previous query.\nlimit: maximum updates (default 100, maximum 1000); pages also have a 1 MiB raw-byte limit.\nPages pin one chain snapshot; a completed cursor refreshes to the current tip.\nA reorganized snapshot or foreign/tampered cursor is rejected. Mempool spends are excluded.\nNo matching successor ends this transport; it does not prove the contract is closed.\n",
104
+ "getpubkey": "getpubkey \"address\"\n\nReturns the public key for a Legacy, AuthScript v1 or strict ECDSA address that has revealed it by spending (requires pubkeyindex to be enabled).\n\nArguments:\n1. \"address\" (string, required) The Neurai address\n\nResult:\n{\n \"address\": \"address\", (string) The Neurai address\n \"pubkey\": \"hex\", (string) The public key in hex format\n \"revealed\": true|false, (boolean) Whether the public key has been revealed\n \"height\": n, (numeric) Block height where it was revealed\n \"txid\": \"hash\" (string) Transaction ID where it was revealed\n}\n\nExamples:\n> neurai-cli getpubkey \"NXa1b2c3d4e5f6...\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getpubkey\", \"params\": [\"NXa1b2c3d4e5f6...\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
105
+ "getrawchangeaddress": "getrawchangeaddress ( \"address_type\" )\n\nReturns a new Neurai address, for receiving change.\nThis is for use with raw transactions, NOT normal use.\n\nArguments:\n1. \"address_type\" (string, optional) \"legacy\", \"pq\" (strict witness v2) or \"ecdsa\" (strict witness v3). Default: the wallet's address type (-addresstype when it was created).\n\nResult:\n\"address\" (string) The address\n\nExamples:\n> neurai-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:19001/\n",
106
+ "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 XNA\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 \"poseidonwork\" : n, (numeric) reserved Poseidon permutations for this transaction\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> neurai-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:19001/\n",
107
+ "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 XNA\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) neurai 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> neurai-cli getrawtransaction \"mytxid\"\n> neurai-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:19001/\n",
108
+ "getreceivedbyaccount": "getreceivedbyaccount \"account\" ( minconf )\n\nDEPRECATED. Returns the total amount received by addresses with <account> 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 XNA received for this account.\n\nExamples:\n\nAmount received by the default account with at least 1 confirmation\n> neurai-cli getreceivedbyaccount \"\"\n\nAmount received at the tabby account including unconfirmed amounts with zero confirmations\n> neurai-cli getreceivedbyaccount \"tabby\" 0\n\nThe amount with at least 6 confirmations\n> neurai-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:19001/\n",
109
+ "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 neurai 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 XNA received at this address.\n\nExamples:\n\nThe amount from transactions with at least 1 confirmation\n> neurai-cli getreceivedbyaddress \"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\"\n\nThe amount including unconfirmed transactions, zero confirmations\n> neurai-cli getreceivedbyaddress \"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\" 0\n\nThe amount with at least 6 confirmations\n> neurai-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:19001/\n",
110
+ "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> neurai-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:19001/\n",
111
+ "getsilentpaymentcode": "getsilentpaymentcode\n\nReturns the reusable silent payment code of this wallet (NIP-047).\nEvery payment to the code lands on a new strict ECDSA (witness v3) output\nthat only this wallet can link to the code.\n\nResult:\n{\n \"code\": \"str\", (string) payment code (nsp1... / tnsp1...)\n \"network\": \"str\", (string) main, test or regtest\n \"scan_pubkey\": \"hex\", (string) B_scan\n \"spend_pubkey\": \"hex\", (string) B_spend\n \"view_only\": true|false (boolean) imported view key: payments are detected, not spendable\n \"verified\": true (boolean) checked against the wallet seed in this session. An encrypted\n wallet shows its code only after one unlock in the session\n}\n\nExamples:\n> neurai-cli getsilentpaymentcode \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getsilentpaymentcode\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
112
+ "getsilentpaymentindexinfo": "getsilentpaymentindexinfo\n\nState of the NIP-047 silent payment index (-silentpaymentindex).\n\nResult:\n{\n \"enabled\" : true|false, (boolean) whether the node maintains the index\n \"state\" : \"str\", (string) disabled, ready or incomplete (records missing and their blocks pruned)\n \"schema\" : n, (numeric) storage schema of the records\n \"formats\" : [n,...], (array) public formats served\n \"context\" : \"hex\", (string) NIP-047 context N: network id, genesis, profile and family\n \"start_height\" : n, (numeric) first indexed height: max(1, strict AuthScript activation)\n \"synced_height\" : n, (numeric) every active block from start_height to this height has a record\n \"synced_hash\" : \"hash\", (string) hash of the block at synced_height\n \"complete\" : true|false, (boolean) ready and synced up to the tip\n \"missing\" : [[n,n],...], (array) height ranges without a record or block data to rebuild it\n \"pruned\" : true|false (boolean) whether the node has deleted block files\n}\n\nExamples:\n> neurai-cli getsilentpaymentindexinfo \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getsilentpaymentindexinfo\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
113
+ "getsilentpaymentinfo": "getsilentpaymentinfo\n\nReturns the silent payment scanning state of this wallet.\n\nResult:\n{\n \"enabled\": true|false, (boolean) the wallet has an identity (own or view key)\n \"view_only\": true|false,\n \"code\": \"str\", (string) once checked against the seed in this session and while\n the identity is sound\n \"code_verified\": true|false,(boolean) code checked against the seed in this session\n \"identity_error\": \"str\", (string) damaged identity: the code must not be used\n \"paused\": true|false, (boolean) locked wallet: scanning waits for walletpassphrase\n \"scanned_height\": n, (numeric) last block really scanned (-1: none)\n \"scanned_hash\": \"hex\",\n \"tip_height\": n,\n \"blocks_behind\": n,\n \"error\": \"str\", (string) why scanning stopped (missing block or undo data)\n \"payments\": n\n}\n\nExamples:\n> neurai-cli getsilentpaymentinfo \n",
114
+ "getsilentpaymenttweaks": "getsilentpaymenttweaks \"blockhash\" ( \"encoding\" )\n\nNIP-047 light client data of one block: every eligible transaction with a native v3 output,\nits public tweak T = h*A and all its native v3 outputs, plus every native v3 output the block spends.\nA receiver computes b_scan*T for each entry; the node learns nothing about it.\nRequires -silentpaymentindex.\n\nArguments:\n1. \"blockhash\" (string, required) the block hash\n2. \"encoding\" (string, optional, default=json) json, or hex for the binary message of type 1\n\nResult (json):\n{\n \"format\" : 1,\n \"context\" : \"hex\", (string) NIP-047 context N\n \"block\" : { (object) immutable for this block hash\n \"height\" : n,\n \"hash\" : \"hash\",\n \"prev\" : \"hash\",\n \"entries\" : [\n {\n \"txid\" : \"hex\",\n \"tweak\" : \"hex\", (string) 33-byte compressed point T\n \"outputs\" : [{ \"vout\" : n, \"commitment\" : \"hex\", \"value_sat\" : \"n\" },...]\n },...\n ],\n \"spent\" : [{ \"txid\" : \"hex\", \"vout\" : n },...],\n \"digest\" : \"hex\" (string) tagged hash of the canonical block bytes\n },\n \"in_active_chain\" : true|false\n}\n\nResult (hex):\n\"hex\" (string) binary message of type 1\n\nExamples:\n> neurai-cli getsilentpaymenttweaks \"00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getsilentpaymenttweaks\", \"params\": [\"00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
115
+ "getsilentpaymenttweaksrange": "getsilentpaymenttweaksrange start_height count ( \"anchor_hash\" \"encoding\" )\n\nNIP-047 light client data of consecutive blocks of the active chain, as getsilentpaymenttweaks.\nThe blocks come from one snapshot of the active chain. Whole blocks only: at least one, up to\n1000 blocks and 4 MB. Requires -silentpaymentindex.\n\nArguments:\n1. start_height (numeric, required) first height, from start_height of getsilentpaymentindexinfo\n up to the tip + 1 (an empty answer with status \"tip\")\n2. count (numeric, required) number of blocks wanted\n3. \"anchor_hash\" (string, optional) hash the client has at start_height - 1. If it left the active\n chain the answer is {\"reorg\": true, \"fork_height\": n}: continue from fork_height + 1\n4. \"encoding\" (string, optional, default=json) json, or hex for the binary message of type 2\n\nResult (json):\n{\n \"format\" : 1,\n \"context\" : \"hex\",\n \"snapshot\" : { \"height\" : n, \"hash\" : \"hash\" }, (object) tip when the request was served\n \"synced_height\" : n,\n \"blocks\" : [ {...},... ], (array) as \"block\" in getsilentpaymenttweaks\n \"next_height\" : n, (numeric) height after the last block returned\n \"status\" : \"str\" (string) more: ask again now; tip: wait for a new block;\n incomplete: the index lacks data from next_height\n}\n\nExamples:\n> neurai-cli getsilentpaymenttweaksrange 1000 100\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"getsilentpaymenttweaksrange\", \"params\": [1000, 100, \"00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
116
+ "getsnapshot": "getsnapshot \"asset_name\" block_height\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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 block_hash: (string) the block the snapshot was captured on; empty for a legacy snapshot\n snapshot_hash: (string) commitment to the snapshot content (NIP-048); empty for a legacy snapshot\n format: (number) 0 legacy, 1 bound to its block, 2 also with holder state (NIP-048 D3)\n global_frozen: (bool, format 2) the asset was globally frozen\n owners: [\n {\n address: (string),\n amount_owned: (number),\n frozen: (bool, format 2) frozen for the asset (restricted asset or DEPIN owner freeze)\n self_revoked: (bool, format 2) a DEPIN holder that revoked itself\n tags: [ (string), ... ] (format 2) qualifier tags of the address\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:19001/\n",
117
+ "getsnapshotannouncement": "getsnapshotannouncement \"asset_name\" snapshot_height\n\nReturns the message that announces a snapshot height before the chain reaches it (NIP-048). The holder of the\nowner token sends it to itself with that message, for instance:\n transfer \"ASSET!\" 1 \"owner_token_address\" \"message\"\nOther nodes that see the announcement request the same snapshot and can check the plan independently.\nA plan names the announcement with its \"announcement\" option.\n\nArguments:\n1. \"asset_name\" (string, required) The asset whose holders will be snapshotted\n2. snapshot_height (number, required) The future snapshot height\n\nResult:\n{\n \"asset_name\": \"name\",\n \"snapshot_height\": n,\n \"owner_token\": \"name\", (string) the token that must carry the message\n \"message\": \"hex\", (string) SHA-256 of 0x05 || network || asset || height\n \"minimum_notice\": n, (number) blocks the announcement must precede the height (-minsnapshotnotice)\n \"notice_if_mined_next\": n (number) the notice if the announcement is mined in the next block\n}\n\nExamples:\n> neurai-cli getsnapshotannouncement \"TRONCO\" 12345\n",
118
+ "getsnapshotrecipients": "getsnapshotrecipients \"asset_name\" snapshot_height\n\nThe holders in a snapshot with what an encrypted bulletin to them needs (NIP-048 D5). Encryption follows DePIN\nmessaging: a holder is ready when its address is P2PKH or strict ECDSA and its public key is in -pubkeyindex.\nThe others are listed too, so no holder is skipped silently. Needs -pubkeyindex.\n\nArguments:\n1. \"asset_name\" (string, required) The asset of the snapshot\n2. snapshot_height (number, required) The snapshot height\n\nResult:\n{\n \"asset_name\": \"name\",\n \"height\": n,\n \"block_hash\": \"hash\",\n \"snapshot_hash\": \"hex\",\n \"ready\": n, \"key_not_revealed\": n, \"unsupported_type\": n,\n \"holders\": [\n {\n \"address\": \"address\",\n \"held\": x.xxx,\n \"state\": \"ready\"|\"key_not_revealed\"|\"unsupported_type\",\n \"pubkey\": \"hex\", (string, when ready)\n \"frozen\": bool, \"self_revoked\": bool (snapshots with holder state)\n }, ...\n ]\n}\n\nExamples:\n> neurai-cli getsnapshotrecipients \"&TOKEN\" 12345\n",
119
+ "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> neurai-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:19001/\n",
120
+ "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> neurai-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:19001/\n",
121
+ "gettransaction": "gettransaction \"txid\" ( include_watchonly )\n\nGet detailed information about in-wallet transaction <txid>\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 XNA\n \"fee\": x.xxx, (numeric) The amount of the fee in XNA. 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 \"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 neurai address involved in the transaction\n \"category\" : \"send|receive\", (string) The category, either 'send' or 'receive'\n \"amount\" : x.xxx, (numeric) The amount in XNA\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 XNA. 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 XNA\n \"address\" : \"address\", (string) The neurai 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> neurai-cli gettransaction \"1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d\"\n> neurai-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:19001/\n",
122
+ "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 XNA\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 neurai addresses\n \"address\" (string) neurai address\n ,...\n ]\n },\n \"coinbase\" : true|false (boolean) Coinbase or not\n}\n\nExamples:\n\nGet unspent transactions\n> neurai-cli listunspent \n\nView the details\n> neurai-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:19001/\n",
123
+ "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",
124
+ "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> neurai-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:19001/\n",
125
+ "getunconfirmedbalance": "getunconfirmedbalance\nReturns the server's total unconfirmed balance\n",
126
+ "getverifierstring": "getverifierstring restricted_name\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n",
127
+ "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 \"addresstype\": \"type\", (string) the address type fixed when the wallet was created (-addresstype): legacy, pq or ecdsa\n \"balance\": xxxxxxx, (numeric) the total confirmed balance of the wallet in XNA\n \"unconfirmed_balance\": xxx, (numeric) the total unconfirmed balance of the wallet in XNA\n \"immature_balance\": xxxxxx, (numeric) the total immature balance of the wallet in XNA\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 XNA/kB\n \"hdseedid\": \"<hash160>\" (string, optional) the Hash160 of the HD seed (only present when HD is enabled)\n \"hdmasterkeyid\": \"<hash160>\" (string, optional) alias for hdseedid retained for backwards-compatibility. Will be removed in V0.18.\n}\n\nExamples:\n> neurai-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:19001/\n",
128
+ "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",
129
+ "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 If the wallet already has the keys, registering the redeem script can make its P2SH output spendable.\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> neurai-cli importaddress \"myscript\"\n\nImport using a label without rescan\n> neurai-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:19001/\n",
130
+ "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\": \"<script>\" | { \"address\":\"<address>\" }, (string / json, required) Type of scriptPubKey (string for script, json for address)\n \"timestamp\": timestamp | \"now\" , (integer / string, required) Creation time of the key in seconds since epoch (Jan 1 1970 GMT),\n or the string \"now\" to substitute the current synced blockchain time. The timestamp of the oldest\n key will determine how far back blockchain rescans need to begin for missing wallet transactions.\n \"now\" can be specified to bypass scanning, for keys which are known to never have been used, and\n 0 can be specified to scan the entire blockchain. Blocks up to 2 hours before the earliest key\n creation time of all keys being imported by the importmulti call will be scanned.\n \"redeemscript\": \"<script>\" , (string, optional) Allowed only if the scriptPubKey is a P2SH address or a P2SH scriptPubKey\n \"pubkeys\": [\"<pubKey>\", ... ] , (array, optional) Array of strings giving pubkeys that must occur in the output or redeemscript\n \"keys\": [\"<key>\", ... ] , (array, optional) Array of strings giving private keys whose corresponding public keys must occur in the output or redeemscript\n \"internal\": <true> , (boolean, optional, default: false) Stating whether matching outputs should be treated as not incoming payments\n \"watchonly\": <true> , (boolean, optional, default: false) Stating whether matching outputs should be considered watched even when they're not spendable, only allowed if keys are empty\n \"label\": <label> , (string, optional, default: '') Label to assign to the address (aka account name, for now), only allowed with internal=false\n }\n ,...\n ]\n2. options (json, optional)\n {\n \"rescan\": <false>, (boolean, optional, default: true) Stating if should rescan the blockchain after all imports\n }\n\nExamples:\n> neurai-cli importmulti '[{ \"scriptPubKey\": { \"address\": \"<my address>\" }, \"timestamp\":1455191478 }, { \"scriptPubKey\": { \"address\": \"<my 2nd address>\" }, \"label\": \"example 2\", \"timestamp\": 1455191480 }]'\n> neurai-cli importmulti '[{ \"scriptPubKey\": { \"address\": \"<my address>\" }, \"timestamp\":1455191478 }]' '{ \"rescan\": false}'\n\nResponse is an array with the same size as the input that has the execution result :\n [{ \"success\": true } , { \"success\": false, \"error\": { \"code\": -1, \"message\": \"Internal Server Error\"} }, ... ]\n",
131
+ "importprivkey": "importprivkey \"privkey\" ( \"label\" ) ( rescan )\n\nAdds a private key (as returned by dumpprivkey) to your wallet.\n\nArguments:\n1. \"privkey\" (string, required) The private key (see dumpprivkey)\n2. \"label\" (string, optional, default=\"\") An optional label\n3. rescan (boolean, optional, default=true) Rescan the wallet for transactions\n\nNote: This call can take minutes to complete if rescan is true.\n\nExamples:\n\nDump a private key\n> neurai-cli dumpprivkey \"myaddress\"\n\nImport the private key with rescan\n> neurai-cli importprivkey \"mykey\"\n\nImport using a label and without rescan\n> neurai-cli importprivkey \"mykey\" \"testing\" false\n\nImport using default blank label and without rescan\n> neurai-cli importprivkey \"mykey\" \"\" false\n\nAs a JSON-RPC call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"importprivkey\", \"params\": [\"mykey\", \"testing\", false] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
132
+ "importprunedfunds": "importprunedfunds\n\nImports funds without rescan. Corresponding address or script must previously be included in wallet. Aimed towards pruned wallets. The end-user is responsible to import additional transactions that subsequently spend the imported outputs or rescan after the point in the blockchain the transaction is included.\n\nArguments:\n1. \"rawtransaction\" (string, required) A raw transaction in hex funding an already-existing address in wallet\n2. \"txoutproof\" (string, required) The hex output from gettxoutproof that contains the transaction\n",
133
+ "importpubkey": "importpubkey \"pubkey\" ( \"label\" rescan )\n\nAdds a public key (in hex) that can be watched as if it were in your wallet but cannot be used to spend.\n\nArguments:\n1. \"pubkey\" (string, required) The hex-encoded public key\n2. \"label\" (string, optional, default=\"\") An optional label\n3. rescan (boolean, optional, default=true) Rescan the wallet for transactions\n\nNote: This call can take minutes to complete if rescan is true.\n\nExamples:\n\nImport a public key with rescan\n> neurai-cli importpubkey \"mypubkey\"\n\nImport using a label without rescan\n> neurai-cli importpubkey \"mypubkey\" \"testing\" false\n\nAs a JSON-RPC call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"importpubkey\", \"params\": [\"mypubkey\", \"testing\", false] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
134
+ "importsilentpaymentviewkey": "importsilentpaymentviewkey \"scan_private_key\" \"spend_pubkey\" ( start_height )\n\nTurns this wallet into a watch wallet of a silent payment code: payments are\ndetected and shown as watch-only, never spendable. Only for an unencrypted wallet\nwithout its own silent payment identity (or whose stored view key is damaged); the wallet\ncan no longer be encrypted. Pass the secret with \"neurai-cli -stdin importsilentpaymentviewkey\"\n(one argument per line) so it stays out of the shell history and the process list.\n\nArguments:\n1. \"scan_private_key\" (string, required) hex b_scan\n2. \"spend_pubkey\" (string, required) hex B_spend\n3. start_height (numeric, optional, default=0) first block to scan\n\nResult:\n{\n \"code\": \"str\", \"scanned_height\": n, \"found\": n\n}\n\nExamples:\n> neurai-cli importsilentpaymentviewkey \"<hex>\" \"<hex>\" 0\n",
135
+ "importwallet": "importwallet \"filename\"\n\nImports keys from a wallet dump file (see dumpwallet).\n\nArguments:\n1. \"filename\" (string, required) The wallet file\n\nExamples:\n\nDump the wallet\n> neurai-cli dumpwallet \"test\"\n\nImport the wallet\n> neurai-cli importwallet \"test\"\n\nImport using the json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"importwallet\", \"params\": [\"test\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
136
+ "issue": "issue \"asset_name\" qty \"( to_address )\" \"( change_address )\" ( units ) ( reissuable ) ( has_ipfs ) \"( ipfs_hash )\"\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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 xna 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> neurai-cli issue \"ASSET_NAME\" 1000\n> neurai-cli issue \"ASSET_NAME\" 1000 \"myaddress\"\n> neurai-cli issue \"ASSET_NAME\" 1000 \"myaddress\" \"changeaddress\" 4\n> neurai-cli issue \"ASSET_NAME\" 1000 \"myaddress\" \"changeaddress\" 2 true\n> neurai-cli issue \"ASSET_NAME\" 1000 \"myaddress\" \"changeaddress\" 8 false true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\n> neurai-cli issue \"ASSET_NAME/SUB_ASSET\" 1000 \"myaddress\" \"changeaddress\" 2 true\n> neurai-cli issue \"ASSET_NAME#uniquetag\"\n",
137
+ "issuequalifierasset": "issuequalifierasset \"asset_name\" qty \"( to_address )\" \"( change_address )\" ( has_ipfs ) \"( ipfs_hash )\"\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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 xna 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> neurai-cli issuequalifierasset \"#ASSET_NAME\" 1000\n> neurai-cli issuequalifierasset \"ASSET_NAME\" 1000 \"myaddress\"\n> neurai-cli issuequalifierasset \"#ASSET_NAME\" 1000 \"myaddress\" \"changeaddress\"\n> neurai-cli issuequalifierasset \"ASSET_NAME\" 1000 \"myaddress\" \"changeaddress\"\n> neurai-cli issuequalifierasset \"#ASSET_NAME\" 1000 \"myaddress\" \"changeaddress\" true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\n> neurai-cli issuequalifierasset \"ASSET_NAME/SUB_QUALIFIER\" 1000 \"myaddress\" \"changeaddress\"\n> neurai-cli issuequalifierasset \"#ASSET_NAME\"\n",
138
+ "issuerestrictedasset": "issuerestrictedasset \"asset_name\" qty \"verifier\" \"to_address\" \"( change_address )\" (units) ( reissuable ) ( has_ipfs ) \"( ipfs_hash )\"\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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 xna 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> neurai-cli issuerestrictedasset \"$ASSET_NAME\" 1000 \"#KYC & !#AML\" \"myaddress\"\n> neurai-cli issuerestrictedasset \"$ASSET_NAME\" 1000 \"#KYC & !#AML\" \"myaddress\"\n> neurai-cli issuerestrictedasset \"$ASSET_NAME\" 1000 \"#KYC & !#AML\" \"myaddress\" \"changeaddress\" 5\n> neurai-cli issuerestrictedasset \"$ASSET_NAME\" 1000 \"#KYC & !#AML\" \"myaddress\" \"changeaddress\" 8 true\n> neurai-cli issuerestrictedasset \"$ASSET_NAME\" 1000 \"#KYC & !#AML\" \"myaddress\" \"changeaddress\" 0 false true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\n",
139
+ "issueunique": "issueunique \"root_name\" [asset_tags] ( [ipfs_hashes] ) \"( to_address )\" \"( change_address )\"\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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) XNA 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 xna 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> neurai-cli issueunique \"MY_ASSET\" '[\"primo\",\"secundo\"]'\n> neurai-cli issueunique \"MY_ASSET\" '[\"primo\",\"secundo\"]' '[\"first_hash\",\"second_hash\"]'\n",
140
+ "isvalidverifierstring": "isvalidverifierstring verifier_string\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n",
141
+ "keypoolrefill": "keypoolrefill ( newsize )\n\nFills the keypool.\n\nArguments\n1. newsize (numeric, optional, default=100) The new keypool size\n\nExamples:\n> neurai-cli keypoolrefill \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"keypoolrefill\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
142
+ "listaccounts": "listaccounts ( minconf include_watchonly)\n\nDEPRECATED. Returns Object that has account names as keys, account balances as values.\n\nArguments:\n1. minconf (numeric, optional, default=1) Only include transactions with at least this many confirmations\n2. include_watchonly (bool, optional, default=false) Include balances in watch-only addresses (see 'importaddress')\n\nResult:\n{ (json object where keys are account names, and values are numeric balances\n \"account\": x.xxx, (numeric) The property name is the account name, and the value is the total balance for the account.\n ...\n}\n\nExamples:\n\nList account balances where there at least 1 confirmation\n> neurai-cli listaccounts \n\nList account balances including zero confirmation transactions\n> neurai-cli listaccounts 0\n\nList account balances for 6 or more confirmations\n> neurai-cli listaccounts 6\n\nAs json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listaccounts\", \"params\": [6] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
143
+ "listaddressesbyasset": "listaddressesbyasset \"asset_name\" (onlytotal) (count) (start)\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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> neurai-cli listaddressesbyasset \"ASSET_NAME\" false 2 0\n> neurai-cli listaddressesbyasset \"ASSET_NAME\" true\n> neurai-cli listaddressesbyasset \"ASSET_NAME\"\n",
144
+ "listaddressesfortag": "listaddressesfortag tag_name\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n",
145
+ "listaddressgroupings": "listaddressgroupings\n\nLists groups of addresses which have had their common ownership\nmade public by common use as inputs or as the resulting change\nin past transactions\n\nResult:\n[\n [\n [\n \"address\", (string) The neurai address\n amount, (numeric) The amount in XNA\n \"account\" (string, optional) DEPRECATED. The account\n ]\n ,...\n ]\n ,...\n]\n\nExamples:\n> neurai-cli listaddressgroupings \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listaddressgroupings\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
146
+ "listaddressrestrictions": "listaddressrestrictions address\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n",
147
+ "listassetbalancesbyaddress": "listassetbalancesbyaddress \"address\" (onlytotal) (count) (start)\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\n\nReturns a list of all asset balances for an address.\n\nArguments:\n1. \"address\" (string, required) a neurai 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> neurai-cli listassetbalancesbyaddress \"myaddress\" false 2 0\n> neurai-cli listassetbalancesbyaddress \"myaddress\" true\n> neurai-cli listassetbalancesbyaddress \"myaddress\"\n",
148
+ "listassets": "listassets \"( asset )\" ( verbose ) ( count ) ( start )\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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:19001/\n> neurai-cli listassets ASSET\n> neurai-cli listassets \"ASSET*\" true 10 20\n",
149
+ "listbanned": "listbanned\n\nList all banned IPs/Subnets.\n\nExamples:\n> neurai-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:19001/\n",
150
+ "listdepinaddresses": "listdepinaddresses \"asset_name\" (count) (start)\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\n\nReturns a list of addresses that own the given asset AND have a revealed public key on the blockchain.\nThis is useful for DePIN messaging systems where only addresses with revealed public keys can participate.\n\nArguments:\n1. \"asset_name\" (string, required) name of asset\n2. \"count\" (integer, optional, default=50000, MAX=50000) truncates results to include only the first _count_ addresses found\n3. \"start\" (integer, optional, default=0) results skip over the first _start_ addresses found (if negative it skips back from the end)\n\nResult:\n[\n {\n \"address\": \"address\", (string) The Neurai address\n \"pubkey\": \"pubkey_hex\" (string) The public key in hex format\n \"valid\": 1|0 (numeric) 1 = active/valid, 0 = blocked/revoked (only meaningful for DEPIN assets; always 1 for regular assets)\n },\n ...\n]\n\nExamples:\n> neurai-cli listdepinaddresses \"ASSET_NAME\"\n> neurai-cli listdepinaddresses \"ASSET_NAME\" 10 0\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listdepinaddresses\", \"params\": [\"ASSET_NAME\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
151
+ "listdepinholders": "listdepinholders \"asset_name\"\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\n\nReturns all addresses holding a DEPIN asset with validity status\n\nDEPIN assets are soulbound (non-transferable except by owner) and can be frozen/revoked\n\nArguments:\n1. \"asset_name\" (string, required) The DEPIN asset name (must start with &)\n\nResult:\n[\n {\n \"address\": \"address\", (string) The address\n \"amount\": n, (numeric) The amount held at the address\n \"valid\": 1|0 (numeric) 1 = active/valid, 0 = blocked/revoked\n },\n ...\n]\n\nExamples:\n> neurai-cli listdepinholders \"&FRANCE\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listdepinholders\", \"params\": [\"&FRANCE\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
152
+ "listglobalrestrictions": "listglobalrestrictions\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\n\nList all global restricted assets\n\nResult:\n[\"asset_name\", (string) The asset name\n...,\n]\n\nExamples:\n> neurai-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:19001/\n",
153
+ "listlockunspent": "listlockunspent\n\nReturns list of temporarily unspendable outputs.\nSee the lockunspent call to lock and unlock transactions for spending.\n\nResult:\n[\n {\n \"txid\" : \"transactionid\", (string) The transaction id locked\n \"vout\" : n (numeric) The vout value\n }\n ,...\n]\n\nExamples:\n\nList the unspent transactions\n> neurai-cli listunspent \n\nLock an unspent transaction\n> neurai-cli lockunspent false \"[{\\\"txid\\\":\\\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\\\",\\\"vout\\\":1}]\"\n\nList the locked transactions\n> neurai-cli listlockunspent \n\nUnlock the transaction again\n> neurai-cli lockunspent true \"[{\\\"txid\\\":\\\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\\\",\\\"vout\\\":1}]\"\n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listlockunspent\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
154
+ "listmyassets": "listmyassets \"( asset )\" ( verbose ) ( count ) ( start ) (confs) \n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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:19001/\n> neurai-cli listmyassets ASSET\n> neurai-cli listmyassets \"ASSET*\" true 10 20\n> neurai-cli listmyassets \"ASSET*\" true 10 20 1\n",
155
+ "listpqaddresses": "listpqaddresses\n\nReturns the list of post-quantum (ML-DSA-44) Bech32m addresses in the wallet.\n\nResult:\n[ (json array of strings)\n \"address\" (string) A strict post-quantum (witness v2) address of a PQ key (pq1.../tpq1...)\n ...\n]\n\nExamples:\n> neurai-cli listpqaddresses \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listpqaddresses\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
156
+ "listreceivedbyaccount": "listreceivedbyaccount ( minconf include_empty include_watchonly)\n\nDEPRECATED. List balances by account.\n\nArguments:\n1. minconf (numeric, optional, default=1) The minimum number of confirmations before payments are included.\n2. include_empty (bool, optional, default=false) Whether to include accounts that haven't received any payments.\n3. include_watchonly (bool, optional, default=false) Whether to include watch-only addresses (see 'importaddress').\n\nResult:\n[\n {\n \"involvesWatchonly\" : true, (bool) Only returned if imported addresses were involved in transaction\n \"account\" : \"accountname\", (string) The account name of the receiving account\n \"amount\" : x.xxx, (numeric) The total amount received by addresses with this account\n \"confirmations\" : n, (numeric) The number of confirmations of the most recent transaction included\n \"label\" : \"label\" (string) A comment for the address/transaction, if any\n }\n ,...\n]\n\nExamples:\n> neurai-cli listreceivedbyaccount \n> neurai-cli listreceivedbyaccount 6 true\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listreceivedbyaccount\", \"params\": [6, true, true] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
157
+ "listreceivedbyaddress": "listreceivedbyaddress ( minconf include_empty include_watchonly)\n\nList balances by receiving address.\n\nArguments:\n1. minconf (numeric, optional, default=1) The minimum number of confirmations before payments are included.\n2. include_empty (bool, optional, default=false) Whether to include addresses that haven't received any payments.\n3. include_watchonly (bool, optional, default=false) Whether to include watch-only addresses (see 'importaddress').\n\nResult:\n[\n {\n \"involvesWatchonly\" : true, (bool) Only returned if imported addresses were involved in transaction\n \"address\" : \"receivingaddress\", (string) The receiving address\n \"account\" : \"accountname\", (string) DEPRECATED. The account of the receiving address. The default account is \"\".\n \"amount\" : x.xxx, (numeric) The total amount in XNA received by the address\n \"confirmations\" : n, (numeric) The number of confirmations of the most recent transaction included\n \"label\" : \"label\", (string) A comment for the address/transaction, if any\n \"txids\": [\n n, (numeric) The ids of transactions received with the address \n ...\n ]\n }\n ,...\n]\n\nExamples:\n> neurai-cli listreceivedbyaddress \n> neurai-cli listreceivedbyaddress 6 true\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listreceivedbyaddress\", \"params\": [6, true, true] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
158
+ "listsilentpayments": "listsilentpayments ( include_spent )\n\nLists the silent payments received by this wallet.\n\nArguments:\n1. include_spent (boolean, optional, default=true)\n\nResult:\n[{\n \"txid\": \"hex\", \"vout\": n, \"k\": n, \"amount\": x.xxx, \"address\": \"str\",\n \"status\": \"pending|unconfirmed|confirmed|spent|conflicted|abandoned|other_chain|unknown\",\n \"confirmations\": n, \"blockhash\": \"hex\", \"height\": n, \"view_only\": true|false\n}, ...]\n\nExamples:\n> neurai-cli listsilentpayments \n",
159
+ "listsinceblock": "listsinceblock ( \"blockhash\" target_confirmations include_watchonly include_removed )\n\nGet all transactions in blocks since block [blockhash], or all transactions if omitted.\nIf \"blockhash\" is no longer a part of the main chain, transactions from the fork point onward are included.\nAdditionally, if include_removed is set, transactions affecting the wallet which were removed are returned in the \"removed\" array.\n\nArguments:\n1. \"blockhash\" (string, optional) The block hash to list transactions since\n2. target_confirmations: (numeric, optional, default=1) Return the nth block hash from the main chain. e.g. 1 would mean the best block hash. Note: this is not used as a filter, but only affects [lastblock] in the return value\n3. include_watchonly: (bool, optional, default=false) Include transactions to watch-only addresses (see 'importaddress')\n4. include_removed: (bool, optional, default=true) Show transactions that were removed due to a reorg in the \"removed\" array\n (not guaranteed to work on pruned nodes)\n\nResult:\n{\n \"transactions\": [\n \"account\":\"accountname\", (string) DEPRECATED. The account name associated with the transaction. Will be \"\" for the default account.\n \"address\":\"address\", (string) The neurai address of the transaction. Not present for move transactions (category = move).\n \"category\":\"send|receive\", (string) The transaction category. 'send' has negative amounts, 'receive' has positive amounts.\n \"amount\": x.xxx, (numeric) The amount in XNA. This is negative for the 'send' category, and for the 'move' category for moves \n outbound. It is positive for the 'receive' category, and for the 'move' category for inbound funds.\n \"vout\" : n, (numeric) the vout value\n \"fee\": x.xxx, (numeric) The amount of the fee in XNA. This is negative and only available for the 'send' category of transactions.\n \"confirmations\": n, (numeric) The number of confirmations for the transaction. Available for 'send' and 'receive' category of transactions.\n When it's < 0, it means the transaction conflicted that many blocks ago.\n \"blockhash\": \"hashvalue\", (string) The block hash containing the transaction. Available for 'send' and 'receive' category of transactions.\n \"blockindex\": n, (numeric) The index of the transaction in the block that includes it. Available for 'send' and 'receive' category of transactions.\n \"blocktime\": xxx, (numeric) The block time in seconds since epoch (1 Jan 1970 GMT).\n \"txid\": \"transactionid\", (string) The transaction id. Available for 'send' and 'receive' category of transactions.\n \"time\": xxx, (numeric) The transaction time in seconds since epoch (Jan 1 1970 GMT).\n \"timereceived\": xxx, (numeric) The time received in seconds since epoch (Jan 1 1970 GMT). Available for 'send' and 'receive' category of transactions.\n \"abandoned\": xxx, (bool) 'true' if the transaction has been abandoned (inputs are respendable). Only available for the 'send' category of transactions.\n \"comment\": \"...\", (string) If a comment is associated with the transaction.\n \"label\" : \"label\" (string) A comment for the address/transaction, if any\n \"to\": \"...\", (string) If a comment to is associated with the transaction.\n ],\n \"removed\": [\n <structure is the same as \"transactions\" above, only present if include_removed=true>\n Note: transactions that were readded in the active chain will appear as-is in this array, and may thus have a positive confirmation count.\n ],\n \"lastblock\": \"lastblockhash\" (string) The hash of the block (target_confirmations-1) from the best block on the main chain. This is typically used to feed back into listsinceblock the next time you call it. So you would generally use a target_confirmations of say 6, so you will be continually re-notified of transactions until they've reached 6 confirmations plus any new ones\n}\n\nExamples:\n> neurai-cli listsinceblock \n> neurai-cli listsinceblock \"000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad\" 6\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listsinceblock\", \"params\": [\"000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad\", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
160
+ "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> neurai-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:19001/\n",
161
+ "listtagsforaddress": "listtagsforaddress address\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n",
162
+ "listtransactions": "listtransactions ( \"account\" count skip include_watchonly)\n\nReturns up to 'count' most recent transactions skipping the first 'from' transactions for account 'account'.\n\nArguments:\n1. \"account\" (string, optional) DEPRECATED. The account name. Should be \"*\".\n2. count (numeric, optional, default=10) The number of transactions to return\n3. skip (numeric, optional, default=0) The number of transactions to skip\n4. include_watchonly (bool, optional, default=false) Include transactions to watch-only addresses (see 'importaddress')\n\nResult:\n[\n {\n \"account\":\"accountname\", (string) DEPRECATED. The account name associated with the transaction. \n It will be \"\" for the default account.\n \"address\":\"address\", (string) The neurai address of the transaction. Not present for \n move transactions (category = move).\n \"category\":\"send|receive|move\", (string) The transaction category. 'move' is a local (off blockchain)\n transaction between accounts, and not associated with an address,\n transaction id or block. 'send' and 'receive' transactions are \n associated with an address, transaction id and block details\n \"amount\": x.xxx, (numeric) The amount in XNA. This is negative for the 'send' category, and for the\n 'move' category for moves outbound. It is positive for the 'receive' category,\n and for the 'move' category for inbound funds.\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 XNA. This is negative and only available for the \n 'send' category of transactions.\n \"confirmations\": n, (numeric) The number of confirmations for the transaction. Available for 'send' and \n 'receive' category of transactions. Negative confirmations indicate the\n transaction conflicts with the block chain\n \"trusted\": xxx, (bool) Whether we consider the outputs of this unconfirmed transaction safe to spend.\n \"blockhash\": \"hashvalue\", (string) The block hash containing the transaction. Available for 'send' and 'receive'\n category of transactions.\n \"blockindex\": n, (numeric) The index of the transaction in the block that includes it. Available for 'send' and 'receive'\n category of transactions.\n \"blocktime\": xxx, (numeric) The block time in seconds since epoch (1 Jan 1970 GMT).\n \"txid\": \"transactionid\", (string) The transaction id. Available for 'send' and 'receive' category of transactions.\n \"time\": xxx, (numeric) The transaction time in seconds since epoch (midnight Jan 1 1970 GMT).\n \"timereceived\": xxx, (numeric) The time received in seconds since epoch (midnight Jan 1 1970 GMT). Available \n for 'send' and 'receive' category of transactions.\n \"comment\": \"...\", (string) If a comment is associated with the transaction.\n \"otheraccount\": \"accountname\", (string) DEPRECATED. For the 'move' category of transactions, the account the funds came \n from (for receiving funds, positive amounts), or went to (for sending funds,\n negative amounts).\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\nExamples:\n\nList the most recent 10 transactions in the systems\n> neurai-cli listtransactions \n\nList transactions 100 to 120\n> neurai-cli listtransactions \"*\" 20 100\n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listtransactions\", \"params\": [\"*\", 20, 100] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
163
+ "listunspent": "listunspent ( minconf maxconf [\"addresses\",...] [include_unsafe] [query_options])\n\nReturns array of unspent transaction outputs\nwith between minconf and maxconf (inclusive) confirmations.\nOptionally filter to only include txouts paid to specified addresses.\n\nArguments:\n1. minconf (numeric, optional, default=1) The minimum confirmations to filter\n2. maxconf (numeric, optional, default=9999999) The maximum confirmations to filter\n3. \"addresses\" (string) A json array of neurai addresses to filter\n [\n \"address\" (string) neurai address\n ,...\n ]\n4. include_unsafe (bool, optional, default=true) Include outputs that are not safe to spend\n See description of \"safe\" attribute below.\n5. query_options (json, optional) JSON with query options\n {\n \"minimumAmount\" (numeric or string, default=0) Minimum value of each UTXO in XNA\n \"maximumAmount\" (numeric or string, default=unlimited) Maximum value of each UTXO in XNA\n \"maximumCount\" (numeric or string, default=unlimited) Maximum number of UTXOs\n \"minimumSumAmount\" (numeric or string, default=unlimited) Minimum sum value of all UTXOs in XNA\n }\n\nResult\n[ (array of json object)\n {\n \"txid\" : \"txid\", (string) the transaction id \n \"vout\" : n, (numeric) the vout value\n \"address\" : \"address\", (string) the neurai address\n \"account\" : \"account\", (string) DEPRECATED. The associated account, or \"\" for the default account\n \"scriptPubKey\" : \"key\", (string) the script key\n \"amount\" : x.xxx, (numeric) the transaction output amount in XNA\n \"confirmations\" : n, (numeric) The number of confirmations\n \"redeemScript\" : n (string) The redeemScript if scriptPubKey is P2SH\n \"spendable\" : xxx, (bool) Whether we have the private keys to spend this output\n \"solvable\" : xxx, (bool) Whether we know how to spend this output, ignoring the lack of keys\n \"safe\" : xxx (bool) Whether this output is considered safe to spend. Unconfirmed transactions\n from outside keys and unconfirmed replacement transactions are considered unsafe\n and are not eligible for spending by fundrawtransaction and sendtoaddress.\n }\n ,...\n]\n\nExamples\n> neurai-cli listunspent \n> neurai-cli listunspent 6 9999999 \"[\\\"1PGFqEzfmQch1gKD3ra4k18PNj3tTUUSqg\\\",\\\"1LtvqCaApEdUGFkpKMM4MstjcaL4dKg8SP\\\"]\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listunspent\", \"params\": [6, 9999999 \"[\\\"1PGFqEzfmQch1gKD3ra4k18PNj3tTUUSqg\\\",\\\"1LtvqCaApEdUGFkpKMM4MstjcaL4dKg8SP\\\"]\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n> neurai-cli listunspent 6 9999999 '[]' true '{ \"minimumAmount\": 0.005 }'\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listunspent\", \"params\": [6, 9999999, [] , true, { \"minimumAmount\": 0.005 } ] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
164
+ "listwallets": "listwallets\nReturns a list of currently loaded wallets.\nFor full information on the wallet, use \"getwalletinfo\"\n\nResult:\n[ (json array of strings)\n \"walletname\" (string) the wallet name\n ...\n]\n\nExamples:\n> neurai-cli listwallets \n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"listwallets\", \"params\": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
165
+ "lockunspent": "lockunspent unlock ([{\"txid\":\"txid\",\"vout\":n},...])\n\nUpdates list of temporarily unspendable outputs.\nTemporarily lock (unlock=false) or unlock (unlock=true) specified transaction outputs.\nIf no transaction outputs are specified when unlocking then all current locked transaction outputs are unlocked.\nA locked transaction output will not be chosen by automatic coin selection, when spending neurais.\nLocks are stored in memory only. Nodes start with zero locked outputs, and the locked output list\nis always cleared (by virtue of process exit) when a node stops or fails.\nAlso see the listunspent call\n\nArguments:\n1. unlock (boolean, required) Whether to unlock (true) or lock (false) the specified transactions\n2. \"transactions\" (string, optional) A json array of objects. Each object the txid (string) vout (numeric)\n [ (json array of json objects)\n {\n \"txid\":\"id\", (string) The transaction id\n \"vout\": n (numeric) The output number\n }\n ,...\n ]\n\nResult:\ntrue|false (boolean) Whether the command was successful or not\n\nExamples:\n\nList the unspent transactions\n> neurai-cli listunspent \n\nLock an unspent transaction\n> neurai-cli lockunspent false \"[{\\\"txid\\\":\\\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\\\",\\\"vout\\\":1}]\"\n\nList the locked transactions\n> neurai-cli listlockunspent \n\nUnlock the transaction again\n> neurai-cli lockunspent true \"[{\\\"txid\\\":\\\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\\\",\\\"vout\\\":1}]\"\n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"lockunspent\", \"params\": [false, \"[{\\\"txid\\\":\\\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\\\",\\\"vout\\\":1}]\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
166
+ "move": "move \"fromaccount\" \"toaccount\" amount ( minconf \"comment\" )\n\nDEPRECATED. Move a specified amount from one account in your wallet to another.\n\nArguments:\n1. \"fromaccount\" (string, required) The name of the account to move funds from. May be the default account using \"\".\n2. \"toaccount\" (string, required) The name of the account to move funds to. May be the default account using \"\".\n3. amount (numeric) Quantity of XNA to move between accounts.\n4. (dummy) (numeric, optional) Ignored. Remains for backward compatibility.\n5. \"comment\" (string, optional) An optional comment, stored in the wallet only.\n\nResult:\ntrue|false (boolean) true if successful.\n\nExamples:\n\nMove 0.01 XNA from the default account to the account named tabby\n> neurai-cli move \"\" \"tabby\" 0.01\n\nMove 0.01 XNA timotei to akiko with a comment and funds have 6 confirmations\n> neurai-cli move \"timotei\" \"akiko\" 0.01 6 \"happy birthday!\"\n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"move\", \"params\": [\"timotei\", \"akiko\", 0.01, 6, \"happy birthday!\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
167
+ "opendepin": "opendepin \"asset_name\" (\"change_address\")\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\n\nOpen transfers of a DEPIN asset (owner only): while open, holders can move\nthe asset like a regular asset without the owner token. Transfers from addresses\nfrozen by the owner or self-revoked stay rejected. Valid from the closed state;\ntakes effect from the block after the one that confirms it.\n\nArguments:\n1. \"asset_name\" (string, required) The DEPIN asset name (must start with &)\n2. \"change_address\" (string, optional) The change address for the owner token\n\nResult:\n\"txid\" (string) The transaction id\n\nExamples:\n> neurai-cli opendepin \"&FRANCE\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"opendepin\", \"params\": [\"&FRANCE\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
168
+ "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> neurai-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:19001/\n",
169
+ "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 header hash given to the GPU miner (exactly 64 hex digits)\n2. \"mix_hash\" (string, required) the mix hash mined by the GPU miner (exactly 64 hex digits)\n3. \"nonce\" (string, required) 1 to 16 hex digits, optionally prefixed with 0x\n\nResult:\n\nExamples:\n> neurai-cli pprpcsb \"header_hash\" \"mix_hash\" \"0x100000\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"pprpcsb\", \"params\": [\"header_hash\" \"mix_hash\" \"0x100000\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
170
+ "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> neurai-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:19001/\n",
171
+ "prioritisetransaction": "prioritisetransaction <txid> <dummy value> <fee delta>\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> neurai-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:19001/\n",
172
+ "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> neurai-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:19001/\n",
173
+ "purgesnapshot": "purgesnapshot \"asset_name\" block_height\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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> neurai-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:19001/\n",
174
+ "reissue": "reissue \"asset_name\" qty \"to_address\" \"change_address\" ( reissuable ) ( new_units) \"( new_ipfs )\" \n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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> neurai-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:19001/\n",
175
+ "reissuerestrictedasset": "reissuerestrictedasset \"asset_name\" qty to_address ( change_verifier ) ( \"new_verifier\" ) \"( change_address )\" ( new_units ) ( reissuable ) \"( new_ipfs )\"\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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 xna 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> neurai-cli reissuerestrictedasset \"$ASSET_NAME\" 1000 \"myaddress\" true \"KYC & !AML\"\n> neurai-cli reissuerestrictedasset \"$ASSET_NAME\" 1000 \"myaddress\" true \"KYC & !AML\" \n> neurai-cli reissuerestrictedasset \"$ASSET_NAME\" 1000 \"myaddress\" true \"KYC & !AML\" \"changeaddress\"\n> neurai-cli reissuerestrictedasset \"$ASSET_NAME\" 1000 \"myaddress\" true \"KYC & !AML\" \"changeaddress\" -1 true\n> neurai-cli reissuerestrictedasset \"$ASSET_NAME\" 1000 \"myaddress\" false \"\" \"changeaddress\" -1 false QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\n",
176
+ "removeprunedfunds": "removeprunedfunds \"txid\"\n\nDeletes the specified transaction from the wallet. Meant for use with pruned wallets and as a companion to importprunedfunds. This will affect wallet balances.\n\nArguments:\n1. \"txid\" (string, required) The hex-encoded id of the transaction you are deleting\n\nExamples:\n> neurai-cli removeprunedfunds \"a8d0c0184dde994a09ec054286f1ce581bebf46446a512166eae7628734ea0a5\"\n\nAs a JSON-RPC call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"removeprunedfunds\", \"params\": [\"a8d0c0184dde994a09ec054286f1ce581bebf46446a512166eae7628734ea0a5\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
177
+ "removetagfromaddress": "removetagfromaddress tag_name to_address (change_address) (asset_data)\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n> neurai-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:19001/\n",
178
+ "repairsilentpaymentidentity": "repairsilentpaymentidentity\n\nRewrites the silent payment code of this wallet from its seed after an identity failure\n(\"stored silent payment code does not match the wallet seed\"). Payments sent to the\nreplaced code did not reach this wallet: check your backups before repairing.\n\nResult:\n{\n \"previous_code\": \"str\", (string) the code that was stored (do not use it)\n \"code\": \"str\" (string) the code derived from the seed\n}\n\nExamples:\n> neurai-cli repairsilentpaymentidentity \n",
179
+ "replaysnapshot": "replaysnapshot \"asset_name\" snapshot_height ( \"expected_snapshot_hash\" )\n\nRebuilds the holders of an asset at a height from the blocks and their undo data, without using any snapshot,\nand returns the snapshot hash they give (NIP-048). A node that did not capture the snapshot can so check a\nplan's snapshot_hash. It reads every block from asset activation to the height: it is slow, and a pruned node\ncannot do it.\n\nArguments:\n1. \"asset_name\" (string, required) The asset\n2. snapshot_height (number, required) The height to rebuild\n3. \"expected_snapshot_hash\" (string, optional) A snapshot_hash to compare with, for instance from a plan\n\nResult:\n{\n \"asset_name\": \"name\",\n \"height\": n,\n \"block_hash\": \"hash\",\n \"snapshot_hash\": \"hex\", (string) as in getsnapshot and getdistributionplan\n \"holders\": n,\n \"scanned_blocks\": n,\n \"matches_stored\": true|false|null, (null: this node holds no snapshot at that height)\n \"matches_expected\": true|false|null (null: no expected hash given)\n}\n\nExamples:\n> neurai-cli replaysnapshot \"TRONCO\" 12345\n",
180
+ "requestsnapshot": "requestsnapshot \"asset_name\" block_height\n\nSchedules a snapshot of the specified asset at the specified block height. The node captures it while it\nconnects that block, so at most -maxsnapshotrequests different assets are accepted at one 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> neurai-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:19001/\n",
181
+ "rescanblockchain": "rescanblockchain (\"start_height\") (\"stop_height\")\n\nRescan the local blockchain for wallet related transactions.\n\nArguments:\n1. \"start_height\" (numeric, optional) block height where the rescan should start\n2. \"stop_height\" (numeric, optional) the last block height that should be scanned\n\nResult:\n{\n \"start_height\" (numeric) The block height where the rescan has started. If omitted, rescan started from the genesis block.\n \"stop_height\" (numeric) The height of the last rescanned block. If omitted, rescan stopped at the chain tip.\n}\n\nExamples:\n> neurai-cli rescanblockchain 100000 120000\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"rescanblockchain\", \"params\": [100000, 120000] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
182
+ "rescansilentpayments": "rescansilentpayments ( start_height )\n\nScans the active chain again for silent payments, from start_height to the tip.\nReads blocks and their undo data; -txindex is not needed. Scanning stops, without\nadvancing past it, at the first block whose data is not available (pruned node).\n\nArguments:\n1. start_height (numeric, optional, default=0)\n\nResult:\n{\n \"start_height\": n, \"scanned_height\": n, \"found\": n\n}\n\nExamples:\n> neurai-cli rescansilentpayments 100\n",
183
+ "savemempool": "savemempool\n\nDumps the mempool to disk.\n\nExamples:\n> neurai-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:19001/\n",
184
+ "sealdepin": "sealdepin \"asset_name\" (\"change_address\")\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\n\nSeal a DEPIN asset (owner only). WARNING: THIS IS IRREVERSIBLE.\nA sealed asset is soulbound like a closed one, but no transfer state operation\n(open, close or seal) is ever accepted for it again. Only valid from the closed\nstate: an open asset must be closed first.\n\nArguments:\n1. \"asset_name\" (string, required) The DEPIN asset name (must start with &)\n2. \"change_address\" (string, optional) The change address for the owner token\n\nResult:\n\"txid\" (string) The transaction id\n\nExamples:\n> neurai-cli sealdepin \"&FRANCE\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"sealdepin\", \"params\": [\"&FRANCE\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
185
+ "selfrevokedepin": "selfrevokedepin \"asset_name\"\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\n\nSelf-revoke a DEPIN asset held in this wallet\n\nBuilds a self-transfer: one UTXO of the asset is spent and returned to its own\n\naddress together with the revocation marker. Spending that UTXO is the proof of\n\nownership, so the address needs no XNA of its own; the fee is paid by the wallet.\n\nThe asset will be marked as invalid but will remain in the address\n\nThis action can only be undone by the asset owner (unfreezedepin). If the\n\nrevoked address also held the owner token, the owner must first move the owner\n\ntoken to another address and then unfreeze; this wallet refuses to auto-pick\n\nthat address for exactly that reason.\n\nArguments:\n1. \"asset_name\" (string, required) The DEPIN asset name (must start with &)\n\nResult:\n\"txid\" (string) The transaction id\n\nExamples:\n> neurai-cli selfrevokedepin \"&FRANCE\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"selfrevokedepin\", \"params\": [\"&FRANCE\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
186
+ "sendfrom": "sendfrom \"fromaccount\" \"toaddress\" amount ( minconf \"comment\" \"comment_to\" )\n\nDEPRECATED (use sendtoaddress). Sent an amount from an account to a neurai address.\n\nArguments:\n1. \"fromaccount\" (string, required) The name of the account to send funds from. May be the default account using \"\".\n Specifying an account does not influence coin selection, but it does associate the newly created\n transaction with the account, so the account's balance computation and transaction history can reflect\n the spend.\n2. \"toaddress\" (string, required) The neurai address to send funds to.\n3. amount (numeric or string, required) The amount in XNA (transaction fee is added on top).\n4. minconf (numeric, optional, default=1) Only use funds with at least this many confirmations.\n5. \"comment\" (string, optional) A comment used to store what the transaction is for. \n This is not part of the transaction, just kept in your wallet.\n6. \"comment_to\" (string, optional) An optional comment to store the name of the person or organization \n to which you're sending the transaction. This is not part of the transaction, \n it is just kept in your wallet.\n\nResult:\n\"txid\" (string) The transaction id.\n\nExamples:\n\nSend 0.01 XNA from the default account to the address, must have at least 1 confirmation\n> neurai-cli sendfrom \"\" \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" 0.01\n\nSend 0.01 from the tabby account to the given address, funds must have at least 6 confirmations\n> neurai-cli sendfrom \"tabby\" \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" 0.01 6 \"donation\" \"seans outpost\"\n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"sendfrom\", \"params\": [\"tabby\", \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\", 0.01, 6, \"donation\", \"seans outpost\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
187
+ "sendfromaddress": "sendfromaddress \"from_address\" \"to_address\" amount ( \"comment\" \"comment_to\" subtractfeefromamount conf_target \"estimate_mode\")\n\nSend an amount from a specific address to a given address. All xna change will get sent back to the from_address\n\nArguments:\n1. \"from_address\" (string, required) The neurai address to send from.\n2. \"to_address\" (string, required) The neurai address to send to.\n3. \"amount\" (numeric or string, required) The amount in XNA to send. eg 0.1\n4. \"comment\" (string, optional) A comment used to store what the transaction is for. \n This is not part of the transaction, just kept in your wallet.\n5. \"comment_to\" (string, optional) A comment to store the name of the person or organization \n to which you're sending the transaction. This is not part of the \n transaction, just kept in your wallet.\n6. subtractfeefromamount (boolean, optional, default=false) The fee will be deducted from the amount being sent.\n The recipient will receive less neurais than you enter in the amount field.\n7. conf_target (numeric, optional) Confirmation target (in blocks)\n8. \"estimate_mode\" (string, optional, default=UNSET) The fee estimate mode, must be one of:\n \"UNSET\"\n \"ECONOMICAL\"\n \"CONSERVATIVE\"\n\nResult:\n\"txid\" (string) The transaction id.\n\nExamples:\n> neurai-cli sendfromaddress \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" 0.1\n> neurai-cli sendfromaddress \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" 0.1 \"donation\" \"seans outpost\"\n> neurai-cli sendfromaddress \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" 0.1 \"\" \"\" true\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"sendfromaddress\", \"params\": [\"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\", 0.1, \"donation\", \"seans outpost\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
188
+ "sendmany": "sendmany \"fromaccount\" {\"address\":amount,...} ( minconf \"comment\" [\"address\",...] conf_target \"estimate_mode\")\n\nSend multiple times. Amounts are double-precision floating point numbers.\n\nArguments:\n1. \"fromaccount\" (string, required) DEPRECATED. The account to send the funds from. Should be \"\" for the default account\n2. \"amounts\" (string, required) A json object with addresses and amounts\n {\n \"address\":amount (numeric or string) The neurai address is the key, the numeric amount (can be string) in XNA is the value\n ,...\n }\n3. minconf (numeric, optional, default=1) Only use the balance confirmed at least this many times.\n4. \"comment\" (string, optional) A comment\n5. subtractfeefrom (array, optional) A json array with addresses.\n The fee will be equally deducted from the amount of each selected address.\n Those recipients will receive less neurais than you enter in their corresponding amount field.\n If no addresses are specified here, the sender pays the fee.\n [\n \"address\" (string) Subtract fee from this address\n ,...\n ]\n6. conf_target (numeric, optional) Confirmation target (in blocks)\n7. \"estimate_mode\" (string, optional, default=UNSET) The fee estimate mode, must be one of:\n \"UNSET\"\n \"ECONOMICAL\"\n \"CONSERVATIVE\"\n\nResult:\n\"txid\" (string) The transaction id for the send. Only 1 transaction is created regardless of \n the number of addresses.\n\nExamples:\n\nSend two amounts to two different addresses:\n> neurai-cli sendmany \"\" \"{\\\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\\\":0.01,\\\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\\\":0.02}\"\n\nSend two amounts to two different addresses setting the confirmation and comment:\n> neurai-cli sendmany \"\" \"{\\\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\\\":0.01,\\\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\\\":0.02}\" 6 \"testing\"\n\nSend two amounts to two different addresses, subtract fee from amount:\n> neurai-cli sendmany \"\" \"{\\\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\\\":0.01,\\\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\\\":0.02}\" 1 \"\" \"[\\\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\\\",\\\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\\\"]\"\n\nAs a json rpc call\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"sendmany\", \"params\": [\"\", \"{\\\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\\\":0.01,\\\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\\\":0.02}\", 6, \"testing\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
189
+ "sendmessage": "sendmessage \"channel_name\" \"ipfs_hash\" (expire_time)\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0005.mediawiki\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> neurai-cli sendmessage \"ASSET_NAME!\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\" 15863654\n> neurai-cli sendmessage \"ASSET_NAME!\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\" 15863654\n",
190
+ "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> neurai-cli createrawtransaction \"[{\\\"txid\\\" : \\\"mytxid\\\",\\\"vout\\\":0}]\" \"{\\\"myaddress\\\":0.01}\"\nSign the transaction, and get back the hex\n> neurai-cli signrawtransaction \"myhex\"\n\nSend the transaction (signed hex)\n> neurai-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:19001/\n",
191
+ "sendsilentpayments": "sendsilentpayments [{\"code\":\"str\",\"amount\":x},...] ( conf_target \"estimate_mode\" )\n\nPays one or more silent payment codes from strict ECDSA (v3) coins only.\nSeveral payments to the same code are allowed (up to 16 per code); the change\nreturns to a new internal v3 address.\n\nArguments:\n1. payments (array, required) [{\"code\": payment code, \"amount\": amount in XNA}, ...]\n2. conf_target (numeric, optional) Confirmation target (in blocks)\n3. \"estimate_mode\" (string, optional, default=UNSET) UNSET, ECONOMICAL or CONSERVATIVE\n\nResult:\n{\n \"txid\": \"hex\",\n \"fee\": x.xxx,\n \"payments\": [{\"code\": \"str\", \"amount\": x.xxx, \"vout\": n, \"k\": n}, ...]\n}\n\nExamples:\n> neurai-cli sendsilentpayments '[{\"code\":\"tnsp1q...\",\"amount\":1.5}]'\n",
192
+ "sendtoaddress": "sendtoaddress \"address\" amount ( \"comment\" \"comment_to\" subtractfeefromamount conf_target \"estimate_mode\")\n\nSend an amount to a given address.\n\nArguments:\n1. \"address\" (string, required) The neurai address to send to.\n2. \"amount\" (numeric or string, required) The amount in XNA to send. eg 0.1\n3. \"comment\" (string, optional) A comment used to store what the transaction is for. \n This is not part of the transaction, just kept in your wallet.\n4. \"comment_to\" (string, optional) A comment to store the name of the person or organization \n to which you're sending the transaction. This is not part of the \n transaction, just kept in your wallet.\n5. subtractfeefromamount (boolean, optional, default=false) The fee will be deducted from the amount being sent.\n The recipient will receive less neurais than you enter in the amount field.\n6. conf_target (numeric, optional) Confirmation target (in blocks)\n7. \"estimate_mode\" (string, optional, default=UNSET) The fee estimate mode, must be one of:\n \"UNSET\"\n \"ECONOMICAL\"\n \"CONSERVATIVE\"\n\nResult:\n\"txid\" (string) The transaction id.\n\nExamples:\n> neurai-cli sendtoaddress \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" 0.1\n> neurai-cli sendtoaddress \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" 0.1 \"donation\" \"seans outpost\"\n> neurai-cli sendtoaddress \"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\" 0.1 \"\" \"\" true\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"sendtoaddress\", \"params\": [\"1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd\", 0.1, \"donation\", \"seans outpost\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
193
+ "setaccount": "setaccount \"address\" \"account\"\n\nDEPRECATED. Sets the account associated with the given address.\n\nArguments:\n1. \"address\" (string, required) The neurai address to be associated with an account.\n2. \"account\" (string, required) The account to assign the address to.\n\nExamples:\n> neurai-cli setaccount \"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\" \"tabby\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"setaccount\", \"params\": [\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\", \"tabby\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
194
+ "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> neurai-cli setban \"192.168.0.6\" \"add\" 86400\n> neurai-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:19001/\n",
195
+ "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> neurai-cli setgenerate true 1\n\nCheck the setting\n> neurai-cli getgenerate \n\nTurn off generation\n> neurai-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:19001/\n",
196
+ "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",
197
+ "settxfee": "settxfee amount\n\nSet the transaction fee per kB. Overwrites the paytxfee parameter.\n\nArguments:\n1. amount (numeric or string, required) The transaction fee in XNA/kB\n\nResult\ntrue|false (boolean) Returns true if successful\n\nExamples:\n> neurai-cli settxfee 0.00001\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"settxfee\", \"params\": [0.00001] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
198
+ "signmessage": "signmessage \"address\" \"message\"\n\nSign a message with the private key of an address\n\nArguments:\n1. \"address\" (string, required) The neurai address to use for the private key.\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\nUnlock the wallet for 30 seconds\n> neurai-cli walletpassphrase \"mypassphrase\" 30\n\nCreate the signature\n> neurai-cli signmessage \"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\" \"my message\"\n\nVerify the signature\n> neurai-cli verifymessage \"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\" \"signature\" \"my message\"\n\nAs json rpc\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"signmessage\", \"params\": [\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\", \"my message\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
199
+ "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> neurai-cli signmessagewithprivkey \"privkey\" \"my message\"\n\nVerify the signature\n> neurai-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:19001/\n",
200
+ "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> neurai-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:19001/\n",
201
+ "stop": "stop\n\nStop Neurai server.",
202
+ "submitblock": "submitblock \"hexdata\" ( \"dummy\" )\n\nAttempts to submit new block to network.\nSee https://en.bitcoin.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> neurai-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:19001/\n",
203
+ "subscribetochannel": "subscribetochannel \n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0005.mediawiki\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> neurai-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:19001/\n",
204
+ "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> neurai-cli createrawtransaction \"[{\\\"txid\\\" : \\\"mytxid\\\",\\\"vout\\\":0}]\" \"{\\\"myaddress\\\":0.01}\"\nSign the transaction, and get back the hex\n> neurai-cli signrawtransaction \"myhex\"\n\nTest acceptance of the transaction (signed hex)\n> neurai-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:19001/\n",
205
+ "transfer": "transfer \"asset_name\" qty \"to_address\" \"message\" expire_time \"change_address\" \"asset_change_address\"\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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 XNA 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> neurai-cli transfer \"ASSET_NAME\" 20 \"address\" \"\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\" 15863654\n> neurai-cli transfer \"ASSET_NAME\" 20 \"address\" \"\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\" 15863654\n",
206
+ "transferfromaddress": "transferfromaddress \"asset_name\" \"from_address\" qty \"to_address\" \"message\" expire_time \"xna_change_address\" \"asset_change_address\"\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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. \"xna_change_address\" (string, optional, default = \"\") the transaction XNA 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> neurai-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:19001/\n",
207
+ "transferfromaddresses": "transferfromaddresses \"asset_name\" [\"from_addresses\"] qty \"to_address\" \"message\" expire_time \"xna_change_address\" \"asset_change_address\"\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\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. \"xna_change_address\" (string, optional, default = \"\") the transactions XNA 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> neurai-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:19001/\n",
208
+ "transferqualifier": "transferqualifier \"qualifier_name\" qty \"to_address\" (\"change_address\") (\"message\") (expire_time) \n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-cli transferqualifier \"#QUALIFIER\" 20 \"to_address\" \"\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\" 15863654\n> neurai-cli transferqualifier \"#QUALIFIER\" 20 \"to_address\" \"change_address\" \"QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E\" 15863654\n",
209
+ "unfreezeaddress": "unfreezeaddress asset_name address (change_address) (asset_data)\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n> neurai-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:19001/\n",
210
+ "unfreezedepin": "unfreezedepin \"asset_name\" \"address\" (\"change_address\")\n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0002.mediawiki\n\nUnfreeze a DEPIN asset for a specific address (owner only)\n\nThe asset will be marked as valid again\n\nRequires the owner token (&ASSET!) in the wallet\n\nArguments:\n1. \"asset_name\" (string, required) The DEPIN asset name (must start with &)\n2. \"address\" (string, required) The address to unfreeze\n3. \"change_address\" (string, optional) The change address for the owner token\n\nResult:\n\"txid\" (string) The transaction id\n\nExamples:\n> neurai-cli unfreezedepin \"&FRANCE\" \"address\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"unfreezedepin\", \"params\": [\"&FRANCE\" \"address\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
211
+ "unfreezerestrictedasset": "unfreezerestrictedasset asset_name (change_address) (asset_data)\n\nTHIS COMMAND IS NOT YET ACTIVE! Restricted assets must be active\n\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> neurai-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:19001/\n> neurai-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:19001/\n",
212
+ "unsubscribefromchannel": "unsubscribefromchannel \n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0005.mediawiki\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> neurai-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:19001/\n",
213
+ "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> neurai-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:19001/\n",
214
+ "validateaddress": "validateaddress \"address\"\n\nReturn information about the given neurai address.\n\nArguments:\n1. \"address\" (string, required) The neurai 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 neurai 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 \"isauthscript\" : true, (boolean, optional) Only for AuthScript witness addresses (witness v1, v2 or v3)\n \"witness_version\" : n, (numeric, optional) AuthScript witness version: 1 (generic AuthScript, nc1p.../tnc1p...), 2 (strict post-quantum, pq1z.../tpq1z...) or 3 (strict ECDSA, nq1r.../tnq1r...)\n \"family\" : \"family\", (string, optional) AuthScript family: \"authscript\" (v1; the commitment does not reveal the authentication type), \"pq\" (v2) or \"ecdsa\" (v3)\n \"commitment\" : \"hex\", (string, optional) Strict addresses (v2/v3) only: the 32-byte AuthScript commitment as a uint256 hex string (byte-reversed with respect to the scriptPubKey)\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\" : \"<hash160>\" (string, optional) The Hash160 of the HD master pubkey\n}\n\nExamples:\n> neurai-cli validateaddress \"NLhdtwjgrcEkRqjJZkRY4sjhkJ93EytLeE\"\n> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", \"method\": \"validateaddress\", \"params\": [\"NLhdtwjgrcEkRqjJZkRY4sjhkJ93EytLeE\"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/\n",
215
+ "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> neurai-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:19001/\n",
216
+ "verifydistribution": "verifydistribution {plan} [batches] ( {options} )\n\nClassifies the batches of a distribution plan from the operator's batch records (NIP-048): every signed\nversion of each batch. Nothing is broadcast, rebuilt or spent.\n confirmed a version that pays the batch has the required confirmations\n confirming a version is in the active chain with fewer confirmations; its recipients stay reserved\n pending a version is in the mempool, or is signed and all its inputs are unspent; rebroadcast it\n conflicting every version has an input spent by another transaction (needs -txindex to tell apart\n from a confirmed version whose outputs were all spent)\n unknown no recorded version, or the node cannot tell; review before building anything\n\nArguments:\n1. plan (object, required) The plan parameters\n {\n \"asset_name\": \"name\", (string, required) as in getdistributionplan\n \"snapshot_height\": n, (number, required)\n \"distribution_asset_name\": \"name\", (string, required)\n \"amount\": x.xxx, (numeric, required) gross_distribution_amount\n \"exception_addresses\": \"a,b\", (string, optional)\n \"remainder\": \"payer\"|\"largest\", (string, optional, default \"payer\")\n \"allow_legacy_snapshot\": bool, (boolean, optional, default false)\n \"announcement\": {\"txid\": \"hex\", \"block_hash\": \"hex\"} (object, optional) as in getdistributionplan\n \"qualifier\": \"#TAG\", (string, optional) as in getdistributionplan\n \"weights\": {\"address\": n, ...}, (object, optional) as in getdistributionplan\n \"report\": {\"txid\": \"hex\", \"block_hash\": \"hex\"} (object, optional) as in getdistributionplan\n \"allocation\": \"holdings\"|\"equal\", (string, optional, default \"holdings\") as in getdistributionplan\n \"min_held\": x.xxx, (numeric, optional) as in getdistributionplan\n }\n2. batches (array, required) The operator's batch records\n [\n {\n \"index\": n, (number, required) batch index\n \"versions\": [ (array, required) every signed version, as hex or as\n \"hex\" | { \"hex\": \"hex\", \"block_hash\": \"hash\" }, ... an object with the block it was seen in\n ]\n }, ...\n ]\n3. options (object, optional)\n {\n \"max_outputs\": n, (number, default 500) batch size used to build the batches\n \"confirmations\": n (number, default 6) confirmations a batch needs to count as paid\n }\n\nResult:\n{\n \"plan_hash\": \"hex\",\n \"complete\": true|false, (boolean) every batch is confirmed\n \"paid\": x.xxx, (numeric) amount in confirmed batches\n \"reserved\": x.xxx, (numeric) amount in confirming and pending batches\n \"unpaid\": x.xxx, (numeric) amount in conflicting and unknown batches\n \"batches\": [\n {\n \"index\": n,\n \"batch_id\": \"hex\",\n \"state\": \"confirmed\"|\"confirming\"|\"pending\"|\"conflicting\"|\"unknown\",\n \"txid\": \"hex\", (string, optional) the version that decides the state\n \"confirmations\": n, (number, optional)\n \"amount\": x.xxx,\n \"issues\": [ \"text\", ... ]\n }, ...\n ]\n}\n\nExamples:\n> neurai-cli verifydistribution '{\"asset_name\":\"TRONCO\",\"snapshot_height\":12345,\"distribution_asset_name\":\"XNA\",\"amount\":1000}' '[{\"index\":0,\"versions\":[\"0200...\"]}]'\n",
217
+ "verifymessage": "verifymessage \"address\" \"signature\" \"message\"\n\nVerify a signed message\n\nArguments:\n1. \"address\" (string, required) The neurai 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> neurai-cli walletpassphrase \"mypassphrase\" 30\n\nCreate the signature\n> neurai-cli signmessage \"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\" \"my message\"\n\nVerify the signature\n> neurai-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:19001/\n",
218
+ "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",
219
+ "viewallmessagechannels": "viewallmessagechannels \n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0005.mediawiki\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> neurai-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:19001/\n",
220
+ "viewallmessages": "viewallmessages \n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0005.mediawiki\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> neurai-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:19001/\n",
221
+ "viewmyrestrictedaddresses": "viewmyrestrictedaddresses \n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0005.mediawiki\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> neurai-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:19001/\n",
222
+ "viewmytaggedaddresses": "viewmytaggedaddresses \n\nTHIS COMMAND IS NOT YET ACTIVE!\nhttps://github.com/NeuraiProject/rips/blob/master/rip-0005.mediawiki\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> neurai-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:19001/\n",
223
+ "depinreceiveseq": "depinreceiveseq request\n\nDePIN RPC protocol 5. Exactly one request object, passed as [request] or {\"request\": request}. Legacy positional arguments and protocols 2/3/4 are rejected.\nRequest fields: protocol, network (genesis), pool_pubkey, pool_root, instance_id, membership_revision, request_id, timestamp_ms, token, address, challenge, args, signature. Every private operation signs its method, target identity, revision and arguments. Public authentication fields are empty. Replies sign the exact request hash and served membership metadata. Verify before decoding/decrypting. See DEPIN_EXAMPLES.md for method-specific args and neurai-depin-msg integration.",
224
+ "depinsignrpc": "depinsignrpc \"method\" request\nLocal unlocked-wallet helper: sign a complete RPC 5 request. Returns request, preimage and request_hash. Never expose this wallet helper through a public HTTP/WSS proxy."
200
225
  }