@neuraiproject/neurai-rpc 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -15,7 +15,7 @@ var methods = {
15
15
 
16
16
  Examples:
17
17
  > neurai-cli abandontransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
18
- > 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/
18
+ > 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/
19
19
  **/
20
20
  abandontransaction: "abandontransaction",
21
21
  /** abortrescan
@@ -31,7 +31,7 @@ var methods = {
31
31
  > neurai-cli abortrescan
32
32
 
33
33
  As a JSON-RPC call
34
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abortrescan", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
34
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abortrescan", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
35
35
  **/
36
36
  abortrescan: "abortrescan",
37
37
  /** addmultisigaddress nrequired ["key",...] ( "account" )
@@ -58,7 +58,7 @@ var methods = {
58
58
  > neurai-cli addmultisigaddress 2 "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"
59
59
 
60
60
  As json rpc call
61
- > 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/
61
+ > 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/
62
62
  **/
63
63
  addmultisigaddress: "addmultisigaddress",
64
64
  /** addnode "node" "add|remove|onetry"
@@ -73,8 +73,8 @@ var methods = {
73
73
  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
74
74
 
75
75
  Examples:
76
- > neurai-cli addnode "192.168.0.6:8767" "onetry"
77
- > 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/
76
+ > neurai-cli addnode "192.168.0.6:19000" "onetry"
77
+ > 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/
78
78
  **/
79
79
  addnode: "addnode",
80
80
  /** addtagtoaddress tag_name to_address (change_address) (asset_data)
@@ -95,9 +95,9 @@ var methods = {
95
95
 
96
96
  Examples:
97
97
  > neurai-cli addtagtoaddress "#TAG" "to_address"
98
- > 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/
98
+ > 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/
99
99
  > neurai-cli addtagtoaddress "#TAG" "to_address" "change_address"
100
- > 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/
100
+ > 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/
101
101
  **/
102
102
  addtagtoaddress: "addtagtoaddress",
103
103
  /** addwitnessaddress "address"
@@ -122,7 +122,7 @@ var methods = {
122
122
 
123
123
  Examples:
124
124
  > neurai-cli backupwallet "backup.dat"
125
- > 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/
125
+ > 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/
126
126
  **/
127
127
  backupwallet: "backupwallet",
128
128
  /** bumpfee has been deprecated on the XNA Wallet.
@@ -143,7 +143,7 @@ var methods = {
143
143
 
144
144
  Examples:
145
145
  > neurai-cli cancelsnapshotrequest "TRONCO" 12345
146
- > 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/
146
+ > 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/
147
147
  **/
148
148
  cancelsnapshotrequest: "cancelsnapshotrequest",
149
149
  /** checkaddressrestriction address restricted_name
@@ -162,7 +162,7 @@ var methods = {
162
162
 
163
163
  Examples:
164
164
  > neurai-cli checkaddressrestriction "address" "restricted_name"
165
- > 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/
165
+ > 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/
166
166
  **/
167
167
  checkaddressrestriction: "checkaddressrestriction",
168
168
  /** checkaddresstag address tag_name
@@ -181,7 +181,7 @@ var methods = {
181
181
 
182
182
  Examples:
183
183
  > neurai-cli checkaddresstag "address" "tag_name"
184
- > 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/
184
+ > 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/
185
185
  **/
186
186
  checkaddresstag: "checkaddresstag",
187
187
  /** checkdepinvalidity "asset_name" "address"
@@ -205,7 +205,7 @@ var methods = {
205
205
 
206
206
  Examples:
207
207
  > neurai-cli checkdepinvalidity "&FRANCE" "address"
208
- > 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/
208
+ > 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/
209
209
  **/
210
210
  checkdepinvalidity: "checkdepinvalidity",
211
211
  /** checkglobalrestriction restricted_name
@@ -223,7 +223,7 @@ var methods = {
223
223
 
224
224
  Examples:
225
225
  > neurai-cli checkglobalrestriction "restricted_name"
226
- > 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/
226
+ > 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/
227
227
  **/
228
228
  checkglobalrestriction: "checkglobalrestriction",
229
229
  /** clearbanned
@@ -232,7 +232,7 @@ var methods = {
232
232
 
233
233
  Examples:
234
234
  > neurai-cli clearbanned
235
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
235
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
236
236
  **/
237
237
  clearbanned: "clearbanned",
238
238
  /** clearmempool
@@ -241,7 +241,7 @@ var methods = {
241
241
 
242
242
  Examples:
243
243
  > neurai-cli clearmempool
244
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
244
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
245
245
  **/
246
246
  clearmempool: "clearmempool",
247
247
  /** clearmessages
@@ -257,7 +257,7 @@ var methods = {
257
257
 
258
258
  Examples:
259
259
  > neurai-cli clearmessages
260
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
260
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
261
261
  **/
262
262
  clearmessages: "clearmessages",
263
263
  /** combinerawtransaction ["hexstring",...]
@@ -304,7 +304,7 @@ var methods = {
304
304
  > neurai-cli createmultisig 2 "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"
305
305
 
306
306
  As a json rpc call
307
- > 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/
307
+ > 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/
308
308
  **/
309
309
  createmultisig: "createmultisig",
310
310
  /** createrawtransaction [{"txid":"id","vout":n},...] {"address":(amount or object),"data":"hex",...}
@@ -569,7 +569,7 @@ var methods = {
569
569
  > neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0},{\"txid\":\"myasset\",\"vout\":0}]" "{\"address\":{\"transferwithmessage\":{\"MYASSET\":50,\"message\":\"hash\",\"expire_time\": utc_time}}}"
570
570
  > neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0},{\"txid\":\"myownership\",\"vout\":0}]" "{\"issuer_address\":{\"reissue\":{\"asset_name\":\"MYASSET\",\"asset_quantity\":2000000}}}"
571
571
  > neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0}]" "[{\"address\":500},{\"address\":{\"issue\":{\"asset_name\":\"MYASSET\",\"asset_quantity\":1000000,\"units\":1,\"reissuable\":0,\"has_ipfs\":0}}}]"
572
- > 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/
572
+ > 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/
573
573
  **/
574
574
  createrawtransaction: "createrawtransaction",
575
575
  /** decodeblock "blockhex"
@@ -598,7 +598,7 @@ var methods = {
598
598
 
599
599
  Examples:
600
600
  > neurai-cli decodeblock "xxxx"
601
- > 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/
601
+ > 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/
602
602
  **/
603
603
  decodeblock: "decodeblock",
604
604
  /** decoderawtransaction "hexstring"
@@ -655,7 +655,7 @@ var methods = {
655
655
 
656
656
  Examples:
657
657
  > neurai-cli decoderawtransaction "hexstring"
658
- > 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/
658
+ > 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/
659
659
  **/
660
660
  decoderawtransaction: "decoderawtransaction",
661
661
  /** decodescript "hexstring"
@@ -693,38 +693,39 @@ var methods = {
693
693
 
694
694
  Examples:
695
695
  > neurai-cli decodescript "hexstring"
696
- > 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/
696
+ > 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/
697
697
  **/
698
698
  decodescript: "decodescript",
699
- /** depinclearmsg ( "all" | hours ) ( "scope" )
699
+ /** depinchallenge "token" "address" timestamp "signature" ( "type" )
700
700
 
701
- Remove messages from DePIN messaging pool
701
+ Issues a single-use challenge for authenticated DePIN RPCs. The request must be signed over:
702
+ "DEPIN-REQ|<type>|<token>|<address>|<timestamp>", where timestamp is Unix time in milliseconds and type is "receive" (default) or "admin".
702
703
 
703
- Arguments:
704
- 1. mode (string or numeric, optional) Cleanup mode:
705
- - omitted: Remove only expired messages (default)
706
- - "all": Remove ALL messages from pool
707
- - <hours>: Remove messages older than specified hours (numeric)
708
- 2. scope (string, optional) Section token. When given, only messages of that
709
- section's subtree are removed; parents and siblings are untouched.
710
- Omitted or "" keeps the historical pool-wide behavior.
704
+ The encrypted result contains challenge, expires_in and type. Decrypt it with depindecrypt, then sign the challenge with depinsignchallenge or signmessage.
705
+
706
+ Examples:
707
+ > neurai-cli depinchallenge "&TOKEN/SECTION" "NXholder..." 1730000000000 "<signature>"
708
+ **/
709
+ depinchallenge: "depinchallenge",
710
+ /** depinclearmsg "scope" "address" "challenge" "signature" ( "all" | hours )
711
+
712
+ 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.
711
713
 
712
714
  Result:
713
715
  {
714
- "removed": n, (numeric) Number of messages removed
715
- "remaining": n (numeric) Number of messages remaining
716
+ "removed": n,
717
+ "remaining": n
716
718
  }
717
-
718
- Examples:
719
- > neurai-cli depinclearmsg
720
- > neurai-cli depinclearmsg "all"
721
- > neurai-cli depinclearmsg 7
722
- > neurai-cli depinclearmsg "all" "&TOKEN/GENERAL"
723
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinclearmsg", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
724
- > 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/
725
- > 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/
726
719
  **/
727
720
  depinclearmsg: "depinclearmsg",
721
+ /** depindecrypt "address" "encrypted"
722
+
723
+ Decrypts an encrypted DePIN reply with a wallet key. Verify the reply's poolsig before using this method; depindecrypt does not verify it.
724
+
725
+ Result:
726
+ The decrypted JSON value, or a string when the plaintext is not JSON.
727
+ **/
728
+ depindecrypt: "depindecrypt",
728
729
  /** depingetancestorrecipients "token" ( max_results ) ( "stop_at" )
729
730
 
730
731
  List the active holders of a DEPIN branch: the deduplicated union of the
@@ -780,158 +781,22 @@ var methods = {
780
781
  Examples:
781
782
  > neurai-cli depingetancestorrecipients "&TEST/APPLE/GOLDEN"
782
783
  > neurai-cli depingetancestorrecipients "&TEST/APPLE/GOLDEN" 50 "&TEST/APPLE"
783
- > 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/
784
+ > 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/
784
785
  **/
785
786
  depingetancestorrecipients: "depingetancestorrecipients",
786
- /** depingetmsg "token" ("ip[:port]"|"fromaddress") ("fromaddress")
787
-
788
- Retrieve and decrypt DePIN messages for your addresses
789
-
790
- Arguments:
791
- 1. "token" (string, required) Token name
792
- 2. "ip[:port]" OR "fromaddress" (string, optional)
793
- - IP address with optional port (e.g., "192.168.1.31" or "192.168.1.31:19002")
794
- - OR Neurai address for local query with specific address
795
- - Omit for local query with all addresses
796
- 3. "fromaddress" (string, optional) Specific address to decrypt with (only if arg 2 is an IP)
787
+ /** depingetmsg "token" ( "fromaddress" )
797
788
 
798
- Result:
799
- [
800
- {
801
- "recipient": "address", (string) Recipient address (your address)
802
- "sender": "address", (string) Sender address
803
- "message": "text", (string) Decrypted message
804
- "timestamp": n, (numeric) Unix timestamp
805
- "date": "YYYY-MM-DD HH:MM:SS", (string) Formatted date
806
- "expires": "YYYY-MM-DD HH:MM:SS" (string) Expiration date
807
- },
808
- ...
809
- ]
810
-
811
- Examples:
812
- > neurai-cli depingetmsg "MYTOKEN"
813
- > neurai-cli depingetmsg "MYTOKEN" "NXyouraddress..."
814
- > neurai-cli depingetmsg "MYTOKEN" "192.168.1.78"
815
- > neurai-cli depingetmsg "MYTOKEN" "192.168.1.78:19002" "NXyouraddress..."
816
- > 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/
789
+ 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.
817
790
  **/
818
791
  depingetmsg: "depingetmsg",
819
792
  /** depingetmsginfo
820
793
 
821
- Returns information about the DePIN messaging system
822
-
823
- Result:
824
- {
825
- "enabled": true|false, (boolean) Whether DePIN messaging is enabled
826
- "token": "name", (string) Active token name
827
- "port": n, (numeric) Listening port
828
- "cipher": "name", (string) Encryption cipher used by the pool
829
- "maxrecipients": n, (numeric) Maximum recipients per message
830
- "maxmessagesize": n, (numeric) Maximum message size in bytes
831
- "messageexpiryhours": n, (numeric) Message expiry time in hours
832
- "maxpoolsizemb": n, (numeric) Maximum pool size in MB
833
- "messages": n, (numeric) Number of messages in mempool
834
- "memoryusage": n, (numeric) Memory usage in bytes
835
- "memoryusagemb": n, (numeric) Memory usage in MB
836
- "oldestmessage": "time", (string) Timestamp of oldest message
837
- "newestmessage": "time" (string) Timestamp of newest message
838
- }
839
-
840
- Examples:
841
- > neurai-cli depingetmsginfo
842
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetmsginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
794
+ 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.
843
795
  **/
844
796
  depingetmsginfo: "depingetmsginfo",
845
- /** depingetpoolcontent ( verbose sender_address recipient_address start_time end_time limit offset )
846
-
847
- Inspect the contents of the DePIN message pool.
848
-
849
- Arguments:
850
- 1. verbose (boolean, "all", or "raw", optional, default=false) Show detailed message structure. Use "all" for all messages, "raw" to show encrypted hex data
851
- 2. sender_address (string, optional) Filter by sender address
852
- 3. recipient_address (string, optional) Filter by recipient address
853
- 4. start_time (numeric, optional) Filter messages after timestamp
854
- 5. end_time (numeric, optional) Filter messages before timestamp
855
- 6. limit (numeric, optional, default=100) Maximum messages to return
856
- 7. offset (numeric, optional, default=0) Skip first N messages
857
-
858
- Result (verbose=false):
859
- [
860
- {
861
- "hash": "hex",
862
- "sender": "address",
863
- "message_type": "private|group",
864
- "timestamp": n,
865
- "date": "YYYY-MM-DD HH:MM:SS",
866
- "expires": "YYYY-MM-DD HH:MM:SS",
867
- "recipients": n,
868
- "size": n
869
- },
870
- ...
871
- ]
872
-
873
- Result (verbose=true):
874
- [
875
- {
876
- "hash": "hex",
877
- "sender": "address",
878
- "message_type": "private|group",
879
- "timestamp": n,
880
- "date": "YYYY-MM-DD HH:MM:SS",
881
- "expires": "YYYY-MM-DD HH:MM:SS",
882
- "recipients": [
883
- {
884
- "address": "address",
885
- "encrypted_size": n
886
- },
887
- ...
888
- ],
889
- "signature_size": n,
890
- "total_encrypted_size": n,
891
- "total_size": n
892
- },
893
- ...
894
- ]
797
+ /** depinlistsections ( "address" "scope" "challenge" "signature" )
895
798
 
896
- Examples:
897
- > neurai-cli depingetpoolcontent
898
- > neurai-cli depingetpoolcontent true
899
- > neurai-cli depingetpoolcontent all
900
- > neurai-cli depingetpoolcontent raw
901
- > neurai-cli depingetpoolcontent false "NXXaddress..."
902
- > 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/
903
- **/
904
- depingetpoolcontent: "depingetpoolcontent",
905
- /** depinlistsections ( "address" )
906
-
907
- List the sections (sub-assets) of the pool's active token, for UI tabs.
908
- The list is served from a per-tip snapshot; section names are public on
909
- chain, so no address is needed to see them. Message counters, however,
910
- are only exposed for sections the given address has access to -- counts
911
- of an unreadable section would leak metadata. For the same reason the
912
- address mode is only served over node RPC: the DePIN port is
913
- unauthenticated and answers the bare form (names only) there.
914
-
915
- Arguments:
916
- 1. "address" (string, optional) Report this address's access per section
917
-
918
- Result:
919
- [
920
- {
921
- "name": "&TOKEN/GENERAL", (string) Full section token
922
- "label": "GENERAL", (string) Name relative to the pool root ("" = root)
923
- "depth": n, (numeric) Levels below the pool root (0 = root)
924
- "access": true|false, (boolean, only with address) Active inherited access
925
- "messages": n (numeric, only with address and access) Messages in
926
- this section's subtree
927
- },
928
- ...
929
- ]
930
-
931
- Examples:
932
- > neurai-cli depinlistsections
933
- > neurai-cli depinlistsections "NXyouraddress..."
934
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinlistsections", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
799
+ 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.
935
800
  **/
936
801
  depinlistsections: "depinlistsections",
937
802
  /** depinmcpstatus
@@ -959,28 +824,19 @@ var methods = {
959
824
 
960
825
  Examples:
961
826
  > neurai-cli depinmcpstatus
962
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinmcpstatus", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
827
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinmcpstatus", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
963
828
  **/
964
829
  depinmcpstatus: "depinmcpstatus",
965
830
  /** depinpoolpkey
966
831
 
967
- Returns the public key of the DePIN pool address from the internal wallet.
968
- This command only works if the wallet is loaded and unlocked at node startup.
969
-
970
- Derived path:
971
- Mainnet: m/44'/0'/200'/0/0
972
- Testnet: m/44'/0'/200'/1/0
832
+ Wallet-only operator helper that derives the dedicated DePIN pool public key from the loaded service wallet.
973
833
 
974
834
  Result:
975
835
  {
976
- "pubkey": "hex", (string) Public key in hex format
977
- "address": "address", (string) Corresponding Neurai address
978
- "path": "derivation_path" (string) BIP44 derivation path used
836
+ "pubkey": "hex",
837
+ "address": "address",
838
+ "path": "derivation_path"
979
839
  }
980
-
981
- Examples:
982
- > neurai-cli depinpoolpkey
983
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinpoolpkey", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
984
840
  **/
985
841
  depinpoolpkey: "depinpoolpkey",
986
842
  /** depinpoolstats
@@ -1010,112 +866,45 @@ var methods = {
1010
866
 
1011
867
  Examples:
1012
868
  > neurai-cli depinpoolstats
1013
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinpoolstats", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
869
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinpoolstats", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
1014
870
  **/
1015
871
  depinpoolstats: "depinpoolstats",
1016
- /** depinreceivemsg "token" "address" (timestamp) ("after_hash") (limit)
1017
-
1018
- Retrieve DePIN messages from the pool with optional pagination
1019
-
1020
- This endpoint returns the messages. If the server has a DePIN pool key
1021
- and the requester's address has a revealed public key, the response will be
1022
- fully encrypted using the privacy layer.
1023
-
1024
- Arguments:
1025
- 1. "token" (string, required) Token name
1026
- 2. "address" (string, required) Neurai address (used as access selector and encryption target)
1027
- 3. timestamp (numeric, optional) Unix time. Return only messages with timestamp >= (timestamp-1 if timestamp>0)
1028
- 4. "after_hash" (string, optional) Hash of last received message for pagination. Empty "" starts from beginning
1029
- 5. limit (numeric, optional) Maximum messages to return. 0 or omitted = no limit (return all)
1030
-
1031
- Result (without pagination - backward compatible):
1032
- [
1033
- {
1034
- "hash": "...", (string) Message hash
1035
- "token": "...", (string) Token
1036
- "sender": "...", (string) Sender address
1037
- "timestamp": n, (numeric) Unix timestamp
1038
- "message_type": "private|group", (string) Message type (private=1-to-1, group=broadcast)
1039
- "encrypted_payload_hex": "...", (string) Encrypted payload (hex)
1040
- "signature_hex": "..." (string) Message signature (hex)
1041
- },
1042
- ...
1043
- ]
1044
-
1045
- Result (with pagination - when limit > 0):
1046
- {
1047
- "messages": [...], (array) Array of message objects (same structure as above)
1048
- "has_more": true|false (boolean) Whether more messages are available
1049
- }
1050
-
1051
- Note: Both message types are filtered by recipientKeys membership; the sender always sees their own messages.
872
+ /** depinreceivemsg "token" "address" "challenge" "signature" ( timestamp "after_hash" limit )
1052
873
 
1053
- Result (privacy layer active):
1054
- {
1055
- "encrypted": "hex_blob" (string) Full JSON response encrypted with ECIES
1056
- }
1057
-
1058
- Examples:
1059
- > neurai-cli depinreceivemsg "TOKEN" "NeuraiAddress"
1060
- > neurai-cli depinreceivemsg "TOKEN" "NeuraiAddress" 1730000000
1061
- > neurai-cli depinreceivemsg "TOKEN" "NeuraiAddress" 0 "" 5
1062
- > neurai-cli depinreceivemsg "TOKEN" "NeuraiAddress" 0 "abc123..." 5
1063
- > 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/
874
+ 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.
1064
875
  **/
1065
876
  depinreceivemsg: "depinreceivemsg",
1066
- /** depinsendmsg "token" "ip[:port]" "message" "fromaddress" (port)
877
+ /** depinsendmsg "token" "message" "fromaddress"
1067
878
 
1068
- Send an encrypted message through a remote DePIN gateway (challenge/response)
879
+ 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.
880
+ **/
881
+ depinsendmsg: "depinsendmsg",
882
+ /** depinsignchallenge "address" "token" "challenge" ( "type" )
1069
883
 
1070
- Arguments:
1071
- 1. "token" (string, required) Token name
1072
- 2. "ip[:port]" (string, required) Target node address (optional :port to contact remote gateway)
1073
- 3. "message" (string, required) Message to send (max 1KB)
1074
- 4. "fromaddress" (string, required) Wallet address used for signing/encryption
1075
- 5. port (numeric, optional) Destination message port (defaults to 19002). Only used when specified after fromaddress
884
+ Wallet helper that signs "DEPIN-GET|<token>|<address>|<challenge>" for receive access or "DEPIN-CLEAR|..." for admin access.
1076
885
 
1077
886
  Result:
1078
887
  {
1079
- "result": "success", (string) Status
1080
- "hash": "hash", (string) Message hash
1081
- "recipients": n, (numeric) Number of recipients
1082
- "timestamp": n (numeric) Message timestamp
888
+ "signature": "base64",
889
+ "preimage": "text"
1083
890
  }
1084
-
1085
- Examples:
1086
- > neurai-cli depinsendmsg "MYTOKEN" "192.168.1.100" "Hello team!" "NXsender..."
1087
- > neurai-cli depinsendmsg "MYTOKEN" "192.168.1.100:19005" "Hello team!" "NXsender..." 19005
1088
- > 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/
1089
891
  **/
1090
- depinsendmsg: "depinsendmsg",
1091
- /** depinsubmitmsg "hexmessage"|{"sender":"...","encrypted":"..."}
892
+ depinsignchallenge: "depinsignchallenge",
893
+ /** depinsignrequest "address" "token" ( "type" )
1092
894
 
1093
- Submit a pre-encrypted and signed DePIN message to the pool
1094
-
1095
- This is the secure protocol where the client prepares the complete message
1096
- (encryption + signature) and the server only validates and stores it.
1097
-
1098
- This command also supports an optional privacy layer where the entire message
1099
- is wrapped in a second layer of encryption for the server's pool key.
1100
-
1101
- Arguments:
1102
- 1. "hexmessage" (string) Hex-encoded serialized CDepinMessage
1103
- OR
1104
- { (json object) Wrapped encrypted message
1105
- "sender": "...", (string, required) Sender address
1106
- "encrypted": "..." (string, required) Hex-encoded ECIES wrapper
1107
- }
895
+ Wallet helper that signs a depinchallenge request over the current Unix time in milliseconds.
1108
896
 
1109
897
  Result:
1110
898
  {
1111
- "result": "success", (string) Status
1112
- "hash": "hash", (string) Message hash
1113
- "timestamp": n (numeric) Unix timestamp
899
+ "timestamp": n,
900
+ "signature": "base64",
901
+ "preimage": "DEPIN-REQ|..."
1114
902
  }
903
+ **/
904
+ depinsignrequest: "depinsignrequest",
905
+ /** depinsubmitmsg {"sender":"...","encrypted":"..."}
1115
906
 
1116
- Examples:
1117
- > neurai-cli depinsubmitmsg "0a3f2e..."
1118
- > 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/
907
+ 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.
1119
908
  **/
1120
909
  depinsubmitmsg: "depinsubmitmsg",
1121
910
  /** disconnectnode "[address]" [nodeid]
@@ -1131,10 +920,10 @@ var methods = {
1131
920
  2. "nodeid" (number, optional) The node ID (see getpeerinfo for node IDs)
1132
921
 
1133
922
  Examples:
1134
- > neurai-cli disconnectnode "192.168.0.6:8767"
923
+ > neurai-cli disconnectnode "192.168.0.6:19000"
1135
924
  > neurai-cli disconnectnode "" 1
1136
- > 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/
1137
- > 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/
925
+ > 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/
926
+ > 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/
1138
927
  **/
1139
928
  disconnectnode: "disconnectnode",
1140
929
  /** distributereward "asset_name" snapshot_height "distribution_asset_name" gross_distribution_amount ( "exception_addresses" ) ("change_address") ("dry_run")
@@ -1170,8 +959,8 @@ var methods = {
1170
959
  Examples:
1171
960
  > neurai-cli distributereward "TRONCO" 12345 "XNA" 1000
1172
961
  > neurai-cli distributereward "PHATSTACKS" 12345 "DIVIDENDS" 1000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"
1173
- > 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/
1174
- > 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/
962
+ > 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/
963
+ > 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/
1175
964
  **/
1176
965
  distributereward: "distributereward",
1177
966
  /** dumpextkeypq
@@ -1184,7 +973,7 @@ var methods = {
1184
973
 
1185
974
  Examples:
1186
975
  > neurai-cli dumpextkeypq
1187
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpextkeypq", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
976
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpextkeypq", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
1188
977
  **/
1189
978
  dumpextkeypq: "dumpextkeypq",
1190
979
  /** dumpprivkey "address"
@@ -1201,7 +990,7 @@ var methods = {
1201
990
  Examples:
1202
991
  > neurai-cli dumpprivkey "myaddress"
1203
992
  > neurai-cli importprivkey "mykey"
1204
- > 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/
993
+ > 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/
1205
994
  **/
1206
995
  dumpprivkey: "dumpprivkey",
1207
996
  /** dumpwallet "filename"
@@ -1218,7 +1007,7 @@ var methods = {
1218
1007
 
1219
1008
  Examples:
1220
1009
  > neurai-cli dumpwallet "test"
1221
- > 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/
1010
+ > 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/
1222
1011
  **/
1223
1012
  dumpwallet: "dumpwallet",
1224
1013
  /** encryptwallet "passphrase"
@@ -1248,7 +1037,7 @@ var methods = {
1248
1037
  > neurai-cli walletlock
1249
1038
 
1250
1039
  As a json rpc call
1251
- > 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/
1040
+ > 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/
1252
1041
  **/
1253
1042
  encryptwallet: "encryptwallet",
1254
1043
  /** estimatefee nblocks
@@ -1322,7 +1111,7 @@ var methods = {
1322
1111
 
1323
1112
  Examples:
1324
1113
  > neurai-cli exportxpqpub 20
1325
- > 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/
1114
+ > 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/
1326
1115
  **/
1327
1116
  exportxpqpub: "exportxpqpub",
1328
1117
  /** freezeaddress asset_name address (change_address) (asset_data)
@@ -1343,9 +1132,9 @@ var methods = {
1343
1132
 
1344
1133
  Examples:
1345
1134
  > neurai-cli freezeaddress "$RESTRICTED_ASSET" "address"
1346
- > 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/
1135
+ > 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/
1347
1136
  > neurai-cli freezeaddress "$RESTRICTED_ASSET" "address" "change_address"
1348
- > 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/
1137
+ > 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/
1349
1138
  **/
1350
1139
  freezeaddress: "freezeaddress",
1351
1140
  /** freezedepin "asset_name" "address" ("change_address")
@@ -1369,7 +1158,7 @@ var methods = {
1369
1158
 
1370
1159
  Examples:
1371
1160
  > neurai-cli freezedepin "&FRANCE" "address"
1372
- > 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/
1161
+ > 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/
1373
1162
  **/
1374
1163
  freezedepin: "freezedepin",
1375
1164
  /** freezerestrictedasset asset_name (change_address) (asset_data)
@@ -1389,9 +1178,9 @@ var methods = {
1389
1178
 
1390
1179
  Examples:
1391
1180
  > neurai-cli freezerestrictedasset "$RESTRICTED_ASSET"
1392
- > 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/
1181
+ > 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/
1393
1182
  > neurai-cli freezerestrictedasset "$RESTRICTED_ASSET" "change_address"
1394
- > 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/
1183
+ > 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/
1395
1184
  **/
1396
1185
  freezerestrictedasset: "freezerestrictedasset",
1397
1186
  /** fundrawtransaction "hexstring" ( options )
@@ -1500,7 +1289,7 @@ var methods = {
1500
1289
 
1501
1290
  Examples:
1502
1291
  > neurai-cli getaccount "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX"
1503
- > 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/
1292
+ > 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/
1504
1293
  **/
1505
1294
  getaccount: "getaccount",
1506
1295
  /** getaccountaddress "account"
@@ -1517,7 +1306,7 @@ var methods = {
1517
1306
  > neurai-cli getaccountaddress
1518
1307
  > neurai-cli getaccountaddress ""
1519
1308
  > neurai-cli getaccountaddress "myaccount"
1520
- > 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/
1309
+ > 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/
1521
1310
  **/
1522
1311
  getaccountaddress: "getaccountaddress",
1523
1312
  /** getaddednodeinfo ( "node" )
@@ -1535,7 +1324,7 @@ var methods = {
1535
1324
  "connected" : true|false, (boolean) If connected
1536
1325
  "addresses" : [ (list of objects) Only when connected = true
1537
1326
  {
1538
- "address" : "192.168.0.201:8767", (string) The neurai server IP and port we're connected to
1327
+ "address" : "192.168.0.201:19000", (string) The neurai server IP and port we're connected to
1539
1328
  "connected" : "outbound" (string) connection, inbound or outbound
1540
1329
  }
1541
1330
  ]
@@ -1545,7 +1334,7 @@ var methods = {
1545
1334
 
1546
1335
  Examples:
1547
1336
  > neurai-cli getaddednodeinfo "192.168.0.201"
1548
- > 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/
1337
+ > 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/
1549
1338
  **/
1550
1339
  getaddednodeinfo: "getaddednodeinfo",
1551
1340
  /** getaddressbalance
@@ -1580,8 +1369,8 @@ var methods = {
1580
1369
  Examples:
1581
1370
  > neurai-cli getaddressbalance '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
1582
1371
  > neurai-cli getaddressbalance '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
1583
- > 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/
1584
- > 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/
1372
+ > 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/
1373
+ > 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/
1585
1374
  **/
1586
1375
  getaddressbalance: "getaddressbalance",
1587
1376
  /** getaddressdeltas
@@ -1615,9 +1404,9 @@ var methods = {
1615
1404
 
1616
1405
  Examples:
1617
1406
  > neurai-cli getaddressdeltas '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
1618
- > 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/
1407
+ > 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/
1619
1408
  > neurai-cli getaddressdeltas '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}'
1620
- > 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/
1409
+ > 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/
1621
1410
  **/
1622
1411
  getaddressdeltas: "getaddressdeltas",
1623
1412
  /** getaddressesbyaccount "account"
@@ -1635,7 +1424,7 @@ var methods = {
1635
1424
 
1636
1425
  Examples:
1637
1426
  > neurai-cli getaddressesbyaccount "tabby"
1638
- > 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/
1427
+ > 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/
1639
1428
  **/
1640
1429
  getaddressesbyaccount: "getaddressesbyaccount",
1641
1430
  /** getaddressmempool
@@ -1668,9 +1457,9 @@ var methods = {
1668
1457
 
1669
1458
  Examples:
1670
1459
  > neurai-cli getaddressmempool '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
1671
- > 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/
1460
+ > 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/
1672
1461
  > neurai-cli getaddressmempool '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
1673
- > 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/
1462
+ > 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/
1674
1463
  **/
1675
1464
  getaddressmempool: "getaddressmempool",
1676
1465
  /** getaddresstxids
@@ -1697,9 +1486,9 @@ var methods = {
1697
1486
 
1698
1487
  Examples:
1699
1488
  > neurai-cli getaddresstxids '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
1700
- > 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/
1489
+ > 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/
1701
1490
  > neurai-cli getaddresstxids '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
1702
- > 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/
1491
+ > 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/
1703
1492
  **/
1704
1493
  getaddresstxids: "getaddresstxids",
1705
1494
  /** getaddressutxos
@@ -1732,9 +1521,9 @@ var methods = {
1732
1521
 
1733
1522
  Examples:
1734
1523
  > neurai-cli getaddressutxos '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
1735
- > 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/
1524
+ > 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/
1736
1525
  > neurai-cli getaddressutxos '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}'
1737
- > 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/
1526
+ > 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/
1738
1527
  **/
1739
1528
  getaddressutxos: "getaddressutxos",
1740
1529
  /** getassetdata "asset_name"
@@ -1761,7 +1550,7 @@ var methods = {
1761
1550
 
1762
1551
  Examples:
1763
1552
  > neurai-cli getassetdata "ASSET_NAME"
1764
- > 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/
1553
+ > 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/
1765
1554
  **/
1766
1555
  getassetdata: "getassetdata",
1767
1556
  /** getbalance ( "account" minconf include_watchonly )
@@ -1799,7 +1588,7 @@ var methods = {
1799
1588
  > neurai-cli getbalance "*" 6
1800
1589
 
1801
1590
  As a json rpc call
1802
- > 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/
1591
+ > 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/
1803
1592
  **/
1804
1593
  getbalance: "getbalance",
1805
1594
  /** getbestblockhash
@@ -1811,7 +1600,7 @@ var methods = {
1811
1600
 
1812
1601
  Examples:
1813
1602
  > neurai-cli getbestblockhash
1814
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbestblockhash", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1603
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbestblockhash", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
1815
1604
  **/
1816
1605
  getbestblockhash: "getbestblockhash",
1817
1606
  /** getblock "blockhash" ( verbosity )
@@ -1863,7 +1652,7 @@ var methods = {
1863
1652
 
1864
1653
  Examples:
1865
1654
  > neurai-cli getblock "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
1866
- > 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/
1655
+ > 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/
1867
1656
  **/
1868
1657
  getblock: "getblock",
1869
1658
  /** getblockchaininfo
@@ -1914,7 +1703,7 @@ var methods = {
1914
1703
 
1915
1704
  Examples:
1916
1705
  > neurai-cli getblockchaininfo
1917
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockchaininfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1706
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockchaininfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
1918
1707
  **/
1919
1708
  getblockchaininfo: "getblockchaininfo",
1920
1709
  /** getblockcount
@@ -1926,7 +1715,7 @@ var methods = {
1926
1715
 
1927
1716
  Examples:
1928
1717
  > neurai-cli getblockcount
1929
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockcount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1718
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockcount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
1930
1719
  **/
1931
1720
  getblockcount: "getblockcount",
1932
1721
  /** getblockhash height
@@ -1941,7 +1730,7 @@ var methods = {
1941
1730
 
1942
1731
  Examples:
1943
1732
  > neurai-cli getblockhash 1000
1944
- > 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/
1733
+ > 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/
1945
1734
  **/
1946
1735
  getblockhash: "getblockhash",
1947
1736
  /** getblockhashes timestamp
@@ -1970,7 +1759,7 @@ var methods = {
1970
1759
 
1971
1760
  Examples:
1972
1761
  > neurai-cli getblockhashes 1231614698 1231024505
1973
- > 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/
1762
+ > 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/
1974
1763
  > neurai-cli getblockhashes 1231614698 1231024505 '{"noOrphans":false, "logicalTimes":true}'
1975
1764
  **/
1976
1765
  getblockhashes: "getblockhashes",
@@ -2006,7 +1795,7 @@ var methods = {
2006
1795
 
2007
1796
  Examples:
2008
1797
  > neurai-cli getblockheader "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
2009
- > 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/
1798
+ > 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/
2010
1799
  **/
2011
1800
  getblockheader: "getblockheader",
2012
1801
  /** getblocktemplate ( TemplateRequest )
@@ -2082,7 +1871,7 @@ var methods = {
2082
1871
 
2083
1872
  Examples:
2084
1873
  > neurai-cli getblocktemplate
2085
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblocktemplate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1874
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblocktemplate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2086
1875
  **/
2087
1876
  getblocktemplate: "getblocktemplate",
2088
1877
  /** getcacheinfo
@@ -2104,7 +1893,7 @@ var methods = {
2104
1893
  ]
2105
1894
 
2106
1895
  Examples:
2107
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getcacheinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1896
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getcacheinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2108
1897
  > neurai-cli getcacheinfo
2109
1898
  **/
2110
1899
  getcacheinfo: "getcacheinfo",
@@ -2135,7 +1924,7 @@ var methods = {
2135
1924
 
2136
1925
  Examples:
2137
1926
  > neurai-cli getchaintips
2138
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintips", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1927
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintips", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2139
1928
  **/
2140
1929
  getchaintips: "getchaintips",
2141
1930
  /** getchaintxstats ( nblocks blockhash )
@@ -2158,7 +1947,7 @@ var methods = {
2158
1947
 
2159
1948
  Examples:
2160
1949
  > neurai-cli getchaintxstats
2161
- > 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/
1950
+ > 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/
2162
1951
  **/
2163
1952
  getchaintxstats: "getchaintxstats",
2164
1953
  /** getconnectioncount
@@ -2170,7 +1959,7 @@ var methods = {
2170
1959
 
2171
1960
  Examples:
2172
1961
  > neurai-cli getconnectioncount
2173
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getconnectioncount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1962
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getconnectioncount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2174
1963
  **/
2175
1964
  getconnectioncount: "getconnectioncount",
2176
1965
  /** getdifficulty
@@ -2182,7 +1971,7 @@ var methods = {
2182
1971
 
2183
1972
  Examples:
2184
1973
  > neurai-cli getdifficulty
2185
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdifficulty", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1974
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdifficulty", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2186
1975
  **/
2187
1976
  getdifficulty: "getdifficulty",
2188
1977
  /** getdistributestatus "asset_name" snapshot_height "distribution_asset_name" gross_distribution_amount ( "exception_addresses" )
@@ -2199,8 +1988,8 @@ var methods = {
2199
1988
  Examples:
2200
1989
  > neurai-cli getdistributestatus "TRONCO" 12345 "XNA" 1000
2201
1990
  > neurai-cli getdistributestatus "PHATSTACKS" 12345 "DIVIDENDS" 1000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"
2202
- > 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/
2203
- > 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/
1991
+ > 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/
1992
+ > 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/
2204
1993
  **/
2205
1994
  getdistributestatus: "getdistributestatus",
2206
1995
  /** getgenerate
@@ -2214,9 +2003,30 @@ var methods = {
2214
2003
 
2215
2004
  Examples:
2216
2005
  > neurai-cli getgenerate
2217
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getgenerate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2006
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getgenerate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2218
2007
  **/
2219
2008
  getgenerate: "getgenerate",
2009
+ /** getibdstatus
2010
+
2011
+ Returns header synchronization timing collected since process start.
2012
+
2013
+ Result:
2014
+ {
2015
+ "blocks": n,
2016
+ "headers": n,
2017
+ "header_batches": n,
2018
+ "headers_in_batches": n,
2019
+ "unsolicited_header_responses": n,
2020
+ "average_request_to_response_us": n,
2021
+ "average_validation_us": n,
2022
+ "peers": [...]
2023
+ }
2024
+
2025
+ Examples:
2026
+ > neurai-cli getibdstatus
2027
+ > curl --user myusername --data-binary '{"jsonrpc":"2.0","id":1,"method":"getibdstatus","params":[]}' -H 'content-type: application/json' http://127.0.0.1:19001/
2028
+ **/
2029
+ getibdstatus: "getibdstatus",
2220
2030
  /** getinfo
2221
2031
 
2222
2032
  DEPRECATED. Returns an object containing various state info.
@@ -2244,7 +2054,7 @@ var methods = {
2244
2054
 
2245
2055
  Examples:
2246
2056
  > neurai-cli getinfo
2247
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2057
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2248
2058
  **/
2249
2059
  getinfo: "getinfo",
2250
2060
  /** getkawpowhash "header_hash" "mix_hash" nonce, height, "target"
@@ -2262,7 +2072,7 @@ var methods = {
2262
2072
 
2263
2073
  Examples:
2264
2074
  > neurai-cli getkawpowhash "header_hash" "mix_hash" "0x100000" 2456
2265
- > 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/
2075
+ > 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/
2266
2076
  **/
2267
2077
  getkawpowhash: "getkawpowhash",
2268
2078
  /** getmasterkeyinfo
@@ -2282,7 +2092,7 @@ var methods = {
2282
2092
 
2283
2093
  Examples:
2284
2094
  > neurai-cli getmasterkeyinfo
2285
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmasterkeyinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2095
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmasterkeyinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2286
2096
  **/
2287
2097
  getmasterkeyinfo: "getmasterkeyinfo",
2288
2098
  /** getmemoryinfo ("mode")
@@ -2309,7 +2119,7 @@ var methods = {
2309
2119
 
2310
2120
  Examples:
2311
2121
  > neurai-cli getmemoryinfo
2312
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmemoryinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2122
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmemoryinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2313
2123
  **/
2314
2124
  getmemoryinfo: "getmemoryinfo",
2315
2125
  /** getmempoolancestors txid (verbose)
@@ -2349,7 +2159,7 @@ var methods = {
2349
2159
 
2350
2160
  Examples:
2351
2161
  > neurai-cli getmempoolancestors "mytxid"
2352
- > 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/
2162
+ > 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/
2353
2163
  **/
2354
2164
  getmempoolancestors: "getmempoolancestors",
2355
2165
  /** getmempooldescendants txid (verbose)
@@ -2389,7 +2199,7 @@ var methods = {
2389
2199
 
2390
2200
  Examples:
2391
2201
  > neurai-cli getmempooldescendants "mytxid"
2392
- > 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/
2202
+ > 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/
2393
2203
  **/
2394
2204
  getmempooldescendants: "getmempooldescendants",
2395
2205
  /** getmempoolentry txid
@@ -2420,7 +2230,7 @@ var methods = {
2420
2230
 
2421
2231
  Examples:
2422
2232
  > neurai-cli getmempoolentry "mytxid"
2423
- > 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/
2233
+ > 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/
2424
2234
  **/
2425
2235
  getmempoolentry: "getmempoolentry",
2426
2236
  /** getmempoolinfo
@@ -2438,7 +2248,7 @@ var methods = {
2438
2248
 
2439
2249
  Examples:
2440
2250
  > neurai-cli getmempoolinfo
2441
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2251
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2442
2252
  **/
2443
2253
  getmempoolinfo: "getmempoolinfo",
2444
2254
  /** getmininginfo
@@ -2460,7 +2270,7 @@ var methods = {
2460
2270
 
2461
2271
  Examples:
2462
2272
  > neurai-cli getmininginfo
2463
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmininginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2273
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmininginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2464
2274
  **/
2465
2275
  getmininginfo: "getmininginfo",
2466
2276
  /** getmywords ( "account" )
@@ -2474,7 +2284,7 @@ var methods = {
2474
2284
 
2475
2285
  Examples:
2476
2286
  > neurai-cli getmywords
2477
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmywords", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2287
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmywords", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2478
2288
  **/
2479
2289
  getmywords: "getmywords",
2480
2290
  /** getnettotals
@@ -2500,7 +2310,7 @@ var methods = {
2500
2310
 
2501
2311
  Examples:
2502
2312
  > neurai-cli getnettotals
2503
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnettotals", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2313
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnettotals", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2504
2314
  **/
2505
2315
  getnettotals: "getnettotals",
2506
2316
  /** getnetworkhashps ( nblocks height )
@@ -2518,7 +2328,7 @@ var methods = {
2518
2328
 
2519
2329
  Examples:
2520
2330
  > neurai-cli getnetworkhashps
2521
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkhashps", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2331
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkhashps", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2522
2332
  **/
2523
2333
  getnetworkhashps: "getnetworkhashps",
2524
2334
  /** getnetworkinfo
@@ -2559,7 +2369,7 @@ var methods = {
2559
2369
 
2560
2370
  Examples:
2561
2371
  > neurai-cli getnetworkinfo
2562
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2372
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2563
2373
  **/
2564
2374
  getnetworkinfo: "getnetworkinfo",
2565
2375
  /** getnewaddress ( "account" )
@@ -2576,7 +2386,7 @@ var methods = {
2576
2386
 
2577
2387
  Examples:
2578
2388
  > neurai-cli getnewaddress
2579
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2389
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2580
2390
  **/
2581
2391
  getnewaddress: "getnewaddress",
2582
2392
  /** getpeerinfo
@@ -2628,7 +2438,7 @@ var methods = {
2628
2438
 
2629
2439
  Examples:
2630
2440
  > neurai-cli getpeerinfo
2631
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpeerinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2441
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpeerinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2632
2442
  **/
2633
2443
  getpeerinfo: "getpeerinfo",
2634
2444
  /** getpubkey "address"
@@ -2649,7 +2459,7 @@ var methods = {
2649
2459
 
2650
2460
  Examples:
2651
2461
  > neurai-cli getpubkey "NXa1b2c3d4e5f6..."
2652
- > 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/
2462
+ > 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/
2653
2463
  **/
2654
2464
  getpubkey: "getpubkey",
2655
2465
  /** getrawchangeaddress
@@ -2662,7 +2472,7 @@ var methods = {
2662
2472
 
2663
2473
  Examples:
2664
2474
  > neurai-cli getrawchangeaddress
2665
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawchangeaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2475
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawchangeaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2666
2476
  **/
2667
2477
  getrawchangeaddress: "getrawchangeaddress",
2668
2478
  /** getrawmempool ( verbose )
@@ -2703,7 +2513,7 @@ var methods = {
2703
2513
 
2704
2514
  Examples:
2705
2515
  > neurai-cli getrawmempool true
2706
- > 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/
2516
+ > 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/
2707
2517
  **/
2708
2518
  getrawmempool: "getrawmempool",
2709
2519
  /** getrawtransaction "txid" ( verbose )
@@ -2772,7 +2582,7 @@ var methods = {
2772
2582
  Examples:
2773
2583
  > neurai-cli getrawtransaction "mytxid"
2774
2584
  > neurai-cli getrawtransaction "mytxid" true
2775
- > 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/
2585
+ > 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/
2776
2586
  **/
2777
2587
  getrawtransaction: "getrawtransaction",
2778
2588
  /** getreceivedbyaccount "account" ( minconf )
@@ -2798,7 +2608,7 @@ var methods = {
2798
2608
  > neurai-cli getreceivedbyaccount "tabby" 6
2799
2609
 
2800
2610
  As a json rpc call
2801
- > 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/
2611
+ > 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/
2802
2612
  **/
2803
2613
  getreceivedbyaccount: "getreceivedbyaccount",
2804
2614
  /** getreceivedbyaddress "address" ( minconf )
@@ -2824,7 +2634,7 @@ var methods = {
2824
2634
  > neurai-cli getreceivedbyaddress "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" 6
2825
2635
 
2826
2636
  As a json rpc call
2827
- > 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/
2637
+ > 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/
2828
2638
  **/
2829
2639
  getreceivedbyaddress: "getreceivedbyaddress",
2830
2640
  /** getrpcinfo
@@ -2841,7 +2651,7 @@ var methods = {
2841
2651
  ],
2842
2652
  }
2843
2653
  > neurai-cli getrpcinfo
2844
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrpcinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2654
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrpcinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2845
2655
  **/
2846
2656
  getrpcinfo: "getrpcinfo",
2847
2657
  /** getsnapshot "asset_name" block_height
@@ -2867,7 +2677,7 @@ var methods = {
2867
2677
  }
2868
2678
 
2869
2679
  Examples:
2870
- > 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/
2680
+ > 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/
2871
2681
  **/
2872
2682
  getsnapshot: "getsnapshot",
2873
2683
  /** getsnapshotrequest "asset_name" block_height
@@ -2886,7 +2696,7 @@ var methods = {
2886
2696
 
2887
2697
  Examples:
2888
2698
  > neurai-cli getsnapshotrequest "TRONCO" 12345
2889
- > 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/
2699
+ > 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/
2890
2700
  **/
2891
2701
  getsnapshotrequest: "getsnapshotrequest",
2892
2702
  /** getspentinfo
@@ -2908,7 +2718,7 @@ var methods = {
2908
2718
 
2909
2719
  Examples:
2910
2720
  > neurai-cli getspentinfo '{"txid": "0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9", "index": 0}'
2911
- > 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/
2721
+ > 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/
2912
2722
  **/
2913
2723
  getspentinfo: "getspentinfo",
2914
2724
  /** gettransaction "txid" ( include_watchonly )
@@ -2965,7 +2775,7 @@ var methods = {
2965
2775
  Examples:
2966
2776
  > neurai-cli gettransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
2967
2777
  > neurai-cli gettransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d" true
2968
- > 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/
2778
+ > 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/
2969
2779
  **/
2970
2780
  gettransaction: "gettransaction",
2971
2781
  /** gettxout "txid" n ( include_mempool )
@@ -3004,7 +2814,7 @@ var methods = {
3004
2814
  > neurai-cli gettxout "txid" 1
3005
2815
 
3006
2816
  As a json rpc call
3007
- > 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/
2817
+ > 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/
3008
2818
  **/
3009
2819
  gettxout: "gettxout",
3010
2820
  /** gettxoutproof ["txid",...] ( blockhash )
@@ -3047,7 +2857,7 @@ var methods = {
3047
2857
 
3048
2858
  Examples:
3049
2859
  > neurai-cli gettxoutsetinfo
3050
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxoutsetinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2860
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxoutsetinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3051
2861
  **/
3052
2862
  gettxoutsetinfo: "gettxoutsetinfo",
3053
2863
  /** getunconfirmedbalance
@@ -3069,7 +2879,7 @@ var methods = {
3069
2879
 
3070
2880
  Examples:
3071
2881
  > neurai-cli getverifierstring "restricted_name"
3072
- > 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/
2882
+ > 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/
3073
2883
  **/
3074
2884
  getverifierstring: "getverifierstring",
3075
2885
  /** getwalletinfo
@@ -3094,7 +2904,7 @@ var methods = {
3094
2904
 
3095
2905
  Examples:
3096
2906
  > neurai-cli getwalletinfo
3097
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getwalletinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2907
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getwalletinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3098
2908
  **/
3099
2909
  getwalletinfo: "getwalletinfo",
3100
2910
  /** help ( "command" )
@@ -3133,7 +2943,7 @@ var methods = {
3133
2943
  > neurai-cli importaddress "myscript" "testing" false
3134
2944
 
3135
2945
  As a JSON-RPC call
3136
- > 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/
2946
+ > 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/
3137
2947
  **/
3138
2948
  importaddress: "importaddress",
3139
2949
  /** importmulti "requests" ( "options" )
@@ -3199,7 +3009,7 @@ var methods = {
3199
3009
  > neurai-cli importprivkey "mykey" "" false
3200
3010
 
3201
3011
  As a JSON-RPC call
3202
- > 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/
3012
+ > 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/
3203
3013
  **/
3204
3014
  importprivkey: "importprivkey",
3205
3015
  /** importprunedfunds
@@ -3231,7 +3041,7 @@ var methods = {
3231
3041
  > neurai-cli importpubkey "mypubkey" "testing" false
3232
3042
 
3233
3043
  As a JSON-RPC call
3234
- > 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/
3044
+ > 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/
3235
3045
  **/
3236
3046
  importpubkey: "importpubkey",
3237
3047
  /** importwallet "filename"
@@ -3250,7 +3060,7 @@ var methods = {
3250
3060
  > neurai-cli importwallet "test"
3251
3061
 
3252
3062
  Import using the json rpc call
3253
- > 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/
3063
+ > 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/
3254
3064
  **/
3255
3065
  importwallet: "importwallet",
3256
3066
  /** issue "asset_name" qty "( to_address )" "( change_address )" ( units ) ( reissuable ) ( has_ipfs ) "( ipfs_hash )"
@@ -3393,7 +3203,7 @@ var methods = {
3393
3203
 
3394
3204
  Examples:
3395
3205
  > neurai-cli isvalidverifierstring "verifier_string"
3396
- > 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/
3206
+ > 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/
3397
3207
  **/
3398
3208
  isvalidverifierstring: "isvalidverifierstring",
3399
3209
  /** keypoolrefill ( newsize )
@@ -3405,7 +3215,7 @@ var methods = {
3405
3215
 
3406
3216
  Examples:
3407
3217
  > neurai-cli keypoolrefill
3408
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "keypoolrefill", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3218
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "keypoolrefill", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3409
3219
  **/
3410
3220
  keypoolrefill: "keypoolrefill",
3411
3221
  /** listaccounts ( minconf include_watchonly)
@@ -3434,7 +3244,7 @@ var methods = {
3434
3244
  > neurai-cli listaccounts 6
3435
3245
 
3436
3246
  As json rpc call
3437
- > 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/
3247
+ > 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/
3438
3248
  **/
3439
3249
  listaccounts: "listaccounts",
3440
3250
  /** listaddressesbyasset "asset_name" (onlytotal) (count) (start)
@@ -3478,7 +3288,7 @@ var methods = {
3478
3288
 
3479
3289
  Examples:
3480
3290
  > neurai-cli listaddressesfortag "#TAG"
3481
- > 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/
3291
+ > 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/
3482
3292
  **/
3483
3293
  listaddressesfortag: "listaddressesfortag",
3484
3294
  /** listaddressgroupings
@@ -3502,7 +3312,7 @@ var methods = {
3502
3312
 
3503
3313
  Examples:
3504
3314
  > neurai-cli listaddressgroupings
3505
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressgroupings", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3315
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressgroupings", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3506
3316
  **/
3507
3317
  listaddressgroupings: "listaddressgroupings",
3508
3318
  /** listaddressrestrictions address
@@ -3522,7 +3332,7 @@ var methods = {
3522
3332
 
3523
3333
  Examples:
3524
3334
  > neurai-cli listaddressrestrictions "address"
3525
- > 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/
3335
+ > 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/
3526
3336
  **/
3527
3337
  listaddressrestrictions: "listaddressrestrictions",
3528
3338
  /** listassetbalancesbyaddress "address" (onlytotal) (count) (start)
@@ -3586,7 +3396,7 @@ var methods = {
3586
3396
  }
3587
3397
 
3588
3398
  Examples:
3589
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3399
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3590
3400
  > neurai-cli listassets ASSET
3591
3401
  > neurai-cli listassets "ASSET*" true 10 20
3592
3402
  **/
@@ -3597,7 +3407,7 @@ var methods = {
3597
3407
 
3598
3408
  Examples:
3599
3409
  > neurai-cli listbanned
3600
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3410
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3601
3411
  **/
3602
3412
  listbanned: "listbanned",
3603
3413
  /** listdepinaddresses "asset_name" (count) (start)
@@ -3625,7 +3435,7 @@ var methods = {
3625
3435
  Examples:
3626
3436
  > neurai-cli listdepinaddresses "ASSET_NAME"
3627
3437
  > neurai-cli listdepinaddresses "ASSET_NAME" 10 0
3628
- > 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/
3438
+ > 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/
3629
3439
  **/
3630
3440
  listdepinaddresses: "listdepinaddresses",
3631
3441
  /** listdepinholders "asset_name"
@@ -3652,7 +3462,7 @@ var methods = {
3652
3462
 
3653
3463
  Examples:
3654
3464
  > neurai-cli listdepinholders "&FRANCE"
3655
- > 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/
3465
+ > 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/
3656
3466
  **/
3657
3467
  listdepinholders: "listdepinholders",
3658
3468
  /** listglobalrestrictions
@@ -3669,7 +3479,7 @@ var methods = {
3669
3479
 
3670
3480
  Examples:
3671
3481
  > neurai-cli listglobalrestrictions
3672
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listglobalrestrictions", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3482
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listglobalrestrictions", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3673
3483
  **/
3674
3484
  listglobalrestrictions: "listglobalrestrictions",
3675
3485
  /** listlockunspent
@@ -3701,7 +3511,7 @@ var methods = {
3701
3511
  > neurai-cli lockunspent true "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"
3702
3512
 
3703
3513
  As a json rpc call
3704
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listlockunspent", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3514
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listlockunspent", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3705
3515
  **/
3706
3516
  listlockunspent: "listlockunspent",
3707
3517
  /** listmyassets "( asset )" ( verbose ) ( count ) ( start ) (confs)
@@ -3743,7 +3553,7 @@ var methods = {
3743
3553
  {...}, {...}
3744
3554
 
3745
3555
  Examples:
3746
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listmyassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3556
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listmyassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3747
3557
  > neurai-cli listmyassets ASSET
3748
3558
  > neurai-cli listmyassets "ASSET*" true 10 20
3749
3559
  > neurai-cli listmyassets "ASSET*" true 10 20 1
@@ -3761,7 +3571,7 @@ var methods = {
3761
3571
 
3762
3572
  Examples:
3763
3573
  > neurai-cli listpqaddresses
3764
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listpqaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3574
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listpqaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3765
3575
  **/
3766
3576
  listpqaddresses: "listpqaddresses",
3767
3577
  /** listreceivedbyaccount ( minconf include_empty include_watchonly)
@@ -3788,7 +3598,7 @@ var methods = {
3788
3598
  Examples:
3789
3599
  > neurai-cli listreceivedbyaccount
3790
3600
  > neurai-cli listreceivedbyaccount 6 true
3791
- > 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/
3601
+ > 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/
3792
3602
  **/
3793
3603
  listreceivedbyaccount: "listreceivedbyaccount",
3794
3604
  /** listreceivedbyaddress ( minconf include_empty include_watchonly)
@@ -3820,7 +3630,7 @@ var methods = {
3820
3630
  Examples:
3821
3631
  > neurai-cli listreceivedbyaddress
3822
3632
  > neurai-cli listreceivedbyaddress 6 true
3823
- > 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/
3633
+ > 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/
3824
3634
  **/
3825
3635
  listreceivedbyaddress: "listreceivedbyaddress",
3826
3636
  /** listsinceblock ( "blockhash" target_confirmations include_watchonly include_removed )
@@ -3871,7 +3681,7 @@ var methods = {
3871
3681
  Examples:
3872
3682
  > neurai-cli listsinceblock
3873
3683
  > neurai-cli listsinceblock "000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad" 6
3874
- > 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/
3684
+ > 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/
3875
3685
  **/
3876
3686
  listsinceblock: "listsinceblock",
3877
3687
  /** listsnapshotrequests ["asset_name" [block_height]]
@@ -3892,7 +3702,7 @@ var methods = {
3892
3702
 
3893
3703
  Examples:
3894
3704
  > neurai-cli listsnapshotrequests
3895
- > 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/
3705
+ > 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/
3896
3706
  **/
3897
3707
  listsnapshotrequests: "listsnapshotrequests",
3898
3708
  /** listtagsforaddress address
@@ -3912,7 +3722,7 @@ var methods = {
3912
3722
 
3913
3723
  Examples:
3914
3724
  > neurai-cli listtagsforaddress "address"
3915
- > 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/
3725
+ > 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/
3916
3726
  **/
3917
3727
  listtagsforaddress: "listtagsforaddress",
3918
3728
  /** listtransactions ( "account" count skip include_watchonly)
@@ -3976,7 +3786,7 @@ var methods = {
3976
3786
  > neurai-cli listtransactions "*" 20 100
3977
3787
 
3978
3788
  As a json rpc call
3979
- > 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/
3789
+ > 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/
3980
3790
  **/
3981
3791
  listtransactions: "listtransactions",
3982
3792
  /** listunspent ( minconf maxconf ["addresses",...] [include_unsafe] [query_options])
@@ -4026,9 +3836,9 @@ var methods = {
4026
3836
  Examples
4027
3837
  > neurai-cli listunspent
4028
3838
  > neurai-cli listunspent 6 9999999 "[\"1PGFqEzfmQch1gKD3ra4k18PNj3tTUUSqg\",\"1LtvqCaApEdUGFkpKMM4MstjcaL4dKg8SP\"]"
4029
- > 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/
3839
+ > 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/
4030
3840
  > neurai-cli listunspent 6 9999999 '[]' true '{ "minimumAmount": 0.005 }'
4031
- > 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/
3841
+ > 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/
4032
3842
  **/
4033
3843
  listunspent: "listunspent",
4034
3844
  /** listwallets
@@ -4043,7 +3853,7 @@ var methods = {
4043
3853
 
4044
3854
  Examples:
4045
3855
  > neurai-cli listwallets
4046
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listwallets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3856
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listwallets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
4047
3857
  **/
4048
3858
  listwallets: "listwallets",
4049
3859
  /** lockunspent unlock ([{"txid":"txid","vout":n},...])
@@ -4085,7 +3895,7 @@ var methods = {
4085
3895
  > neurai-cli lockunspent true "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"
4086
3896
 
4087
3897
  As a json rpc call
4088
- > 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/
3898
+ > 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/
4089
3899
  **/
4090
3900
  lockunspent: "lockunspent",
4091
3901
  /** move "fromaccount" "toaccount" amount ( minconf "comment" )
@@ -4111,7 +3921,7 @@ var methods = {
4111
3921
  > neurai-cli move "timotei" "akiko" 0.01 6 "happy birthday!"
4112
3922
 
4113
3923
  As a json rpc call
4114
- > 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/
3924
+ > 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/
4115
3925
  **/
4116
3926
  move: "move",
4117
3927
  /** ping
@@ -4122,7 +3932,7 @@ var methods = {
4122
3932
 
4123
3933
  Examples:
4124
3934
  > neurai-cli ping
4125
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "ping", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3935
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "ping", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
4126
3936
  **/
4127
3937
  ping: "ping",
4128
3938
  /** pprpcsb "header_hash" "mix_hash" "nonce"
@@ -4138,7 +3948,7 @@ var methods = {
4138
3948
 
4139
3949
  Examples:
4140
3950
  > neurai-cli pprpcsb "header_hash" "mix_hash" 100000
4141
- > 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/
3951
+ > 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/
4142
3952
  **/
4143
3953
  pprpcsb: "pprpcsb",
4144
3954
  /** preciousblock "blockhash"
@@ -4156,7 +3966,7 @@ var methods = {
4156
3966
 
4157
3967
  Examples:
4158
3968
  > neurai-cli preciousblock "blockhash"
4159
- > 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/
3969
+ > 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/
4160
3970
  **/
4161
3971
  preciousblock: "preciousblock",
4162
3972
  /** prioritisetransaction <txid> <dummy value> <fee delta>
@@ -4175,7 +3985,7 @@ var methods = {
4175
3985
 
4176
3986
  Examples:
4177
3987
  > neurai-cli prioritisetransaction "txid" 0.0 10000
4178
- > 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/
3988
+ > 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/
4179
3989
  **/
4180
3990
  prioritisetransaction: "prioritisetransaction",
4181
3991
  /** pruneblockchain
@@ -4189,7 +3999,7 @@ var methods = {
4189
3999
 
4190
4000
  Examples:
4191
4001
  > neurai-cli pruneblockchain 1000
4192
- > 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/
4002
+ > 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/
4193
4003
  **/
4194
4004
  pruneblockchain: "pruneblockchain",
4195
4005
  /** purgesnapshot "asset_name" block_height
@@ -4211,7 +4021,7 @@ var methods = {
4211
4021
 
4212
4022
  Examples:
4213
4023
  > neurai-cli purgesnapshot "ASSET_NAME" 28546
4214
- > 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/
4024
+ > 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/
4215
4025
  **/
4216
4026
  purgesnapshot: "purgesnapshot",
4217
4027
  /** reissue "asset_name" qty "to_address" "change_address" ( reissuable ) ( new_units) "( new_ipfs )"
@@ -4236,7 +4046,7 @@ var methods = {
4236
4046
 
4237
4047
  Examples:
4238
4048
  > neurai-cli reissue "ASSET_NAME" 20 "address"
4239
- > 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/
4049
+ > 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/
4240
4050
  **/
4241
4051
  reissue: "reissue",
4242
4052
  /** reissuerestrictedasset "asset_name" qty to_address ( change_verifier ) ( "new_verifier" ) "( change_address )" ( new_units ) ( reissuable ) "( new_ipfs )"
@@ -4280,7 +4090,7 @@ var methods = {
4280
4090
  > neurai-cli removeprunedfunds "a8d0c0184dde994a09ec054286f1ce581bebf46446a512166eae7628734ea0a5"
4281
4091
 
4282
4092
  As a JSON-RPC call
4283
- > 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/
4093
+ > 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/
4284
4094
  **/
4285
4095
  removeprunedfunds: "removeprunedfunds",
4286
4096
  /** removetagfromaddress tag_name to_address (change_address) (asset_data)
@@ -4301,9 +4111,9 @@ var methods = {
4301
4111
 
4302
4112
  Examples:
4303
4113
  > neurai-cli removetagfromaddress "#TAG" "to_address"
4304
- > 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/
4114
+ > 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/
4305
4115
  > neurai-cli removetagfromaddress "#TAG" "to_address" "change_address"
4306
- > 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/
4116
+ > 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/
4307
4117
  **/
4308
4118
  removetagfromaddress: "removetagfromaddress",
4309
4119
  /** requestsnapshot "asset_name" block_height
@@ -4321,7 +4131,7 @@ var methods = {
4321
4131
 
4322
4132
  Examples:
4323
4133
  > neurai-cli requestsnapshot "TRONCO" 12345
4324
- > 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/
4134
+ > 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/
4325
4135
  **/
4326
4136
  requestsnapshot: "requestsnapshot",
4327
4137
  /** rescanblockchain ("start_height") ("stop_height")
@@ -4340,7 +4150,7 @@ var methods = {
4340
4150
 
4341
4151
  Examples:
4342
4152
  > neurai-cli rescanblockchain 100000 120000
4343
- > 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/
4153
+ > 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/
4344
4154
  **/
4345
4155
  rescanblockchain: "rescanblockchain",
4346
4156
  /** savemempool
@@ -4349,7 +4159,7 @@ var methods = {
4349
4159
 
4350
4160
  Examples:
4351
4161
  > neurai-cli savemempool
4352
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "savemempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4162
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "savemempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
4353
4163
  **/
4354
4164
  savemempool: "savemempool",
4355
4165
  /** selfrevokedepin "asset_name"
@@ -4383,7 +4193,7 @@ var methods = {
4383
4193
 
4384
4194
  Examples:
4385
4195
  > neurai-cli selfrevokedepin "&FRANCE"
4386
- > 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/
4196
+ > 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/
4387
4197
  **/
4388
4198
  selfrevokedepin: "selfrevokedepin",
4389
4199
  /** sendfrom "fromaccount" "toaddress" amount ( minconf "comment" "comment_to" )
@@ -4416,7 +4226,7 @@ var methods = {
4416
4226
  > neurai-cli sendfrom "tabby" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.01 6 "donation" "seans outpost"
4417
4227
 
4418
4228
  As a json rpc call
4419
- > 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/
4229
+ > 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/
4420
4230
  **/
4421
4231
  sendfrom: "sendfrom",
4422
4232
  /** sendfromaddress "from_address" "to_address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
@@ -4447,7 +4257,7 @@ var methods = {
4447
4257
  > neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1
4448
4258
  > neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "donation" "seans outpost"
4449
4259
  > neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "" "" true
4450
- > 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/
4260
+ > 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/
4451
4261
  **/
4452
4262
  sendfromaddress: "sendfromaddress",
4453
4263
  /** sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] replaceable conf_target "estimate_mode")
@@ -4493,7 +4303,7 @@ var methods = {
4493
4303
  > neurai-cli sendmany "" "{\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\":0.01,\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\":0.02}" 1 "" "[\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\",\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\"]"
4494
4304
 
4495
4305
  As a json rpc call
4496
- > 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/
4306
+ > 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/
4497
4307
  **/
4498
4308
  sendmany: "sendmany",
4499
4309
  /** sendmessage "channel_name" "ipfs_hash" (expire_time)
@@ -4540,7 +4350,7 @@ var methods = {
4540
4350
  > neurai-cli sendrawtransaction "signedhex"
4541
4351
 
4542
4352
  As a json rpc call
4543
- > 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/
4353
+ > 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/
4544
4354
  **/
4545
4355
  sendrawtransaction: "sendrawtransaction",
4546
4356
  /** sendtoaddress "address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
@@ -4570,7 +4380,7 @@ var methods = {
4570
4380
  > neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1
4571
4381
  > neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "donation" "seans outpost"
4572
4382
  > neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "" "" true
4573
- > 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/
4383
+ > 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/
4574
4384
  **/
4575
4385
  sendtoaddress: "sendtoaddress",
4576
4386
  /** setaccount "address" "account"
@@ -4583,7 +4393,7 @@ var methods = {
4583
4393
 
4584
4394
  Examples:
4585
4395
  > neurai-cli setaccount "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "tabby"
4586
- > 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/
4396
+ > 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/
4587
4397
  **/
4588
4398
  setaccount: "setaccount",
4589
4399
  /** setban "subnet" "add|remove" (bantime) (absolute)
@@ -4599,7 +4409,7 @@ var methods = {
4599
4409
  Examples:
4600
4410
  > neurai-cli setban "192.168.0.6" "add" 86400
4601
4411
  > neurai-cli setban "192.168.0.0/24" "add"
4602
- > 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/
4412
+ > 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/
4603
4413
  **/
4604
4414
  setban: "setban",
4605
4415
  /** setgenerate generate ( genproclimit )
@@ -4624,7 +4434,7 @@ var methods = {
4624
4434
  > neurai-cli setgenerate false
4625
4435
 
4626
4436
  Using json rpc
4627
- > 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/
4437
+ > 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/
4628
4438
  **/
4629
4439
  setgenerate: "setgenerate",
4630
4440
  /** setnetworkactive true|false
@@ -4647,7 +4457,7 @@ var methods = {
4647
4457
 
4648
4458
  Examples:
4649
4459
  > neurai-cli settxfee 0.00001
4650
- > 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/
4460
+ > 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/
4651
4461
  **/
4652
4462
  settxfee: "settxfee",
4653
4463
  /** signmessage "address" "message"
@@ -4673,7 +4483,7 @@ var methods = {
4673
4483
  > neurai-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
4674
4484
 
4675
4485
  As json rpc
4676
- > 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/
4486
+ > 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/
4677
4487
  **/
4678
4488
  signmessage: "signmessage",
4679
4489
  /** signmessagewithprivkey "privkey" "message"
@@ -4696,7 +4506,7 @@ var methods = {
4696
4506
  > neurai-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
4697
4507
 
4698
4508
  As json rpc
4699
- > 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/
4509
+ > 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/
4700
4510
  **/
4701
4511
  signmessagewithprivkey: "signmessagewithprivkey",
4702
4512
  /** signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )
@@ -4752,7 +4562,7 @@ var methods = {
4752
4562
 
4753
4563
  Examples:
4754
4564
  > neurai-cli signrawtransaction "myhex"
4755
- > 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/
4565
+ > 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/
4756
4566
  **/
4757
4567
  signrawtransaction: "signrawtransaction",
4758
4568
  /** stop
@@ -4773,7 +4583,7 @@ var methods = {
4773
4583
 
4774
4584
  Examples:
4775
4585
  > neurai-cli submitblock "mydata"
4776
- > 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/
4586
+ > 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/
4777
4587
  **/
4778
4588
  submitblock: "submitblock",
4779
4589
  /** subscribetochannel
@@ -4792,7 +4602,7 @@ var methods = {
4792
4602
 
4793
4603
  Examples:
4794
4604
  > neurai-cli subscribetochannel "ASSET_NAME!"
4795
- > 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/
4605
+ > 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/
4796
4606
  **/
4797
4607
  subscribetochannel: "subscribetochannel",
4798
4608
  /** testmempoolaccept ["rawtxs"] ( allowhighfees )
@@ -4829,7 +4639,7 @@ var methods = {
4829
4639
  > neurai-cli testmempoolaccept "signedhex"
4830
4640
 
4831
4641
  As a json rpc call
4832
- > 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/
4642
+ > 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/
4833
4643
  **/
4834
4644
  testmempoolaccept: "testmempoolaccept",
4835
4645
  /** transfer "asset_name" qty "to_address" "message" expire_time "change_address" "asset_change_address"
@@ -4880,7 +4690,7 @@ var methods = {
4880
4690
 
4881
4691
  Examples:
4882
4692
  > neurai-cli transferfromaddress "ASSET_NAME" "fromaddress" 20 "address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E", 156545652
4883
- > 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/
4693
+ > 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/
4884
4694
  **/
4885
4695
  transferfromaddress: "transferfromaddress",
4886
4696
  /** transferfromaddresses "asset_name" ["from_addresses"] qty "to_address" "message" expire_time "xna_change_address" "asset_change_address"
@@ -4906,7 +4716,7 @@ var methods = {
4906
4716
 
4907
4717
  Examples:
4908
4718
  > neurai-cli transferfromaddresses "ASSET_NAME" '["fromaddress1", "fromaddress2"]' 20 "to_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 154652365
4909
- > 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/
4719
+ > 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/
4910
4720
  **/
4911
4721
  transferfromaddresses: "transferfromaddresses",
4912
4722
  /** transferqualifier "qualifier_name" qty "to_address" ("change_address") ("message") (expire_time)
@@ -4951,9 +4761,9 @@ var methods = {
4951
4761
 
4952
4762
  Examples:
4953
4763
  > neurai-cli unfreezeaddress "$RESTRICTED_ASSET" "address"
4954
- > 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/
4764
+ > 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/
4955
4765
  > neurai-cli unfreezeaddress "$RESTRICTED_ASSET" "address" "change_address"
4956
- > 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/
4766
+ > 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/
4957
4767
  **/
4958
4768
  unfreezeaddress: "unfreezeaddress",
4959
4769
  /** unfreezedepin "asset_name" "address" ("change_address")
@@ -4977,7 +4787,7 @@ var methods = {
4977
4787
 
4978
4788
  Examples:
4979
4789
  > neurai-cli unfreezedepin "&FRANCE" "address"
4980
- > 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/
4790
+ > 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/
4981
4791
  **/
4982
4792
  unfreezedepin: "unfreezedepin",
4983
4793
  /** unfreezerestrictedasset asset_name (change_address) (asset_data)
@@ -4997,9 +4807,9 @@ var methods = {
4997
4807
 
4998
4808
  Examples:
4999
4809
  > neurai-cli unfreezerestrictedasset "$RESTRICTED_ASSET"
5000
- > 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/
4810
+ > 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/
5001
4811
  > neurai-cli unfreezerestrictedasset "$RESTRICTED_ASSET" "change_address"
5002
- > 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/
4812
+ > 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/
5003
4813
  **/
5004
4814
  unfreezerestrictedasset: "unfreezerestrictedasset",
5005
4815
  /** unsubscribefromchannel
@@ -5018,7 +4828,7 @@ var methods = {
5018
4828
 
5019
4829
  Examples:
5020
4830
  > neurai-cli unsubscribefromchannel "ASSET_NAME!"
5021
- > 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/
4831
+ > 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/
5022
4832
  **/
5023
4833
  unsubscribefromchannel: "unsubscribefromchannel",
5024
4834
  /** uptime
@@ -5030,7 +4840,7 @@ var methods = {
5030
4840
 
5031
4841
  Examples:
5032
4842
  > neurai-cli uptime
5033
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "uptime", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4843
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "uptime", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5034
4844
  **/
5035
4845
  uptime: "uptime",
5036
4846
  /** validateaddress "address"
@@ -5066,7 +4876,7 @@ var methods = {
5066
4876
 
5067
4877
  Examples:
5068
4878
  > neurai-cli validateaddress "1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc"
5069
- > 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/
4879
+ > 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/
5070
4880
  **/
5071
4881
  validateaddress: "validateaddress",
5072
4882
  /** verifychain ( checklevel nblocks )
@@ -5082,7 +4892,7 @@ var methods = {
5082
4892
 
5083
4893
  Examples:
5084
4894
  > neurai-cli verifychain
5085
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifychain", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4895
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifychain", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5086
4896
  **/
5087
4897
  verifychain: "verifychain",
5088
4898
  /** verifymessage "address" "signature" "message"
@@ -5109,7 +4919,7 @@ var methods = {
5109
4919
  > neurai-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
5110
4920
 
5111
4921
  As json rpc
5112
- > 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/
4922
+ > 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/
5113
4923
  **/
5114
4924
  verifymessage: "verifymessage",
5115
4925
  /** verifytxoutproof "proof"
@@ -5138,7 +4948,7 @@ var methods = {
5138
4948
 
5139
4949
  Examples:
5140
4950
  > neurai-cli viewallmessagechannels
5141
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessagechannels", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4951
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessagechannels", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5142
4952
  **/
5143
4953
  viewallmessagechannels: "viewallmessagechannels",
5144
4954
  /** viewallmessages
@@ -5159,7 +4969,7 @@ var methods = {
5159
4969
 
5160
4970
  Examples:
5161
4971
  > neurai-cli viewallmessages
5162
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4972
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5163
4973
  **/
5164
4974
  viewallmessages: "viewallmessages",
5165
4975
  /** viewmyrestrictedaddresses
@@ -5179,7 +4989,7 @@ var methods = {
5179
4989
 
5180
4990
  Examples:
5181
4991
  > neurai-cli viewmyrestrictedaddresses
5182
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmyrestrictedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4992
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmyrestrictedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5183
4993
  **/
5184
4994
  viewmyrestrictedaddresses: "viewmyrestrictedaddresses",
5185
4995
  /** viewmytaggedaddresses
@@ -5199,7 +5009,7 @@ var methods = {
5199
5009
 
5200
5010
  Examples:
5201
5011
  > neurai-cli viewmytaggedaddresses
5202
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmytaggedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
5012
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmytaggedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5203
5013
  **/
5204
5014
  viewmytaggedaddresses: "viewmytaggedaddresses"
5205
5015
  };