@neuraiproject/neurai-rpc 0.5.0 → 0.6.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/dist/index.cjs CHANGED
@@ -41,7 +41,7 @@ var methods = {
41
41
 
42
42
  Examples:
43
43
  > neurai-cli abandontransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
44
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abandontransaction", "params": ["1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
44
+ > 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/
45
45
  **/
46
46
  abandontransaction: "abandontransaction",
47
47
  /** abortrescan
@@ -57,7 +57,7 @@ var methods = {
57
57
  > neurai-cli abortrescan
58
58
 
59
59
  As a JSON-RPC call
60
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abortrescan", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
60
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abortrescan", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
61
61
  **/
62
62
  abortrescan: "abortrescan",
63
63
  /** addmultisigaddress nrequired ["key",...] ( "account" )
@@ -84,7 +84,7 @@ var methods = {
84
84
  > neurai-cli addmultisigaddress 2 "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"
85
85
 
86
86
  As json rpc call
87
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addmultisigaddress", "params": [2, "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
87
+ > 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/
88
88
  **/
89
89
  addmultisigaddress: "addmultisigaddress",
90
90
  /** addnode "node" "add|remove|onetry"
@@ -99,8 +99,8 @@ var methods = {
99
99
  2. "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
100
100
 
101
101
  Examples:
102
- > neurai-cli addnode "192.168.0.6:8767" "onetry"
103
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addnode", "params": ["192.168.0.6:8767", "onetry"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
102
+ > neurai-cli addnode "192.168.0.6:19000" "onetry"
103
+ > 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/
104
104
  **/
105
105
  addnode: "addnode",
106
106
  /** addtagtoaddress tag_name to_address (change_address) (asset_data)
@@ -121,9 +121,9 @@ var methods = {
121
121
 
122
122
  Examples:
123
123
  > neurai-cli addtagtoaddress "#TAG" "to_address"
124
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addtagtoaddress", "params": ["#TAG" "to_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
124
+ > 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/
125
125
  > neurai-cli addtagtoaddress "#TAG" "to_address" "change_address"
126
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addtagtoaddress", "params": ["#TAG" "to_address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
126
+ > 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/
127
127
  **/
128
128
  addtagtoaddress: "addtagtoaddress",
129
129
  /** addwitnessaddress "address"
@@ -148,7 +148,7 @@ var methods = {
148
148
 
149
149
  Examples:
150
150
  > neurai-cli backupwallet "backup.dat"
151
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "backupwallet", "params": ["backup.dat"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
151
+ > 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/
152
152
  **/
153
153
  backupwallet: "backupwallet",
154
154
  /** bumpfee has been deprecated on the XNA Wallet.
@@ -169,7 +169,7 @@ var methods = {
169
169
 
170
170
  Examples:
171
171
  > neurai-cli cancelsnapshotrequest "TRONCO" 12345
172
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "cancelsnapshotrequest", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
172
+ > 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/
173
173
  **/
174
174
  cancelsnapshotrequest: "cancelsnapshotrequest",
175
175
  /** checkaddressrestriction address restricted_name
@@ -188,7 +188,7 @@ var methods = {
188
188
 
189
189
  Examples:
190
190
  > neurai-cli checkaddressrestriction "address" "restricted_name"
191
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkaddressrestriction", "params": ["address" "restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
191
+ > 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/
192
192
  **/
193
193
  checkaddressrestriction: "checkaddressrestriction",
194
194
  /** checkaddresstag address tag_name
@@ -207,7 +207,7 @@ var methods = {
207
207
 
208
208
  Examples:
209
209
  > neurai-cli checkaddresstag "address" "tag_name"
210
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkaddresstag", "params": ["address" "tag_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
210
+ > 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/
211
211
  **/
212
212
  checkaddresstag: "checkaddresstag",
213
213
  /** checkdepinvalidity "asset_name" "address"
@@ -231,7 +231,7 @@ var methods = {
231
231
 
232
232
  Examples:
233
233
  > neurai-cli checkdepinvalidity "&FRANCE" "address"
234
- > 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:8766/
234
+ > 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/
235
235
  **/
236
236
  checkdepinvalidity: "checkdepinvalidity",
237
237
  /** checkglobalrestriction restricted_name
@@ -249,7 +249,7 @@ var methods = {
249
249
 
250
250
  Examples:
251
251
  > neurai-cli checkglobalrestriction "restricted_name"
252
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkglobalrestriction", "params": ["restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
252
+ > 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/
253
253
  **/
254
254
  checkglobalrestriction: "checkglobalrestriction",
255
255
  /** clearbanned
@@ -258,7 +258,7 @@ var methods = {
258
258
 
259
259
  Examples:
260
260
  > neurai-cli clearbanned
261
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
261
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
262
262
  **/
263
263
  clearbanned: "clearbanned",
264
264
  /** clearmempool
@@ -267,7 +267,7 @@ var methods = {
267
267
 
268
268
  Examples:
269
269
  > neurai-cli clearmempool
270
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
270
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
271
271
  **/
272
272
  clearmempool: "clearmempool",
273
273
  /** clearmessages
@@ -283,7 +283,7 @@ var methods = {
283
283
 
284
284
  Examples:
285
285
  > neurai-cli clearmessages
286
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
286
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
287
287
  **/
288
288
  clearmessages: "clearmessages",
289
289
  /** combinerawtransaction ["hexstring",...]
@@ -330,7 +330,7 @@ var methods = {
330
330
  > neurai-cli createmultisig 2 "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"
331
331
 
332
332
  As a json rpc call
333
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createmultisig", "params": [2, "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
333
+ > 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/
334
334
  **/
335
335
  createmultisig: "createmultisig",
336
336
  /** createrawtransaction [{"txid":"id","vout":n},...] {"address":(amount or object),"data":"hex",...}
@@ -595,7 +595,7 @@ var methods = {
595
595
  > neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0},{\"txid\":\"myasset\",\"vout\":0}]" "{\"address\":{\"transferwithmessage\":{\"MYASSET\":50,\"message\":\"hash\",\"expire_time\": utc_time}}}"
596
596
  > neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0},{\"txid\":\"myownership\",\"vout\":0}]" "{\"issuer_address\":{\"reissue\":{\"asset_name\":\"MYASSET\",\"asset_quantity\":2000000}}}"
597
597
  > neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0}]" "[{\"address\":500},{\"address\":{\"issue\":{\"asset_name\":\"MYASSET\",\"asset_quantity\":1000000,\"units\":1,\"reissuable\":0,\"has_ipfs\":0}}}]"
598
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createrawtransaction", "params": ["[{\"txid\":\"mycoin\",\"vout\":0}]", "{\"data\":\"00010203\"}"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
598
+ > 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/
599
599
  **/
600
600
  createrawtransaction: "createrawtransaction",
601
601
  /** decodeblock "blockhex"
@@ -624,7 +624,7 @@ var methods = {
624
624
 
625
625
  Examples:
626
626
  > neurai-cli decodeblock "xxxx"
627
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decodeblock", "params": ["xxxx"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
627
+ > 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/
628
628
  **/
629
629
  decodeblock: "decodeblock",
630
630
  /** decoderawtransaction "hexstring"
@@ -681,7 +681,7 @@ var methods = {
681
681
 
682
682
  Examples:
683
683
  > neurai-cli decoderawtransaction "hexstring"
684
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decoderawtransaction", "params": ["hexstring"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
684
+ > 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/
685
685
  **/
686
686
  decoderawtransaction: "decoderawtransaction",
687
687
  /** decodescript "hexstring"
@@ -719,38 +719,39 @@ var methods = {
719
719
 
720
720
  Examples:
721
721
  > neurai-cli decodescript "hexstring"
722
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decodescript", "params": ["hexstring"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
722
+ > 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/
723
723
  **/
724
724
  decodescript: "decodescript",
725
- /** depinclearmsg ( "all" | hours ) ( "scope" )
725
+ /** depinchallenge "token" "address" timestamp "signature" ( "type" )
726
726
 
727
- Remove messages from DePIN messaging pool
727
+ Issues a single-use challenge for authenticated DePIN RPCs. The request must be signed over:
728
+ "DEPIN-REQ|<type>|<token>|<address>|<timestamp>", where timestamp is Unix time in milliseconds and type is "receive" (default) or "admin".
728
729
 
729
- Arguments:
730
- 1. mode (string or numeric, optional) Cleanup mode:
731
- - omitted: Remove only expired messages (default)
732
- - "all": Remove ALL messages from pool
733
- - <hours>: Remove messages older than specified hours (numeric)
734
- 2. scope (string, optional) Section token. When given, only messages of that
735
- section's subtree are removed; parents and siblings are untouched.
736
- Omitted or "" keeps the historical pool-wide behavior.
730
+ The encrypted result contains challenge, expires_in and type. Decrypt it with depindecrypt, then sign the challenge with depinsignchallenge or signmessage.
731
+
732
+ Examples:
733
+ > neurai-cli depinchallenge "&TOKEN/SECTION" "NXholder..." 1730000000000 "<signature>"
734
+ **/
735
+ depinchallenge: "depinchallenge",
736
+ /** depinclearmsg "scope" "address" "challenge" "signature" ( "all" | hours )
737
+
738
+ Removes 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.
737
739
 
738
740
  Result:
739
741
  {
740
- "removed": n, (numeric) Number of messages removed
741
- "remaining": n (numeric) Number of messages remaining
742
+ "removed": n,
743
+ "remaining": n
742
744
  }
743
-
744
- Examples:
745
- > neurai-cli depinclearmsg
746
- > neurai-cli depinclearmsg "all"
747
- > neurai-cli depinclearmsg 7
748
- > neurai-cli depinclearmsg "all" "&TOKEN/GENERAL"
749
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinclearmsg", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
750
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinclearmsg", "params": ["all"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
751
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinclearmsg", "params": [7] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
752
745
  **/
753
746
  depinclearmsg: "depinclearmsg",
747
+ /** depindecrypt "address" "encrypted"
748
+
749
+ Decrypts an encrypted DePIN reply with a wallet key. Verify the reply's poolsig before using this method; depindecrypt does not verify it.
750
+
751
+ Result:
752
+ The decrypted JSON value, or a string when the plaintext is not JSON.
753
+ **/
754
+ depindecrypt: "depindecrypt",
754
755
  /** depingetancestorrecipients "token" ( max_results ) ( "stop_at" )
755
756
 
756
757
  List the active holders of a DEPIN branch: the deduplicated union of the
@@ -806,158 +807,22 @@ var methods = {
806
807
  Examples:
807
808
  > neurai-cli depingetancestorrecipients "&TEST/APPLE/GOLDEN"
808
809
  > neurai-cli depingetancestorrecipients "&TEST/APPLE/GOLDEN" 50 "&TEST/APPLE"
809
- > 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:8766/
810
+ > 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/
810
811
  **/
811
812
  depingetancestorrecipients: "depingetancestorrecipients",
812
- /** depingetmsg "token" ("ip[:port]"|"fromaddress") ("fromaddress")
813
-
814
- Retrieve and decrypt DePIN messages for your addresses
815
-
816
- Arguments:
817
- 1. "token" (string, required) Token name
818
- 2. "ip[:port]" OR "fromaddress" (string, optional)
819
- - IP address with optional port (e.g., "192.168.1.31" or "192.168.1.31:19002")
820
- - OR Neurai address for local query with specific address
821
- - Omit for local query with all addresses
822
- 3. "fromaddress" (string, optional) Specific address to decrypt with (only if arg 2 is an IP)
813
+ /** depingetmsg "token" ( "fromaddress" )
823
814
 
824
- Result:
825
- [
826
- {
827
- "recipient": "address", (string) Recipient address (your address)
828
- "sender": "address", (string) Sender address
829
- "message": "text", (string) Decrypted message
830
- "timestamp": n, (numeric) Unix timestamp
831
- "date": "YYYY-MM-DD HH:MM:SS", (string) Formatted date
832
- "expires": "YYYY-MM-DD HH:MM:SS" (string) Expiration date
833
- },
834
- ...
835
- ]
836
-
837
- Examples:
838
- > neurai-cli depingetmsg "MYTOKEN"
839
- > neurai-cli depingetmsg "MYTOKEN" "NXyouraddress..."
840
- > neurai-cli depingetmsg "MYTOKEN" "192.168.1.78"
841
- > neurai-cli depingetmsg "MYTOKEN" "192.168.1.78:19002" "NXyouraddress..."
842
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetmsg", "params": ["MYTOKEN"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
815
+ Uses 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.
843
816
  **/
844
817
  depingetmsg: "depingetmsg",
845
818
  /** depingetmsginfo
846
819
 
847
- Returns information about the DePIN messaging system
848
-
849
- Result:
850
- {
851
- "enabled": true|false, (boolean) Whether DePIN messaging is enabled
852
- "token": "name", (string) Active token name
853
- "port": n, (numeric) Listening port
854
- "cipher": "name", (string) Encryption cipher used by the pool
855
- "maxrecipients": n, (numeric) Maximum recipients per message
856
- "maxmessagesize": n, (numeric) Maximum message size in bytes
857
- "messageexpiryhours": n, (numeric) Message expiry time in hours
858
- "maxpoolsizemb": n, (numeric) Maximum pool size in MB
859
- "messages": n, (numeric) Number of messages in mempool
860
- "memoryusage": n, (numeric) Memory usage in bytes
861
- "memoryusagemb": n, (numeric) Memory usage in MB
862
- "oldestmessage": "time", (string) Timestamp of oldest message
863
- "newestmessage": "time" (string) Timestamp of newest message
864
- }
865
-
866
- Examples:
867
- > neurai-cli depingetmsginfo
868
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetmsginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
820
+ Returns 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.
869
821
  **/
870
822
  depingetmsginfo: "depingetmsginfo",
871
- /** depingetpoolcontent ( verbose sender_address recipient_address start_time end_time limit offset )
872
-
873
- Inspect the contents of the DePIN message pool.
874
-
875
- Arguments:
876
- 1. verbose (boolean, "all", or "raw", optional, default=false) Show detailed message structure. Use "all" for all messages, "raw" to show encrypted hex data
877
- 2. sender_address (string, optional) Filter by sender address
878
- 3. recipient_address (string, optional) Filter by recipient address
879
- 4. start_time (numeric, optional) Filter messages after timestamp
880
- 5. end_time (numeric, optional) Filter messages before timestamp
881
- 6. limit (numeric, optional, default=100) Maximum messages to return
882
- 7. offset (numeric, optional, default=0) Skip first N messages
883
-
884
- Result (verbose=false):
885
- [
886
- {
887
- "hash": "hex",
888
- "sender": "address",
889
- "message_type": "private|group",
890
- "timestamp": n,
891
- "date": "YYYY-MM-DD HH:MM:SS",
892
- "expires": "YYYY-MM-DD HH:MM:SS",
893
- "recipients": n,
894
- "size": n
895
- },
896
- ...
897
- ]
898
-
899
- Result (verbose=true):
900
- [
901
- {
902
- "hash": "hex",
903
- "sender": "address",
904
- "message_type": "private|group",
905
- "timestamp": n,
906
- "date": "YYYY-MM-DD HH:MM:SS",
907
- "expires": "YYYY-MM-DD HH:MM:SS",
908
- "recipients": [
909
- {
910
- "address": "address",
911
- "encrypted_size": n
912
- },
913
- ...
914
- ],
915
- "signature_size": n,
916
- "total_encrypted_size": n,
917
- "total_size": n
918
- },
919
- ...
920
- ]
823
+ /** depinlistsections ( "address" "scope" "challenge" "signature" )
921
824
 
922
- Examples:
923
- > neurai-cli depingetpoolcontent
924
- > neurai-cli depingetpoolcontent true
925
- > neurai-cli depingetpoolcontent all
926
- > neurai-cli depingetpoolcontent raw
927
- > neurai-cli depingetpoolcontent false "NXXaddress..."
928
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetpoolcontent", "params": [true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
929
- **/
930
- depingetpoolcontent: "depingetpoolcontent",
931
- /** depinlistsections ( "address" )
932
-
933
- List the sections (sub-assets) of the pool's active token, for UI tabs.
934
- The list is served from a per-tip snapshot; section names are public on
935
- chain, so no address is needed to see them. Message counters, however,
936
- are only exposed for sections the given address has access to -- counts
937
- of an unreadable section would leak metadata. For the same reason the
938
- address mode is only served over node RPC: the DePIN port is
939
- unauthenticated and answers the bare form (names only) there.
940
-
941
- Arguments:
942
- 1. "address" (string, optional) Report this address's access per section
943
-
944
- Result:
945
- [
946
- {
947
- "name": "&TOKEN/GENERAL", (string) Full section token
948
- "label": "GENERAL", (string) Name relative to the pool root ("" = root)
949
- "depth": n, (numeric) Levels below the pool root (0 = root)
950
- "access": true|false, (boolean, only with address) Active inherited access
951
- "messages": n (numeric, only with address and access) Messages in
952
- this section's subtree
953
- },
954
- ...
955
- ]
956
-
957
- Examples:
958
- > neurai-cli depinlistsections
959
- > neurai-cli depinlistsections "NXyouraddress..."
960
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinlistsections", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
825
+ With 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.
961
826
  **/
962
827
  depinlistsections: "depinlistsections",
963
828
  /** depinmcpstatus
@@ -985,28 +850,19 @@ var methods = {
985
850
 
986
851
  Examples:
987
852
  > neurai-cli depinmcpstatus
988
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinmcpstatus", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
853
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinmcpstatus", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
989
854
  **/
990
855
  depinmcpstatus: "depinmcpstatus",
991
856
  /** depinpoolpkey
992
857
 
993
- Returns the public key of the DePIN pool address from the internal wallet.
994
- This command only works if the wallet is loaded and unlocked at node startup.
995
-
996
- Derived path:
997
- Mainnet: m/44'/0'/200'/0/0
998
- Testnet: m/44'/0'/200'/1/0
858
+ Wallet-only operator helper that derives the dedicated DePIN pool public key from the loaded service wallet.
999
859
 
1000
860
  Result:
1001
861
  {
1002
- "pubkey": "hex", (string) Public key in hex format
1003
- "address": "address", (string) Corresponding Neurai address
1004
- "path": "derivation_path" (string) BIP44 derivation path used
862
+ "pubkey": "hex",
863
+ "address": "address",
864
+ "path": "derivation_path"
1005
865
  }
1006
-
1007
- Examples:
1008
- > neurai-cli depinpoolpkey
1009
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinpoolpkey", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1010
866
  **/
1011
867
  depinpoolpkey: "depinpoolpkey",
1012
868
  /** depinpoolstats
@@ -1036,112 +892,45 @@ var methods = {
1036
892
 
1037
893
  Examples:
1038
894
  > neurai-cli depinpoolstats
1039
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinpoolstats", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
895
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinpoolstats", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
1040
896
  **/
1041
897
  depinpoolstats: "depinpoolstats",
1042
- /** depinreceivemsg "token" "address" (timestamp) ("after_hash") (limit)
1043
-
1044
- Retrieve DePIN messages from the pool with optional pagination
1045
-
1046
- This endpoint returns the messages. If the server has a DePIN pool key
1047
- and the requester's address has a revealed public key, the response will be
1048
- fully encrypted using the privacy layer.
1049
-
1050
- Arguments:
1051
- 1. "token" (string, required) Token name
1052
- 2. "address" (string, required) Neurai address (used as access selector and encryption target)
1053
- 3. timestamp (numeric, optional) Unix time. Return only messages with timestamp >= (timestamp-1 if timestamp>0)
1054
- 4. "after_hash" (string, optional) Hash of last received message for pagination. Empty "" starts from beginning
1055
- 5. limit (numeric, optional) Maximum messages to return. 0 or omitted = no limit (return all)
1056
-
1057
- Result (without pagination - backward compatible):
1058
- [
1059
- {
1060
- "hash": "...", (string) Message hash
1061
- "token": "...", (string) Token
1062
- "sender": "...", (string) Sender address
1063
- "timestamp": n, (numeric) Unix timestamp
1064
- "message_type": "private|group", (string) Message type (private=1-to-1, group=broadcast)
1065
- "encrypted_payload_hex": "...", (string) Encrypted payload (hex)
1066
- "signature_hex": "..." (string) Message signature (hex)
1067
- },
1068
- ...
1069
- ]
1070
-
1071
- Result (with pagination - when limit > 0):
1072
- {
1073
- "messages": [...], (array) Array of message objects (same structure as above)
1074
- "has_more": true|false (boolean) Whether more messages are available
1075
- }
1076
-
1077
- Note: Both message types are filtered by recipientKeys membership; the sender always sees their own messages.
898
+ /** depinreceivemsg "token" "address" "challenge" "signature" ( timestamp "after_hash" limit )
1078
899
 
1079
- Result (privacy layer active):
1080
- {
1081
- "encrypted": "hex_blob" (string) Full JSON response encrypted with ECIES
1082
- }
1083
-
1084
- Examples:
1085
- > neurai-cli depinreceivemsg "TOKEN" "NeuraiAddress"
1086
- > neurai-cli depinreceivemsg "TOKEN" "NeuraiAddress" 1730000000
1087
- > neurai-cli depinreceivemsg "TOKEN" "NeuraiAddress" 0 "" 5
1088
- > neurai-cli depinreceivemsg "TOKEN" "NeuraiAddress" 0 "abc123..." 5
1089
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinreceivemsg", "params": ["TOKEN", "NeuraiAddress", 0, "", 5] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
900
+ Returns 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.
1090
901
  **/
1091
902
  depinreceivemsg: "depinreceivemsg",
1092
- /** depinsendmsg "token" "ip[:port]" "message" "fromaddress" (port)
903
+ /** depinsendmsg "token" "message" "fromaddress"
1093
904
 
1094
- Send an encrypted message through a remote DePIN gateway (challenge/response)
905
+ Uses 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.
906
+ **/
907
+ depinsendmsg: "depinsendmsg",
908
+ /** depinsignchallenge "address" "token" "challenge" ( "type" )
1095
909
 
1096
- Arguments:
1097
- 1. "token" (string, required) Token name
1098
- 2. "ip[:port]" (string, required) Target node address (optional :port to contact remote gateway)
1099
- 3. "message" (string, required) Message to send (max 1KB)
1100
- 4. "fromaddress" (string, required) Wallet address used for signing/encryption
1101
- 5. port (numeric, optional) Destination message port (defaults to 19002). Only used when specified after fromaddress
910
+ Wallet helper that signs "DEPIN-GET|<token>|<address>|<challenge>" for receive access or "DEPIN-CLEAR|..." for admin access.
1102
911
 
1103
912
  Result:
1104
913
  {
1105
- "result": "success", (string) Status
1106
- "hash": "hash", (string) Message hash
1107
- "recipients": n, (numeric) Number of recipients
1108
- "timestamp": n (numeric) Message timestamp
914
+ "signature": "base64",
915
+ "preimage": "text"
1109
916
  }
1110
-
1111
- Examples:
1112
- > neurai-cli depinsendmsg "MYTOKEN" "192.168.1.100" "Hello team!" "NXsender..."
1113
- > neurai-cli depinsendmsg "MYTOKEN" "192.168.1.100:19005" "Hello team!" "NXsender..." 19005
1114
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinsendmsg", "params": ["MYTOKEN", "192.168.1.100", "Hello team!", "NXsender..."] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1115
917
  **/
1116
- depinsendmsg: "depinsendmsg",
1117
- /** depinsubmitmsg "hexmessage"|{"sender":"...","encrypted":"..."}
918
+ depinsignchallenge: "depinsignchallenge",
919
+ /** depinsignrequest "address" "token" ( "type" )
1118
920
 
1119
- Submit a pre-encrypted and signed DePIN message to the pool
1120
-
1121
- This is the secure protocol where the client prepares the complete message
1122
- (encryption + signature) and the server only validates and stores it.
1123
-
1124
- This command also supports an optional privacy layer where the entire message
1125
- is wrapped in a second layer of encryption for the server's pool key.
1126
-
1127
- Arguments:
1128
- 1. "hexmessage" (string) Hex-encoded serialized CDepinMessage
1129
- OR
1130
- { (json object) Wrapped encrypted message
1131
- "sender": "...", (string, required) Sender address
1132
- "encrypted": "..." (string, required) Hex-encoded ECIES wrapper
1133
- }
921
+ Wallet helper that signs a depinchallenge request over the current Unix time in milliseconds.
1134
922
 
1135
923
  Result:
1136
924
  {
1137
- "result": "success", (string) Status
1138
- "hash": "hash", (string) Message hash
1139
- "timestamp": n (numeric) Unix timestamp
925
+ "timestamp": n,
926
+ "signature": "base64",
927
+ "preimage": "DEPIN-REQ|..."
1140
928
  }
929
+ **/
930
+ depinsignrequest: "depinsignrequest",
931
+ /** depinsubmitmsg {"sender":"...","encrypted":"..."}
1141
932
 
1142
- Examples:
1143
- > neurai-cli depinsubmitmsg "0a3f2e..."
1144
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinsubmitmsg", "params": [{"sender":"NX...","encrypted":"..."}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
933
+ Submits 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.
1145
934
  **/
1146
935
  depinsubmitmsg: "depinsubmitmsg",
1147
936
  /** disconnectnode "[address]" [nodeid]
@@ -1157,10 +946,10 @@ var methods = {
1157
946
  2. "nodeid" (number, optional) The node ID (see getpeerinfo for node IDs)
1158
947
 
1159
948
  Examples:
1160
- > neurai-cli disconnectnode "192.168.0.6:8767"
949
+ > neurai-cli disconnectnode "192.168.0.6:19000"
1161
950
  > neurai-cli disconnectnode "" 1
1162
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "disconnectnode", "params": ["192.168.0.6:8767"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1163
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "disconnectnode", "params": ["", 1] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
951
+ > 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/
952
+ > 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/
1164
953
  **/
1165
954
  disconnectnode: "disconnectnode",
1166
955
  /** distributereward "asset_name" snapshot_height "distribution_asset_name" gross_distribution_amount ( "exception_addresses" ) ("change_address") ("dry_run")
@@ -1196,8 +985,8 @@ var methods = {
1196
985
  Examples:
1197
986
  > neurai-cli distributereward "TRONCO" 12345 "XNA" 1000
1198
987
  > neurai-cli distributereward "PHATSTACKS" 12345 "DIVIDENDS" 1000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"
1199
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "distributereward", "params": ["TRONCO" 34987 "DIVIDENDS" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1200
- > 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:8766/
988
+ > 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/
989
+ > 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/
1201
990
  **/
1202
991
  distributereward: "distributereward",
1203
992
  /** dumpextkeypq
@@ -1210,7 +999,7 @@ var methods = {
1210
999
 
1211
1000
  Examples:
1212
1001
  > neurai-cli dumpextkeypq
1213
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpextkeypq", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1002
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpextkeypq", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
1214
1003
  **/
1215
1004
  dumpextkeypq: "dumpextkeypq",
1216
1005
  /** dumpprivkey "address"
@@ -1227,7 +1016,7 @@ var methods = {
1227
1016
  Examples:
1228
1017
  > neurai-cli dumpprivkey "myaddress"
1229
1018
  > neurai-cli importprivkey "mykey"
1230
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpprivkey", "params": ["myaddress"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1019
+ > 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/
1231
1020
  **/
1232
1021
  dumpprivkey: "dumpprivkey",
1233
1022
  /** dumpwallet "filename"
@@ -1244,7 +1033,7 @@ var methods = {
1244
1033
 
1245
1034
  Examples:
1246
1035
  > neurai-cli dumpwallet "test"
1247
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpwallet", "params": ["test"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1036
+ > 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/
1248
1037
  **/
1249
1038
  dumpwallet: "dumpwallet",
1250
1039
  /** encryptwallet "passphrase"
@@ -1274,7 +1063,7 @@ var methods = {
1274
1063
  > neurai-cli walletlock
1275
1064
 
1276
1065
  As a json rpc call
1277
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "encryptwallet", "params": ["my pass phrase"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1066
+ > 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/
1278
1067
  **/
1279
1068
  encryptwallet: "encryptwallet",
1280
1069
  /** estimatefee nblocks
@@ -1348,7 +1137,7 @@ var methods = {
1348
1137
 
1349
1138
  Examples:
1350
1139
  > neurai-cli exportxpqpub 20
1351
- > 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:8766/
1140
+ > 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/
1352
1141
  **/
1353
1142
  exportxpqpub: "exportxpqpub",
1354
1143
  /** freezeaddress asset_name address (change_address) (asset_data)
@@ -1369,9 +1158,9 @@ var methods = {
1369
1158
 
1370
1159
  Examples:
1371
1160
  > neurai-cli freezeaddress "$RESTRICTED_ASSET" "address"
1372
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezeaddress", "params": ["$RESTRICTED_ASSET" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1161
+ > 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/
1373
1162
  > neurai-cli freezeaddress "$RESTRICTED_ASSET" "address" "change_address"
1374
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezeaddress", "params": ["$RESTRICTED_ASSET" "address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1163
+ > 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/
1375
1164
  **/
1376
1165
  freezeaddress: "freezeaddress",
1377
1166
  /** freezedepin "asset_name" "address" ("change_address")
@@ -1395,7 +1184,7 @@ var methods = {
1395
1184
 
1396
1185
  Examples:
1397
1186
  > neurai-cli freezedepin "&FRANCE" "address"
1398
- > 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:8766/
1187
+ > 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/
1399
1188
  **/
1400
1189
  freezedepin: "freezedepin",
1401
1190
  /** freezerestrictedasset asset_name (change_address) (asset_data)
@@ -1415,9 +1204,9 @@ var methods = {
1415
1204
 
1416
1205
  Examples:
1417
1206
  > neurai-cli freezerestrictedasset "$RESTRICTED_ASSET"
1418
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezerestrictedasset", "params": ["$RESTRICTED_ASSET"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1207
+ > 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/
1419
1208
  > neurai-cli freezerestrictedasset "$RESTRICTED_ASSET" "change_address"
1420
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezerestrictedasset", "params": ["$RESTRICTED_ASSET" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1209
+ > 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/
1421
1210
  **/
1422
1211
  freezerestrictedasset: "freezerestrictedasset",
1423
1212
  /** fundrawtransaction "hexstring" ( options )
@@ -1526,7 +1315,7 @@ var methods = {
1526
1315
 
1527
1316
  Examples:
1528
1317
  > neurai-cli getaccount "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX"
1529
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaccount", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1318
+ > 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/
1530
1319
  **/
1531
1320
  getaccount: "getaccount",
1532
1321
  /** getaccountaddress "account"
@@ -1543,7 +1332,7 @@ var methods = {
1543
1332
  > neurai-cli getaccountaddress
1544
1333
  > neurai-cli getaccountaddress ""
1545
1334
  > neurai-cli getaccountaddress "myaccount"
1546
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaccountaddress", "params": ["myaccount"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1335
+ > 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/
1547
1336
  **/
1548
1337
  getaccountaddress: "getaccountaddress",
1549
1338
  /** getaddednodeinfo ( "node" )
@@ -1561,7 +1350,7 @@ var methods = {
1561
1350
  "connected" : true|false, (boolean) If connected
1562
1351
  "addresses" : [ (list of objects) Only when connected = true
1563
1352
  {
1564
- "address" : "192.168.0.201:8767", (string) The neurai server IP and port we're connected to
1353
+ "address" : "192.168.0.201:19000", (string) The neurai server IP and port we're connected to
1565
1354
  "connected" : "outbound" (string) connection, inbound or outbound
1566
1355
  }
1567
1356
  ]
@@ -1571,7 +1360,7 @@ var methods = {
1571
1360
 
1572
1361
  Examples:
1573
1362
  > neurai-cli getaddednodeinfo "192.168.0.201"
1574
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddednodeinfo", "params": ["192.168.0.201"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1363
+ > 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/
1575
1364
  **/
1576
1365
  getaddednodeinfo: "getaddednodeinfo",
1577
1366
  /** getaddressbalance
@@ -1606,8 +1395,8 @@ var methods = {
1606
1395
  Examples:
1607
1396
  > neurai-cli getaddressbalance '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
1608
1397
  > neurai-cli getaddressbalance '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
1609
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressbalance", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1610
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressbalance", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1398
+ > 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/
1399
+ > 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/
1611
1400
  **/
1612
1401
  getaddressbalance: "getaddressbalance",
1613
1402
  /** getaddressdeltas
@@ -1641,9 +1430,9 @@ var methods = {
1641
1430
 
1642
1431
  Examples:
1643
1432
  > neurai-cli getaddressdeltas '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
1644
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressdeltas", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1433
+ > 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/
1645
1434
  > neurai-cli getaddressdeltas '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}'
1646
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressdeltas", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1435
+ > 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/
1647
1436
  **/
1648
1437
  getaddressdeltas: "getaddressdeltas",
1649
1438
  /** getaddressesbyaccount "account"
@@ -1661,7 +1450,7 @@ var methods = {
1661
1450
 
1662
1451
  Examples:
1663
1452
  > neurai-cli getaddressesbyaccount "tabby"
1664
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressesbyaccount", "params": ["tabby"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1453
+ > 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/
1665
1454
  **/
1666
1455
  getaddressesbyaccount: "getaddressesbyaccount",
1667
1456
  /** getaddressmempool
@@ -1694,9 +1483,9 @@ var methods = {
1694
1483
 
1695
1484
  Examples:
1696
1485
  > neurai-cli getaddressmempool '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
1697
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressmempool", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1486
+ > 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/
1698
1487
  > neurai-cli getaddressmempool '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
1699
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressmempool", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1488
+ > 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/
1700
1489
  **/
1701
1490
  getaddressmempool: "getaddressmempool",
1702
1491
  /** getaddresstxids
@@ -1723,9 +1512,9 @@ var methods = {
1723
1512
 
1724
1513
  Examples:
1725
1514
  > neurai-cli getaddresstxids '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
1726
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddresstxids", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1515
+ > 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/
1727
1516
  > neurai-cli getaddresstxids '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
1728
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddresstxids", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1517
+ > 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/
1729
1518
  **/
1730
1519
  getaddresstxids: "getaddresstxids",
1731
1520
  /** getaddressutxos
@@ -1758,9 +1547,9 @@ var methods = {
1758
1547
 
1759
1548
  Examples:
1760
1549
  > neurai-cli getaddressutxos '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
1761
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressutxos", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1550
+ > 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/
1762
1551
  > neurai-cli getaddressutxos '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}'
1763
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressutxos", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1552
+ > 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/
1764
1553
  **/
1765
1554
  getaddressutxos: "getaddressutxos",
1766
1555
  /** getassetdata "asset_name"
@@ -1787,7 +1576,7 @@ var methods = {
1787
1576
 
1788
1577
  Examples:
1789
1578
  > neurai-cli getassetdata "ASSET_NAME"
1790
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getassetdata", "params": ["ASSET_NAME"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1579
+ > 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/
1791
1580
  **/
1792
1581
  getassetdata: "getassetdata",
1793
1582
  /** getbalance ( "account" minconf include_watchonly )
@@ -1825,7 +1614,7 @@ var methods = {
1825
1614
  > neurai-cli getbalance "*" 6
1826
1615
 
1827
1616
  As a json rpc call
1828
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbalance", "params": ["*", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1617
+ > 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/
1829
1618
  **/
1830
1619
  getbalance: "getbalance",
1831
1620
  /** getbestblockhash
@@ -1837,7 +1626,7 @@ var methods = {
1837
1626
 
1838
1627
  Examples:
1839
1628
  > neurai-cli getbestblockhash
1840
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbestblockhash", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1629
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbestblockhash", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
1841
1630
  **/
1842
1631
  getbestblockhash: "getbestblockhash",
1843
1632
  /** getblock "blockhash" ( verbosity )
@@ -1889,7 +1678,7 @@ var methods = {
1889
1678
 
1890
1679
  Examples:
1891
1680
  > neurai-cli getblock "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
1892
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblock", "params": ["00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1681
+ > 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/
1893
1682
  **/
1894
1683
  getblock: "getblock",
1895
1684
  /** getblockchaininfo
@@ -1940,7 +1729,7 @@ var methods = {
1940
1729
 
1941
1730
  Examples:
1942
1731
  > neurai-cli getblockchaininfo
1943
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockchaininfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1732
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockchaininfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
1944
1733
  **/
1945
1734
  getblockchaininfo: "getblockchaininfo",
1946
1735
  /** getblockcount
@@ -1952,7 +1741,7 @@ var methods = {
1952
1741
 
1953
1742
  Examples:
1954
1743
  > neurai-cli getblockcount
1955
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockcount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1744
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockcount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
1956
1745
  **/
1957
1746
  getblockcount: "getblockcount",
1958
1747
  /** getblockhash height
@@ -1967,7 +1756,7 @@ var methods = {
1967
1756
 
1968
1757
  Examples:
1969
1758
  > neurai-cli getblockhash 1000
1970
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockhash", "params": [1000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1759
+ > 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/
1971
1760
  **/
1972
1761
  getblockhash: "getblockhash",
1973
1762
  /** getblockhashes timestamp
@@ -1996,7 +1785,7 @@ var methods = {
1996
1785
 
1997
1786
  Examples:
1998
1787
  > neurai-cli getblockhashes 1231614698 1231024505
1999
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockhashes", "params": [1231614698, 1231024505] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1788
+ > 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/
2000
1789
  > neurai-cli getblockhashes 1231614698 1231024505 '{"noOrphans":false, "logicalTimes":true}'
2001
1790
  **/
2002
1791
  getblockhashes: "getblockhashes",
@@ -2032,7 +1821,7 @@ var methods = {
2032
1821
 
2033
1822
  Examples:
2034
1823
  > neurai-cli getblockheader "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
2035
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockheader", "params": ["00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1824
+ > 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/
2036
1825
  **/
2037
1826
  getblockheader: "getblockheader",
2038
1827
  /** getblocktemplate ( TemplateRequest )
@@ -2108,7 +1897,7 @@ var methods = {
2108
1897
 
2109
1898
  Examples:
2110
1899
  > neurai-cli getblocktemplate
2111
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblocktemplate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1900
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblocktemplate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2112
1901
  **/
2113
1902
  getblocktemplate: "getblocktemplate",
2114
1903
  /** getcacheinfo
@@ -2130,7 +1919,7 @@ var methods = {
2130
1919
  ]
2131
1920
 
2132
1921
  Examples:
2133
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getcacheinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1922
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getcacheinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2134
1923
  > neurai-cli getcacheinfo
2135
1924
  **/
2136
1925
  getcacheinfo: "getcacheinfo",
@@ -2161,7 +1950,7 @@ var methods = {
2161
1950
 
2162
1951
  Examples:
2163
1952
  > neurai-cli getchaintips
2164
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintips", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1953
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintips", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2165
1954
  **/
2166
1955
  getchaintips: "getchaintips",
2167
1956
  /** getchaintxstats ( nblocks blockhash )
@@ -2184,7 +1973,7 @@ var methods = {
2184
1973
 
2185
1974
  Examples:
2186
1975
  > neurai-cli getchaintxstats
2187
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintxstats", "params": [2016] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1976
+ > 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/
2188
1977
  **/
2189
1978
  getchaintxstats: "getchaintxstats",
2190
1979
  /** getconnectioncount
@@ -2196,7 +1985,7 @@ var methods = {
2196
1985
 
2197
1986
  Examples:
2198
1987
  > neurai-cli getconnectioncount
2199
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getconnectioncount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1988
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getconnectioncount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2200
1989
  **/
2201
1990
  getconnectioncount: "getconnectioncount",
2202
1991
  /** getdifficulty
@@ -2208,7 +1997,7 @@ var methods = {
2208
1997
 
2209
1998
  Examples:
2210
1999
  > neurai-cli getdifficulty
2211
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdifficulty", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2000
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdifficulty", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2212
2001
  **/
2213
2002
  getdifficulty: "getdifficulty",
2214
2003
  /** getdistributestatus "asset_name" snapshot_height "distribution_asset_name" gross_distribution_amount ( "exception_addresses" )
@@ -2225,8 +2014,8 @@ var methods = {
2225
2014
  Examples:
2226
2015
  > neurai-cli getdistributestatus "TRONCO" 12345 "XNA" 1000
2227
2016
  > neurai-cli getdistributestatus "PHATSTACKS" 12345 "DIVIDENDS" 1000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"
2228
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdistributestatus", "params": ["TRONCO" 34987 "DIVIDENDS" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2229
- > 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:8766/
2017
+ > 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/
2018
+ > 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/
2230
2019
  **/
2231
2020
  getdistributestatus: "getdistributestatus",
2232
2021
  /** getgenerate
@@ -2240,9 +2029,30 @@ var methods = {
2240
2029
 
2241
2030
  Examples:
2242
2031
  > neurai-cli getgenerate
2243
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getgenerate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2032
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getgenerate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2244
2033
  **/
2245
2034
  getgenerate: "getgenerate",
2035
+ /** getibdstatus
2036
+
2037
+ Returns header synchronization timing collected since process start.
2038
+
2039
+ Result:
2040
+ {
2041
+ "blocks": n,
2042
+ "headers": n,
2043
+ "header_batches": n,
2044
+ "headers_in_batches": n,
2045
+ "unsolicited_header_responses": n,
2046
+ "average_request_to_response_us": n,
2047
+ "average_validation_us": n,
2048
+ "peers": [...]
2049
+ }
2050
+
2051
+ Examples:
2052
+ > neurai-cli getibdstatus
2053
+ > curl --user myusername --data-binary '{"jsonrpc":"2.0","id":1,"method":"getibdstatus","params":[]}' -H 'content-type: application/json' http://127.0.0.1:19001/
2054
+ **/
2055
+ getibdstatus: "getibdstatus",
2246
2056
  /** getinfo
2247
2057
 
2248
2058
  DEPRECATED. Returns an object containing various state info.
@@ -2270,7 +2080,7 @@ var methods = {
2270
2080
 
2271
2081
  Examples:
2272
2082
  > neurai-cli getinfo
2273
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2083
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2274
2084
  **/
2275
2085
  getinfo: "getinfo",
2276
2086
  /** getkawpowhash "header_hash" "mix_hash" nonce, height, "target"
@@ -2288,7 +2098,7 @@ var methods = {
2288
2098
 
2289
2099
  Examples:
2290
2100
  > neurai-cli getkawpowhash "header_hash" "mix_hash" "0x100000" 2456
2291
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getkawpowhash", "params": ["header_hash" "mix_hash" "0x100000" 2456] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2101
+ > 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/
2292
2102
  **/
2293
2103
  getkawpowhash: "getkawpowhash",
2294
2104
  /** getmasterkeyinfo
@@ -2308,7 +2118,7 @@ var methods = {
2308
2118
 
2309
2119
  Examples:
2310
2120
  > neurai-cli getmasterkeyinfo
2311
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmasterkeyinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2121
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmasterkeyinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2312
2122
  **/
2313
2123
  getmasterkeyinfo: "getmasterkeyinfo",
2314
2124
  /** getmemoryinfo ("mode")
@@ -2335,7 +2145,7 @@ var methods = {
2335
2145
 
2336
2146
  Examples:
2337
2147
  > neurai-cli getmemoryinfo
2338
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmemoryinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2148
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmemoryinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2339
2149
  **/
2340
2150
  getmemoryinfo: "getmemoryinfo",
2341
2151
  /** getmempoolancestors txid (verbose)
@@ -2375,7 +2185,7 @@ var methods = {
2375
2185
 
2376
2186
  Examples:
2377
2187
  > neurai-cli getmempoolancestors "mytxid"
2378
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolancestors", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2188
+ > 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/
2379
2189
  **/
2380
2190
  getmempoolancestors: "getmempoolancestors",
2381
2191
  /** getmempooldescendants txid (verbose)
@@ -2415,7 +2225,7 @@ var methods = {
2415
2225
 
2416
2226
  Examples:
2417
2227
  > neurai-cli getmempooldescendants "mytxid"
2418
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempooldescendants", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2228
+ > 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/
2419
2229
  **/
2420
2230
  getmempooldescendants: "getmempooldescendants",
2421
2231
  /** getmempoolentry txid
@@ -2446,7 +2256,7 @@ var methods = {
2446
2256
 
2447
2257
  Examples:
2448
2258
  > neurai-cli getmempoolentry "mytxid"
2449
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolentry", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2259
+ > 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/
2450
2260
  **/
2451
2261
  getmempoolentry: "getmempoolentry",
2452
2262
  /** getmempoolinfo
@@ -2464,7 +2274,7 @@ var methods = {
2464
2274
 
2465
2275
  Examples:
2466
2276
  > neurai-cli getmempoolinfo
2467
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2277
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2468
2278
  **/
2469
2279
  getmempoolinfo: "getmempoolinfo",
2470
2280
  /** getmininginfo
@@ -2486,7 +2296,7 @@ var methods = {
2486
2296
 
2487
2297
  Examples:
2488
2298
  > neurai-cli getmininginfo
2489
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmininginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2299
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmininginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2490
2300
  **/
2491
2301
  getmininginfo: "getmininginfo",
2492
2302
  /** getmywords ( "account" )
@@ -2500,7 +2310,7 @@ var methods = {
2500
2310
 
2501
2311
  Examples:
2502
2312
  > neurai-cli getmywords
2503
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmywords", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2313
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmywords", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2504
2314
  **/
2505
2315
  getmywords: "getmywords",
2506
2316
  /** getnettotals
@@ -2526,7 +2336,7 @@ var methods = {
2526
2336
 
2527
2337
  Examples:
2528
2338
  > neurai-cli getnettotals
2529
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnettotals", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2339
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnettotals", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2530
2340
  **/
2531
2341
  getnettotals: "getnettotals",
2532
2342
  /** getnetworkhashps ( nblocks height )
@@ -2544,7 +2354,7 @@ var methods = {
2544
2354
 
2545
2355
  Examples:
2546
2356
  > neurai-cli getnetworkhashps
2547
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkhashps", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2357
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkhashps", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2548
2358
  **/
2549
2359
  getnetworkhashps: "getnetworkhashps",
2550
2360
  /** getnetworkinfo
@@ -2585,7 +2395,7 @@ var methods = {
2585
2395
 
2586
2396
  Examples:
2587
2397
  > neurai-cli getnetworkinfo
2588
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2398
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2589
2399
  **/
2590
2400
  getnetworkinfo: "getnetworkinfo",
2591
2401
  /** getnewaddress ( "account" )
@@ -2602,7 +2412,7 @@ var methods = {
2602
2412
 
2603
2413
  Examples:
2604
2414
  > neurai-cli getnewaddress
2605
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2415
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2606
2416
  **/
2607
2417
  getnewaddress: "getnewaddress",
2608
2418
  /** getpeerinfo
@@ -2654,7 +2464,7 @@ var methods = {
2654
2464
 
2655
2465
  Examples:
2656
2466
  > neurai-cli getpeerinfo
2657
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpeerinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2467
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpeerinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2658
2468
  **/
2659
2469
  getpeerinfo: "getpeerinfo",
2660
2470
  /** getpubkey "address"
@@ -2675,7 +2485,7 @@ var methods = {
2675
2485
 
2676
2486
  Examples:
2677
2487
  > neurai-cli getpubkey "NXa1b2c3d4e5f6..."
2678
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpubkey", "params": ["NXa1b2c3d4e5f6..."] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2488
+ > 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/
2679
2489
  **/
2680
2490
  getpubkey: "getpubkey",
2681
2491
  /** getrawchangeaddress
@@ -2688,7 +2498,7 @@ var methods = {
2688
2498
 
2689
2499
  Examples:
2690
2500
  > neurai-cli getrawchangeaddress
2691
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawchangeaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2501
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawchangeaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2692
2502
  **/
2693
2503
  getrawchangeaddress: "getrawchangeaddress",
2694
2504
  /** getrawmempool ( verbose )
@@ -2729,7 +2539,7 @@ var methods = {
2729
2539
 
2730
2540
  Examples:
2731
2541
  > neurai-cli getrawmempool true
2732
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawmempool", "params": [true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2542
+ > 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/
2733
2543
  **/
2734
2544
  getrawmempool: "getrawmempool",
2735
2545
  /** getrawtransaction "txid" ( verbose )
@@ -2798,7 +2608,7 @@ var methods = {
2798
2608
  Examples:
2799
2609
  > neurai-cli getrawtransaction "mytxid"
2800
2610
  > neurai-cli getrawtransaction "mytxid" true
2801
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawtransaction", "params": ["mytxid", true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2611
+ > 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/
2802
2612
  **/
2803
2613
  getrawtransaction: "getrawtransaction",
2804
2614
  /** getreceivedbyaccount "account" ( minconf )
@@ -2824,7 +2634,7 @@ var methods = {
2824
2634
  > neurai-cli getreceivedbyaccount "tabby" 6
2825
2635
 
2826
2636
  As a json rpc call
2827
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getreceivedbyaccount", "params": ["tabby", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2637
+ > 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/
2828
2638
  **/
2829
2639
  getreceivedbyaccount: "getreceivedbyaccount",
2830
2640
  /** getreceivedbyaddress "address" ( minconf )
@@ -2850,7 +2660,7 @@ var methods = {
2850
2660
  > neurai-cli getreceivedbyaddress "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" 6
2851
2661
 
2852
2662
  As a json rpc call
2853
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getreceivedbyaddress", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2663
+ > 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/
2854
2664
  **/
2855
2665
  getreceivedbyaddress: "getreceivedbyaddress",
2856
2666
  /** getrpcinfo
@@ -2867,7 +2677,7 @@ var methods = {
2867
2677
  ],
2868
2678
  }
2869
2679
  > neurai-cli getrpcinfo
2870
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrpcinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2680
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrpcinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2871
2681
  **/
2872
2682
  getrpcinfo: "getrpcinfo",
2873
2683
  /** getsnapshot "asset_name" block_height
@@ -2893,7 +2703,7 @@ var methods = {
2893
2703
  }
2894
2704
 
2895
2705
  Examples:
2896
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getsnapshot", "params": ["ASSET_NAME" 28546] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2706
+ > 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/
2897
2707
  **/
2898
2708
  getsnapshot: "getsnapshot",
2899
2709
  /** getsnapshotrequest "asset_name" block_height
@@ -2912,7 +2722,7 @@ var methods = {
2912
2722
 
2913
2723
  Examples:
2914
2724
  > neurai-cli getsnapshotrequest "TRONCO" 12345
2915
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getsnapshotrequest", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2725
+ > 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/
2916
2726
  **/
2917
2727
  getsnapshotrequest: "getsnapshotrequest",
2918
2728
  /** getspentinfo
@@ -2934,7 +2744,7 @@ var methods = {
2934
2744
 
2935
2745
  Examples:
2936
2746
  > neurai-cli getspentinfo '{"txid": "0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9", "index": 0}'
2937
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getspentinfo", "params": [{"txid": "0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9", "index": 0}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2747
+ > 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/
2938
2748
  **/
2939
2749
  getspentinfo: "getspentinfo",
2940
2750
  /** gettransaction "txid" ( include_watchonly )
@@ -2991,7 +2801,7 @@ var methods = {
2991
2801
  Examples:
2992
2802
  > neurai-cli gettransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
2993
2803
  > neurai-cli gettransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d" true
2994
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettransaction", "params": ["1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2804
+ > 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/
2995
2805
  **/
2996
2806
  gettransaction: "gettransaction",
2997
2807
  /** gettxout "txid" n ( include_mempool )
@@ -3030,7 +2840,7 @@ var methods = {
3030
2840
  > neurai-cli gettxout "txid" 1
3031
2841
 
3032
2842
  As a json rpc call
3033
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxout", "params": ["txid", 1] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2843
+ > 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/
3034
2844
  **/
3035
2845
  gettxout: "gettxout",
3036
2846
  /** gettxoutproof ["txid",...] ( blockhash )
@@ -3073,7 +2883,7 @@ var methods = {
3073
2883
 
3074
2884
  Examples:
3075
2885
  > neurai-cli gettxoutsetinfo
3076
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxoutsetinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2886
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxoutsetinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3077
2887
  **/
3078
2888
  gettxoutsetinfo: "gettxoutsetinfo",
3079
2889
  /** getunconfirmedbalance
@@ -3095,7 +2905,7 @@ var methods = {
3095
2905
 
3096
2906
  Examples:
3097
2907
  > neurai-cli getverifierstring "restricted_name"
3098
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getverifierstring", "params": ["restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2908
+ > 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/
3099
2909
  **/
3100
2910
  getverifierstring: "getverifierstring",
3101
2911
  /** getwalletinfo
@@ -3120,7 +2930,7 @@ var methods = {
3120
2930
 
3121
2931
  Examples:
3122
2932
  > neurai-cli getwalletinfo
3123
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getwalletinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2933
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getwalletinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3124
2934
  **/
3125
2935
  getwalletinfo: "getwalletinfo",
3126
2936
  /** help ( "command" )
@@ -3159,7 +2969,7 @@ var methods = {
3159
2969
  > neurai-cli importaddress "myscript" "testing" false
3160
2970
 
3161
2971
  As a JSON-RPC call
3162
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importaddress", "params": ["myscript", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2972
+ > 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/
3163
2973
  **/
3164
2974
  importaddress: "importaddress",
3165
2975
  /** importmulti "requests" ( "options" )
@@ -3225,7 +3035,7 @@ var methods = {
3225
3035
  > neurai-cli importprivkey "mykey" "" false
3226
3036
 
3227
3037
  As a JSON-RPC call
3228
- > 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:8766/
3038
+ > 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/
3229
3039
  **/
3230
3040
  importprivkey: "importprivkey",
3231
3041
  /** importprunedfunds
@@ -3257,7 +3067,7 @@ var methods = {
3257
3067
  > neurai-cli importpubkey "mypubkey" "testing" false
3258
3068
 
3259
3069
  As a JSON-RPC call
3260
- > 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:8766/
3070
+ > 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/
3261
3071
  **/
3262
3072
  importpubkey: "importpubkey",
3263
3073
  /** importwallet "filename"
@@ -3276,7 +3086,7 @@ var methods = {
3276
3086
  > neurai-cli importwallet "test"
3277
3087
 
3278
3088
  Import using the json rpc call
3279
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importwallet", "params": ["test"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3089
+ > 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/
3280
3090
  **/
3281
3091
  importwallet: "importwallet",
3282
3092
  /** issue "asset_name" qty "( to_address )" "( change_address )" ( units ) ( reissuable ) ( has_ipfs ) "( ipfs_hash )"
@@ -3419,7 +3229,7 @@ var methods = {
3419
3229
 
3420
3230
  Examples:
3421
3231
  > neurai-cli isvalidverifierstring "verifier_string"
3422
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "isvalidverifierstring", "params": ["verifier_string"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3232
+ > 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/
3423
3233
  **/
3424
3234
  isvalidverifierstring: "isvalidverifierstring",
3425
3235
  /** keypoolrefill ( newsize )
@@ -3431,7 +3241,7 @@ var methods = {
3431
3241
 
3432
3242
  Examples:
3433
3243
  > neurai-cli keypoolrefill
3434
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "keypoolrefill", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3244
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "keypoolrefill", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3435
3245
  **/
3436
3246
  keypoolrefill: "keypoolrefill",
3437
3247
  /** listaccounts ( minconf include_watchonly)
@@ -3460,7 +3270,7 @@ var methods = {
3460
3270
  > neurai-cli listaccounts 6
3461
3271
 
3462
3272
  As json rpc call
3463
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaccounts", "params": [6] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3273
+ > 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/
3464
3274
  **/
3465
3275
  listaccounts: "listaccounts",
3466
3276
  /** listaddressesbyasset "asset_name" (onlytotal) (count) (start)
@@ -3504,7 +3314,7 @@ var methods = {
3504
3314
 
3505
3315
  Examples:
3506
3316
  > neurai-cli listaddressesfortag "#TAG"
3507
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressesfortag", "params": ["#TAG"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3317
+ > 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/
3508
3318
  **/
3509
3319
  listaddressesfortag: "listaddressesfortag",
3510
3320
  /** listaddressgroupings
@@ -3528,7 +3338,7 @@ var methods = {
3528
3338
 
3529
3339
  Examples:
3530
3340
  > neurai-cli listaddressgroupings
3531
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressgroupings", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3341
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressgroupings", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3532
3342
  **/
3533
3343
  listaddressgroupings: "listaddressgroupings",
3534
3344
  /** listaddressrestrictions address
@@ -3548,7 +3358,7 @@ var methods = {
3548
3358
 
3549
3359
  Examples:
3550
3360
  > neurai-cli listaddressrestrictions "address"
3551
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressrestrictions", "params": ["address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3361
+ > 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/
3552
3362
  **/
3553
3363
  listaddressrestrictions: "listaddressrestrictions",
3554
3364
  /** listassetbalancesbyaddress "address" (onlytotal) (count) (start)
@@ -3612,7 +3422,7 @@ var methods = {
3612
3422
  }
3613
3423
 
3614
3424
  Examples:
3615
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3425
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3616
3426
  > neurai-cli listassets ASSET
3617
3427
  > neurai-cli listassets "ASSET*" true 10 20
3618
3428
  **/
@@ -3623,7 +3433,7 @@ var methods = {
3623
3433
 
3624
3434
  Examples:
3625
3435
  > neurai-cli listbanned
3626
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3436
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3627
3437
  **/
3628
3438
  listbanned: "listbanned",
3629
3439
  /** listdepinaddresses "asset_name" (count) (start)
@@ -3651,7 +3461,7 @@ var methods = {
3651
3461
  Examples:
3652
3462
  > neurai-cli listdepinaddresses "ASSET_NAME"
3653
3463
  > neurai-cli listdepinaddresses "ASSET_NAME" 10 0
3654
- > 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:8766/
3464
+ > 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/
3655
3465
  **/
3656
3466
  listdepinaddresses: "listdepinaddresses",
3657
3467
  /** listdepinholders "asset_name"
@@ -3678,7 +3488,7 @@ var methods = {
3678
3488
 
3679
3489
  Examples:
3680
3490
  > neurai-cli listdepinholders "&FRANCE"
3681
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listdepinholders", "params": ["&FRANCE"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3491
+ > 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/
3682
3492
  **/
3683
3493
  listdepinholders: "listdepinholders",
3684
3494
  /** listglobalrestrictions
@@ -3695,7 +3505,7 @@ var methods = {
3695
3505
 
3696
3506
  Examples:
3697
3507
  > neurai-cli listglobalrestrictions
3698
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listglobalrestrictions", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3508
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listglobalrestrictions", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3699
3509
  **/
3700
3510
  listglobalrestrictions: "listglobalrestrictions",
3701
3511
  /** listlockunspent
@@ -3727,7 +3537,7 @@ var methods = {
3727
3537
  > neurai-cli lockunspent true "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"
3728
3538
 
3729
3539
  As a json rpc call
3730
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listlockunspent", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3540
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listlockunspent", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3731
3541
  **/
3732
3542
  listlockunspent: "listlockunspent",
3733
3543
  /** listmyassets "( asset )" ( verbose ) ( count ) ( start ) (confs)
@@ -3769,7 +3579,7 @@ var methods = {
3769
3579
  {...}, {...}
3770
3580
 
3771
3581
  Examples:
3772
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listmyassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3582
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listmyassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3773
3583
  > neurai-cli listmyassets ASSET
3774
3584
  > neurai-cli listmyassets "ASSET*" true 10 20
3775
3585
  > neurai-cli listmyassets "ASSET*" true 10 20 1
@@ -3787,7 +3597,7 @@ var methods = {
3787
3597
 
3788
3598
  Examples:
3789
3599
  > neurai-cli listpqaddresses
3790
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listpqaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3600
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listpqaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3791
3601
  **/
3792
3602
  listpqaddresses: "listpqaddresses",
3793
3603
  /** listreceivedbyaccount ( minconf include_empty include_watchonly)
@@ -3814,7 +3624,7 @@ var methods = {
3814
3624
  Examples:
3815
3625
  > neurai-cli listreceivedbyaccount
3816
3626
  > neurai-cli listreceivedbyaccount 6 true
3817
- > 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:8766/
3627
+ > 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/
3818
3628
  **/
3819
3629
  listreceivedbyaccount: "listreceivedbyaccount",
3820
3630
  /** listreceivedbyaddress ( minconf include_empty include_watchonly)
@@ -3846,7 +3656,7 @@ var methods = {
3846
3656
  Examples:
3847
3657
  > neurai-cli listreceivedbyaddress
3848
3658
  > neurai-cli listreceivedbyaddress 6 true
3849
- > 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:8766/
3659
+ > 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/
3850
3660
  **/
3851
3661
  listreceivedbyaddress: "listreceivedbyaddress",
3852
3662
  /** listsinceblock ( "blockhash" target_confirmations include_watchonly include_removed )
@@ -3897,7 +3707,7 @@ var methods = {
3897
3707
  Examples:
3898
3708
  > neurai-cli listsinceblock
3899
3709
  > neurai-cli listsinceblock "000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad" 6
3900
- > 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:8766/
3710
+ > 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/
3901
3711
  **/
3902
3712
  listsinceblock: "listsinceblock",
3903
3713
  /** listsnapshotrequests ["asset_name" [block_height]]
@@ -3918,7 +3728,7 @@ var methods = {
3918
3728
 
3919
3729
  Examples:
3920
3730
  > neurai-cli listsnapshotrequests
3921
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listsnapshotrequests", "params": ["TRONCO" 345333] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3731
+ > 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/
3922
3732
  **/
3923
3733
  listsnapshotrequests: "listsnapshotrequests",
3924
3734
  /** listtagsforaddress address
@@ -3938,7 +3748,7 @@ var methods = {
3938
3748
 
3939
3749
  Examples:
3940
3750
  > neurai-cli listtagsforaddress "address"
3941
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listtagsforaddress", "params": ["address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3751
+ > 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/
3942
3752
  **/
3943
3753
  listtagsforaddress: "listtagsforaddress",
3944
3754
  /** listtransactions ( "account" count skip include_watchonly)
@@ -4002,7 +3812,7 @@ var methods = {
4002
3812
  > neurai-cli listtransactions "*" 20 100
4003
3813
 
4004
3814
  As a json rpc call
4005
- > 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:8766/
3815
+ > 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/
4006
3816
  **/
4007
3817
  listtransactions: "listtransactions",
4008
3818
  /** listunspent ( minconf maxconf ["addresses",...] [include_unsafe] [query_options])
@@ -4052,9 +3862,9 @@ var methods = {
4052
3862
  Examples
4053
3863
  > neurai-cli listunspent
4054
3864
  > neurai-cli listunspent 6 9999999 "[\"1PGFqEzfmQch1gKD3ra4k18PNj3tTUUSqg\",\"1LtvqCaApEdUGFkpKMM4MstjcaL4dKg8SP\"]"
4055
- > 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:8766/
3865
+ > 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/
4056
3866
  > neurai-cli listunspent 6 9999999 '[]' true '{ "minimumAmount": 0.005 }'
4057
- > 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:8766/
3867
+ > 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/
4058
3868
  **/
4059
3869
  listunspent: "listunspent",
4060
3870
  /** listwallets
@@ -4069,7 +3879,7 @@ var methods = {
4069
3879
 
4070
3880
  Examples:
4071
3881
  > neurai-cli listwallets
4072
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listwallets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3882
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listwallets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
4073
3883
  **/
4074
3884
  listwallets: "listwallets",
4075
3885
  /** lockunspent unlock ([{"txid":"txid","vout":n},...])
@@ -4111,7 +3921,7 @@ var methods = {
4111
3921
  > neurai-cli lockunspent true "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"
4112
3922
 
4113
3923
  As a json rpc call
4114
- > 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:8766/
3924
+ > 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/
4115
3925
  **/
4116
3926
  lockunspent: "lockunspent",
4117
3927
  /** move "fromaccount" "toaccount" amount ( minconf "comment" )
@@ -4137,7 +3947,7 @@ var methods = {
4137
3947
  > neurai-cli move "timotei" "akiko" 0.01 6 "happy birthday!"
4138
3948
 
4139
3949
  As a json rpc call
4140
- > 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:8766/
3950
+ > 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/
4141
3951
  **/
4142
3952
  move: "move",
4143
3953
  /** ping
@@ -4148,7 +3958,7 @@ var methods = {
4148
3958
 
4149
3959
  Examples:
4150
3960
  > neurai-cli ping
4151
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "ping", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3961
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "ping", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
4152
3962
  **/
4153
3963
  ping: "ping",
4154
3964
  /** pprpcsb "header_hash" "mix_hash" "nonce"
@@ -4164,7 +3974,7 @@ var methods = {
4164
3974
 
4165
3975
  Examples:
4166
3976
  > neurai-cli pprpcsb "header_hash" "mix_hash" 100000
4167
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "pprpcsb", "params": ["header_hash" "mix_hash" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3977
+ > 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/
4168
3978
  **/
4169
3979
  pprpcsb: "pprpcsb",
4170
3980
  /** preciousblock "blockhash"
@@ -4182,7 +3992,7 @@ var methods = {
4182
3992
 
4183
3993
  Examples:
4184
3994
  > neurai-cli preciousblock "blockhash"
4185
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "preciousblock", "params": ["blockhash"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3995
+ > 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/
4186
3996
  **/
4187
3997
  preciousblock: "preciousblock",
4188
3998
  /** prioritisetransaction <txid> <dummy value> <fee delta>
@@ -4201,7 +4011,7 @@ var methods = {
4201
4011
 
4202
4012
  Examples:
4203
4013
  > neurai-cli prioritisetransaction "txid" 0.0 10000
4204
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "prioritisetransaction", "params": ["txid", 0.0, 10000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4014
+ > 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/
4205
4015
  **/
4206
4016
  prioritisetransaction: "prioritisetransaction",
4207
4017
  /** pruneblockchain
@@ -4215,7 +4025,7 @@ var methods = {
4215
4025
 
4216
4026
  Examples:
4217
4027
  > neurai-cli pruneblockchain 1000
4218
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "pruneblockchain", "params": [1000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4028
+ > 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/
4219
4029
  **/
4220
4030
  pruneblockchain: "pruneblockchain",
4221
4031
  /** purgesnapshot "asset_name" block_height
@@ -4237,7 +4047,7 @@ var methods = {
4237
4047
 
4238
4048
  Examples:
4239
4049
  > neurai-cli purgesnapshot "ASSET_NAME" 28546
4240
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "purgesnapshot", "params": ["ASSET_NAME" 28546] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4050
+ > 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/
4241
4051
  **/
4242
4052
  purgesnapshot: "purgesnapshot",
4243
4053
  /** reissue "asset_name" qty "to_address" "change_address" ( reissuable ) ( new_units) "( new_ipfs )"
@@ -4262,7 +4072,7 @@ var methods = {
4262
4072
 
4263
4073
  Examples:
4264
4074
  > neurai-cli reissue "ASSET_NAME" 20 "address"
4265
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "reissue", "params": ["ASSET_NAME" 20 "address" "change_address" "true" 8 "Qmd286K6pohQcTKYqnS1YhWrCiS4gz7Xi34sdwMe9USZ7u"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4075
+ > 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/
4266
4076
  **/
4267
4077
  reissue: "reissue",
4268
4078
  /** reissuerestrictedasset "asset_name" qty to_address ( change_verifier ) ( "new_verifier" ) "( change_address )" ( new_units ) ( reissuable ) "( new_ipfs )"
@@ -4306,7 +4116,7 @@ var methods = {
4306
4116
  > neurai-cli removeprunedfunds "a8d0c0184dde994a09ec054286f1ce581bebf46446a512166eae7628734ea0a5"
4307
4117
 
4308
4118
  As a JSON-RPC call
4309
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removeprunedfunds", "params": ["a8d0c0184dde994a09ec054286f1ce581bebf46446a512166eae7628734ea0a5"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4119
+ > 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/
4310
4120
  **/
4311
4121
  removeprunedfunds: "removeprunedfunds",
4312
4122
  /** removetagfromaddress tag_name to_address (change_address) (asset_data)
@@ -4327,9 +4137,9 @@ var methods = {
4327
4137
 
4328
4138
  Examples:
4329
4139
  > neurai-cli removetagfromaddress "#TAG" "to_address"
4330
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removetagfromaddress", "params": ["#TAG" "to_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4140
+ > 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/
4331
4141
  > neurai-cli removetagfromaddress "#TAG" "to_address" "change_address"
4332
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removetagfromaddress", "params": ["#TAG" "to_address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4142
+ > 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/
4333
4143
  **/
4334
4144
  removetagfromaddress: "removetagfromaddress",
4335
4145
  /** requestsnapshot "asset_name" block_height
@@ -4347,7 +4157,7 @@ var methods = {
4347
4157
 
4348
4158
  Examples:
4349
4159
  > neurai-cli requestsnapshot "TRONCO" 12345
4350
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "requestsnapshot", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4160
+ > 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/
4351
4161
  **/
4352
4162
  requestsnapshot: "requestsnapshot",
4353
4163
  /** rescanblockchain ("start_height") ("stop_height")
@@ -4366,7 +4176,7 @@ var methods = {
4366
4176
 
4367
4177
  Examples:
4368
4178
  > neurai-cli rescanblockchain 100000 120000
4369
- > 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:8766/
4179
+ > 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/
4370
4180
  **/
4371
4181
  rescanblockchain: "rescanblockchain",
4372
4182
  /** savemempool
@@ -4375,7 +4185,7 @@ var methods = {
4375
4185
 
4376
4186
  Examples:
4377
4187
  > neurai-cli savemempool
4378
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "savemempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4188
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "savemempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
4379
4189
  **/
4380
4190
  savemempool: "savemempool",
4381
4191
  /** selfrevokedepin "asset_name"
@@ -4409,7 +4219,7 @@ var methods = {
4409
4219
 
4410
4220
  Examples:
4411
4221
  > neurai-cli selfrevokedepin "&FRANCE"
4412
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "selfrevokedepin", "params": ["&FRANCE"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4222
+ > 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/
4413
4223
  **/
4414
4224
  selfrevokedepin: "selfrevokedepin",
4415
4225
  /** sendfrom "fromaccount" "toaddress" amount ( minconf "comment" "comment_to" )
@@ -4442,7 +4252,7 @@ var methods = {
4442
4252
  > neurai-cli sendfrom "tabby" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.01 6 "donation" "seans outpost"
4443
4253
 
4444
4254
  As a json rpc call
4445
- > 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:8766/
4255
+ > 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/
4446
4256
  **/
4447
4257
  sendfrom: "sendfrom",
4448
4258
  /** sendfromaddress "from_address" "to_address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
@@ -4473,7 +4283,7 @@ var methods = {
4473
4283
  > neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1
4474
4284
  > neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "donation" "seans outpost"
4475
4285
  > neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "" "" true
4476
- > 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:8766/
4286
+ > 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/
4477
4287
  **/
4478
4288
  sendfromaddress: "sendfromaddress",
4479
4289
  /** sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] replaceable conf_target "estimate_mode")
@@ -4519,7 +4329,7 @@ var methods = {
4519
4329
  > neurai-cli sendmany "" "{\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\":0.01,\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\":0.02}" 1 "" "[\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\",\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\"]"
4520
4330
 
4521
4331
  As a json rpc call
4522
- > 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:8766/
4332
+ > 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/
4523
4333
  **/
4524
4334
  sendmany: "sendmany",
4525
4335
  /** sendmessage "channel_name" "ipfs_hash" (expire_time)
@@ -4566,7 +4376,7 @@ var methods = {
4566
4376
  > neurai-cli sendrawtransaction "signedhex"
4567
4377
 
4568
4378
  As a json rpc call
4569
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendrawtransaction", "params": ["signedhex"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4379
+ > 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/
4570
4380
  **/
4571
4381
  sendrawtransaction: "sendrawtransaction",
4572
4382
  /** sendtoaddress "address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
@@ -4596,7 +4406,7 @@ var methods = {
4596
4406
  > neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1
4597
4407
  > neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "donation" "seans outpost"
4598
4408
  > neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "" "" true
4599
- > 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:8766/
4409
+ > 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/
4600
4410
  **/
4601
4411
  sendtoaddress: "sendtoaddress",
4602
4412
  /** setaccount "address" "account"
@@ -4609,7 +4419,7 @@ var methods = {
4609
4419
 
4610
4420
  Examples:
4611
4421
  > neurai-cli setaccount "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "tabby"
4612
- > 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:8766/
4422
+ > 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/
4613
4423
  **/
4614
4424
  setaccount: "setaccount",
4615
4425
  /** setban "subnet" "add|remove" (bantime) (absolute)
@@ -4625,7 +4435,7 @@ var methods = {
4625
4435
  Examples:
4626
4436
  > neurai-cli setban "192.168.0.6" "add" 86400
4627
4437
  > neurai-cli setban "192.168.0.0/24" "add"
4628
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setban", "params": ["192.168.0.6", "add", 86400] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4438
+ > 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/
4629
4439
  **/
4630
4440
  setban: "setban",
4631
4441
  /** setgenerate generate ( genproclimit )
@@ -4650,7 +4460,7 @@ var methods = {
4650
4460
  > neurai-cli setgenerate false
4651
4461
 
4652
4462
  Using json rpc
4653
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setgenerate", "params": [true, 1] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4463
+ > 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/
4654
4464
  **/
4655
4465
  setgenerate: "setgenerate",
4656
4466
  /** setnetworkactive true|false
@@ -4673,7 +4483,7 @@ var methods = {
4673
4483
 
4674
4484
  Examples:
4675
4485
  > neurai-cli settxfee 0.00001
4676
- > 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:8766/
4486
+ > 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/
4677
4487
  **/
4678
4488
  settxfee: "settxfee",
4679
4489
  /** signmessage "address" "message"
@@ -4699,7 +4509,7 @@ var methods = {
4699
4509
  > neurai-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
4700
4510
 
4701
4511
  As json rpc
4702
- > 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:8766/
4512
+ > 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/
4703
4513
  **/
4704
4514
  signmessage: "signmessage",
4705
4515
  /** signmessagewithprivkey "privkey" "message"
@@ -4722,7 +4532,7 @@ var methods = {
4722
4532
  > neurai-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
4723
4533
 
4724
4534
  As json rpc
4725
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signmessagewithprivkey", "params": ["privkey", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4535
+ > 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/
4726
4536
  **/
4727
4537
  signmessagewithprivkey: "signmessagewithprivkey",
4728
4538
  /** signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )
@@ -4778,7 +4588,7 @@ var methods = {
4778
4588
 
4779
4589
  Examples:
4780
4590
  > neurai-cli signrawtransaction "myhex"
4781
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signrawtransaction", "params": ["myhex"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4591
+ > 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/
4782
4592
  **/
4783
4593
  signrawtransaction: "signrawtransaction",
4784
4594
  /** stop
@@ -4799,7 +4609,7 @@ var methods = {
4799
4609
 
4800
4610
  Examples:
4801
4611
  > neurai-cli submitblock "mydata"
4802
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "submitblock", "params": ["mydata"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4612
+ > 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/
4803
4613
  **/
4804
4614
  submitblock: "submitblock",
4805
4615
  /** subscribetochannel
@@ -4818,7 +4628,7 @@ var methods = {
4818
4628
 
4819
4629
  Examples:
4820
4630
  > neurai-cli subscribetochannel "ASSET_NAME!"
4821
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "subscribetochannel", "params": ["ASSET_NAME!"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4631
+ > 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/
4822
4632
  **/
4823
4633
  subscribetochannel: "subscribetochannel",
4824
4634
  /** testmempoolaccept ["rawtxs"] ( allowhighfees )
@@ -4855,7 +4665,7 @@ var methods = {
4855
4665
  > neurai-cli testmempoolaccept "signedhex"
4856
4666
 
4857
4667
  As a json rpc call
4858
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "testmempoolaccept", "params": [["signedhex"]] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4668
+ > 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/
4859
4669
  **/
4860
4670
  testmempoolaccept: "testmempoolaccept",
4861
4671
  /** transfer "asset_name" qty "to_address" "message" expire_time "change_address" "asset_change_address"
@@ -4906,7 +4716,7 @@ var methods = {
4906
4716
 
4907
4717
  Examples:
4908
4718
  > neurai-cli transferfromaddress "ASSET_NAME" "fromaddress" 20 "address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E", 156545652
4909
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "transferfromaddress", "params": ["ASSET_NAME" "fromaddress" 20 "address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E", 156545652] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4719
+ > 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/
4910
4720
  **/
4911
4721
  transferfromaddress: "transferfromaddress",
4912
4722
  /** transferfromaddresses "asset_name" ["from_addresses"] qty "to_address" "message" expire_time "xna_change_address" "asset_change_address"
@@ -4932,7 +4742,7 @@ var methods = {
4932
4742
 
4933
4743
  Examples:
4934
4744
  > neurai-cli transferfromaddresses "ASSET_NAME" '["fromaddress1", "fromaddress2"]' 20 "to_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 154652365
4935
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "transferfromaddresses", "params": ["ASSET_NAME" '["fromaddress1", "fromaddress2"]' 20 "to_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 154652365] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4745
+ > 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/
4936
4746
  **/
4937
4747
  transferfromaddresses: "transferfromaddresses",
4938
4748
  /** transferqualifier "qualifier_name" qty "to_address" ("change_address") ("message") (expire_time)
@@ -4977,9 +4787,9 @@ var methods = {
4977
4787
 
4978
4788
  Examples:
4979
4789
  > neurai-cli unfreezeaddress "$RESTRICTED_ASSET" "address"
4980
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezeaddress", "params": ["$RESTRICTED_ASSET" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4790
+ > 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/
4981
4791
  > neurai-cli unfreezeaddress "$RESTRICTED_ASSET" "address" "change_address"
4982
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezeaddress", "params": ["$RESTRICTED_ASSET" "address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4792
+ > 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/
4983
4793
  **/
4984
4794
  unfreezeaddress: "unfreezeaddress",
4985
4795
  /** unfreezedepin "asset_name" "address" ("change_address")
@@ -5003,7 +4813,7 @@ var methods = {
5003
4813
 
5004
4814
  Examples:
5005
4815
  > neurai-cli unfreezedepin "&FRANCE" "address"
5006
- > 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:8766/
4816
+ > 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/
5007
4817
  **/
5008
4818
  unfreezedepin: "unfreezedepin",
5009
4819
  /** unfreezerestrictedasset asset_name (change_address) (asset_data)
@@ -5023,9 +4833,9 @@ var methods = {
5023
4833
 
5024
4834
  Examples:
5025
4835
  > neurai-cli unfreezerestrictedasset "$RESTRICTED_ASSET"
5026
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezerestrictedasset", "params": ["$RESTRICTED_ASSET"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4836
+ > 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/
5027
4837
  > neurai-cli unfreezerestrictedasset "$RESTRICTED_ASSET" "change_address"
5028
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezerestrictedasset", "params": ["$RESTRICTED_ASSET" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4838
+ > 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/
5029
4839
  **/
5030
4840
  unfreezerestrictedasset: "unfreezerestrictedasset",
5031
4841
  /** unsubscribefromchannel
@@ -5044,7 +4854,7 @@ var methods = {
5044
4854
 
5045
4855
  Examples:
5046
4856
  > neurai-cli unsubscribefromchannel "ASSET_NAME!"
5047
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unsubscribefromchannel", "params": ["ASSET_NAME!"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4857
+ > 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/
5048
4858
  **/
5049
4859
  unsubscribefromchannel: "unsubscribefromchannel",
5050
4860
  /** uptime
@@ -5056,7 +4866,7 @@ var methods = {
5056
4866
 
5057
4867
  Examples:
5058
4868
  > neurai-cli uptime
5059
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "uptime", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4869
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "uptime", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5060
4870
  **/
5061
4871
  uptime: "uptime",
5062
4872
  /** validateaddress "address"
@@ -5092,7 +4902,7 @@ var methods = {
5092
4902
 
5093
4903
  Examples:
5094
4904
  > neurai-cli validateaddress "1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc"
5095
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "validateaddress", "params": ["1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4905
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "validateaddress", "params": ["1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5096
4906
  **/
5097
4907
  validateaddress: "validateaddress",
5098
4908
  /** verifychain ( checklevel nblocks )
@@ -5108,7 +4918,7 @@ var methods = {
5108
4918
 
5109
4919
  Examples:
5110
4920
  > neurai-cli verifychain
5111
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifychain", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4921
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifychain", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5112
4922
  **/
5113
4923
  verifychain: "verifychain",
5114
4924
  /** verifymessage "address" "signature" "message"
@@ -5135,7 +4945,7 @@ var methods = {
5135
4945
  > neurai-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
5136
4946
 
5137
4947
  As json rpc
5138
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifymessage", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", "signature", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4948
+ > 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/
5139
4949
  **/
5140
4950
  verifymessage: "verifymessage",
5141
4951
  /** verifytxoutproof "proof"
@@ -5164,7 +4974,7 @@ var methods = {
5164
4974
 
5165
4975
  Examples:
5166
4976
  > neurai-cli viewallmessagechannels
5167
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessagechannels", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4977
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessagechannels", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5168
4978
  **/
5169
4979
  viewallmessagechannels: "viewallmessagechannels",
5170
4980
  /** viewallmessages
@@ -5185,7 +4995,7 @@ var methods = {
5185
4995
 
5186
4996
  Examples:
5187
4997
  > neurai-cli viewallmessages
5188
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4998
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5189
4999
  **/
5190
5000
  viewallmessages: "viewallmessages",
5191
5001
  /** viewmyrestrictedaddresses
@@ -5205,7 +5015,7 @@ var methods = {
5205
5015
 
5206
5016
  Examples:
5207
5017
  > neurai-cli viewmyrestrictedaddresses
5208
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmyrestrictedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
5018
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmyrestrictedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5209
5019
  **/
5210
5020
  viewmyrestrictedaddresses: "viewmyrestrictedaddresses",
5211
5021
  /** viewmytaggedaddresses
@@ -5225,7 +5035,7 @@ var methods = {
5225
5035
 
5226
5036
  Examples:
5227
5037
  > neurai-cli viewmytaggedaddresses
5228
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmytaggedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
5038
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmytaggedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5229
5039
  **/
5230
5040
  viewmytaggedaddresses: "viewmytaggedaddresses"
5231
5041
  };