@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/docs.ts CHANGED
@@ -22,17 +22,20 @@ createrawtransaction: string;
22
22
  decodeblock: string;
23
23
  decoderawtransaction: string;
24
24
  decodescript: string;
25
+ depinchallenge: string;
25
26
  depinclearmsg: string;
27
+ depindecrypt: string;
26
28
  depingetancestorrecipients: string;
27
29
  depingetmsg: string;
28
30
  depingetmsginfo: string;
29
- depingetpoolcontent: string;
30
31
  depinlistsections: string;
31
32
  depinmcpstatus: string;
32
33
  depinpoolpkey: string;
33
34
  depinpoolstats: string;
34
35
  depinreceivemsg: string;
35
36
  depinsendmsg: string;
37
+ depinsignchallenge: string;
38
+ depinsignrequest: string;
36
39
  depinsubmitmsg: string;
37
40
  disconnectnode: string;
38
41
  distributereward: string;
@@ -75,6 +78,7 @@ getconnectioncount: string;
75
78
  getdifficulty: string;
76
79
  getdistributestatus: string;
77
80
  getgenerate: string;
81
+ getibdstatus: string;
78
82
  getinfo: string;
79
83
  getkawpowhash: string;
80
84
  getmasterkeyinfo: string;
@@ -217,7 +221,7 @@ Result:
217
221
 
218
222
  Examples:
219
223
  > neurai-cli abandontransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
220
- > 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/
224
+ > 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/
221
225
  **/
222
226
  abandontransaction:'abandontransaction',
223
227
 
@@ -238,7 +242,7 @@ Abort the running wallet rescan
238
242
  > neurai-cli abortrescan
239
243
 
240
244
  As a JSON-RPC call
241
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abortrescan", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
245
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abortrescan", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
242
246
  **/
243
247
  abortrescan:'abortrescan',
244
248
 
@@ -270,7 +274,7 @@ Add a multisig address from 2 addresses
270
274
  > neurai-cli addmultisigaddress 2 "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"
271
275
 
272
276
  As json rpc call
273
- > 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/
277
+ > 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/
274
278
  **/
275
279
  addmultisigaddress:'addmultisigaddress',
276
280
 
@@ -290,8 +294,8 @@ Arguments:
290
294
  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
291
295
 
292
296
  Examples:
293
- > neurai-cli addnode "192.168.0.6:8767" "onetry"
294
- > 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/
297
+ > neurai-cli addnode "192.168.0.6:19000" "onetry"
298
+ > 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/
295
299
  **/
296
300
  addnode:'addnode',
297
301
 
@@ -317,9 +321,9 @@ Result:
317
321
 
318
322
  Examples:
319
323
  > neurai-cli addtagtoaddress "#TAG" "to_address"
320
- > 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/
324
+ > 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/
321
325
  > neurai-cli addtagtoaddress "#TAG" "to_address" "change_address"
322
- > 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/
326
+ > 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/
323
327
  **/
324
328
  addtagtoaddress:'addtagtoaddress',
325
329
 
@@ -354,7 +358,7 @@ Arguments:
354
358
 
355
359
  Examples:
356
360
  > neurai-cli backupwallet "backup.dat"
357
- > 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/
361
+ > 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/
358
362
  **/
359
363
  backupwallet:'backupwallet',
360
364
 
@@ -385,7 +389,7 @@ Result:
385
389
 
386
390
  Examples:
387
391
  > neurai-cli cancelsnapshotrequest "TRONCO" 12345
388
- > 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/
392
+ > 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/
389
393
  **/
390
394
  cancelsnapshotrequest:'cancelsnapshotrequest',
391
395
 
@@ -409,7 +413,7 @@ Result:
409
413
 
410
414
  Examples:
411
415
  > neurai-cli checkaddressrestriction "address" "restricted_name"
412
- > 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/
416
+ > 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/
413
417
  **/
414
418
  checkaddressrestriction:'checkaddressrestriction',
415
419
 
@@ -433,7 +437,7 @@ Result:
433
437
 
434
438
  Examples:
435
439
  > neurai-cli checkaddresstag "address" "tag_name"
436
- > 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/
440
+ > 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/
437
441
  **/
438
442
  checkaddresstag:'checkaddresstag',
439
443
 
@@ -462,7 +466,7 @@ Result:
462
466
 
463
467
  Examples:
464
468
  > neurai-cli checkdepinvalidity "&FRANCE" "address"
465
- > 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/
469
+ > 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/
466
470
  **/
467
471
  checkdepinvalidity:'checkdepinvalidity',
468
472
 
@@ -485,7 +489,7 @@ Result:
485
489
 
486
490
  Examples:
487
491
  > neurai-cli checkglobalrestriction "restricted_name"
488
- > 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/
492
+ > 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/
489
493
  **/
490
494
  checkglobalrestriction:'checkglobalrestriction',
491
495
 
@@ -499,7 +503,7 @@ Clear all banned IPs.
499
503
 
500
504
  Examples:
501
505
  > neurai-cli clearbanned
502
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
506
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
503
507
  **/
504
508
  clearbanned:'clearbanned',
505
509
 
@@ -513,7 +517,7 @@ Removes all transaction from the mempool
513
517
 
514
518
  Examples:
515
519
  > neurai-cli clearmempool
516
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
520
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
517
521
  **/
518
522
  clearmempool:'clearmempool',
519
523
 
@@ -534,7 +538,7 @@ Result:[
534
538
 
535
539
  Examples:
536
540
  > neurai-cli clearmessages
537
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
541
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
538
542
  **/
539
543
  clearmessages:'clearmessages',
540
544
 
@@ -591,7 +595,7 @@ Create a multisig address from 2 addresses
591
595
  > neurai-cli createmultisig 2 "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"
592
596
 
593
597
  As a json rpc call
594
- > 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/
598
+ > 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/
595
599
  **/
596
600
  createmultisig:'createmultisig',
597
601
 
@@ -861,7 +865,7 @@ Examples:
861
865
  > neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0},{\"txid\":\"myasset\",\"vout\":0}]" "{\"address\":{\"transferwithmessage\":{\"MYASSET\":50,\"message\":\"hash\",\"expire_time\": utc_time}}}"
862
866
  > neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0},{\"txid\":\"myownership\",\"vout\":0}]" "{\"issuer_address\":{\"reissue\":{\"asset_name\":\"MYASSET\",\"asset_quantity\":2000000}}}"
863
867
  > neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0}]" "[{\"address\":500},{\"address\":{\"issue\":{\"asset_name\":\"MYASSET\",\"asset_quantity\":1000000,\"units\":1,\"reissuable\":0,\"has_ipfs\":0}}}]"
864
- > 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/
868
+ > 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/
865
869
  **/
866
870
  createrawtransaction:'createrawtransaction',
867
871
 
@@ -895,7 +899,7 @@ Result:
895
899
 
896
900
  Examples:
897
901
  > neurai-cli decodeblock "xxxx"
898
- > 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/
902
+ > 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/
899
903
  **/
900
904
  decodeblock:'decodeblock',
901
905
 
@@ -957,7 +961,7 @@ Result:
957
961
 
958
962
  Examples:
959
963
  > neurai-cli decoderawtransaction "hexstring"
960
- > 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/
964
+ > 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/
961
965
  **/
962
966
  decoderawtransaction:'decoderawtransaction',
963
967
 
@@ -1000,7 +1004,7 @@ Result:
1000
1004
 
1001
1005
  Examples:
1002
1006
  > neurai-cli decodescript "hexstring"
1003
- > 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/
1007
+ > 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/
1004
1008
  **/
1005
1009
  decodescript:'decodescript',
1006
1010
 
@@ -1008,33 +1012,31 @@ decodescript:'decodescript',
1008
1012
 
1009
1013
 
1010
1014
 
1011
- /** depinclearmsg ( "all" | hours ) ( "scope" )
1015
+ /** depinchallenge "token" "address" timestamp "signature" ( "type" )
1012
1016
 
1013
- Remove messages from DePIN messaging pool
1017
+ Issues a single-use challenge for authenticated DePIN RPCs. The request must be signed over:
1018
+ "DEPIN-REQ|<type>|<token>|<address>|<timestamp>", where timestamp is Unix time in milliseconds and type is "receive" (default) or "admin".
1014
1019
 
1015
- Arguments:
1016
- 1. mode (string or numeric, optional) Cleanup mode:
1017
- - omitted: Remove only expired messages (default)
1018
- - "all": Remove ALL messages from pool
1019
- - <hours>: Remove messages older than specified hours (numeric)
1020
- 2. scope (string, optional) Section token. When given, only messages of that
1021
- section's subtree are removed; parents and siblings are untouched.
1022
- Omitted or "" keeps the historical pool-wide behavior.
1020
+ The encrypted result contains challenge, expires_in and type. Decrypt it with depindecrypt, then sign the challenge with depinsignchallenge or signmessage.
1021
+
1022
+ Examples:
1023
+ > neurai-cli depinchallenge "&TOKEN/SECTION" "NXholder..." 1730000000000 "<signature>"
1024
+ **/
1025
+ depinchallenge:'depinchallenge',
1026
+
1027
+
1028
+
1029
+
1030
+
1031
+ /** depinclearmsg "scope" "address" "challenge" "signature" ( "all" | hours )
1032
+
1033
+ 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.
1023
1034
 
1024
1035
  Result:
1025
1036
  {
1026
- "removed": n, (numeric) Number of messages removed
1027
- "remaining": n (numeric) Number of messages remaining
1037
+ "removed": n,
1038
+ "remaining": n
1028
1039
  }
1029
-
1030
- Examples:
1031
- > neurai-cli depinclearmsg
1032
- > neurai-cli depinclearmsg "all"
1033
- > neurai-cli depinclearmsg 7
1034
- > neurai-cli depinclearmsg "all" "&TOKEN/GENERAL"
1035
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinclearmsg", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1036
- > 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/
1037
- > 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/
1038
1040
  **/
1039
1041
  depinclearmsg:'depinclearmsg',
1040
1042
 
@@ -1042,6 +1044,19 @@ depinclearmsg:'depinclearmsg',
1042
1044
 
1043
1045
 
1044
1046
 
1047
+ /** depindecrypt "address" "encrypted"
1048
+
1049
+ Decrypts an encrypted DePIN reply with a wallet key. Verify the reply's poolsig before using this method; depindecrypt does not verify it.
1050
+
1051
+ Result:
1052
+ The decrypted JSON value, or a string when the plaintext is not JSON.
1053
+ **/
1054
+ depindecrypt:'depindecrypt',
1055
+
1056
+
1057
+
1058
+
1059
+
1045
1060
  /** depingetancestorrecipients "token" ( max_results ) ( "stop_at" )
1046
1061
 
1047
1062
  List the active holders of a DEPIN branch: the deduplicated union of the
@@ -1097,7 +1112,7 @@ Result:
1097
1112
  Examples:
1098
1113
  > neurai-cli depingetancestorrecipients "&TEST/APPLE/GOLDEN"
1099
1114
  > neurai-cli depingetancestorrecipients "&TEST/APPLE/GOLDEN" 50 "&TEST/APPLE"
1100
- > 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/
1115
+ > 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/
1101
1116
  **/
1102
1117
  depingetancestorrecipients:'depingetancestorrecipients',
1103
1118
 
@@ -1105,37 +1120,9 @@ depingetancestorrecipients:'depingetancestorrecipients',
1105
1120
 
1106
1121
 
1107
1122
 
1108
- /** depingetmsg "token" ("ip[:port]"|"fromaddress") ("fromaddress")
1109
-
1110
- Retrieve and decrypt DePIN messages for your addresses
1123
+ /** depingetmsg "token" ( "fromaddress" )
1111
1124
 
1112
- Arguments:
1113
- 1. "token" (string, required) Token name
1114
- 2. "ip[:port]" OR "fromaddress" (string, optional)
1115
- - IP address with optional port (e.g., "192.168.1.31" or "192.168.1.31:19002")
1116
- - OR Neurai address for local query with specific address
1117
- - Omit for local query with all addresses
1118
- 3. "fromaddress" (string, optional) Specific address to decrypt with (only if arg 2 is an IP)
1119
-
1120
- Result:
1121
- [
1122
- {
1123
- "recipient": "address", (string) Recipient address (your address)
1124
- "sender": "address", (string) Sender address
1125
- "message": "text", (string) Decrypted message
1126
- "timestamp": n, (numeric) Unix timestamp
1127
- "date": "YYYY-MM-DD HH:MM:SS", (string) Formatted date
1128
- "expires": "YYYY-MM-DD HH:MM:SS" (string) Expiration date
1129
- },
1130
- ...
1131
- ]
1132
-
1133
- Examples:
1134
- > neurai-cli depingetmsg "MYTOKEN"
1135
- > neurai-cli depingetmsg "MYTOKEN" "NXyouraddress..."
1136
- > neurai-cli depingetmsg "MYTOKEN" "192.168.1.78"
1137
- > neurai-cli depingetmsg "MYTOKEN" "192.168.1.78:19002" "NXyouraddress..."
1138
- > 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/
1125
+ 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.
1139
1126
  **/
1140
1127
  depingetmsg:'depingetmsg',
1141
1128
 
@@ -1145,28 +1132,7 @@ depingetmsg:'depingetmsg',
1145
1132
 
1146
1133
  /** depingetmsginfo
1147
1134
 
1148
- Returns information about the DePIN messaging system
1149
-
1150
- Result:
1151
- {
1152
- "enabled": true|false, (boolean) Whether DePIN messaging is enabled
1153
- "token": "name", (string) Active token name
1154
- "port": n, (numeric) Listening port
1155
- "cipher": "name", (string) Encryption cipher used by the pool
1156
- "maxrecipients": n, (numeric) Maximum recipients per message
1157
- "maxmessagesize": n, (numeric) Maximum message size in bytes
1158
- "messageexpiryhours": n, (numeric) Message expiry time in hours
1159
- "maxpoolsizemb": n, (numeric) Maximum pool size in MB
1160
- "messages": n, (numeric) Number of messages in mempool
1161
- "memoryusage": n, (numeric) Memory usage in bytes
1162
- "memoryusagemb": n, (numeric) Memory usage in MB
1163
- "oldestmessage": "time", (string) Timestamp of oldest message
1164
- "newestmessage": "time" (string) Timestamp of newest message
1165
- }
1166
-
1167
- Examples:
1168
- > neurai-cli depingetmsginfo
1169
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetmsginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1135
+ 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.
1170
1136
  **/
1171
1137
  depingetmsginfo:'depingetmsginfo',
1172
1138
 
@@ -1174,101 +1140,9 @@ depingetmsginfo:'depingetmsginfo',
1174
1140
 
1175
1141
 
1176
1142
 
1177
- /** depingetpoolcontent ( verbose sender_address recipient_address start_time end_time limit offset )
1178
-
1179
- Inspect the contents of the DePIN message pool.
1143
+ /** depinlistsections ( "address" "scope" "challenge" "signature" )
1180
1144
 
1181
- Arguments:
1182
- 1. verbose (boolean, "all", or "raw", optional, default=false) Show detailed message structure. Use "all" for all messages, "raw" to show encrypted hex data
1183
- 2. sender_address (string, optional) Filter by sender address
1184
- 3. recipient_address (string, optional) Filter by recipient address
1185
- 4. start_time (numeric, optional) Filter messages after timestamp
1186
- 5. end_time (numeric, optional) Filter messages before timestamp
1187
- 6. limit (numeric, optional, default=100) Maximum messages to return
1188
- 7. offset (numeric, optional, default=0) Skip first N messages
1189
-
1190
- Result (verbose=false):
1191
- [
1192
- {
1193
- "hash": "hex",
1194
- "sender": "address",
1195
- "message_type": "private|group",
1196
- "timestamp": n,
1197
- "date": "YYYY-MM-DD HH:MM:SS",
1198
- "expires": "YYYY-MM-DD HH:MM:SS",
1199
- "recipients": n,
1200
- "size": n
1201
- },
1202
- ...
1203
- ]
1204
-
1205
- Result (verbose=true):
1206
- [
1207
- {
1208
- "hash": "hex",
1209
- "sender": "address",
1210
- "message_type": "private|group",
1211
- "timestamp": n,
1212
- "date": "YYYY-MM-DD HH:MM:SS",
1213
- "expires": "YYYY-MM-DD HH:MM:SS",
1214
- "recipients": [
1215
- {
1216
- "address": "address",
1217
- "encrypted_size": n
1218
- },
1219
- ...
1220
- ],
1221
- "signature_size": n,
1222
- "total_encrypted_size": n,
1223
- "total_size": n
1224
- },
1225
- ...
1226
- ]
1227
-
1228
- Examples:
1229
- > neurai-cli depingetpoolcontent
1230
- > neurai-cli depingetpoolcontent true
1231
- > neurai-cli depingetpoolcontent all
1232
- > neurai-cli depingetpoolcontent raw
1233
- > neurai-cli depingetpoolcontent false "NXXaddress..."
1234
- > 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/
1235
- **/
1236
- depingetpoolcontent:'depingetpoolcontent',
1237
-
1238
-
1239
-
1240
-
1241
-
1242
- /** depinlistsections ( "address" )
1243
-
1244
- List the sections (sub-assets) of the pool's active token, for UI tabs.
1245
- The list is served from a per-tip snapshot; section names are public on
1246
- chain, so no address is needed to see them. Message counters, however,
1247
- are only exposed for sections the given address has access to -- counts
1248
- of an unreadable section would leak metadata. For the same reason the
1249
- address mode is only served over node RPC: the DePIN port is
1250
- unauthenticated and answers the bare form (names only) there.
1251
-
1252
- Arguments:
1253
- 1. "address" (string, optional) Report this address's access per section
1254
-
1255
- Result:
1256
- [
1257
- {
1258
- "name": "&TOKEN/GENERAL", (string) Full section token
1259
- "label": "GENERAL", (string) Name relative to the pool root ("" = root)
1260
- "depth": n, (numeric) Levels below the pool root (0 = root)
1261
- "access": true|false, (boolean, only with address) Active inherited access
1262
- "messages": n (numeric, only with address and access) Messages in
1263
- this section's subtree
1264
- },
1265
- ...
1266
- ]
1267
-
1268
- Examples:
1269
- > neurai-cli depinlistsections
1270
- > neurai-cli depinlistsections "NXyouraddress..."
1271
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinlistsections", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1145
+ 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.
1272
1146
  **/
1273
1147
  depinlistsections:'depinlistsections',
1274
1148
 
@@ -1301,7 +1175,7 @@ Result:
1301
1175
 
1302
1176
  Examples:
1303
1177
  > neurai-cli depinmcpstatus
1304
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinmcpstatus", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1178
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinmcpstatus", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
1305
1179
  **/
1306
1180
  depinmcpstatus:'depinmcpstatus',
1307
1181
 
@@ -1311,23 +1185,14 @@ depinmcpstatus:'depinmcpstatus',
1311
1185
 
1312
1186
  /** depinpoolpkey
1313
1187
 
1314
- Returns the public key of the DePIN pool address from the internal wallet.
1315
- This command only works if the wallet is loaded and unlocked at node startup.
1316
-
1317
- Derived path:
1318
- Mainnet: m/44'/0'/200'/0/0
1319
- Testnet: m/44'/0'/200'/1/0
1188
+ Wallet-only operator helper that derives the dedicated DePIN pool public key from the loaded service wallet.
1320
1189
 
1321
1190
  Result:
1322
1191
  {
1323
- "pubkey": "hex", (string) Public key in hex format
1324
- "address": "address", (string) Corresponding Neurai address
1325
- "path": "derivation_path" (string) BIP44 derivation path used
1192
+ "pubkey": "hex",
1193
+ "address": "address",
1194
+ "path": "derivation_path"
1326
1195
  }
1327
-
1328
- Examples:
1329
- > neurai-cli depinpoolpkey
1330
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinpoolpkey", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1331
1196
  **/
1332
1197
  depinpoolpkey:'depinpoolpkey',
1333
1198
 
@@ -1362,7 +1227,7 @@ Result:
1362
1227
 
1363
1228
  Examples:
1364
1229
  > neurai-cli depinpoolstats
1365
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinpoolstats", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1230
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinpoolstats", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
1366
1231
  **/
1367
1232
  depinpoolstats:'depinpoolstats',
1368
1233
 
@@ -1370,54 +1235,9 @@ depinpoolstats:'depinpoolstats',
1370
1235
 
1371
1236
 
1372
1237
 
1373
- /** depinreceivemsg "token" "address" (timestamp) ("after_hash") (limit)
1374
-
1375
- Retrieve DePIN messages from the pool with optional pagination
1238
+ /** depinreceivemsg "token" "address" "challenge" "signature" ( timestamp "after_hash" limit )
1376
1239
 
1377
- This endpoint returns the messages. If the server has a DePIN pool key
1378
- and the requester's address has a revealed public key, the response will be
1379
- fully encrypted using the privacy layer.
1380
-
1381
- Arguments:
1382
- 1. "token" (string, required) Token name
1383
- 2. "address" (string, required) Neurai address (used as access selector and encryption target)
1384
- 3. timestamp (numeric, optional) Unix time. Return only messages with timestamp >= (timestamp-1 if timestamp>0)
1385
- 4. "after_hash" (string, optional) Hash of last received message for pagination. Empty "" starts from beginning
1386
- 5. limit (numeric, optional) Maximum messages to return. 0 or omitted = no limit (return all)
1387
-
1388
- Result (without pagination - backward compatible):
1389
- [
1390
- {
1391
- "hash": "...", (string) Message hash
1392
- "token": "...", (string) Token
1393
- "sender": "...", (string) Sender address
1394
- "timestamp": n, (numeric) Unix timestamp
1395
- "message_type": "private|group", (string) Message type (private=1-to-1, group=broadcast)
1396
- "encrypted_payload_hex": "...", (string) Encrypted payload (hex)
1397
- "signature_hex": "..." (string) Message signature (hex)
1398
- },
1399
- ...
1400
- ]
1401
-
1402
- Result (with pagination - when limit > 0):
1403
- {
1404
- "messages": [...], (array) Array of message objects (same structure as above)
1405
- "has_more": true|false (boolean) Whether more messages are available
1406
- }
1407
-
1408
- Note: Both message types are filtered by recipientKeys membership; the sender always sees their own messages.
1409
-
1410
- Result (privacy layer active):
1411
- {
1412
- "encrypted": "hex_blob" (string) Full JSON response encrypted with ECIES
1413
- }
1414
-
1415
- Examples:
1416
- > neurai-cli depinreceivemsg "TOKEN" "NeuraiAddress"
1417
- > neurai-cli depinreceivemsg "TOKEN" "NeuraiAddress" 1730000000
1418
- > neurai-cli depinreceivemsg "TOKEN" "NeuraiAddress" 0 "" 5
1419
- > neurai-cli depinreceivemsg "TOKEN" "NeuraiAddress" 0 "abc123..." 5
1420
- > 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/
1240
+ 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.
1421
1241
  **/
1422
1242
  depinreceivemsg:'depinreceivemsg',
1423
1243
 
@@ -1425,64 +1245,52 @@ depinreceivemsg:'depinreceivemsg',
1425
1245
 
1426
1246
 
1427
1247
 
1428
- /** depinsendmsg "token" "ip[:port]" "message" "fromaddress" (port)
1248
+ /** depinsendmsg "token" "message" "fromaddress"
1429
1249
 
1430
- Send an encrypted message through a remote DePIN gateway (challenge/response)
1250
+ 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.
1251
+ **/
1252
+ depinsendmsg:'depinsendmsg',
1253
+
1254
+
1255
+
1256
+
1257
+
1258
+ /** depinsignchallenge "address" "token" "challenge" ( "type" )
1431
1259
 
1432
- Arguments:
1433
- 1. "token" (string, required) Token name
1434
- 2. "ip[:port]" (string, required) Target node address (optional :port to contact remote gateway)
1435
- 3. "message" (string, required) Message to send (max 1KB)
1436
- 4. "fromaddress" (string, required) Wallet address used for signing/encryption
1437
- 5. port (numeric, optional) Destination message port (defaults to 19002). Only used when specified after fromaddress
1260
+ Wallet helper that signs "DEPIN-GET|<token>|<address>|<challenge>" for receive access or "DEPIN-CLEAR|..." for admin access.
1438
1261
 
1439
1262
  Result:
1440
1263
  {
1441
- "result": "success", (string) Status
1442
- "hash": "hash", (string) Message hash
1443
- "recipients": n, (numeric) Number of recipients
1444
- "timestamp": n (numeric) Message timestamp
1264
+ "signature": "base64",
1265
+ "preimage": "text"
1445
1266
  }
1446
-
1447
- Examples:
1448
- > neurai-cli depinsendmsg "MYTOKEN" "192.168.1.100" "Hello team!" "NXsender..."
1449
- > neurai-cli depinsendmsg "MYTOKEN" "192.168.1.100:19005" "Hello team!" "NXsender..." 19005
1450
- > 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/
1451
1267
  **/
1452
- depinsendmsg:'depinsendmsg',
1268
+ depinsignchallenge:'depinsignchallenge',
1453
1269
 
1454
1270
 
1455
1271
 
1456
1272
 
1457
1273
 
1458
- /** depinsubmitmsg "hexmessage"|{"sender":"...","encrypted":"..."}
1459
-
1460
- Submit a pre-encrypted and signed DePIN message to the pool
1274
+ /** depinsignrequest "address" "token" ( "type" )
1461
1275
 
1462
- This is the secure protocol where the client prepares the complete message
1463
- (encryption + signature) and the server only validates and stores it.
1464
-
1465
- This command also supports an optional privacy layer where the entire message
1466
- is wrapped in a second layer of encryption for the server's pool key.
1467
-
1468
- Arguments:
1469
- 1. "hexmessage" (string) Hex-encoded serialized CDepinMessage
1470
- OR
1471
- { (json object) Wrapped encrypted message
1472
- "sender": "...", (string, required) Sender address
1473
- "encrypted": "..." (string, required) Hex-encoded ECIES wrapper
1474
- }
1276
+ Wallet helper that signs a depinchallenge request over the current Unix time in milliseconds.
1475
1277
 
1476
1278
  Result:
1477
1279
  {
1478
- "result": "success", (string) Status
1479
- "hash": "hash", (string) Message hash
1480
- "timestamp": n (numeric) Unix timestamp
1280
+ "timestamp": n,
1281
+ "signature": "base64",
1282
+ "preimage": "DEPIN-REQ|..."
1481
1283
  }
1284
+ **/
1285
+ depinsignrequest:'depinsignrequest',
1286
+
1287
+
1288
+
1289
+
1290
+
1291
+ /** depinsubmitmsg {"sender":"...","encrypted":"..."}
1482
1292
 
1483
- Examples:
1484
- > neurai-cli depinsubmitmsg "0a3f2e..."
1485
- > 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/
1293
+ 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.
1486
1294
  **/
1487
1295
  depinsubmitmsg:'depinsubmitmsg',
1488
1296
 
@@ -1503,10 +1311,10 @@ Arguments:
1503
1311
  2. "nodeid" (number, optional) The node ID (see getpeerinfo for node IDs)
1504
1312
 
1505
1313
  Examples:
1506
- > neurai-cli disconnectnode "192.168.0.6:8767"
1314
+ > neurai-cli disconnectnode "192.168.0.6:19000"
1507
1315
  > neurai-cli disconnectnode "" 1
1508
- > 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/
1509
- > 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/
1316
+ > 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/
1317
+ > 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/
1510
1318
  **/
1511
1319
  disconnectnode:'disconnectnode',
1512
1320
 
@@ -1547,8 +1355,8 @@ Result:
1547
1355
  Examples:
1548
1356
  > neurai-cli distributereward "TRONCO" 12345 "XNA" 1000
1549
1357
  > neurai-cli distributereward "PHATSTACKS" 12345 "DIVIDENDS" 1000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"
1550
- > 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/
1551
- > 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/
1358
+ > 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/
1359
+ > 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/
1552
1360
  **/
1553
1361
  distributereward:'distributereward',
1554
1362
 
@@ -1566,7 +1374,7 @@ Result:
1566
1374
 
1567
1375
  Examples:
1568
1376
  > neurai-cli dumpextkeypq
1569
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpextkeypq", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1377
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpextkeypq", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
1570
1378
  **/
1571
1379
  dumpextkeypq:'dumpextkeypq',
1572
1380
 
@@ -1588,7 +1396,7 @@ Result:
1588
1396
  Examples:
1589
1397
  > neurai-cli dumpprivkey "myaddress"
1590
1398
  > neurai-cli importprivkey "mykey"
1591
- > 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/
1399
+ > 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/
1592
1400
  **/
1593
1401
  dumpprivkey:'dumpprivkey',
1594
1402
 
@@ -1610,7 +1418,7 @@ Result:
1610
1418
 
1611
1419
  Examples:
1612
1420
  > neurai-cli dumpwallet "test"
1613
- > 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/
1421
+ > 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/
1614
1422
  **/
1615
1423
  dumpwallet:'dumpwallet',
1616
1424
 
@@ -1645,7 +1453,7 @@ Now lock the wallet again by removing the passphrase
1645
1453
  > neurai-cli walletlock
1646
1454
 
1647
1455
  As a json rpc call
1648
- > 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/
1456
+ > 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/
1649
1457
  **/
1650
1458
  encryptwallet:'encryptwallet',
1651
1459
 
@@ -1734,7 +1542,7 @@ Result:
1734
1542
 
1735
1543
  Examples:
1736
1544
  > neurai-cli exportxpqpub 20
1737
- > 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/
1545
+ > 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/
1738
1546
  **/
1739
1547
  exportxpqpub:'exportxpqpub',
1740
1548
 
@@ -1760,9 +1568,9 @@ Result:
1760
1568
 
1761
1569
  Examples:
1762
1570
  > neurai-cli freezeaddress "$RESTRICTED_ASSET" "address"
1763
- > 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/
1571
+ > 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/
1764
1572
  > neurai-cli freezeaddress "$RESTRICTED_ASSET" "address" "change_address"
1765
- > 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/
1573
+ > 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/
1766
1574
  **/
1767
1575
  freezeaddress:'freezeaddress',
1768
1576
 
@@ -1791,7 +1599,7 @@ Result:
1791
1599
 
1792
1600
  Examples:
1793
1601
  > neurai-cli freezedepin "&FRANCE" "address"
1794
- > 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/
1602
+ > 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/
1795
1603
  **/
1796
1604
  freezedepin:'freezedepin',
1797
1605
 
@@ -1816,9 +1624,9 @@ Result:
1816
1624
 
1817
1625
  Examples:
1818
1626
  > neurai-cli freezerestrictedasset "$RESTRICTED_ASSET"
1819
- > 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/
1627
+ > 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/
1820
1628
  > neurai-cli freezerestrictedasset "$RESTRICTED_ASSET" "change_address"
1821
- > 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/
1629
+ > 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/
1822
1630
  **/
1823
1631
  freezerestrictedasset:'freezerestrictedasset',
1824
1632
 
@@ -1947,7 +1755,7 @@ Result:
1947
1755
 
1948
1756
  Examples:
1949
1757
  > neurai-cli getaccount "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX"
1950
- > 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/
1758
+ > 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/
1951
1759
  **/
1952
1760
  getaccount:'getaccount',
1953
1761
 
@@ -1969,7 +1777,7 @@ Examples:
1969
1777
  > neurai-cli getaccountaddress
1970
1778
  > neurai-cli getaccountaddress ""
1971
1779
  > neurai-cli getaccountaddress "myaccount"
1972
- > 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/
1780
+ > 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/
1973
1781
  **/
1974
1782
  getaccountaddress:'getaccountaddress',
1975
1783
 
@@ -1992,7 +1800,7 @@ Result:
1992
1800
  "connected" : true|false, (boolean) If connected
1993
1801
  "addresses" : [ (list of objects) Only when connected = true
1994
1802
  {
1995
- "address" : "192.168.0.201:8767", (string) The neurai server IP and port we're connected to
1803
+ "address" : "192.168.0.201:19000", (string) The neurai server IP and port we're connected to
1996
1804
  "connected" : "outbound" (string) connection, inbound or outbound
1997
1805
  }
1998
1806
  ]
@@ -2002,7 +1810,7 @@ Result:
2002
1810
 
2003
1811
  Examples:
2004
1812
  > neurai-cli getaddednodeinfo "192.168.0.201"
2005
- > 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/
1813
+ > 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/
2006
1814
  **/
2007
1815
  getaddednodeinfo:'getaddednodeinfo',
2008
1816
 
@@ -2042,8 +1850,8 @@ OR
2042
1850
  Examples:
2043
1851
  > neurai-cli getaddressbalance '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
2044
1852
  > neurai-cli getaddressbalance '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
2045
- > 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/
2046
- > 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/
1853
+ > 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/
1854
+ > 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/
2047
1855
  **/
2048
1856
  getaddressbalance:'getaddressbalance',
2049
1857
 
@@ -2082,9 +1890,9 @@ Result:
2082
1890
 
2083
1891
  Examples:
2084
1892
  > neurai-cli getaddressdeltas '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
2085
- > 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/
1893
+ > 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/
2086
1894
  > neurai-cli getaddressdeltas '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}'
2087
- > 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/
1895
+ > 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/
2088
1896
  **/
2089
1897
  getaddressdeltas:'getaddressdeltas',
2090
1898
 
@@ -2107,7 +1915,7 @@ Result:
2107
1915
 
2108
1916
  Examples:
2109
1917
  > neurai-cli getaddressesbyaccount "tabby"
2110
- > 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/
1918
+ > 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/
2111
1919
  **/
2112
1920
  getaddressesbyaccount:'getaddressesbyaccount',
2113
1921
 
@@ -2145,9 +1953,9 @@ Result:
2145
1953
 
2146
1954
  Examples:
2147
1955
  > neurai-cli getaddressmempool '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
2148
- > 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/
1956
+ > 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/
2149
1957
  > neurai-cli getaddressmempool '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
2150
- > 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/
1958
+ > 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/
2151
1959
  **/
2152
1960
  getaddressmempool:'getaddressmempool',
2153
1961
 
@@ -2179,9 +1987,9 @@ Result:
2179
1987
 
2180
1988
  Examples:
2181
1989
  > neurai-cli getaddresstxids '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
2182
- > 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/
1990
+ > 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/
2183
1991
  > neurai-cli getaddresstxids '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
2184
- > 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/
1992
+ > 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/
2185
1993
  **/
2186
1994
  getaddresstxids:'getaddresstxids',
2187
1995
 
@@ -2219,9 +2027,9 @@ Result
2219
2027
 
2220
2028
  Examples:
2221
2029
  > neurai-cli getaddressutxos '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
2222
- > 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/
2030
+ > 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/
2223
2031
  > neurai-cli getaddressutxos '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}'
2224
- > 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/
2032
+ > 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/
2225
2033
  **/
2226
2034
  getaddressutxos:'getaddressutxos',
2227
2035
 
@@ -2253,7 +2061,7 @@ Result:
2253
2061
 
2254
2062
  Examples:
2255
2063
  > neurai-cli getassetdata "ASSET_NAME"
2256
- > 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/
2064
+ > 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/
2257
2065
  **/
2258
2066
  getassetdata:'getassetdata',
2259
2067
 
@@ -2296,7 +2104,7 @@ The total amount in the wallet at least 6 blocks confirmed
2296
2104
  > neurai-cli getbalance "*" 6
2297
2105
 
2298
2106
  As a json rpc call
2299
- > 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/
2107
+ > 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/
2300
2108
  **/
2301
2109
  getbalance:'getbalance',
2302
2110
 
@@ -2313,7 +2121,7 @@ Result:
2313
2121
 
2314
2122
  Examples:
2315
2123
  > neurai-cli getbestblockhash
2316
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbestblockhash", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2124
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbestblockhash", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2317
2125
  **/
2318
2126
  getbestblockhash:'getbestblockhash',
2319
2127
 
@@ -2370,7 +2178,7 @@ Result (for verbosity = 2):
2370
2178
 
2371
2179
  Examples:
2372
2180
  > neurai-cli getblock "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
2373
- > 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/
2181
+ > 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/
2374
2182
  **/
2375
2183
  getblock:'getblock',
2376
2184
 
@@ -2426,7 +2234,7 @@ Result:
2426
2234
 
2427
2235
  Examples:
2428
2236
  > neurai-cli getblockchaininfo
2429
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockchaininfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2237
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockchaininfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2430
2238
  **/
2431
2239
  getblockchaininfo:'getblockchaininfo',
2432
2240
 
@@ -2443,7 +2251,7 @@ n (numeric) The current block count
2443
2251
 
2444
2252
  Examples:
2445
2253
  > neurai-cli getblockcount
2446
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockcount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2254
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockcount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2447
2255
  **/
2448
2256
  getblockcount:'getblockcount',
2449
2257
 
@@ -2463,7 +2271,7 @@ Result:
2463
2271
 
2464
2272
  Examples:
2465
2273
  > neurai-cli getblockhash 1000
2466
- > 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/
2274
+ > 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/
2467
2275
  **/
2468
2276
  getblockhash:'getblockhash',
2469
2277
 
@@ -2497,7 +2305,7 @@ Result:
2497
2305
 
2498
2306
  Examples:
2499
2307
  > neurai-cli getblockhashes 1231614698 1231024505
2500
- > 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/
2308
+ > 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/
2501
2309
  > neurai-cli getblockhashes 1231614698 1231024505 '{"noOrphans":false, "logicalTimes":true}'
2502
2310
  **/
2503
2311
  getblockhashes:'getblockhashes',
@@ -2538,7 +2346,7 @@ Result (for verbose=false):
2538
2346
 
2539
2347
  Examples:
2540
2348
  > neurai-cli getblockheader "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
2541
- > 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/
2349
+ > 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/
2542
2350
  **/
2543
2351
  getblockheader:'getblockheader',
2544
2352
 
@@ -2619,7 +2427,7 @@ Result:
2619
2427
 
2620
2428
  Examples:
2621
2429
  > neurai-cli getblocktemplate
2622
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblocktemplate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2430
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblocktemplate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2623
2431
  **/
2624
2432
  getblocktemplate:'getblocktemplate',
2625
2433
 
@@ -2646,7 +2454,7 @@ Result:
2646
2454
  ]
2647
2455
 
2648
2456
  Examples:
2649
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getcacheinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2457
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getcacheinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2650
2458
  > neurai-cli getcacheinfo
2651
2459
  **/
2652
2460
  getcacheinfo:'getcacheinfo',
@@ -2682,7 +2490,7 @@ Possible values for status:
2682
2490
 
2683
2491
  Examples:
2684
2492
  > neurai-cli getchaintips
2685
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintips", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2493
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintips", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2686
2494
  **/
2687
2495
  getchaintips:'getchaintips',
2688
2496
 
@@ -2710,7 +2518,7 @@ Result:
2710
2518
 
2711
2519
  Examples:
2712
2520
  > neurai-cli getchaintxstats
2713
- > 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/
2521
+ > 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/
2714
2522
  **/
2715
2523
  getchaintxstats:'getchaintxstats',
2716
2524
 
@@ -2727,7 +2535,7 @@ n (numeric) The connection count
2727
2535
 
2728
2536
  Examples:
2729
2537
  > neurai-cli getconnectioncount
2730
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getconnectioncount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2538
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getconnectioncount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2731
2539
  **/
2732
2540
  getconnectioncount:'getconnectioncount',
2733
2541
 
@@ -2744,7 +2552,7 @@ n.nnn (numeric) the proof-of-work difficulty as a multiple of the minimum
2744
2552
 
2745
2553
  Examples:
2746
2554
  > neurai-cli getdifficulty
2747
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdifficulty", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2555
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdifficulty", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2748
2556
  **/
2749
2557
  getdifficulty:'getdifficulty',
2750
2558
 
@@ -2766,8 +2574,8 @@ Arguments:
2766
2574
  Examples:
2767
2575
  > neurai-cli getdistributestatus "TRONCO" 12345 "XNA" 1000
2768
2576
  > neurai-cli getdistributestatus "PHATSTACKS" 12345 "DIVIDENDS" 1000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"
2769
- > 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/
2770
- > 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/
2577
+ > 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/
2578
+ > 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/
2771
2579
  **/
2772
2580
  getdistributestatus:'getdistributestatus',
2773
2581
 
@@ -2786,7 +2594,7 @@ true|false (boolean) If the server is set to generate coins or not
2786
2594
 
2787
2595
  Examples:
2788
2596
  > neurai-cli getgenerate
2789
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getgenerate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2597
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getgenerate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2790
2598
  **/
2791
2599
  getgenerate:'getgenerate',
2792
2600
 
@@ -2794,6 +2602,32 @@ getgenerate:'getgenerate',
2794
2602
 
2795
2603
 
2796
2604
 
2605
+ /** getibdstatus
2606
+
2607
+ Returns header synchronization timing collected since process start.
2608
+
2609
+ Result:
2610
+ {
2611
+ "blocks": n,
2612
+ "headers": n,
2613
+ "header_batches": n,
2614
+ "headers_in_batches": n,
2615
+ "unsolicited_header_responses": n,
2616
+ "average_request_to_response_us": n,
2617
+ "average_validation_us": n,
2618
+ "peers": [...]
2619
+ }
2620
+
2621
+ Examples:
2622
+ > neurai-cli getibdstatus
2623
+ > curl --user myusername --data-binary '{"jsonrpc":"2.0","id":1,"method":"getibdstatus","params":[]}' -H 'content-type: application/json' http://127.0.0.1:19001/
2624
+ **/
2625
+ getibdstatus:'getibdstatus',
2626
+
2627
+
2628
+
2629
+
2630
+
2797
2631
  /** getinfo
2798
2632
 
2799
2633
  DEPRECATED. Returns an object containing various state info.
@@ -2821,7 +2655,7 @@ Result:
2821
2655
 
2822
2656
  Examples:
2823
2657
  > neurai-cli getinfo
2824
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2658
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2825
2659
  **/
2826
2660
  getinfo:'getinfo',
2827
2661
 
@@ -2844,7 +2678,7 @@ Result:
2844
2678
 
2845
2679
  Examples:
2846
2680
  > neurai-cli getkawpowhash "header_hash" "mix_hash" "0x100000" 2456
2847
- > 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/
2681
+ > 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/
2848
2682
  **/
2849
2683
  getkawpowhash:'getkawpowhash',
2850
2684
 
@@ -2869,7 +2703,7 @@ Result:
2869
2703
 
2870
2704
  Examples:
2871
2705
  > neurai-cli getmasterkeyinfo
2872
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmasterkeyinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2706
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmasterkeyinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2873
2707
  **/
2874
2708
  getmasterkeyinfo:'getmasterkeyinfo',
2875
2709
 
@@ -2901,7 +2735,7 @@ Result (mode "mallocinfo"):
2901
2735
 
2902
2736
  Examples:
2903
2737
  > neurai-cli getmemoryinfo
2904
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmemoryinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2738
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmemoryinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2905
2739
  **/
2906
2740
  getmemoryinfo:'getmemoryinfo',
2907
2741
 
@@ -2946,7 +2780,7 @@ Result (for verbose=true):
2946
2780
 
2947
2781
  Examples:
2948
2782
  > neurai-cli getmempoolancestors "mytxid"
2949
- > 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/
2783
+ > 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/
2950
2784
  **/
2951
2785
  getmempoolancestors:'getmempoolancestors',
2952
2786
 
@@ -2991,7 +2825,7 @@ Result (for verbose=true):
2991
2825
 
2992
2826
  Examples:
2993
2827
  > neurai-cli getmempooldescendants "mytxid"
2994
- > 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/
2828
+ > 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/
2995
2829
  **/
2996
2830
  getmempooldescendants:'getmempooldescendants',
2997
2831
 
@@ -3027,7 +2861,7 @@ Result:
3027
2861
 
3028
2862
  Examples:
3029
2863
  > neurai-cli getmempoolentry "mytxid"
3030
- > 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/
2864
+ > 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/
3031
2865
  **/
3032
2866
  getmempoolentry:'getmempoolentry',
3033
2867
 
@@ -3050,7 +2884,7 @@ Result:
3050
2884
 
3051
2885
  Examples:
3052
2886
  > neurai-cli getmempoolinfo
3053
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2887
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3054
2888
  **/
3055
2889
  getmempoolinfo:'getmempoolinfo',
3056
2890
 
@@ -3077,7 +2911,7 @@ Result:
3077
2911
 
3078
2912
  Examples:
3079
2913
  > neurai-cli getmininginfo
3080
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmininginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2914
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmininginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3081
2915
  **/
3082
2916
  getmininginfo:'getmininginfo',
3083
2917
 
@@ -3096,7 +2930,7 @@ Result:
3096
2930
 
3097
2931
  Examples:
3098
2932
  > neurai-cli getmywords
3099
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmywords", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2933
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmywords", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3100
2934
  **/
3101
2935
  getmywords:'getmywords',
3102
2936
 
@@ -3127,7 +2961,7 @@ Result:
3127
2961
 
3128
2962
  Examples:
3129
2963
  > neurai-cli getnettotals
3130
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnettotals", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2964
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnettotals", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3131
2965
  **/
3132
2966
  getnettotals:'getnettotals',
3133
2967
 
@@ -3150,7 +2984,7 @@ x (numeric) Hashes per second estimated
3150
2984
 
3151
2985
  Examples:
3152
2986
  > neurai-cli getnetworkhashps
3153
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkhashps", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2987
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkhashps", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3154
2988
  **/
3155
2989
  getnetworkhashps:'getnetworkhashps',
3156
2990
 
@@ -3196,7 +3030,7 @@ Result:
3196
3030
 
3197
3031
  Examples:
3198
3032
  > neurai-cli getnetworkinfo
3199
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3033
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3200
3034
  **/
3201
3035
  getnetworkinfo:'getnetworkinfo',
3202
3036
 
@@ -3218,7 +3052,7 @@ Result:
3218
3052
 
3219
3053
  Examples:
3220
3054
  > neurai-cli getnewaddress
3221
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3055
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3222
3056
  **/
3223
3057
  getnewaddress:'getnewaddress',
3224
3058
 
@@ -3275,7 +3109,7 @@ Result:
3275
3109
 
3276
3110
  Examples:
3277
3111
  > neurai-cli getpeerinfo
3278
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpeerinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3112
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpeerinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3279
3113
  **/
3280
3114
  getpeerinfo:'getpeerinfo',
3281
3115
 
@@ -3301,7 +3135,7 @@ Result:
3301
3135
 
3302
3136
  Examples:
3303
3137
  > neurai-cli getpubkey "NXa1b2c3d4e5f6..."
3304
- > 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/
3138
+ > 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/
3305
3139
  **/
3306
3140
  getpubkey:'getpubkey',
3307
3141
 
@@ -3319,7 +3153,7 @@ Result:
3319
3153
 
3320
3154
  Examples:
3321
3155
  > neurai-cli getrawchangeaddress
3322
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawchangeaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3156
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawchangeaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3323
3157
  **/
3324
3158
  getrawchangeaddress:'getrawchangeaddress',
3325
3159
 
@@ -3365,7 +3199,7 @@ Result: (for verbose = true):
3365
3199
 
3366
3200
  Examples:
3367
3201
  > neurai-cli getrawmempool true
3368
- > 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/
3202
+ > 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/
3369
3203
  **/
3370
3204
  getrawmempool:'getrawmempool',
3371
3205
 
@@ -3439,7 +3273,7 @@ Result (if verbose is set to true):
3439
3273
  Examples:
3440
3274
  > neurai-cli getrawtransaction "mytxid"
3441
3275
  > neurai-cli getrawtransaction "mytxid" true
3442
- > 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/
3276
+ > 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/
3443
3277
  **/
3444
3278
  getrawtransaction:'getrawtransaction',
3445
3279
 
@@ -3470,7 +3304,7 @@ The amount with at least 6 confirmations
3470
3304
  > neurai-cli getreceivedbyaccount "tabby" 6
3471
3305
 
3472
3306
  As a json rpc call
3473
- > 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/
3307
+ > 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/
3474
3308
  **/
3475
3309
  getreceivedbyaccount:'getreceivedbyaccount',
3476
3310
 
@@ -3501,7 +3335,7 @@ The amount with at least 6 confirmations
3501
3335
  > neurai-cli getreceivedbyaddress "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" 6
3502
3336
 
3503
3337
  As a json rpc call
3504
- > 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/
3338
+ > 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/
3505
3339
  **/
3506
3340
  getreceivedbyaddress:'getreceivedbyaddress',
3507
3341
 
@@ -3523,7 +3357,7 @@ Result:
3523
3357
  ],
3524
3358
  }
3525
3359
  > neurai-cli getrpcinfo
3526
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrpcinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3360
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrpcinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3527
3361
  **/
3528
3362
  getrpcinfo:'getrpcinfo',
3529
3363
 
@@ -3554,7 +3388,7 @@ Result:
3554
3388
  }
3555
3389
 
3556
3390
  Examples:
3557
- > 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/
3391
+ > 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/
3558
3392
  **/
3559
3393
  getsnapshot:'getsnapshot',
3560
3394
 
@@ -3578,7 +3412,7 @@ Result:
3578
3412
 
3579
3413
  Examples:
3580
3414
  > neurai-cli getsnapshotrequest "TRONCO" 12345
3581
- > 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/
3415
+ > 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/
3582
3416
  **/
3583
3417
  getsnapshotrequest:'getsnapshotrequest',
3584
3418
 
@@ -3605,7 +3439,7 @@ Result:
3605
3439
 
3606
3440
  Examples:
3607
3441
  > neurai-cli getspentinfo '{"txid": "0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9", "index": 0}'
3608
- > 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/
3442
+ > 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/
3609
3443
  **/
3610
3444
  getspentinfo:'getspentinfo',
3611
3445
 
@@ -3667,7 +3501,7 @@ Result:
3667
3501
  Examples:
3668
3502
  > neurai-cli gettransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
3669
3503
  > neurai-cli gettransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d" true
3670
- > 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/
3504
+ > 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/
3671
3505
  **/
3672
3506
  gettransaction:'gettransaction',
3673
3507
 
@@ -3711,7 +3545,7 @@ View the details
3711
3545
  > neurai-cli gettxout "txid" 1
3712
3546
 
3713
3547
  As a json rpc call
3714
- > 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/
3548
+ > 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/
3715
3549
  **/
3716
3550
  gettxout:'gettxout',
3717
3551
 
@@ -3764,7 +3598,7 @@ Result:
3764
3598
 
3765
3599
  Examples:
3766
3600
  > neurai-cli gettxoutsetinfo
3767
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxoutsetinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3601
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxoutsetinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3768
3602
  **/
3769
3603
  gettxoutsetinfo:'gettxoutsetinfo',
3770
3604
 
@@ -3796,7 +3630,7 @@ Result:
3796
3630
 
3797
3631
  Examples:
3798
3632
  > neurai-cli getverifierstring "restricted_name"
3799
- > 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/
3633
+ > 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/
3800
3634
  **/
3801
3635
  getverifierstring:'getverifierstring',
3802
3636
 
@@ -3826,7 +3660,7 @@ Result:
3826
3660
 
3827
3661
  Examples:
3828
3662
  > neurai-cli getwalletinfo
3829
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getwalletinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3663
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getwalletinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3830
3664
  **/
3831
3665
  getwalletinfo:'getwalletinfo',
3832
3666
 
@@ -3875,7 +3709,7 @@ Import using a label without rescan
3875
3709
  > neurai-cli importaddress "myscript" "testing" false
3876
3710
 
3877
3711
  As a JSON-RPC call
3878
- > 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/
3712
+ > 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/
3879
3713
  **/
3880
3714
  importaddress:'importaddress',
3881
3715
 
@@ -3951,7 +3785,7 @@ Import using default blank label and without rescan
3951
3785
  > neurai-cli importprivkey "mykey" "" false
3952
3786
 
3953
3787
  As a JSON-RPC call
3954
- > 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/
3788
+ > 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/
3955
3789
  **/
3956
3790
  importprivkey:'importprivkey',
3957
3791
 
@@ -3993,7 +3827,7 @@ Import using a label without rescan
3993
3827
  > neurai-cli importpubkey "mypubkey" "testing" false
3994
3828
 
3995
3829
  As a JSON-RPC call
3996
- > 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/
3830
+ > 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/
3997
3831
  **/
3998
3832
  importpubkey:'importpubkey',
3999
3833
 
@@ -4017,7 +3851,7 @@ Import the wallet
4017
3851
  > neurai-cli importwallet "test"
4018
3852
 
4019
3853
  Import using the json rpc call
4020
- > 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/
3854
+ > 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/
4021
3855
  **/
4022
3856
  importwallet:'importwallet',
4023
3857
 
@@ -4185,7 +4019,7 @@ Result:
4185
4019
 
4186
4020
  Examples:
4187
4021
  > neurai-cli isvalidverifierstring "verifier_string"
4188
- > 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/
4022
+ > 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/
4189
4023
  **/
4190
4024
  isvalidverifierstring:'isvalidverifierstring',
4191
4025
 
@@ -4202,7 +4036,7 @@ Arguments
4202
4036
 
4203
4037
  Examples:
4204
4038
  > neurai-cli keypoolrefill
4205
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "keypoolrefill", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4039
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "keypoolrefill", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
4206
4040
  **/
4207
4041
  keypoolrefill:'keypoolrefill',
4208
4042
 
@@ -4236,7 +4070,7 @@ List account balances for 6 or more confirmations
4236
4070
  > neurai-cli listaccounts 6
4237
4071
 
4238
4072
  As json rpc call
4239
- > 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/
4073
+ > 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/
4240
4074
  **/
4241
4075
  listaccounts:'listaccounts',
4242
4076
 
@@ -4290,7 +4124,7 @@ Result:
4290
4124
 
4291
4125
  Examples:
4292
4126
  > neurai-cli listaddressesfortag "#TAG"
4293
- > 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/
4127
+ > 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/
4294
4128
  **/
4295
4129
  listaddressesfortag:'listaddressesfortag',
4296
4130
 
@@ -4319,7 +4153,7 @@ Result:
4319
4153
 
4320
4154
  Examples:
4321
4155
  > neurai-cli listaddressgroupings
4322
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressgroupings", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4156
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressgroupings", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
4323
4157
  **/
4324
4158
  listaddressgroupings:'listaddressgroupings',
4325
4159
 
@@ -4344,7 +4178,7 @@ Result:
4344
4178
 
4345
4179
  Examples:
4346
4180
  > neurai-cli listaddressrestrictions "address"
4347
- > 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/
4181
+ > 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/
4348
4182
  **/
4349
4183
  listaddressrestrictions:'listaddressrestrictions',
4350
4184
 
@@ -4418,7 +4252,7 @@ Result (verbose=true):
4418
4252
  }
4419
4253
 
4420
4254
  Examples:
4421
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4255
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
4422
4256
  > neurai-cli listassets ASSET
4423
4257
  > neurai-cli listassets "ASSET*" true 10 20
4424
4258
  **/
@@ -4434,7 +4268,7 @@ List all banned IPs/Subnets.
4434
4268
 
4435
4269
  Examples:
4436
4270
  > neurai-cli listbanned
4437
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4271
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
4438
4272
  **/
4439
4273
  listbanned:'listbanned',
4440
4274
 
@@ -4467,7 +4301,7 @@ Result:
4467
4301
  Examples:
4468
4302
  > neurai-cli listdepinaddresses "ASSET_NAME"
4469
4303
  > neurai-cli listdepinaddresses "ASSET_NAME" 10 0
4470
- > 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/
4304
+ > 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/
4471
4305
  **/
4472
4306
  listdepinaddresses:'listdepinaddresses',
4473
4307
 
@@ -4499,7 +4333,7 @@ Result:
4499
4333
 
4500
4334
  Examples:
4501
4335
  > neurai-cli listdepinholders "&FRANCE"
4502
- > 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/
4336
+ > 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/
4503
4337
  **/
4504
4338
  listdepinholders:'listdepinholders',
4505
4339
 
@@ -4521,7 +4355,7 @@ Result:
4521
4355
 
4522
4356
  Examples:
4523
4357
  > neurai-cli listglobalrestrictions
4524
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listglobalrestrictions", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4358
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listglobalrestrictions", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
4525
4359
  **/
4526
4360
  listglobalrestrictions:'listglobalrestrictions',
4527
4361
 
@@ -4558,7 +4392,7 @@ Unlock the transaction again
4558
4392
  > neurai-cli lockunspent true "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"
4559
4393
 
4560
4394
  As a json rpc call
4561
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listlockunspent", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4395
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listlockunspent", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
4562
4396
  **/
4563
4397
  listlockunspent:'listlockunspent',
4564
4398
 
@@ -4605,7 +4439,7 @@ Result (verbose=true):
4605
4439
  {...}, {...}
4606
4440
 
4607
4441
  Examples:
4608
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listmyassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4442
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listmyassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
4609
4443
  > neurai-cli listmyassets ASSET
4610
4444
  > neurai-cli listmyassets "ASSET*" true 10 20
4611
4445
  > neurai-cli listmyassets "ASSET*" true 10 20 1
@@ -4628,7 +4462,7 @@ Result:
4628
4462
 
4629
4463
  Examples:
4630
4464
  > neurai-cli listpqaddresses
4631
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listpqaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4465
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listpqaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
4632
4466
  **/
4633
4467
  listpqaddresses:'listpqaddresses',
4634
4468
 
@@ -4660,7 +4494,7 @@ Result:
4660
4494
  Examples:
4661
4495
  > neurai-cli listreceivedbyaccount
4662
4496
  > neurai-cli listreceivedbyaccount 6 true
4663
- > 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/
4497
+ > 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/
4664
4498
  **/
4665
4499
  listreceivedbyaccount:'listreceivedbyaccount',
4666
4500
 
@@ -4697,7 +4531,7 @@ Result:
4697
4531
  Examples:
4698
4532
  > neurai-cli listreceivedbyaddress
4699
4533
  > neurai-cli listreceivedbyaddress 6 true
4700
- > 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/
4534
+ > 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/
4701
4535
  **/
4702
4536
  listreceivedbyaddress:'listreceivedbyaddress',
4703
4537
 
@@ -4753,7 +4587,7 @@ Result:
4753
4587
  Examples:
4754
4588
  > neurai-cli listsinceblock
4755
4589
  > neurai-cli listsinceblock "000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad" 6
4756
- > 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/
4590
+ > 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/
4757
4591
  **/
4758
4592
  listsinceblock:'listsinceblock',
4759
4593
 
@@ -4779,7 +4613,7 @@ Result:
4779
4613
 
4780
4614
  Examples:
4781
4615
  > neurai-cli listsnapshotrequests
4782
- > 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/
4616
+ > 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/
4783
4617
  **/
4784
4618
  listsnapshotrequests:'listsnapshotrequests',
4785
4619
 
@@ -4804,7 +4638,7 @@ Result:
4804
4638
 
4805
4639
  Examples:
4806
4640
  > neurai-cli listtagsforaddress "address"
4807
- > 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/
4641
+ > 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/
4808
4642
  **/
4809
4643
  listtagsforaddress:'listtagsforaddress',
4810
4644
 
@@ -4873,7 +4707,7 @@ List transactions 100 to 120
4873
4707
  > neurai-cli listtransactions "*" 20 100
4874
4708
 
4875
4709
  As a json rpc call
4876
- > 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/
4710
+ > 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/
4877
4711
  **/
4878
4712
  listtransactions:'listtransactions',
4879
4713
 
@@ -4928,9 +4762,9 @@ Result
4928
4762
  Examples
4929
4763
  > neurai-cli listunspent
4930
4764
  > neurai-cli listunspent 6 9999999 "[\"1PGFqEzfmQch1gKD3ra4k18PNj3tTUUSqg\",\"1LtvqCaApEdUGFkpKMM4MstjcaL4dKg8SP\"]"
4931
- > 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/
4765
+ > 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/
4932
4766
  > neurai-cli listunspent 6 9999999 '[]' true '{ "minimumAmount": 0.005 }'
4933
- > 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/
4767
+ > 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/
4934
4768
  **/
4935
4769
  listunspent:'listunspent',
4936
4770
 
@@ -4950,7 +4784,7 @@ Result:
4950
4784
 
4951
4785
  Examples:
4952
4786
  > neurai-cli listwallets
4953
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listwallets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4787
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listwallets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
4954
4788
  **/
4955
4789
  listwallets:'listwallets',
4956
4790
 
@@ -4997,7 +4831,7 @@ Unlock the transaction again
4997
4831
  > neurai-cli lockunspent true "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"
4998
4832
 
4999
4833
  As a json rpc call
5000
- > 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/
4834
+ > 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/
5001
4835
  **/
5002
4836
  lockunspent:'lockunspent',
5003
4837
 
@@ -5028,7 +4862,7 @@ Move 0.01 XNA timotei to akiko with a comment and funds have 6 confirmations
5028
4862
  > neurai-cli move "timotei" "akiko" 0.01 6 "happy birthday!"
5029
4863
 
5030
4864
  As a json rpc call
5031
- > 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/
4865
+ > 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/
5032
4866
  **/
5033
4867
  move:'move',
5034
4868
 
@@ -5044,7 +4878,7 @@ Ping command is handled in queue with all other commands, so it measures process
5044
4878
 
5045
4879
  Examples:
5046
4880
  > neurai-cli ping
5047
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "ping", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4881
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "ping", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5048
4882
  **/
5049
4883
  ping:'ping',
5050
4884
 
@@ -5065,7 +4899,7 @@ Result:
5065
4899
 
5066
4900
  Examples:
5067
4901
  > neurai-cli pprpcsb "header_hash" "mix_hash" 100000
5068
- > 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/
4902
+ > 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/
5069
4903
  **/
5070
4904
  pprpcsb:'pprpcsb',
5071
4905
 
@@ -5088,7 +4922,7 @@ Result:
5088
4922
 
5089
4923
  Examples:
5090
4924
  > neurai-cli preciousblock "blockhash"
5091
- > 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/
4925
+ > 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/
5092
4926
  **/
5093
4927
  preciousblock:'preciousblock',
5094
4928
 
@@ -5112,7 +4946,7 @@ true (boolean) Returns true
5112
4946
 
5113
4947
  Examples:
5114
4948
  > neurai-cli prioritisetransaction "txid" 0.0 10000
5115
- > 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/
4949
+ > 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/
5116
4950
  **/
5117
4951
  prioritisetransaction:'prioritisetransaction',
5118
4952
 
@@ -5131,7 +4965,7 @@ n (numeric) Height of the last block pruned.
5131
4965
 
5132
4966
  Examples:
5133
4967
  > neurai-cli pruneblockchain 1000
5134
- > 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/
4968
+ > 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/
5135
4969
  **/
5136
4970
  pruneblockchain:'pruneblockchain',
5137
4971
 
@@ -5158,7 +4992,7 @@ Result:
5158
4992
 
5159
4993
  Examples:
5160
4994
  > neurai-cli purgesnapshot "ASSET_NAME" 28546
5161
- > 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/
4995
+ > 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/
5162
4996
  **/
5163
4997
  purgesnapshot:'purgesnapshot',
5164
4998
 
@@ -5188,7 +5022,7 @@ Result:
5188
5022
 
5189
5023
  Examples:
5190
5024
  > neurai-cli reissue "ASSET_NAME" 20 "address"
5191
- > 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/
5025
+ > 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/
5192
5026
  **/
5193
5027
  reissue:'reissue',
5194
5028
 
@@ -5242,7 +5076,7 @@ Examples:
5242
5076
  > neurai-cli removeprunedfunds "a8d0c0184dde994a09ec054286f1ce581bebf46446a512166eae7628734ea0a5"
5243
5077
 
5244
5078
  As a JSON-RPC call
5245
- > 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/
5079
+ > 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/
5246
5080
  **/
5247
5081
  removeprunedfunds:'removeprunedfunds',
5248
5082
 
@@ -5268,9 +5102,9 @@ Result:
5268
5102
 
5269
5103
  Examples:
5270
5104
  > neurai-cli removetagfromaddress "#TAG" "to_address"
5271
- > 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/
5105
+ > 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/
5272
5106
  > neurai-cli removetagfromaddress "#TAG" "to_address" "change_address"
5273
- > 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/
5107
+ > 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/
5274
5108
  **/
5275
5109
  removetagfromaddress:'removetagfromaddress',
5276
5110
 
@@ -5293,7 +5127,7 @@ Result:
5293
5127
 
5294
5128
  Examples:
5295
5129
  > neurai-cli requestsnapshot "TRONCO" 12345
5296
- > 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/
5130
+ > 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/
5297
5131
  **/
5298
5132
  requestsnapshot:'requestsnapshot',
5299
5133
 
@@ -5317,7 +5151,7 @@ Result:
5317
5151
 
5318
5152
  Examples:
5319
5153
  > neurai-cli rescanblockchain 100000 120000
5320
- > 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/
5154
+ > 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/
5321
5155
  **/
5322
5156
  rescanblockchain:'rescanblockchain',
5323
5157
 
@@ -5331,7 +5165,7 @@ Dumps the mempool to disk.
5331
5165
 
5332
5166
  Examples:
5333
5167
  > neurai-cli savemempool
5334
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "savemempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
5168
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "savemempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5335
5169
  **/
5336
5170
  savemempool:'savemempool',
5337
5171
 
@@ -5370,7 +5204,7 @@ Result:
5370
5204
 
5371
5205
  Examples:
5372
5206
  > neurai-cli selfrevokedepin "&FRANCE"
5373
- > 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/
5207
+ > 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/
5374
5208
  **/
5375
5209
  selfrevokedepin:'selfrevokedepin',
5376
5210
 
@@ -5408,7 +5242,7 @@ Send 0.01 from the tabby account to the given address, funds must have at least
5408
5242
  > neurai-cli sendfrom "tabby" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.01 6 "donation" "seans outpost"
5409
5243
 
5410
5244
  As a json rpc call
5411
- > 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/
5245
+ > 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/
5412
5246
  **/
5413
5247
  sendfrom:'sendfrom',
5414
5248
 
@@ -5444,7 +5278,7 @@ Examples:
5444
5278
  > neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1
5445
5279
  > neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "donation" "seans outpost"
5446
5280
  > neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "" "" true
5447
- > 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/
5281
+ > 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/
5448
5282
  **/
5449
5283
  sendfromaddress:'sendfromaddress',
5450
5284
 
@@ -5495,7 +5329,7 @@ Send two amounts to two different addresses, subtract fee from amount:
5495
5329
  > neurai-cli sendmany "" "{\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\":0.01,\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\":0.02}" 1 "" "[\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\",\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\"]"
5496
5330
 
5497
5331
  As a json rpc call
5498
- > 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/
5332
+ > 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/
5499
5333
  **/
5500
5334
  sendmany:'sendmany',
5501
5335
 
@@ -5552,7 +5386,7 @@ Send the transaction (signed hex)
5552
5386
  > neurai-cli sendrawtransaction "signedhex"
5553
5387
 
5554
5388
  As a json rpc call
5555
- > 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/
5389
+ > 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/
5556
5390
  **/
5557
5391
  sendrawtransaction:'sendrawtransaction',
5558
5392
 
@@ -5587,7 +5421,7 @@ Examples:
5587
5421
  > neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1
5588
5422
  > neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "donation" "seans outpost"
5589
5423
  > neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "" "" true
5590
- > 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/
5424
+ > 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/
5591
5425
  **/
5592
5426
  sendtoaddress:'sendtoaddress',
5593
5427
 
@@ -5605,7 +5439,7 @@ Arguments:
5605
5439
 
5606
5440
  Examples:
5607
5441
  > neurai-cli setaccount "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "tabby"
5608
- > 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/
5442
+ > 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/
5609
5443
  **/
5610
5444
  setaccount:'setaccount',
5611
5445
 
@@ -5626,7 +5460,7 @@ Arguments:
5626
5460
  Examples:
5627
5461
  > neurai-cli setban "192.168.0.6" "add" 86400
5628
5462
  > neurai-cli setban "192.168.0.0/24" "add"
5629
- > 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/
5463
+ > 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/
5630
5464
  **/
5631
5465
  setban:'setban',
5632
5466
 
@@ -5656,7 +5490,7 @@ Turn off generation
5656
5490
  > neurai-cli setgenerate false
5657
5491
 
5658
5492
  Using json rpc
5659
- > 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/
5493
+ > 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/
5660
5494
  **/
5661
5495
  setgenerate:'setgenerate',
5662
5496
 
@@ -5689,7 +5523,7 @@ true|false (boolean) Returns true if successful
5689
5523
 
5690
5524
  Examples:
5691
5525
  > neurai-cli settxfee 0.00001
5692
- > 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/
5526
+ > 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/
5693
5527
  **/
5694
5528
  settxfee:'settxfee',
5695
5529
 
@@ -5720,7 +5554,7 @@ Verify the signature
5720
5554
  > neurai-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
5721
5555
 
5722
5556
  As json rpc
5723
- > 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/
5557
+ > 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/
5724
5558
  **/
5725
5559
  signmessage:'signmessage',
5726
5560
 
@@ -5748,7 +5582,7 @@ Verify the signature
5748
5582
  > neurai-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
5749
5583
 
5750
5584
  As json rpc
5751
- > 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/
5585
+ > 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/
5752
5586
  **/
5753
5587
  signmessagewithprivkey:'signmessagewithprivkey',
5754
5588
 
@@ -5809,7 +5643,7 @@ Result:
5809
5643
 
5810
5644
  Examples:
5811
5645
  > neurai-cli signrawtransaction "myhex"
5812
- > 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/
5646
+ > 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/
5813
5647
  **/
5814
5648
  signrawtransaction:'signrawtransaction',
5815
5649
 
@@ -5840,7 +5674,7 @@ Result:
5840
5674
 
5841
5675
  Examples:
5842
5676
  > neurai-cli submitblock "mydata"
5843
- > 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/
5677
+ > 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/
5844
5678
  **/
5845
5679
  submitblock:'submitblock',
5846
5680
 
@@ -5864,7 +5698,7 @@ Result:[
5864
5698
 
5865
5699
  Examples:
5866
5700
  > neurai-cli subscribetochannel "ASSET_NAME!"
5867
- > 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/
5701
+ > 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/
5868
5702
  **/
5869
5703
  subscribetochannel:'subscribetochannel',
5870
5704
 
@@ -5906,7 +5740,7 @@ Test acceptance of the transaction (signed hex)
5906
5740
  > neurai-cli testmempoolaccept "signedhex"
5907
5741
 
5908
5742
  As a json rpc call
5909
- > 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/
5743
+ > 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/
5910
5744
  **/
5911
5745
  testmempoolaccept:'testmempoolaccept',
5912
5746
 
@@ -5967,7 +5801,7 @@ txid
5967
5801
 
5968
5802
  Examples:
5969
5803
  > neurai-cli transferfromaddress "ASSET_NAME" "fromaddress" 20 "address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E", 156545652
5970
- > 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/
5804
+ > 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/
5971
5805
  **/
5972
5806
  transferfromaddress:'transferfromaddress',
5973
5807
 
@@ -5998,7 +5832,7 @@ txid
5998
5832
 
5999
5833
  Examples:
6000
5834
  > neurai-cli transferfromaddresses "ASSET_NAME" '["fromaddress1", "fromaddress2"]' 20 "to_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 154652365
6001
- > 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/
5835
+ > 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/
6002
5836
  **/
6003
5837
  transferfromaddresses:'transferfromaddresses',
6004
5838
 
@@ -6053,9 +5887,9 @@ Result:
6053
5887
 
6054
5888
  Examples:
6055
5889
  > neurai-cli unfreezeaddress "$RESTRICTED_ASSET" "address"
6056
- > 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/
5890
+ > 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/
6057
5891
  > neurai-cli unfreezeaddress "$RESTRICTED_ASSET" "address" "change_address"
6058
- > 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/
5892
+ > 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/
6059
5893
  **/
6060
5894
  unfreezeaddress:'unfreezeaddress',
6061
5895
 
@@ -6084,7 +5918,7 @@ Result:
6084
5918
 
6085
5919
  Examples:
6086
5920
  > neurai-cli unfreezedepin "&FRANCE" "address"
6087
- > 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/
5921
+ > 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/
6088
5922
  **/
6089
5923
  unfreezedepin:'unfreezedepin',
6090
5924
 
@@ -6109,9 +5943,9 @@ Result:
6109
5943
 
6110
5944
  Examples:
6111
5945
  > neurai-cli unfreezerestrictedasset "$RESTRICTED_ASSET"
6112
- > 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/
5946
+ > 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/
6113
5947
  > neurai-cli unfreezerestrictedasset "$RESTRICTED_ASSET" "change_address"
6114
- > 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/
5948
+ > 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/
6115
5949
  **/
6116
5950
  unfreezerestrictedasset:'unfreezerestrictedasset',
6117
5951
 
@@ -6135,7 +5969,7 @@ Result:[
6135
5969
 
6136
5970
  Examples:
6137
5971
  > neurai-cli unsubscribefromchannel "ASSET_NAME!"
6138
- > 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/
5972
+ > 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/
6139
5973
  **/
6140
5974
  unsubscribefromchannel:'unsubscribefromchannel',
6141
5975
 
@@ -6152,7 +5986,7 @@ ttt (numeric) The number of seconds that the server has been running
6152
5986
 
6153
5987
  Examples:
6154
5988
  > neurai-cli uptime
6155
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "uptime", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
5989
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "uptime", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
6156
5990
  **/
6157
5991
  uptime:'uptime',
6158
5992
 
@@ -6193,7 +6027,7 @@ Result:
6193
6027
 
6194
6028
  Examples:
6195
6029
  > neurai-cli validateaddress "1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc"
6196
- > 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/
6030
+ > 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/
6197
6031
  **/
6198
6032
  validateaddress:'validateaddress',
6199
6033
 
@@ -6214,7 +6048,7 @@ true|false (boolean) Verified or not
6214
6048
 
6215
6049
  Examples:
6216
6050
  > neurai-cli verifychain
6217
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifychain", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
6051
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifychain", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
6218
6052
  **/
6219
6053
  verifychain:'verifychain',
6220
6054
 
@@ -6246,7 +6080,7 @@ Verify the signature
6246
6080
  > neurai-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
6247
6081
 
6248
6082
  As json rpc
6249
- > 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/
6083
+ > 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/
6250
6084
  **/
6251
6085
  verifymessage:'verifymessage',
6252
6086
 
@@ -6285,7 +6119,7 @@ Result:[
6285
6119
 
6286
6120
  Examples:
6287
6121
  > neurai-cli viewallmessagechannels
6288
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessagechannels", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
6122
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessagechannels", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
6289
6123
  **/
6290
6124
  viewallmessagechannels:'viewallmessagechannels',
6291
6125
 
@@ -6311,7 +6145,7 @@ Result:
6311
6145
 
6312
6146
  Examples:
6313
6147
  > neurai-cli viewallmessages
6314
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
6148
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
6315
6149
  **/
6316
6150
  viewallmessages:'viewallmessages',
6317
6151
 
@@ -6336,7 +6170,7 @@ Result:
6336
6170
 
6337
6171
  Examples:
6338
6172
  > neurai-cli viewmyrestrictedaddresses
6339
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmyrestrictedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
6173
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmyrestrictedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
6340
6174
  **/
6341
6175
  viewmyrestrictedaddresses:'viewmyrestrictedaddresses',
6342
6176
 
@@ -6361,7 +6195,7 @@ Result:
6361
6195
 
6362
6196
  Examples:
6363
6197
  > neurai-cli viewmytaggedaddresses
6364
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmytaggedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
6198
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmytaggedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
6365
6199
  **/
6366
6200
  viewmytaggedaddresses:'viewmytaggedaddresses',
6367
6201
  }