@neuraiproject/neurai-rpc 0.4.1 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs.ts CHANGED
@@ -1,179 +1,187 @@
1
- interface IMethods {
2
- abandontransaction: string;
3
- abortrescan: string;
4
- addmultisigaddress: string;
5
- addnode: string;
6
- addtagtoaddress: string;
7
- addwitnessaddress: string;
8
- backupwallet: string;
9
- bumpfee: string;
10
- cancelsnapshotrequest: string;
11
- checkaddressrestriction: string;
12
- checkaddresstag: string;
13
- checkglobalrestriction: string;
14
- clearbanned: string;
15
- clearmempool: string;
16
- clearmessages: string;
17
- combinerawtransaction: string;
18
- createmultisig: string;
19
- createrawtransaction: string;
20
- decodeblock: string;
21
- decoderawtransaction: string;
22
- decodescript: string;
23
- disconnectnode: string;
24
- distributereward: string;
25
- dumpprivkey: string;
26
- dumpwallet: string;
27
- encryptwallet: string;
28
- estimatefee: string;
29
- estimatesmartfee: string;
30
- freezeaddress: string;
31
- freezerestrictedasset: string;
32
- fundrawtransaction: string;
33
- generate: string;
34
- generatetoaddress: string;
35
- getaccount: string;
36
- getaccountaddress: string;
37
- getaddednodeinfo: string;
38
- getaddressbalance: string;
39
- getaddressdeltas: string;
40
- getaddressesbyaccount: string;
41
- getaddressmempool: string;
42
- getaddresstxids: string;
43
- getaddressutxos: string;
44
- getassetdata: string;
45
- getbalance: string;
46
- getbestblockhash: string;
47
- getblock: string;
48
- getblockchaininfo: string;
49
- getblockcount: string;
50
- getblockhash: string;
51
- getblockhashes: string;
52
- getblockheader: string;
53
- getblocktemplate: string;
54
- getcacheinfo: string;
55
- getchaintips: string;
56
- getchaintxstats: string;
57
- getconnectioncount: string;
58
- getdifficulty: string;
59
- getdistributestatus: string;
60
- getgenerate: string;
61
- getinfo: string;
62
- getkawpowhash: string;
63
- getmasterkeyinfo: string;
64
- getmemoryinfo: string;
65
- getmempoolancestors: string;
66
- getmempooldescendants: string;
67
- getmempoolentry: string;
68
- getmempoolinfo: string;
69
- getmininginfo: string;
70
- getmywords: string;
71
- getnettotals: string;
72
- getnetworkhashps: string;
73
- getnetworkinfo: string;
74
- getnewaddress: string;
75
- getpeerinfo: string;
76
- getrawchangeaddress: string;
77
- getrawmempool: string;
78
- getrawtransaction: string;
79
- getreceivedbyaccount: string;
80
- getreceivedbyaddress: string;
81
- getrpcinfo: string;
82
- getsnapshot: string;
83
- getsnapshotrequest: string;
84
- getspentinfo: string;
85
- gettransaction: string;
86
- gettxout: string;
87
- gettxoutproof: string;
88
- gettxoutsetinfo: string;
89
- getunconfirmedbalance: string;
90
- getverifierstring: string;
91
- getwalletinfo: string;
92
- help: string;
93
- importaddress: string;
94
- importmulti: string;
95
- importprivkey: string;
96
- importprunedfunds: string;
97
- importpubkey: string;
98
- importwallet: string;
99
- issue: string;
100
- issuequalifierasset: string;
101
- issuerestrictedasset: string;
102
- issueunique: string;
103
- isvalidverifierstring: string;
104
- keypoolrefill: string;
105
- listaccounts: string;
106
- listaddressesbyasset: string;
107
- listaddressesfortag: string;
108
- listaddressgroupings: string;
109
- listaddressrestrictions: string;
110
- listassetbalancesbyaddress: string;
111
- listassets: string;
112
- listbanned: string;
113
- listglobalrestrictions: string;
114
- listlockunspent: string;
115
- listmyassets: string;
116
- listreceivedbyaccount: string;
117
- listreceivedbyaddress: string;
118
- listsinceblock: string;
119
- listsnapshotrequests: string;
120
- listtagsforaddress: string;
121
- listtransactions: string;
122
- listunspent: string;
123
- listwallets: string;
124
- lockunspent: string;
125
- move: string;
126
- ping: string;
127
- pprpcsb: string;
128
- preciousblock: string;
129
- prioritisetransaction: string;
130
- pruneblockchain: string;
131
- purgesnapshot: string;
132
- reissue: string;
133
- reissuerestrictedasset: string;
134
- removeprunedfunds: string;
135
- removetagfromaddress: string;
136
- requestsnapshot: string;
137
- rescanblockchain: string;
138
- savemempool: string;
139
- sendfrom: string;
140
- sendfromaddress: string;
141
- sendmany: string;
142
- sendmessage: string;
143
- sendrawtransaction: string;
144
- sendtoaddress: string;
145
- setaccount: string;
146
- setban: string;
147
- setgenerate: string;
148
- setnetworkactive: string;
149
- settxfee: string;
150
- signmessage: string;
151
- signmessagewithprivkey: string;
152
- signrawtransaction: string;
153
- stop: string;
154
- submitblock: string;
155
- subscribetochannel: string;
156
- testmempoolaccept: string;
157
- transfer: string;
158
- transferfromaddress: string;
159
- transferfromaddresses: string;
160
- transferqualifier: string;
161
- unfreezeaddress: string;
162
- unfreezerestrictedasset: string;
163
- unsubscribefromchannel: string;
164
- uptime: string;
165
- validateaddress: string;
166
- verifychain: string;
167
- verifymessage: string;
168
- verifytxoutproof: string;
169
- viewallmessagechannels: string;
170
- viewallmessages: string;
171
- viewmyrestrictedaddresses: string;
172
- viewmytaggedaddresses: string;
1
+
2
+ interface IMethods{
3
+ abandontransaction: string;
4
+ abortrescan: string;
5
+ addmultisigaddress: string;
6
+ addnode: string;
7
+ addtagtoaddress: string;
8
+ addwitnessaddress: string;
9
+ backupwallet: string;
10
+ bumpfee: string;
11
+ cancelsnapshotrequest: string;
12
+ checkaddressrestriction: string;
13
+ checkaddresstag: string;
14
+ checkglobalrestriction: string;
15
+ clearbanned: string;
16
+ clearmempool: string;
17
+ clearmessages: string;
18
+ combinerawtransaction: string;
19
+ createmultisig: string;
20
+ createrawtransaction: string;
21
+ decodeblock: string;
22
+ decoderawtransaction: string;
23
+ decodescript: string;
24
+ disconnectnode: string;
25
+ distributereward: string;
26
+ dumpprivkey: string;
27
+ dumpwallet: string;
28
+ encryptwallet: string;
29
+ estimatefee: string;
30
+ estimatesmartfee: string;
31
+ freezeaddress: string;
32
+ freezerestrictedasset: string;
33
+ fundrawtransaction: string;
34
+ generate: string;
35
+ generatetoaddress: string;
36
+ getaccount: string;
37
+ getaccountaddress: string;
38
+ getaddednodeinfo: string;
39
+ getaddressbalance: string;
40
+ getaddressdeltas: string;
41
+ getaddressesbyaccount: string;
42
+ getaddressmempool: string;
43
+ getaddresstxids: string;
44
+ getaddressutxos: string;
45
+ getassetdata: string;
46
+ getbalance: string;
47
+ getbestblockhash: string;
48
+ getblock: string;
49
+ getblockchaininfo: string;
50
+ getblockcount: string;
51
+ getblockhash: string;
52
+ getblockhashes: string;
53
+ getblockheader: string;
54
+ getblocktemplate: string;
55
+ getcacheinfo: string;
56
+ getchaintips: string;
57
+ getchaintxstats: string;
58
+ getconnectioncount: string;
59
+ getdifficulty: string;
60
+ getdistributestatus: string;
61
+ getgenerate: string;
62
+ getinfo: string;
63
+ getkawpowhash: string;
64
+ getmasterkeyinfo: string;
65
+ getmemoryinfo: string;
66
+ getmempoolancestors: string;
67
+ getmempooldescendants: string;
68
+ getmempoolentry: string;
69
+ getmempoolinfo: string;
70
+ getmininginfo: string;
71
+ getmywords: string;
72
+ getnettotals: string;
73
+ getnetworkhashps: string;
74
+ getnetworkinfo: string;
75
+ getnewaddress: string;
76
+ getpeerinfo: string;
77
+ getpubkey: string;
78
+ getrawchangeaddress: string;
79
+ getrawmempool: string;
80
+ getrawtransaction: string;
81
+ getreceivedbyaccount: string;
82
+ getreceivedbyaddress: string;
83
+ getrpcinfo: string;
84
+ getsnapshot: string;
85
+ getsnapshotrequest: string;
86
+ getspentinfo: string;
87
+ gettransaction: string;
88
+ gettxout: string;
89
+ gettxoutproof: string;
90
+ gettxoutsetinfo: string;
91
+ getunconfirmedbalance: string;
92
+ getverifierstring: string;
93
+ getwalletinfo: string;
94
+ help: string;
95
+ importaddress: string;
96
+ importmulti: string;
97
+ importprivkey: string;
98
+ importprunedfunds: string;
99
+ importpubkey: string;
100
+ importwallet: string;
101
+ issue: string;
102
+ issuequalifierasset: string;
103
+ issuerestrictedasset: string;
104
+ issueunique: string;
105
+ isvalidverifierstring: string;
106
+ keypoolrefill: string;
107
+ listaccounts: string;
108
+ listaddressesbyasset: string;
109
+ listaddressesfortag: string;
110
+ listaddressgroupings: string;
111
+ listaddressrestrictions: string;
112
+ listassetbalancesbyaddress: string;
113
+ listassets: string;
114
+ listbanned: string;
115
+ listglobalrestrictions: string;
116
+ listlockunspent: string;
117
+ listmyassets: string;
118
+ listreceivedbyaccount: string;
119
+ listreceivedbyaddress: string;
120
+ listsinceblock: string;
121
+ listsnapshotrequests: string;
122
+ listtagsforaddress: string;
123
+ listtransactions: string;
124
+ listunspent: string;
125
+ listwallets: string;
126
+ lockunspent: string;
127
+ move: string;
128
+ ping: string;
129
+ pprpcsb: string;
130
+ preciousblock: string;
131
+ prioritisetransaction: string;
132
+ pruneblockchain: string;
133
+ purgesnapshot: string;
134
+ reissue: string;
135
+ reissuerestrictedasset: string;
136
+ removeprunedfunds: string;
137
+ removetagfromaddress: string;
138
+ requestsnapshot: string;
139
+ rescanblockchain: string;
140
+ savemempool: string;
141
+ sendfrom: string;
142
+ sendfromaddress: string;
143
+ sendmany: string;
144
+ sendmessage: string;
145
+ sendrawtransaction: string;
146
+ sendtoaddress: string;
147
+ setaccount: string;
148
+ setban: string;
149
+ setgenerate: string;
150
+ setnetworkactive: string;
151
+ settxfee: string;
152
+ signmessage: string;
153
+ signmessagewithprivkey: string;
154
+ signrawtransaction: string;
155
+ stop: string;
156
+ submitblock: string;
157
+ subscribetochannel: string;
158
+ testmempoolaccept: string;
159
+ transfer: string;
160
+ transferfromaddress: string;
161
+ transferfromaddresses: string;
162
+ transferqualifier: string;
163
+ unfreezeaddress: string;
164
+ unfreezerestrictedasset: string;
165
+ unsubscribefromchannel: string;
166
+ uptime: string;
167
+ validateaddress: string;
168
+ verifychain: string;
169
+ verifymessage: string;
170
+ verifytxoutproof: string;
171
+ viewallmessagechannels: string;
172
+ viewallmessages: string;
173
+ viewmyrestrictedaddresses: string;
174
+ viewmytaggedaddresses: string;
173
175
  }
174
176
 
175
- export const methods: IMethods = {
176
- /** abandontransaction "txid"
177
+ export const methods:IMethods ={
178
+
179
+
180
+
181
+
182
+
183
+
184
+ /** abandontransaction "txid"
177
185
 
178
186
  Mark in-wallet transaction <txid> as abandoned
179
187
  This will mark this transaction and all its in-wallet descendants as abandoned which will allow
@@ -187,57 +195,69 @@ Arguments:
187
195
  Result:
188
196
 
189
197
  Examples:
190
- > raven-cli abandontransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
191
- > 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/
198
+ > neurai-cli abandontransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
199
+ > 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/
192
200
  **/
193
- abandontransaction: "abandontransaction",
201
+ abandontransaction:'abandontransaction',
202
+
194
203
 
195
- /** abortrescan
204
+
205
+
206
+
207
+ /** abortrescan
196
208
 
197
209
  Stops current wallet rescan triggered e.g. by an importprivkey call.
198
210
 
199
211
  Examples:
200
212
 
201
213
  Import a private key
202
- > raven-cli importprivkey "mykey"
214
+ > neurai-cli importprivkey "mykey"
203
215
 
204
216
  Abort the running wallet rescan
205
- > raven-cli abortrescan
217
+ > neurai-cli abortrescan
206
218
 
207
219
  As a JSON-RPC call
208
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abortrescan", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
220
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abortrescan", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
209
221
  **/
210
- abortrescan: "abortrescan",
222
+ abortrescan:'abortrescan',
223
+
211
224
 
212
- /** addmultisigaddress nrequired ["key",...] ( "account" )
225
+
226
+
227
+
228
+ /** addmultisigaddress nrequired ["key",...] ( "account" )
213
229
 
214
230
  Add a nrequired-to-sign multisignature address to the wallet.
215
- Each key is a Raven address or hex-encoded public key.
231
+ Each key is a Neurai address or hex-encoded public key.
216
232
  If 'account' is specified (DEPRECATED), assign address to that account.
217
233
 
218
234
  Arguments:
219
235
  1. nrequired (numeric, required) The number of required signatures out of the n keys or addresses.
220
- 2. "keys" (string, required) A json array of raven addresses or hex-encoded public keys
236
+ 2. "keys" (string, required) A json array of neurai addresses or hex-encoded public keys
221
237
  [
222
- "address" (string) raven address or hex-encoded public key
238
+ "address" (string) neurai address or hex-encoded public key
223
239
  ...,
224
240
  ]
225
241
  3. "account" (string, optional) DEPRECATED. An account to assign the addresses to.
226
242
 
227
243
  Result:
228
- "address" (string) A raven address associated with the keys.
244
+ "address" (string) A neurai address associated with the keys.
229
245
 
230
246
  Examples:
231
247
 
232
248
  Add a multisig address from 2 addresses
233
- > raven-cli addmultisigaddress 2 "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"
249
+ > neurai-cli addmultisigaddress 2 "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"
234
250
 
235
251
  As json rpc call
236
- > 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/
252
+ > 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/
237
253
  **/
238
- addmultisigaddress: "addmultisigaddress",
254
+ addmultisigaddress:'addmultisigaddress',
255
+
239
256
 
240
- /** addnode "node" "add|remove|onetry"
257
+
258
+
259
+
260
+ /** addnode "node" "add|remove|onetry"
241
261
 
242
262
  Attempts to add or remove a node from the addnode list.
243
263
  Or try a connection to a node once.
@@ -249,12 +269,16 @@ Arguments:
249
269
  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
250
270
 
251
271
  Examples:
252
- > raven-cli addnode "192.168.0.6:8767" "onetry"
253
- > 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:19001/
272
+ > neurai-cli addnode "192.168.0.6:8767" "onetry"
273
+ > 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/
254
274
  **/
255
- addnode: "addnode",
275
+ addnode:'addnode',
276
+
256
277
 
257
- /** addtagtoaddress tag_name to_address (change_address) (asset_data)
278
+
279
+
280
+
281
+ /** addtagtoaddress tag_name to_address (change_address) (asset_data)
258
282
 
259
283
  Assign a tag to a address
260
284
 
@@ -268,14 +292,18 @@ Result:
268
292
  "txid" (string) The transaction id
269
293
 
270
294
  Examples:
271
- > raven-cli addtagtoaddress "#TAG" "to_address"
272
- > 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/
273
- > raven-cli addtagtoaddress "#TAG" "to_address" "change_address"
274
- > 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/
295
+ > neurai-cli addtagtoaddress "#TAG" "to_address"
296
+ > 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/
297
+ > neurai-cli addtagtoaddress "#TAG" "to_address" "change_address"
298
+ > 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/
275
299
  **/
276
- addtagtoaddress: "addtagtoaddress",
300
+ addtagtoaddress:'addtagtoaddress',
301
+
277
302
 
278
- /** addwitnessaddress "address"
303
+
304
+
305
+
306
+ /** addwitnessaddress "address"
279
307
 
280
308
  Add a witness address for a script (with pubkey or redeemscript known).
281
309
  It returns the witness script.
@@ -287,9 +315,13 @@ Result:
287
315
  "witnessaddress", (string) The value of the new address (P2SH of witness script).
288
316
  }
289
317
  **/
290
- addwitnessaddress: "addwitnessaddress",
318
+ addwitnessaddress:'addwitnessaddress',
319
+
291
320
 
292
- /** backupwallet "destination"
321
+
322
+
323
+
324
+ /** backupwallet "destination"
293
325
 
294
326
  Safely copies current wallet file to destination, which can be a directory or a path with filename.
295
327
 
@@ -297,15 +329,23 @@ Arguments:
297
329
  1. "destination" (string) The destination directory or file
298
330
 
299
331
  Examples:
300
- > raven-cli backupwallet "backup.dat"
301
- > 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/
332
+ > neurai-cli backupwallet "backup.dat"
333
+ > 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/
302
334
  **/
303
- backupwallet: "backupwallet",
335
+ backupwallet:'backupwallet',
336
+
304
337
 
305
- /** bumpfee has been deprecated on the XNA Wallet.**/
306
- bumpfee: "bumpfee",
307
338
 
308
- /** cancelsnapshotrequest "asset_name" block_height
339
+
340
+
341
+ /** bumpfee has been deprecated on the XNA Wallet.**/
342
+ bumpfee:'bumpfee',
343
+
344
+
345
+
346
+
347
+
348
+ /** cancelsnapshotrequest "asset_name" block_height
309
349
 
310
350
  Cancels the specified snapshot request.
311
351
 
@@ -319,12 +359,16 @@ Result:
319
359
  }
320
360
 
321
361
  Examples:
322
- > raven-cli cancelsnapshotrequest "TRONCO" 12345
323
- > 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/
362
+ > neurai-cli cancelsnapshotrequest "TRONCO" 12345
363
+ > 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/
324
364
  **/
325
- cancelsnapshotrequest: "cancelsnapshotrequest",
365
+ cancelsnapshotrequest:'cancelsnapshotrequest',
366
+
326
367
 
327
- /** checkaddressrestriction address restricted_name
368
+
369
+
370
+
371
+ /** checkaddressrestriction address restricted_name
328
372
 
329
373
  Checks to see if an address has been frozen by the given restricted asset
330
374
 
@@ -336,12 +380,16 @@ Result:
336
380
  "true/false", (boolean) If the address is frozen
337
381
 
338
382
  Examples:
339
- > raven-cli checkaddressrestriction "address" "restricted_name"
340
- > 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/
383
+ > neurai-cli checkaddressrestriction "address" "restricted_name"
384
+ > 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/
341
385
  **/
342
- checkaddressrestriction: "checkaddressrestriction",
386
+ checkaddressrestriction:'checkaddressrestriction',
387
+
343
388
 
344
- /** checkaddresstag address tag_name
389
+
390
+
391
+
392
+ /** checkaddresstag address tag_name
345
393
 
346
394
  Checks to see if an address has the given tag
347
395
 
@@ -353,12 +401,16 @@ Result:
353
401
  "true/false", (boolean) If the address has the tag
354
402
 
355
403
  Examples:
356
- > raven-cli checkaddresstag "address" "tag_name"
357
- > 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/
404
+ > neurai-cli checkaddresstag "address" "tag_name"
405
+ > 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/
358
406
  **/
359
- checkaddresstag: "checkaddresstag",
407
+ checkaddresstag:'checkaddresstag',
408
+
360
409
 
361
- /** checkglobalrestriction restricted_name
410
+
411
+
412
+
413
+ /** checkglobalrestriction restricted_name
362
414
 
363
415
  Checks to see if a restricted asset is globally frozen
364
416
 
@@ -369,32 +421,44 @@ Result:
369
421
  "true/false", (boolean) If the restricted asset is frozen globally
370
422
 
371
423
  Examples:
372
- > raven-cli checkglobalrestriction "restricted_name"
373
- > 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/
424
+ > neurai-cli checkglobalrestriction "restricted_name"
425
+ > 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/
374
426
  **/
375
- checkglobalrestriction: "checkglobalrestriction",
427
+ checkglobalrestriction:'checkglobalrestriction',
428
+
376
429
 
377
- /** clearbanned
430
+
431
+
432
+
433
+ /** clearbanned
378
434
 
379
435
  Clear all banned IPs.
380
436
 
381
437
  Examples:
382
- > raven-cli clearbanned
383
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
438
+ > neurai-cli clearbanned
439
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
384
440
  **/
385
- clearbanned: "clearbanned",
441
+ clearbanned:'clearbanned',
442
+
386
443
 
387
- /** clearmempool
444
+
445
+
446
+
447
+ /** clearmempool
388
448
 
389
449
  Removes all transaction from the mempool
390
450
 
391
451
  Examples:
392
- > raven-cli clearmempool
393
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
452
+ > neurai-cli clearmempool
453
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
394
454
  **/
395
- clearmempool: "clearmempool",
455
+ clearmempool:'clearmempool',
456
+
396
457
 
397
- /** clearmessages
458
+
459
+
460
+
461
+ /** clearmessages
398
462
 
399
463
  Delete current database of messages
400
464
 
@@ -403,12 +467,16 @@ Result:[
403
467
  ]
404
468
 
405
469
  Examples:
406
- > raven-cli clearmessages
407
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
470
+ > neurai-cli clearmessages
471
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
408
472
  **/
409
- clearmessages: "clearmessages",
473
+ clearmessages:'clearmessages',
474
+
410
475
 
411
- /** combinerawtransaction ["hexstring",...]
476
+
477
+
478
+
479
+ /** combinerawtransaction ["hexstring",...]
412
480
 
413
481
  Combine multiple partially signed transactions into one transaction.
414
482
  The combined transaction may be another partially signed transaction or a
@@ -424,20 +492,24 @@ Result:
424
492
  "hex" (string) The hex-encoded raw transaction with signature(s)
425
493
 
426
494
  Examples:
427
- > raven-cli combinerawtransaction ["myhex1", "myhex2", "myhex3"]
495
+ > neurai-cli combinerawtransaction ["myhex1", "myhex2", "myhex3"]
428
496
  **/
429
- combinerawtransaction: "combinerawtransaction",
497
+ combinerawtransaction:'combinerawtransaction',
498
+
430
499
 
431
- /** createmultisig nrequired ["key",...]
500
+
501
+
502
+
503
+ /** createmultisig nrequired ["key",...]
432
504
 
433
505
  Creates a multi-signature address with n signature of m keys required.
434
506
  It returns a json object with the address and redeemScript.
435
507
 
436
508
  Arguments:
437
509
  1. nrequired (numeric, required) The number of required signatures out of the n keys or addresses.
438
- 2. "keys" (string, required) A json array of keys which are raven addresses or hex-encoded public keys
510
+ 2. "keys" (string, required) A json array of keys which are neurai addresses or hex-encoded public keys
439
511
  [
440
- "key" (string) raven address or hex-encoded public key
512
+ "key" (string) neurai address or hex-encoded public key
441
513
  ,...
442
514
  ]
443
515
 
@@ -450,14 +522,18 @@ Result:
450
522
  Examples:
451
523
 
452
524
  Create a multisig address from 2 addresses
453
- > raven-cli createmultisig 2 "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"
525
+ > neurai-cli createmultisig 2 "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"
454
526
 
455
527
  As a json rpc call
456
- > 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/
528
+ > 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/
457
529
  **/
458
- createmultisig: "createmultisig",
530
+ createmultisig:'createmultisig',
531
+
459
532
 
460
- /** createrawtransaction [{"txid":"id","vout":n},...] {"address":(amount or object),"data":"hex",...}
533
+
534
+
535
+
536
+ /** createrawtransaction [{"txid":"id","vout":n},...] {"address":(amount or object),"data":"hex",...}
461
537
  ( locktime ) ( replaceable )
462
538
 
463
539
  Create a transaction spending the given inputs and creating new outputs.
@@ -523,7 +599,7 @@ Arguments:
523
599
  ]
524
600
  2. "outputs" (object, required) a json object with outputs
525
601
  {
526
- "address": (string, required) The destination raven address.
602
+ "address": (string, required) The destination neurai address.
527
603
  Each output must have a different address.
528
604
  x.xxx (number or string, required) The XNA amount
529
605
  or
@@ -692,19 +768,23 @@ Result:
692
768
  "transaction" (string) hex string of the transaction
693
769
 
694
770
  Examples:
695
- > raven-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0}]" "{\"address\":0.01}"
696
- > raven-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0}]" "{\"data\":\"00010203\"}"
697
- > raven-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0}]" "{\"RXissueAssetXXXXXXXXXXXXXXXXXhhZGt\":500,\"change_address\":change_amount,\"issuer_address\":{\"issue\":{\"asset_name\":\"MYASSET\",\"asset_quantity\":1000000,\"units\":1,\"reissuable\":0,\"has_ipfs\":1,\"ipfs_hash\":\"43f81c6f2c0593bde5a85e09ae662816eca80797\"}}}"
698
- > raven-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0}]" "{\"RXissueRestrictedXXXXXXXXXXXXzJZ1q\":1500,\"change_address\":change_amount,\"issuer_address\":{\"issue_restricted\":{\"asset_name\":\"$MYASSET\",\"asset_quantity\":1000000,\"verifier_string\":\"#TAG & !KYC\",\"units\":1,\"reissuable\":0,\"has_ipfs\":1,\"ipfs_hash\":\"43f81c6f2c0593bde5a85e09ae662816eca80797\"}}}"
699
- > raven-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0}]" "{\"RXissueUniqueAssetXXXXXXXXXXWEAe58\":20,\"change_address\":change_amount,\"issuer_address\":{\"issue_unique\":{\"root_name\":\"MYASSET\",\"asset_tags\":[\"ALPHA\",\"BETA\"],\"ipfs_hashes\":[\"43f81c6f2c0593bde5a85e09ae662816eca80797\",\"43f81c6f2c0593bde5a85e09ae662816eca80797\"]}}}"
700
- > raven-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0},{\"txid\":\"myasset\",\"vout\":0}]" "{\"address\":{\"transfer\":{\"MYASSET\":50}}}"
701
- > raven-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0},{\"txid\":\"myasset\",\"vout\":0}]" "{\"address\":{\"transferwithmessage\":{\"MYASSET\":50,\"message\":\"hash\",\"expire_time\": utc_time}}}"
702
- > raven-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0},{\"txid\":\"myownership\",\"vout\":0}]" "{\"issuer_address\":{\"reissue\":{\"asset_name\":\"MYASSET\",\"asset_quantity\":2000000}}}"
703
- > 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/
771
+ > neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0}]" "{\"address\":0.01}"
772
+ > neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0}]" "{\"data\":\"00010203\"}"
773
+ > neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0}]" "{\"RXissueAssetXXXXXXXXXXXXXXXXXhhZGt\":500,\"change_address\":change_amount,\"issuer_address\":{\"issue\":{\"asset_name\":\"MYASSET\",\"asset_quantity\":1000000,\"units\":1,\"reissuable\":0,\"has_ipfs\":1,\"ipfs_hash\":\"43f81c6f2c0593bde5a85e09ae662816eca80797\"}}}"
774
+ > neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0}]" "{\"RXissueRestrictedXXXXXXXXXXXXzJZ1q\":1500,\"change_address\":change_amount,\"issuer_address\":{\"issue_restricted\":{\"asset_name\":\"$MYASSET\",\"asset_quantity\":1000000,\"verifier_string\":\"#TAG & !KYC\",\"units\":1,\"reissuable\":0,\"has_ipfs\":1,\"ipfs_hash\":\"43f81c6f2c0593bde5a85e09ae662816eca80797\"}}}"
775
+ > neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0}]" "{\"RXissueUniqueAssetXXXXXXXXXXWEAe58\":20,\"change_address\":change_amount,\"issuer_address\":{\"issue_unique\":{\"root_name\":\"MYASSET\",\"asset_tags\":[\"ALPHA\",\"BETA\"],\"ipfs_hashes\":[\"43f81c6f2c0593bde5a85e09ae662816eca80797\",\"43f81c6f2c0593bde5a85e09ae662816eca80797\"]}}}"
776
+ > neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0},{\"txid\":\"myasset\",\"vout\":0}]" "{\"address\":{\"transfer\":{\"MYASSET\":50}}}"
777
+ > neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0},{\"txid\":\"myasset\",\"vout\":0}]" "{\"address\":{\"transferwithmessage\":{\"MYASSET\":50,\"message\":\"hash\",\"expire_time\": utc_time}}}"
778
+ > neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0},{\"txid\":\"myownership\",\"vout\":0}]" "{\"issuer_address\":{\"reissue\":{\"asset_name\":\"MYASSET\",\"asset_quantity\":2000000}}}"
779
+ > 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/
704
780
  **/
705
- createrawtransaction: "createrawtransaction",
781
+ createrawtransaction:'createrawtransaction',
782
+
706
783
 
707
- /** decodeblock "blockhex"
784
+
785
+
786
+
787
+ /** decodeblock "blockhex"
708
788
 
709
789
  Arguments:
710
790
  1. "blockhex" (string, required) The block hex
@@ -729,12 +809,16 @@ Result:
729
809
  }
730
810
 
731
811
  Examples:
732
- > raven-cli decodeblock "xxxx"
733
- > 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/
812
+ > neurai-cli decodeblock "xxxx"
813
+ > 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/
734
814
  **/
735
- decodeblock: "decodeblock",
815
+ decodeblock:'decodeblock',
816
+
736
817
 
737
- /** decoderawtransaction "hexstring"
818
+
819
+
820
+
821
+ /** decoderawtransaction "hexstring"
738
822
 
739
823
  Return a JSON object representing the serialized, hex-encoded transaction.
740
824
 
@@ -777,7 +861,7 @@ Result:
777
861
  "message" : "message", (string optional) the message if one was sent
778
862
  "expire_time" : n, (numeric optional) the message epoch expiration time if one was set
779
863
  "addresses" : [ (json array of string)
780
- "12tvKAXCxZjSmdNbao16dKXC8tRWfcF5oc" (string) raven address
864
+ "12tvKAXCxZjSmdNbao16dKXC8tRWfcF5oc" (string) neurai address
781
865
  ,...
782
866
  ]
783
867
  }
@@ -787,12 +871,16 @@ Result:
787
871
  }
788
872
 
789
873
  Examples:
790
- > raven-cli decoderawtransaction "hexstring"
791
- > 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/
874
+ > neurai-cli decoderawtransaction "hexstring"
875
+ > 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/
792
876
  **/
793
- decoderawtransaction: "decoderawtransaction",
877
+ decoderawtransaction:'decoderawtransaction',
878
+
794
879
 
795
- /** decodescript "hexstring"
880
+
881
+
882
+
883
+ /** decodescript "hexstring"
796
884
 
797
885
  Decode a hex-encoded script.
798
886
 
@@ -811,7 +899,7 @@ Result:
811
899
  "expire_time" : n, (numeric optional ) the message epoch expiration time if one was set
812
900
  "reqSigs": n, (numeric) The required signatures
813
901
  "addresses": [ (json array of string)
814
- "address" (string) raven address
902
+ "address" (string) neurai address
815
903
  ,...
816
904
  ],
817
905
  "p2sh":"address", (string) address of P2SH script wrapping this redeem script (not returned if the script is already a P2SH).
@@ -826,12 +914,16 @@ Result:
826
914
  }
827
915
 
828
916
  Examples:
829
- > raven-cli decodescript "hexstring"
830
- > 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/
917
+ > neurai-cli decodescript "hexstring"
918
+ > 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/
831
919
  **/
832
- decodescript: "decodescript",
920
+ decodescript:'decodescript',
921
+
833
922
 
834
- /** disconnectnode "[address]" [nodeid]
923
+
924
+
925
+
926
+ /** disconnectnode "[address]" [nodeid]
835
927
 
836
928
  Immediately disconnects from the specified peer node.
837
929
 
@@ -844,14 +936,18 @@ Arguments:
844
936
  2. "nodeid" (number, optional) The node ID (see getpeerinfo for node IDs)
845
937
 
846
938
  Examples:
847
- > raven-cli disconnectnode "192.168.0.6:8767"
848
- > raven-cli disconnectnode "" 1
849
- > 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:19001/
850
- > 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/
939
+ > neurai-cli disconnectnode "192.168.0.6:8767"
940
+ > neurai-cli disconnectnode "" 1
941
+ > 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/
942
+ > 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/
851
943
  **/
852
- disconnectnode: "disconnectnode",
944
+ disconnectnode:'disconnectnode',
945
+
853
946
 
854
- /** distributereward "asset_name" snapshot_height "distribution_asset_name" gross_distribution_amount ( "exception_addresses" ) ("change_address") ("dry_run")
947
+
948
+
949
+
950
+ /** distributereward "asset_name" snapshot_height "distribution_asset_name" gross_distribution_amount ( "exception_addresses" ) ("change_address") ("dry_run")
855
951
 
856
952
  Splits the specified amount of the distribution asset to all owners of asset_name that are not in the optional exclusion_addresses
857
953
 
@@ -882,37 +978,45 @@ Result:
882
978
  }
883
979
 
884
980
  Examples:
885
- > raven-cli distributereward "TRONCO" 12345 "XNA" 1000
886
- > raven-cli distributereward "PHATSTACKS" 12345 "DIVIDENDS" 1000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"
887
- > 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/
888
- > 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/
981
+ > neurai-cli distributereward "TRONCO" 12345 "XNA" 1000
982
+ > neurai-cli distributereward "PHATSTACKS" 12345 "DIVIDENDS" 1000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"
983
+ > 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/
984
+ > 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/
889
985
  **/
890
- distributereward: "distributereward",
986
+ distributereward:'distributereward',
987
+
891
988
 
892
- /** dumpprivkey "address"
989
+
990
+
991
+
992
+ /** dumpprivkey "address"
893
993
 
894
994
  Reveals the private key corresponding to 'address'.
895
995
  Then the importprivkey can be used with this output
896
996
 
897
997
  Arguments:
898
- 1. "address" (string, required) The raven address for the private key
998
+ 1. "address" (string, required) The neurai address for the private key
899
999
 
900
1000
  Result:
901
1001
  "key" (string) The private key
902
1002
 
903
1003
  Examples:
904
- > raven-cli dumpprivkey "myaddress"
905
- > raven-cli importprivkey "mykey"
906
- > 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/
1004
+ > neurai-cli dumpprivkey "myaddress"
1005
+ > neurai-cli importprivkey "mykey"
1006
+ > 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/
907
1007
  **/
908
- dumpprivkey: "dumpprivkey",
1008
+ dumpprivkey:'dumpprivkey',
1009
+
909
1010
 
910
- /** dumpwallet "filename"
1011
+
1012
+
1013
+
1014
+ /** dumpwallet "filename"
911
1015
 
912
1016
  Dumps all wallet keys in a human-readable format to a server-side file. This does not allow overwriting existing files.
913
1017
 
914
1018
  Arguments:
915
- 1. "filename" (string, required) The filename with path (either absolute or relative to ravend)
1019
+ 1. "filename" (string, required) The filename with path (either absolute or relative to neuraid)
916
1020
 
917
1021
  Result:
918
1022
  { (json object)
@@ -920,12 +1024,16 @@ Result:
920
1024
  }
921
1025
 
922
1026
  Examples:
923
- > raven-cli dumpwallet "test"
924
- > 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/
1027
+ > neurai-cli dumpwallet "test"
1028
+ > 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/
925
1029
  **/
926
- dumpwallet: "dumpwallet",
1030
+ dumpwallet:'dumpwallet',
1031
+
927
1032
 
928
- /** encryptwallet "passphrase"
1033
+
1034
+
1035
+
1036
+ /** encryptwallet "passphrase"
929
1037
 
930
1038
  Encrypts the wallet with 'passphrase'. This is for first time encryption.
931
1039
  After this, any calls that interact with private keys such as sending or signing
@@ -940,23 +1048,27 @@ Arguments:
940
1048
  Examples:
941
1049
 
942
1050
  Encrypt your wallet
943
- > raven-cli encryptwallet "my pass phrase"
1051
+ > neurai-cli encryptwallet "my pass phrase"
944
1052
 
945
- Now set the passphrase to use the wallet, such as for signing or sending raven
946
- > raven-cli walletpassphrase "my pass phrase"
1053
+ Now set the passphrase to use the wallet, such as for signing or sending neurai
1054
+ > neurai-cli walletpassphrase "my pass phrase"
947
1055
 
948
1056
  Now we can do something like sign
949
- > raven-cli signmessage "address" "test message"
1057
+ > neurai-cli signmessage "address" "test message"
950
1058
 
951
1059
  Now lock the wallet again by removing the passphrase
952
- > raven-cli walletlock
1060
+ > neurai-cli walletlock
953
1061
 
954
1062
  As a json rpc call
955
- > 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/
1063
+ > 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/
956
1064
  **/
957
- encryptwallet: "encryptwallet",
1065
+ encryptwallet:'encryptwallet',
1066
+
958
1067
 
959
- /** estimatefee nblocks
1068
+
1069
+
1070
+
1071
+ /** estimatefee nblocks
960
1072
 
961
1073
  DEPRECATED. Please use estimatesmartfee for more intelligent estimates.
962
1074
  Estimates the approximate fee per kilobyte needed for a transaction to begin
@@ -975,11 +1087,15 @@ have been observed to make an estimate.
975
1087
  a fee that is high enough to get reliably included in the next block.
976
1088
 
977
1089
  Example:
978
- > raven-cli estimatefee 6
1090
+ > neurai-cli estimatefee 6
979
1091
  **/
980
- estimatefee: "estimatefee",
1092
+ estimatefee:'estimatefee',
1093
+
981
1094
 
982
- /** estimatesmartfee conf_target ("estimate_mode")
1095
+
1096
+
1097
+
1098
+ /** estimatesmartfee conf_target ("estimate_mode")
983
1099
 
984
1100
  Estimates the approximate fee per kilobyte needed for a transaction to begin
985
1101
  confirmation within conf_target blocks if possible and return the number of blocks
@@ -1011,11 +1127,15 @@ An error is returned if not enough transactions and blocks
1011
1127
  have been observed to make an estimate for any number of blocks.
1012
1128
 
1013
1129
  Example:
1014
- > raven-cli estimatesmartfee 6
1130
+ > neurai-cli estimatesmartfee 6
1015
1131
  **/
1016
- estimatesmartfee: "estimatesmartfee",
1132
+ estimatesmartfee:'estimatesmartfee',
1133
+
1017
1134
 
1018
- /** freezeaddress asset_name address (change_address) (asset_data)
1135
+
1136
+
1137
+
1138
+ /** freezeaddress asset_name address (change_address) (asset_data)
1019
1139
 
1020
1140
  Freeze an address from transferring a restricted asset
1021
1141
 
@@ -1029,14 +1149,18 @@ Result:
1029
1149
  "txid" (string) The transaction id
1030
1150
 
1031
1151
  Examples:
1032
- > raven-cli freezeaddress "$RESTRICTED_ASSET" "address"
1033
- > 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/
1034
- > raven-cli freezeaddress "$RESTRICTED_ASSET" "address" "change_address"
1035
- > 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/
1152
+ > neurai-cli freezeaddress "$RESTRICTED_ASSET" "address"
1153
+ > 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/
1154
+ > neurai-cli freezeaddress "$RESTRICTED_ASSET" "address" "change_address"
1155
+ > 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/
1036
1156
  **/
1037
- freezeaddress: "freezeaddress",
1157
+ freezeaddress:'freezeaddress',
1158
+
1038
1159
 
1039
- /** freezerestrictedasset asset_name (change_address) (asset_data)
1160
+
1161
+
1162
+
1163
+ /** freezerestrictedasset asset_name (change_address) (asset_data)
1040
1164
 
1041
1165
  Freeze all trading for a specific restricted asset
1042
1166
 
@@ -1049,14 +1173,18 @@ Result:
1049
1173
  "txid" (string) The transaction id
1050
1174
 
1051
1175
  Examples:
1052
- > raven-cli freezerestrictedasset "$RESTRICTED_ASSET"
1053
- > 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/
1054
- > raven-cli freezerestrictedasset "$RESTRICTED_ASSET" "change_address"
1055
- > 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/
1176
+ > neurai-cli freezerestrictedasset "$RESTRICTED_ASSET"
1177
+ > 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/
1178
+ > neurai-cli freezerestrictedasset "$RESTRICTED_ASSET" "change_address"
1179
+ > 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/
1056
1180
  **/
1057
- freezerestrictedasset: "freezerestrictedasset",
1181
+ freezerestrictedasset:'freezerestrictedasset',
1182
+
1058
1183
 
1059
- /** fundrawtransaction "hexstring" ( options )
1184
+
1185
+
1186
+
1187
+ /** fundrawtransaction "hexstring" ( options )
1060
1188
 
1061
1189
  Add inputs to a transaction until it has enough in value to meet its out value.
1062
1190
  This will not modify existing inputs, and will add at most one change output to the outputs.
@@ -1073,7 +1201,7 @@ Arguments:
1073
1201
  1. "hexstring" (string, required) The hex string of the raw transaction
1074
1202
  2. options (object, optional)
1075
1203
  {
1076
- "changeAddress" (string, optional, default pool address) The raven address to receive the change
1204
+ "changeAddress" (string, optional, default pool address) The neurai address to receive the change
1077
1205
  "changePosition" (numeric, optional, default random) The index of the change output
1078
1206
  "includeWatching" (boolean, optional, default false) Also select inputs which are watch only
1079
1207
  "lockUnspents" (boolean, optional, default false) Lock selected unspent outputs
@@ -1081,7 +1209,7 @@ Arguments:
1081
1209
  "subtractFeeFromOutputs" (array, optional) A json array of integers.
1082
1210
  The fee will be equally deducted from the amount of each specified output.
1083
1211
  The outputs are specified by their zero-based index, before any change output is added.
1084
- Those recipients will receive less ravens than you enter in their corresponding amount field.
1212
+ Those recipients will receive less neurais than you enter in their corresponding amount field.
1085
1213
  If no outputs are specified here, the sender pays the fee.
1086
1214
  [vout_index,...]
1087
1215
  Allows this transaction to be replaced by a transaction with higher fees
@@ -1103,20 +1231,24 @@ Result:
1103
1231
  Examples:
1104
1232
 
1105
1233
  Create a transaction with no inputs
1106
- > raven-cli createrawtransaction "[]" "{\"myaddress\":0.01}"
1234
+ > neurai-cli createrawtransaction "[]" "{\"myaddress\":0.01}"
1107
1235
 
1108
1236
  Add sufficient unsigned inputs to meet the output value
1109
- > raven-cli fundrawtransaction "rawtransactionhex"
1237
+ > neurai-cli fundrawtransaction "rawtransactionhex"
1110
1238
 
1111
1239
  Sign the transaction
1112
- > raven-cli signrawtransaction "fundedtransactionhex"
1240
+ > neurai-cli signrawtransaction "fundedtransactionhex"
1113
1241
 
1114
1242
  Send the transaction
1115
- > raven-cli sendrawtransaction "signedtransactionhex"
1243
+ > neurai-cli sendrawtransaction "signedtransactionhex"
1116
1244
  **/
1117
- fundrawtransaction: "fundrawtransaction",
1245
+ fundrawtransaction:'fundrawtransaction',
1246
+
1118
1247
 
1119
- /** generate nblocks ( maxtries )
1248
+
1249
+
1250
+
1251
+ /** generate nblocks ( maxtries )
1120
1252
 
1121
1253
  Mine up to nblocks blocks immediately (before the RPC call returns) to an address in the wallet.
1122
1254
 
@@ -1130,17 +1262,21 @@ Result:
1130
1262
  Examples:
1131
1263
 
1132
1264
  Generate 11 blocks
1133
- > raven-cli generate 11
1265
+ > neurai-cli generate 11
1134
1266
  **/
1135
- generate: "generate",
1267
+ generate:'generate',
1268
+
1136
1269
 
1137
- /** generatetoaddress nblocks address (maxtries)
1270
+
1271
+
1272
+
1273
+ /** generatetoaddress nblocks address (maxtries)
1138
1274
 
1139
1275
  Mine blocks immediately to a specified address (before the RPC call returns)
1140
1276
 
1141
1277
  Arguments:
1142
1278
  1. nblocks (numeric, required) How many blocks are generated immediately.
1143
- 2. address (string, required) The address to send the newly generated raven to.
1279
+ 2. address (string, required) The address to send the newly generated neurai to.
1144
1280
  3. maxtries (numeric, optional) How many iterations to try (default = 1000000).
1145
1281
 
1146
1282
  Result:
@@ -1149,45 +1285,57 @@ Result:
1149
1285
  Examples:
1150
1286
 
1151
1287
  Generate 11 blocks to myaddress
1152
- > raven-cli generatetoaddress 11 "myaddress"
1288
+ > neurai-cli generatetoaddress 11 "myaddress"
1153
1289
  **/
1154
- generatetoaddress: "generatetoaddress",
1290
+ generatetoaddress:'generatetoaddress',
1291
+
1155
1292
 
1156
- /** getaccount "address"
1293
+
1294
+
1295
+
1296
+ /** getaccount "address"
1157
1297
 
1158
1298
  DEPRECATED. Returns the account associated with the given address.
1159
1299
 
1160
1300
  Arguments:
1161
- 1. "address" (string, required) The raven address for account lookup.
1301
+ 1. "address" (string, required) The neurai address for account lookup.
1162
1302
 
1163
1303
  Result:
1164
1304
  "accountname" (string) the account address
1165
1305
 
1166
1306
  Examples:
1167
- > raven-cli getaccount "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX"
1168
- > 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/
1307
+ > neurai-cli getaccount "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX"
1308
+ > 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/
1169
1309
  **/
1170
- getaccount: "getaccount",
1310
+ getaccount:'getaccount',
1311
+
1171
1312
 
1172
- /** getaccountaddress "account"
1173
1313
 
1174
- DEPRECATED. Returns the current Raven address for receiving payments to this account.
1314
+
1315
+
1316
+ /** getaccountaddress "account"
1317
+
1318
+ DEPRECATED. Returns the current Neurai address for receiving payments to this account.
1175
1319
 
1176
1320
  Arguments:
1177
1321
  1. "account" (string, required) The account name for the address. It can also be set to the empty string "" to represent the default account. The account does not need to exist, it will be created and a new address created if there is no account by the given name.
1178
1322
 
1179
1323
  Result:
1180
- "address" (string) The account raven address
1324
+ "address" (string) The account neurai address
1181
1325
 
1182
1326
  Examples:
1183
- > raven-cli getaccountaddress
1184
- > raven-cli getaccountaddress ""
1185
- > raven-cli getaccountaddress "myaccount"
1186
- > 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/
1327
+ > neurai-cli getaccountaddress
1328
+ > neurai-cli getaccountaddress ""
1329
+ > neurai-cli getaccountaddress "myaccount"
1330
+ > 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/
1187
1331
  **/
1188
- getaccountaddress: "getaccountaddress",
1332
+ getaccountaddress:'getaccountaddress',
1333
+
1189
1334
 
1190
- /** getaddednodeinfo ( "node" )
1335
+
1336
+
1337
+
1338
+ /** getaddednodeinfo ( "node" )
1191
1339
 
1192
1340
  Returns information about the given added node, or all added nodes
1193
1341
  (note that onetry addnodes are not listed here)
@@ -1202,7 +1350,7 @@ Result:
1202
1350
  "connected" : true|false, (boolean) If connected
1203
1351
  "addresses" : [ (list of objects) Only when connected = true
1204
1352
  {
1205
- "address" : "192.168.0.201:8767", (string) The raven server IP and port we're connected to
1353
+ "address" : "192.168.0.201:8767", (string) The neurai server IP and port we're connected to
1206
1354
  "connected" : "outbound" (string) connection, inbound or outbound
1207
1355
  }
1208
1356
  ]
@@ -1211,12 +1359,16 @@ Result:
1211
1359
  ]
1212
1360
 
1213
1361
  Examples:
1214
- > raven-cli getaddednodeinfo "192.168.0.201"
1215
- > 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/
1362
+ > neurai-cli getaddednodeinfo "192.168.0.201"
1363
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddednodeinfo", "params": ["192.168.0.201"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1216
1364
  **/
1217
- getaddednodeinfo: "getaddednodeinfo",
1365
+ getaddednodeinfo:'getaddednodeinfo',
1366
+
1218
1367
 
1219
- /** getaddressbalance
1368
+
1369
+
1370
+
1371
+ /** getaddressbalance
1220
1372
 
1221
1373
  Returns the balance for an address(es) (requires addressindex to be enabled).
1222
1374
 
@@ -1239,21 +1391,25 @@ Result:
1239
1391
  OR
1240
1392
  [
1241
1393
  {
1242
- "assetName" (string) The asset associated with the balance (XNA for Ravencoin)
1394
+ "assetName" (string) The asset associated with the balance (XNA for Neurai)
1243
1395
  "balance" (string) The current balance in satoshis
1244
1396
  "received" (string) The total number of satoshis received (including change)
1245
1397
  },...
1246
1398
 
1247
1399
  ]
1248
1400
  Examples:
1249
- > raven-cli getaddressbalance '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
1250
- > raven-cli getaddressbalance '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
1251
- > 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/
1252
- > 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/
1401
+ > neurai-cli getaddressbalance '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
1402
+ > neurai-cli getaddressbalance '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
1403
+ > 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/
1404
+ > 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/
1253
1405
  **/
1254
- getaddressbalance: "getaddressbalance",
1406
+ getaddressbalance:'getaddressbalance',
1407
+
1255
1408
 
1256
- /** getaddressdeltas
1409
+
1410
+
1411
+
1412
+ /** getaddressdeltas
1257
1413
 
1258
1414
  Returns all changes for an address (requires addressindex to be enabled).
1259
1415
 
@@ -1273,7 +1429,7 @@ Arguments:
1273
1429
  Result:
1274
1430
  [
1275
1431
  {
1276
- "assetName" (string) The asset associated with the deltas (XNA for Ravencoin)
1432
+ "assetName" (string) The asset associated with the deltas (XNA for Neurai)
1277
1433
  "satoshis" (number) The difference of satoshis
1278
1434
  "txid" (string) The related txid
1279
1435
  "index" (number) The related input or output index
@@ -1283,14 +1439,18 @@ Result:
1283
1439
  ]
1284
1440
 
1285
1441
  Examples:
1286
- > raven-cli getaddressdeltas '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
1287
- > 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/
1288
- > raven-cli getaddressdeltas '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}'
1289
- > 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/
1442
+ > neurai-cli getaddressdeltas '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
1443
+ > 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/
1444
+ > neurai-cli getaddressdeltas '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}'
1445
+ > 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/
1290
1446
  **/
1291
- getaddressdeltas: "getaddressdeltas",
1447
+ getaddressdeltas:'getaddressdeltas',
1448
+
1292
1449
 
1293
- /** getaddressesbyaccount "account"
1450
+
1451
+
1452
+
1453
+ /** getaddressesbyaccount "account"
1294
1454
 
1295
1455
  DEPRECATED. Returns the list of addresses for the given account.
1296
1456
 
@@ -1299,17 +1459,21 @@ Arguments:
1299
1459
 
1300
1460
  Result:
1301
1461
  [ (json array of string)
1302
- "address" (string) a raven address associated with the given account
1462
+ "address" (string) a neurai address associated with the given account
1303
1463
  ,...
1304
1464
  ]
1305
1465
 
1306
1466
  Examples:
1307
- > raven-cli getaddressesbyaccount "tabby"
1308
- > 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/
1467
+ > neurai-cli getaddressesbyaccount "tabby"
1468
+ > 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/
1309
1469
  **/
1310
- getaddressesbyaccount: "getaddressesbyaccount",
1470
+ getaddressesbyaccount:'getaddressesbyaccount',
1471
+
1311
1472
 
1312
- /** getaddressmempool
1473
+
1474
+
1475
+
1476
+ /** getaddressmempool
1313
1477
 
1314
1478
  Returns all mempool deltas for an address (requires addressindex to be enabled).
1315
1479
 
@@ -1327,7 +1491,7 @@ Result:
1327
1491
  [
1328
1492
  {
1329
1493
  "address" (string) The base58check encoded address
1330
- "assetName" (string) The name of the associated asset (XNA for Ravencoin)
1494
+ "assetName" (string) The name of the associated asset (XNA for Neurai)
1331
1495
  "txid" (string) The related txid
1332
1496
  "index" (number) The related input or output index
1333
1497
  "satoshis" (number) The difference of satoshis
@@ -1338,14 +1502,18 @@ Result:
1338
1502
  ]
1339
1503
 
1340
1504
  Examples:
1341
- > raven-cli getaddressmempool '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
1342
- > 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/
1343
- > raven-cli getaddressmempool '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
1344
- > 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/
1505
+ > neurai-cli getaddressmempool '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
1506
+ > 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/
1507
+ > neurai-cli getaddressmempool '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
1508
+ > 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/
1345
1509
  **/
1346
- getaddressmempool: "getaddressmempool",
1510
+ getaddressmempool:'getaddressmempool',
1511
+
1347
1512
 
1348
- /** getaddresstxids
1513
+
1514
+
1515
+
1516
+ /** getaddresstxids
1349
1517
 
1350
1518
  Returns the txids for an address(es) (requires addressindex to be enabled).
1351
1519
 
@@ -1368,14 +1536,18 @@ Result:
1368
1536
  ]
1369
1537
 
1370
1538
  Examples:
1371
- > raven-cli getaddresstxids '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
1372
- > 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/
1373
- > raven-cli getaddresstxids '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
1374
- > 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/
1539
+ > neurai-cli getaddresstxids '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
1540
+ > 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/
1541
+ > neurai-cli getaddresstxids '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
1542
+ > 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/
1375
1543
  **/
1376
- getaddresstxids: "getaddresstxids",
1544
+ getaddresstxids:'getaddresstxids',
1545
+
1377
1546
 
1378
- /** getaddressutxos
1547
+
1548
+
1549
+
1550
+ /** getaddressutxos
1379
1551
 
1380
1552
  Returns all unspent outputs for an address (requires addressindex to be enabled).
1381
1553
 
@@ -1394,7 +1566,7 @@ Result
1394
1566
  [
1395
1567
  {
1396
1568
  "address" (string) The address base58check encoded
1397
- "assetName" (string) The asset associated with the UTXOs (XNA for Ravencoin)
1569
+ "assetName" (string) The asset associated with the UTXOs (XNA for Neurai)
1398
1570
  "txid" (string) The output txid
1399
1571
  "height" (number) The block height
1400
1572
  "outputIndex" (number) The output index
@@ -1404,14 +1576,18 @@ Result
1404
1576
  ]
1405
1577
 
1406
1578
  Examples:
1407
- > raven-cli getaddressutxos '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
1408
- > 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/
1409
- > raven-cli getaddressutxos '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}'
1410
- > 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/
1579
+ > neurai-cli getaddressutxos '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
1580
+ > 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/
1581
+ > neurai-cli getaddressutxos '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}'
1582
+ > 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/
1411
1583
  **/
1412
- getaddressutxos: "getaddressutxos",
1584
+ getaddressutxos:'getaddressutxos',
1585
+
1413
1586
 
1414
- /** getassetdata "asset_name"
1587
+
1588
+
1589
+
1590
+ /** getassetdata "asset_name"
1415
1591
 
1416
1592
  Returns assets metadata if that asset exists
1417
1593
 
@@ -1431,12 +1607,16 @@ Result:
1431
1607
  }
1432
1608
 
1433
1609
  Examples:
1434
- > raven-cli getassetdata "ASSET_NAME"
1435
- > 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/
1610
+ > neurai-cli getassetdata "ASSET_NAME"
1611
+ > 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/
1436
1612
  **/
1437
- getassetdata: "getassetdata",
1613
+ getassetdata:'getassetdata',
1614
+
1438
1615
 
1439
- /** getbalance ( "account" minconf include_watchonly )
1616
+
1617
+
1618
+
1619
+ /** getbalance ( "account" minconf include_watchonly )
1440
1620
 
1441
1621
  If account is not specified, returns the server's total available balance.
1442
1622
  If account is specified (DEPRECATED), returns the balance in the account.
@@ -1465,17 +1645,21 @@ amount (numeric) The total amount in XNA received for this account.
1465
1645
  Examples:
1466
1646
 
1467
1647
  The total amount in the wallet with 1 or more confirmations
1468
- > raven-cli getbalance
1648
+ > neurai-cli getbalance
1469
1649
 
1470
1650
  The total amount in the wallet at least 6 blocks confirmed
1471
- > raven-cli getbalance "*" 6
1651
+ > neurai-cli getbalance "*" 6
1472
1652
 
1473
1653
  As a json rpc call
1474
- > 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/
1654
+ > 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/
1475
1655
  **/
1476
- getbalance: "getbalance",
1656
+ getbalance:'getbalance',
1657
+
1477
1658
 
1478
- /** getbestblockhash
1659
+
1660
+
1661
+
1662
+ /** getbestblockhash
1479
1663
 
1480
1664
  Returns the hash of the best (tip) block in the longest blockchain.
1481
1665
 
@@ -1483,12 +1667,16 @@ Result:
1483
1667
  "hex" (string) the block hash hex encoded
1484
1668
 
1485
1669
  Examples:
1486
- > raven-cli getbestblockhash
1487
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbestblockhash", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
1670
+ > neurai-cli getbestblockhash
1671
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbestblockhash", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1488
1672
  **/
1489
- getbestblockhash: "getbestblockhash",
1673
+ getbestblockhash:'getbestblockhash',
1674
+
1490
1675
 
1491
- /** getblock "blockhash" ( verbosity )
1676
+
1677
+
1678
+
1679
+ /** getblock "blockhash" ( verbosity )
1492
1680
 
1493
1681
  If verbosity is 0, returns a string that is serialized, hex-encoded data for block 'hash'.
1494
1682
  If verbosity is 1, returns an Object with information about block <hash>.
@@ -1536,12 +1724,16 @@ Result (for verbosity = 2):
1536
1724
  }
1537
1725
 
1538
1726
  Examples:
1539
- > raven-cli getblock "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
1540
- > 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/
1727
+ > neurai-cli getblock "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
1728
+ > 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/
1541
1729
  **/
1542
- getblock: "getblock",
1730
+ getblock:'getblock',
1731
+
1543
1732
 
1544
- /** getblockchaininfo
1733
+
1734
+
1735
+
1736
+ /** getblockchaininfo
1545
1737
  Returns an object containing various state info regarding blockchain processing.
1546
1738
 
1547
1739
  Result:
@@ -1588,12 +1780,16 @@ Result:
1588
1780
  }
1589
1781
 
1590
1782
  Examples:
1591
- > raven-cli getblockchaininfo
1592
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockchaininfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
1783
+ > neurai-cli getblockchaininfo
1784
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockchaininfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1593
1785
  **/
1594
- getblockchaininfo: "getblockchaininfo",
1786
+ getblockchaininfo:'getblockchaininfo',
1787
+
1595
1788
 
1596
- /** getblockcount
1789
+
1790
+
1791
+
1792
+ /** getblockcount
1597
1793
 
1598
1794
  Returns the number of blocks in the longest blockchain.
1599
1795
 
@@ -1601,12 +1797,16 @@ Result:
1601
1797
  n (numeric) The current block count
1602
1798
 
1603
1799
  Examples:
1604
- > raven-cli getblockcount
1605
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockcount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
1800
+ > neurai-cli getblockcount
1801
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockcount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1606
1802
  **/
1607
- getblockcount: "getblockcount",
1803
+ getblockcount:'getblockcount',
1804
+
1608
1805
 
1609
- /** getblockhash height
1806
+
1807
+
1808
+
1809
+ /** getblockhash height
1610
1810
 
1611
1811
  Returns hash of block in best-block-chain at height provided.
1612
1812
 
@@ -1617,12 +1817,16 @@ Result:
1617
1817
  "hash" (string) The block hash
1618
1818
 
1619
1819
  Examples:
1620
- > raven-cli getblockhash 1000
1621
- > 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/
1820
+ > neurai-cli getblockhash 1000
1821
+ > 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/
1622
1822
  **/
1623
- getblockhash: "getblockhash",
1823
+ getblockhash:'getblockhash',
1824
+
1624
1825
 
1625
- /** getblockhashes timestamp
1826
+
1827
+
1828
+
1829
+ /** getblockhashes timestamp
1626
1830
 
1627
1831
  Returns array of hashes of blocks within the timestamp range provided.
1628
1832
 
@@ -1647,13 +1851,17 @@ Result:
1647
1851
  ]
1648
1852
 
1649
1853
  Examples:
1650
- > raven-cli getblockhashes 1231614698 1231024505
1651
- > 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/
1652
- > raven-cli getblockhashes 1231614698 1231024505 '{"noOrphans":false, "logicalTimes":true}'
1854
+ > neurai-cli getblockhashes 1231614698 1231024505
1855
+ > 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/
1856
+ > neurai-cli getblockhashes 1231614698 1231024505 '{"noOrphans":false, "logicalTimes":true}'
1653
1857
  **/
1654
- getblockhashes: "getblockhashes",
1858
+ getblockhashes:'getblockhashes',
1859
+
1655
1860
 
1656
- /** getblockheader "hash" ( verbose )
1861
+
1862
+
1863
+
1864
+ /** getblockheader "hash" ( verbose )
1657
1865
 
1658
1866
  If verbose is false, returns a string that is serialized, hex-encoded data for blockheader 'hash'.
1659
1867
  If verbose is true, returns an Object with information about blockheader <hash>.
@@ -1684,20 +1892,24 @@ Result (for verbose=false):
1684
1892
  "data" (string) A string that is serialized, hex-encoded data for block 'hash'.
1685
1893
 
1686
1894
  Examples:
1687
- > raven-cli getblockheader "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
1688
- > 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/
1895
+ > neurai-cli getblockheader "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
1896
+ > 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/
1689
1897
  **/
1690
- getblockheader: "getblockheader",
1898
+ getblockheader:'getblockheader',
1899
+
1691
1900
 
1692
- /** getblocktemplate ( TemplateRequest )
1901
+
1902
+
1903
+
1904
+ /** getblocktemplate ( TemplateRequest )
1693
1905
 
1694
1906
  If the request parameters include a 'mode' key, that is used to explicitly select between the default 'template' request or a 'proposal'.
1695
1907
  It returns data needed to construct a block to work on.
1696
1908
  For full specification, see BIPs 22, 23, 9, and 145:
1697
- https://github.com/raven/bips/blob/master/bip-0022.mediawiki
1698
- https://github.com/raven/bips/blob/master/bip-0023.mediawiki
1699
- https://github.com/raven/bips/blob/master/bip-0009.mediawiki#getblocktemplate_changes
1700
- https://github.com/raven/bips/blob/master/bip-0145.mediawiki
1909
+ https://github.com/neurai/bips/blob/master/bip-0022.mediawiki
1910
+ https://github.com/neurai/bips/blob/master/bip-0023.mediawiki
1911
+ https://github.com/neurai/bips/blob/master/bip-0009.mediawiki#getblocktemplate_changes
1912
+ https://github.com/neurai/bips/blob/master/bip-0145.mediawiki
1701
1913
 
1702
1914
  Arguments:
1703
1915
  1. template_request (json object, optional) A json object in the following spec
@@ -1761,12 +1973,16 @@ Result:
1761
1973
  }
1762
1974
 
1763
1975
  Examples:
1764
- > raven-cli getblocktemplate
1765
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblocktemplate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
1976
+ > neurai-cli getblocktemplate
1977
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblocktemplate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1766
1978
  **/
1767
- getblocktemplate: "getblocktemplate",
1979
+ getblocktemplate:'getblocktemplate',
1980
+
1768
1981
 
1769
- /** getcacheinfo
1982
+
1983
+
1984
+
1985
+ /** getcacheinfo
1770
1986
 
1771
1987
  Result:
1772
1988
  [
@@ -1782,12 +1998,16 @@ Result:
1782
1998
  ]
1783
1999
 
1784
2000
  Examples:
1785
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getcacheinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
1786
- > raven-cli getcacheinfo
2001
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getcacheinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2002
+ > neurai-cli getcacheinfo
1787
2003
  **/
1788
- getcacheinfo: "getcacheinfo",
2004
+ getcacheinfo:'getcacheinfo',
2005
+
1789
2006
 
1790
- /** getchaintips
2007
+
2008
+
2009
+
2010
+ /** getchaintips
1791
2011
  Return information about all known tips in the block tree, including the main chain as well as orphaned branches.
1792
2012
 
1793
2013
  Result:
@@ -1813,12 +2033,16 @@ Possible values for status:
1813
2033
  5. "active" This is the tip of the active main chain, which is certainly valid
1814
2034
 
1815
2035
  Examples:
1816
- > raven-cli getchaintips
1817
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintips", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2036
+ > neurai-cli getchaintips
2037
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintips", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1818
2038
  **/
1819
- getchaintips: "getchaintips",
2039
+ getchaintips:'getchaintips',
2040
+
1820
2041
 
1821
- /** getchaintxstats ( nblocks blockhash )
2042
+
2043
+
2044
+
2045
+ /** getchaintxstats ( nblocks blockhash )
1822
2046
 
1823
2047
  Compute statistics about the total number and rate of transactions in the chain.
1824
2048
 
@@ -1837,12 +2061,16 @@ Result:
1837
2061
  }
1838
2062
 
1839
2063
  Examples:
1840
- > raven-cli getchaintxstats
1841
- > 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/
2064
+ > neurai-cli getchaintxstats
2065
+ > 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/
1842
2066
  **/
1843
- getchaintxstats: "getchaintxstats",
2067
+ getchaintxstats:'getchaintxstats',
2068
+
1844
2069
 
1845
- /** getconnectioncount
2070
+
2071
+
2072
+
2073
+ /** getconnectioncount
1846
2074
 
1847
2075
  Returns the number of connections to other nodes.
1848
2076
 
@@ -1850,12 +2078,16 @@ Result:
1850
2078
  n (numeric) The connection count
1851
2079
 
1852
2080
  Examples:
1853
- > raven-cli getconnectioncount
1854
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getconnectioncount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2081
+ > neurai-cli getconnectioncount
2082
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getconnectioncount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1855
2083
  **/
1856
- getconnectioncount: "getconnectioncount",
2084
+ getconnectioncount:'getconnectioncount',
2085
+
1857
2086
 
1858
- /** getdifficulty
2087
+
2088
+
2089
+
2090
+ /** getdifficulty
1859
2091
 
1860
2092
  Returns the proof-of-work difficulty as a multiple of the minimum difficulty.
1861
2093
 
@@ -1863,12 +2095,16 @@ Result:
1863
2095
  n.nnn (numeric) the proof-of-work difficulty as a multiple of the minimum difficulty.
1864
2096
 
1865
2097
  Examples:
1866
- > raven-cli getdifficulty
1867
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdifficulty", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2098
+ > neurai-cli getdifficulty
2099
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdifficulty", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1868
2100
  **/
1869
- getdifficulty: "getdifficulty",
2101
+ getdifficulty:'getdifficulty',
2102
+
1870
2103
 
1871
- /** getdistributestatus "asset_name" snapshot_height "distribution_asset_name" gross_distribution_amount ( "exception_addresses" )
2104
+
2105
+
2106
+
2107
+ /** getdistributestatus "asset_name" snapshot_height "distribution_asset_name" gross_distribution_amount ( "exception_addresses" )
1872
2108
 
1873
2109
  Give information about the status of the distribution
1874
2110
 
@@ -1880,29 +2116,37 @@ Arguments:
1880
2116
  5. "exception_addresses" (string, optional) Ownership addresses that should be excluded
1881
2117
 
1882
2118
  Examples:
1883
- > raven-cli getdistributestatus "TRONCO" 12345 "XNA" 1000
1884
- > raven-cli getdistributestatus "PHATSTACKS" 12345 "DIVIDENDS" 1000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"
1885
- > 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/
1886
- > 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/
2119
+ > neurai-cli getdistributestatus "TRONCO" 12345 "XNA" 1000
2120
+ > neurai-cli getdistributestatus "PHATSTACKS" 12345 "DIVIDENDS" 1000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"
2121
+ > 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/
2122
+ > 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/
1887
2123
  **/
1888
- getdistributestatus: "getdistributestatus",
2124
+ getdistributestatus:'getdistributestatus',
2125
+
1889
2126
 
1890
- /** getgenerate
2127
+
2128
+
2129
+
2130
+ /** getgenerate
1891
2131
 
1892
2132
  Return if the server is set to generate coins or not. The default is false.
1893
- It is set with the command line argument -gen (or raven.conf setting gen)
2133
+ It is set with the command line argument -gen (or neurai.conf setting gen)
1894
2134
  It can also be set with the setgenerate call.
1895
2135
 
1896
2136
  Result
1897
2137
  true|false (boolean) If the server is set to generate coins or not
1898
2138
 
1899
2139
  Examples:
1900
- > raven-cli getgenerate
1901
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getgenerate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2140
+ > neurai-cli getgenerate
2141
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getgenerate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1902
2142
  **/
1903
- getgenerate: "getgenerate",
2143
+ getgenerate:'getgenerate',
2144
+
1904
2145
 
1905
- /** getinfo
2146
+
2147
+
2148
+
2149
+ /** getinfo
1906
2150
 
1907
2151
  DEPRECATED. Returns an object containing various state info.
1908
2152
 
@@ -1912,7 +2156,7 @@ Result:
1912
2156
  "version": xxxxx, (numeric) the server version
1913
2157
  "protocolversion": xxxxx, (numeric) the protocol version
1914
2158
  "walletversion": xxxxx, (numeric) the wallet version
1915
- "balance": xxxxxxx, (numeric) the total Ravencoin balance of the wallet
2159
+ "balance": xxxxxxx, (numeric) the total Neurai balance of the wallet
1916
2160
  "blocks": xxxxxx, (numeric) the current number of blocks processed in the server
1917
2161
  "timeoffset": xxxxx, (numeric) the time offset
1918
2162
  "connections": xxxxx, (numeric) the number of connections
@@ -1928,12 +2172,16 @@ Result:
1928
2172
  }
1929
2173
 
1930
2174
  Examples:
1931
- > raven-cli getinfo
1932
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2175
+ > neurai-cli getinfo
2176
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1933
2177
  **/
1934
- getinfo: "getinfo",
2178
+ getinfo:'getinfo',
2179
+
1935
2180
 
1936
- /** getkawpowhash "header_hash" "mix_hash" nonce, height, "target"
2181
+
2182
+
2183
+
2184
+ /** getkawpowhash "header_hash" "mix_hash" nonce, height, "target"
1937
2185
 
1938
2186
  Get the kawpow hash for a block given its block data
1939
2187
 
@@ -1947,12 +2195,16 @@ Arguments
1947
2195
  Result:
1948
2196
 
1949
2197
  Examples:
1950
- > raven-cli getkawpowhash "header_hash" "mix_hash" "0x100000" 2456
1951
- > 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/
2198
+ > neurai-cli getkawpowhash "header_hash" "mix_hash" "0x100000" 2456
2199
+ > 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/
1952
2200
  **/
1953
- getkawpowhash: "getkawpowhash",
2201
+ getkawpowhash:'getkawpowhash',
2202
+
1954
2203
 
1955
- /** getmasterkeyinfo
2204
+
2205
+
2206
+
2207
+ /** getmasterkeyinfo
1956
2208
 
1957
2209
  Fetches and displays the master private key and the master public key.
1958
2210
 
@@ -1966,12 +2218,16 @@ Result:
1966
2218
  }
1967
2219
 
1968
2220
  Examples:
1969
- > raven-cli getmasterkeyinfo
1970
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmasterkeyinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2221
+ > neurai-cli getmasterkeyinfo
2222
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmasterkeyinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1971
2223
  **/
1972
- getmasterkeyinfo: "getmasterkeyinfo",
2224
+ getmasterkeyinfo:'getmasterkeyinfo',
2225
+
1973
2226
 
1974
- /** getmemoryinfo ("mode")
2227
+
2228
+
2229
+
2230
+ /** getmemoryinfo ("mode")
1975
2231
  Returns an object containing information about memory usage.
1976
2232
  Arguments:
1977
2233
  1. "mode" determines what kind of information is returned. This argument is optional, the default mode is "stats".
@@ -1994,14 +2250,18 @@ Result (mode "mallocinfo"):
1994
2250
  "<malloc version="1">..."
1995
2251
 
1996
2252
  Examples:
1997
- > raven-cli getmemoryinfo
1998
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmemoryinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2253
+ > neurai-cli getmemoryinfo
2254
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmemoryinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1999
2255
  **/
2000
- getmemoryinfo: "getmemoryinfo",
2256
+ getmemoryinfo:'getmemoryinfo',
2001
2257
 
2002
- /** getmempoolancestors txid (verbose)
2003
2258
 
2004
- If txid is in the mempool, returns all in-mempool ancestors.
2259
+
2260
+
2261
+
2262
+ /** getmempoolancestors txid (verbose)
2263
+
2264
+ If txid is in the mempool, returns all in-mempool ancestors.
2005
2265
 
2006
2266
  Arguments:
2007
2267
  1. "txid" (string, required) The transaction id (must be in mempool)
@@ -2035,12 +2295,16 @@ Result (for verbose=true):
2035
2295
  }
2036
2296
 
2037
2297
  Examples:
2038
- > raven-cli getmempoolancestors "mytxid"
2039
- > 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/
2298
+ > neurai-cli getmempoolancestors "mytxid"
2299
+ > 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/
2040
2300
  **/
2041
- getmempoolancestors: "getmempoolancestors",
2301
+ getmempoolancestors:'getmempoolancestors',
2302
+
2303
+
2042
2304
 
2043
- /** getmempooldescendants txid (verbose)
2305
+
2306
+
2307
+ /** getmempooldescendants txid (verbose)
2044
2308
 
2045
2309
  If txid is in the mempool, returns all in-mempool descendants.
2046
2310
 
@@ -2076,12 +2340,16 @@ Result (for verbose=true):
2076
2340
  }
2077
2341
 
2078
2342
  Examples:
2079
- > raven-cli getmempooldescendants "mytxid"
2080
- > 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/
2343
+ > neurai-cli getmempooldescendants "mytxid"
2344
+ > 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/
2081
2345
  **/
2082
- getmempooldescendants: "getmempooldescendants",
2346
+ getmempooldescendants:'getmempooldescendants',
2347
+
2348
+
2083
2349
 
2084
- /** getmempoolentry txid
2350
+
2351
+
2352
+ /** getmempoolentry txid
2085
2353
 
2086
2354
  Returns mempool data for given transaction
2087
2355
 
@@ -2108,12 +2376,16 @@ Result:
2108
2376
  }
2109
2377
 
2110
2378
  Examples:
2111
- > raven-cli getmempoolentry "mytxid"
2112
- > 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/
2379
+ > neurai-cli getmempoolentry "mytxid"
2380
+ > 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/
2113
2381
  **/
2114
- getmempoolentry: "getmempoolentry",
2382
+ getmempoolentry:'getmempoolentry',
2383
+
2115
2384
 
2116
- /** getmempoolinfo
2385
+
2386
+
2387
+
2388
+ /** getmempoolinfo
2117
2389
 
2118
2390
  Returns details on the active state of the TX memory pool.
2119
2391
 
@@ -2127,12 +2399,16 @@ Result:
2127
2399
  }
2128
2400
 
2129
2401
  Examples:
2130
- > raven-cli getmempoolinfo
2131
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2402
+ > neurai-cli getmempoolinfo
2403
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2132
2404
  **/
2133
- getmempoolinfo: "getmempoolinfo",
2405
+ getmempoolinfo:'getmempoolinfo',
2406
+
2407
+
2408
+
2409
+
2134
2410
 
2135
- /** getmininginfo
2411
+ /** getmininginfo
2136
2412
 
2137
2413
  Returns a json object containing mining-related information.
2138
2414
  Result:
@@ -2146,16 +2422,20 @@ Result:
2146
2422
  "pooledtx": n (numeric) The size of the mempool
2147
2423
  "chain": "xxxx", (string) current network name as defined in BIP70 (main, test, regtest)
2148
2424
  "warnings": "..." (string) any network and blockchain warnings
2149
- "errors": "..." (string) DEPRECATED. Same as warnings. Only shown when ravend is started with -deprecatedrpc=getmininginfo
2425
+ "errors": "..." (string) DEPRECATED. Same as warnings. Only shown when neuraid is started with -deprecatedrpc=getmininginfo
2150
2426
  }
2151
2427
 
2152
2428
  Examples:
2153
- > raven-cli getmininginfo
2154
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmininginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2429
+ > neurai-cli getmininginfo
2430
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmininginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2155
2431
  **/
2156
- getmininginfo: "getmininginfo",
2432
+ getmininginfo:'getmininginfo',
2157
2433
 
2158
- /** getmywords ( "account" )
2434
+
2435
+
2436
+
2437
+
2438
+ /** getmywords ( "account" )
2159
2439
 
2160
2440
  Returns the 12 words and passphrase used by BIP39 to generate the wallets private keys
2161
2441
  Only returns value if wallet was created by the 12 words import/generation
@@ -2165,12 +2445,16 @@ Result:
2165
2445
  "passphrase:" (optional) Only show if passphrase was used when creating the wallet
2166
2446
 
2167
2447
  Examples:
2168
- > raven-cli getmywords
2169
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmywords", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2448
+ > neurai-cli getmywords
2449
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmywords", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2170
2450
  **/
2171
- getmywords: "getmywords",
2451
+ getmywords:'getmywords',
2452
+
2453
+
2454
+
2172
2455
 
2173
- /** getnettotals
2456
+
2457
+ /** getnettotals
2174
2458
 
2175
2459
  Returns information about network traffic, including bytes in, bytes out,
2176
2460
  and current time.
@@ -2192,12 +2476,16 @@ Result:
2192
2476
  }
2193
2477
 
2194
2478
  Examples:
2195
- > raven-cli getnettotals
2196
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnettotals", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2479
+ > neurai-cli getnettotals
2480
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnettotals", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2197
2481
  **/
2198
- getnettotals: "getnettotals",
2482
+ getnettotals:'getnettotals',
2483
+
2484
+
2485
+
2199
2486
 
2200
- /** getnetworkhashps ( nblocks height )
2487
+
2488
+ /** getnetworkhashps ( nblocks height )
2201
2489
 
2202
2490
  Returns the estimated network hashes per second based on the last n blocks.
2203
2491
  Pass in [blocks] to override # of blocks, -1 specifies since last difficulty change.
@@ -2211,12 +2499,16 @@ Result:
2211
2499
  x (numeric) Hashes per second estimated
2212
2500
 
2213
2501
  Examples:
2214
- > raven-cli getnetworkhashps
2215
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkhashps", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2502
+ > neurai-cli getnetworkhashps
2503
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkhashps", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2216
2504
  **/
2217
- getnetworkhashps: "getnetworkhashps",
2505
+ getnetworkhashps:'getnetworkhashps',
2506
+
2507
+
2218
2508
 
2219
- /** getnetworkinfo
2509
+
2510
+
2511
+ /** getnetworkinfo
2220
2512
  Returns an object containing various state info regarding P2P networking.
2221
2513
 
2222
2514
  Result:
@@ -2253,14 +2545,18 @@ Result:
2253
2545
  }
2254
2546
 
2255
2547
  Examples:
2256
- > raven-cli getnetworkinfo
2257
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2548
+ > neurai-cli getnetworkinfo
2549
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2258
2550
  **/
2259
- getnetworkinfo: "getnetworkinfo",
2551
+ getnetworkinfo:'getnetworkinfo',
2552
+
2553
+
2260
2554
 
2261
- /** getnewaddress ( "account" )
2262
2555
 
2263
- Returns a new Raven address for receiving payments.
2556
+
2557
+ /** getnewaddress ( "account" )
2558
+
2559
+ Returns a new Neurai address for receiving payments.
2264
2560
  If 'account' is specified (DEPRECATED), it is added to the address book
2265
2561
  so payments received with the address will be credited to 'account'.
2266
2562
 
@@ -2268,15 +2564,19 @@ Arguments:
2268
2564
  1. "account" (string, optional) DEPRECATED. The account name for the address to be linked to. If not provided, the default account "" is used. It can also be set to the empty string "" to represent the default account. The account does not need to exist, it will be created if there is no account by the given name.
2269
2565
 
2270
2566
  Result:
2271
- "address" (string) The new raven address
2567
+ "address" (string) The new neurai address
2272
2568
 
2273
2569
  Examples:
2274
- > raven-cli getnewaddress
2275
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2570
+ > neurai-cli getnewaddress
2571
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2276
2572
  **/
2277
- getnewaddress: "getnewaddress",
2573
+ getnewaddress:'getnewaddress',
2574
+
2278
2575
 
2279
- /** getpeerinfo
2576
+
2577
+
2578
+
2579
+ /** getpeerinfo
2280
2580
 
2281
2581
  Returns data about each connected network node as a json array of objects.
2282
2582
 
@@ -2324,26 +2624,60 @@ Result:
2324
2624
  ]
2325
2625
 
2326
2626
  Examples:
2327
- > raven-cli getpeerinfo
2328
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpeerinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2627
+ > neurai-cli getpeerinfo
2628
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpeerinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2629
+ **/
2630
+ getpeerinfo:'getpeerinfo',
2631
+
2632
+
2633
+
2634
+
2635
+
2636
+ /** getpubkey "address"
2637
+
2638
+ Returns the public key for an address that has revealed it by spending (requires pubkeyindex to be enabled).
2639
+
2640
+ Arguments:
2641
+ 1. "address" (string, required) The Neurai address
2642
+
2643
+ Result:
2644
+ {
2645
+ "address": "address", (string) The Neurai address
2646
+ "pubkey": "hex", (string) The public key in hex format
2647
+ "revealed": true|false, (boolean) Whether the public key has been revealed
2648
+ "height": n, (numeric) Block height where it was revealed
2649
+ "txid": "hash" (string) Transaction ID where it was revealed
2650
+ }
2651
+
2652
+ Examples:
2653
+ > neurai-cli getpubkey "NXa1b2c3d4e5f6..."
2654
+ > 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/
2329
2655
  **/
2330
- getpeerinfo: "getpeerinfo",
2656
+ getpubkey:'getpubkey',
2657
+
2658
+
2659
+
2331
2660
 
2332
- /** getrawchangeaddress
2333
2661
 
2334
- Returns a new Raven address, for receiving change.
2662
+ /** getrawchangeaddress
2663
+
2664
+ Returns a new Neurai address, for receiving change.
2335
2665
  This is for use with raw transactions, NOT normal use.
2336
2666
 
2337
2667
  Result:
2338
2668
  "address" (string) The address
2339
2669
 
2340
2670
  Examples:
2341
- > raven-cli getrawchangeaddress
2342
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawchangeaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2671
+ > neurai-cli getrawchangeaddress
2672
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawchangeaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2343
2673
  **/
2344
- getrawchangeaddress: "getrawchangeaddress",
2674
+ getrawchangeaddress:'getrawchangeaddress',
2675
+
2676
+
2677
+
2345
2678
 
2346
- /** getrawmempool ( verbose )
2679
+
2680
+ /** getrawmempool ( verbose )
2347
2681
 
2348
2682
  Returns all transaction ids in memory pool as a json array of string transaction ids.
2349
2683
 
@@ -2380,12 +2714,16 @@ Result: (for verbose = true):
2380
2714
  }
2381
2715
 
2382
2716
  Examples:
2383
- > raven-cli getrawmempool true
2384
- > 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/
2717
+ > neurai-cli getrawmempool true
2718
+ > 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/
2385
2719
  **/
2386
- getrawmempool: "getrawmempool",
2720
+ getrawmempool:'getrawmempool',
2721
+
2722
+
2387
2723
 
2388
- /** getrawtransaction "txid" ( verbose )
2724
+
2725
+
2726
+ /** getrawtransaction "txid" ( verbose )
2389
2727
 
2390
2728
  NOTE: By default this function only works for mempool transactions. If the -txindex option is
2391
2729
  enabled, it also works for blockchain transactions.
@@ -2435,7 +2773,7 @@ Result (if verbose is set to true):
2435
2773
  "reqSigs" : n, (numeric) The required sigs
2436
2774
  "type" : "pubkeyhash", (string) The type, eg 'pubkeyhash'
2437
2775
  "addresses" : [ (json array of string)
2438
- "address" (string) raven address
2776
+ "address" (string) neurai address
2439
2777
  ,...
2440
2778
  ]
2441
2779
  }
@@ -2449,13 +2787,17 @@ Result (if verbose is set to true):
2449
2787
  }
2450
2788
 
2451
2789
  Examples:
2452
- > raven-cli getrawtransaction "mytxid"
2453
- > raven-cli getrawtransaction "mytxid" true
2454
- > 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/
2790
+ > neurai-cli getrawtransaction "mytxid"
2791
+ > neurai-cli getrawtransaction "mytxid" true
2792
+ > 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/
2455
2793
  **/
2456
- getrawtransaction: "getrawtransaction",
2794
+ getrawtransaction:'getrawtransaction',
2795
+
2796
+
2457
2797
 
2458
- /** getreceivedbyaccount "account" ( minconf )
2798
+
2799
+
2800
+ /** getreceivedbyaccount "account" ( minconf )
2459
2801
 
2460
2802
  DEPRECATED. Returns the total amount received by addresses with <account> in transactions with at least [minconf] confirmations.
2461
2803
 
@@ -2469,25 +2811,29 @@ amount (numeric) The total amount in XNA received for this account.
2469
2811
  Examples:
2470
2812
 
2471
2813
  Amount received by the default account with at least 1 confirmation
2472
- > raven-cli getreceivedbyaccount ""
2814
+ > neurai-cli getreceivedbyaccount ""
2473
2815
 
2474
2816
  Amount received at the tabby account including unconfirmed amounts with zero confirmations
2475
- > raven-cli getreceivedbyaccount "tabby" 0
2817
+ > neurai-cli getreceivedbyaccount "tabby" 0
2476
2818
 
2477
2819
  The amount with at least 6 confirmations
2478
- > raven-cli getreceivedbyaccount "tabby" 6
2820
+ > neurai-cli getreceivedbyaccount "tabby" 6
2479
2821
 
2480
2822
  As a json rpc call
2481
- > 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/
2823
+ > 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/
2482
2824
  **/
2483
- getreceivedbyaccount: "getreceivedbyaccount",
2825
+ getreceivedbyaccount:'getreceivedbyaccount',
2826
+
2484
2827
 
2485
- /** getreceivedbyaddress "address" ( minconf )
2828
+
2829
+
2830
+
2831
+ /** getreceivedbyaddress "address" ( minconf )
2486
2832
 
2487
2833
  Returns the total amount received by the given address in transactions with at least minconf confirmations.
2488
2834
 
2489
2835
  Arguments:
2490
- 1. "address" (string, required) The raven address for transactions.
2836
+ 1. "address" (string, required) The neurai address for transactions.
2491
2837
  2. minconf (numeric, optional, default=1) Only include transactions confirmed at least this many times.
2492
2838
 
2493
2839
  Result:
@@ -2496,20 +2842,24 @@ amount (numeric) The total amount in XNA received at this address.
2496
2842
  Examples:
2497
2843
 
2498
2844
  The amount from transactions with at least 1 confirmation
2499
- > raven-cli getreceivedbyaddress "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX"
2845
+ > neurai-cli getreceivedbyaddress "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX"
2500
2846
 
2501
2847
  The amount including unconfirmed transactions, zero confirmations
2502
- > raven-cli getreceivedbyaddress "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" 0
2848
+ > neurai-cli getreceivedbyaddress "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" 0
2503
2849
 
2504
2850
  The amount with at least 6 confirmations
2505
- > raven-cli getreceivedbyaddress "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" 6
2851
+ > neurai-cli getreceivedbyaddress "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" 6
2506
2852
 
2507
2853
  As a json rpc call
2508
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getreceivedbyaddress", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2854
+ > 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/
2509
2855
  **/
2510
- getreceivedbyaddress: "getreceivedbyaddress",
2856
+ getreceivedbyaddress:'getreceivedbyaddress',
2857
+
2858
+
2859
+
2860
+
2511
2861
 
2512
- /** getrpcinfo
2862
+ /** getrpcinfo
2513
2863
  Returns details of the RPC server.
2514
2864
 
2515
2865
  Result:
@@ -2522,12 +2872,16 @@ Result:
2522
2872
  },...
2523
2873
  ],
2524
2874
  }
2525
- > raven-cli getrpcinfo
2526
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrpcinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
2875
+ > neurai-cli getrpcinfo
2876
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrpcinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2527
2877
  **/
2528
- getrpcinfo: "getrpcinfo",
2878
+ getrpcinfo:'getrpcinfo',
2529
2879
 
2530
- /** getsnapshot "asset_name" block_height
2880
+
2881
+
2882
+
2883
+
2884
+ /** getsnapshot "asset_name" block_height
2531
2885
 
2532
2886
  Returns details for the asset snapshot, at the specified height
2533
2887
 
@@ -2547,11 +2901,15 @@ Result:
2547
2901
  }
2548
2902
 
2549
2903
  Examples:
2550
- > 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/
2904
+ > 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/
2551
2905
  **/
2552
- getsnapshot: "getsnapshot",
2906
+ getsnapshot:'getsnapshot',
2907
+
2908
+
2909
+
2553
2910
 
2554
- /** getsnapshotrequest "asset_name" block_height
2911
+
2912
+ /** getsnapshotrequest "asset_name" block_height
2555
2913
 
2556
2914
  Retrieves the specified snapshot request details.
2557
2915
 
@@ -2566,12 +2924,16 @@ Result:
2566
2924
  }
2567
2925
 
2568
2926
  Examples:
2569
- > raven-cli getsnapshotrequest "TRONCO" 12345
2570
- > 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/
2927
+ > neurai-cli getsnapshotrequest "TRONCO" 12345
2928
+ > 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/
2571
2929
  **/
2572
- getsnapshotrequest: "getsnapshotrequest",
2930
+ getsnapshotrequest:'getsnapshotrequest',
2931
+
2932
+
2933
+
2573
2934
 
2574
- /** getspentinfo
2935
+
2936
+ /** getspentinfo
2575
2937
 
2576
2938
  Returns the txid and index where an output is spent.
2577
2939
 
@@ -2589,12 +2951,16 @@ Result:
2589
2951
  }
2590
2952
 
2591
2953
  Examples:
2592
- > raven-cli getspentinfo '{"txid": "0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9", "index": 0}'
2593
- > 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/
2954
+ > neurai-cli getspentinfo '{"txid": "0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9", "index": 0}'
2955
+ > 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/
2594
2956
  **/
2595
- getspentinfo: "getspentinfo",
2957
+ getspentinfo:'getspentinfo',
2958
+
2959
+
2596
2960
 
2597
- /** gettransaction "txid" ( include_watchonly )
2961
+
2962
+
2963
+ /** gettransaction "txid" ( include_watchonly )
2598
2964
 
2599
2965
  Get detailed information about in-wallet transaction <txid>
2600
2966
 
@@ -2619,7 +2985,7 @@ Result:
2619
2985
  "details" : [
2620
2986
  {
2621
2987
  "account" : "accountname", (string) DEPRECATED. The account name involved in the transaction, can be "" for the default account.
2622
- "address" : "address", (string) The raven address involved in the transaction
2988
+ "address" : "address", (string) The neurai address involved in the transaction
2623
2989
  "category" : "send|receive", (string) The category, either 'send' or 'receive'
2624
2990
  "amount" : x.xxx, (numeric) The amount in XNA
2625
2991
  "label" : "label", (string) A comment for the address/transaction, if any
@@ -2636,7 +3002,7 @@ Result:
2636
3002
  "asset_type" : "new_asset|transfer_asset|reissue_asset", (string) The type of asset transaction
2637
3003
  "asset_name" : "asset_name", (string) The name of the asset
2638
3004
  "amount" : x.xxx, (numeric) The amount in XNA
2639
- "address" : "address", (string) The raven address involved in the transaction
3005
+ "address" : "address", (string) The neurai address involved in the transaction
2640
3006
  "vout" : n, (numeric) the vout value
2641
3007
  "category" : "send|receive", (string) The category, either 'send' or 'receive'
2642
3008
  }
@@ -2646,13 +3012,17 @@ Result:
2646
3012
  }
2647
3013
 
2648
3014
  Examples:
2649
- > raven-cli gettransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
2650
- > raven-cli gettransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d" true
2651
- > 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/
3015
+ > neurai-cli gettransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
3016
+ > neurai-cli gettransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d" true
3017
+ > 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/
2652
3018
  **/
2653
- gettransaction: "gettransaction",
3019
+ gettransaction:'gettransaction',
3020
+
3021
+
2654
3022
 
2655
- /** gettxout "txid" n ( include_mempool )
3023
+
3024
+
3025
+ /** gettxout "txid" n ( include_mempool )
2656
3026
 
2657
3027
  Returns details about an unspent transaction output.
2658
3028
 
@@ -2671,8 +3041,8 @@ Result:
2671
3041
  "hex" : "hex", (string)
2672
3042
  "reqSigs" : n, (numeric) Number of required signatures
2673
3043
  "type" : "pubkeyhash", (string) The type, eg pubkeyhash
2674
- "addresses" : [ (array of string) array of raven addresses
2675
- "address" (string) raven address
3044
+ "addresses" : [ (array of string) array of neurai addresses
3045
+ "address" (string) neurai address
2676
3046
  ,...
2677
3047
  ]
2678
3048
  },
@@ -2682,17 +3052,21 @@ Result:
2682
3052
  Examples:
2683
3053
 
2684
3054
  Get unspent transactions
2685
- > raven-cli listunspent
3055
+ > neurai-cli listunspent
2686
3056
 
2687
3057
  View the details
2688
- > raven-cli gettxout "txid" 1
3058
+ > neurai-cli gettxout "txid" 1
2689
3059
 
2690
3060
  As a json rpc call
2691
- > 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/
3061
+ > 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/
2692
3062
  **/
2693
- gettxout: "gettxout",
3063
+ gettxout:'gettxout',
3064
+
2694
3065
 
2695
- /** gettxoutproof ["txid",...] ( blockhash )
3066
+
3067
+
3068
+
3069
+ /** gettxoutproof ["txid",...] ( blockhash )
2696
3070
 
2697
3071
  Returns a hex-encoded proof that "txid" was included in a block.
2698
3072
 
@@ -2712,9 +3086,13 @@ Arguments:
2712
3086
  Result:
2713
3087
  "data" (string) A string that is a serialized, hex-encoded data for the proof.
2714
3088
  **/
2715
- gettxoutproof: "gettxoutproof",
3089
+ gettxoutproof:'gettxoutproof',
3090
+
3091
+
3092
+
3093
+
2716
3094
 
2717
- /** gettxoutsetinfo
3095
+ /** gettxoutsetinfo
2718
3096
 
2719
3097
  Returns statistics about the unspent transaction output set.
2720
3098
  Note this call may take some time.
@@ -2732,17 +3110,25 @@ Result:
2732
3110
  }
2733
3111
 
2734
3112
  Examples:
2735
- > raven-cli gettxoutsetinfo
2736
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxoutsetinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3113
+ > neurai-cli gettxoutsetinfo
3114
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxoutsetinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2737
3115
  **/
2738
- gettxoutsetinfo: "gettxoutsetinfo",
3116
+ gettxoutsetinfo:'gettxoutsetinfo',
2739
3117
 
2740
- /** getunconfirmedbalance
3118
+
3119
+
3120
+
3121
+
3122
+ /** getunconfirmedbalance
2741
3123
  Returns the server's total unconfirmed balance
2742
3124
  **/
2743
- getunconfirmedbalance: "getunconfirmedbalance",
3125
+ getunconfirmedbalance:'getunconfirmedbalance',
3126
+
3127
+
3128
+
2744
3129
 
2745
- /** getverifierstring restricted_name
3130
+
3131
+ /** getverifierstring restricted_name
2746
3132
 
2747
3133
  Retrieve the verifier string that belongs to the given restricted asset
2748
3134
 
@@ -2753,12 +3139,16 @@ Result:
2753
3139
  "verifier_string", (string) The verifier for the asset
2754
3140
 
2755
3141
  Examples:
2756
- > raven-cli getverifierstring "restricted_name"
2757
- > 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/
3142
+ > neurai-cli getverifierstring "restricted_name"
3143
+ > 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/
2758
3144
  **/
2759
- getverifierstring: "getverifierstring",
3145
+ getverifierstring:'getverifierstring',
3146
+
3147
+
3148
+
2760
3149
 
2761
- /** getwalletinfo
3150
+
3151
+ /** getwalletinfo
2762
3152
  Returns an object containing various wallet state info.
2763
3153
 
2764
3154
  Result:
@@ -2779,12 +3169,16 @@ Result:
2779
3169
  }
2780
3170
 
2781
3171
  Examples:
2782
- > raven-cli getwalletinfo
2783
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getwalletinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3172
+ > neurai-cli getwalletinfo
3173
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getwalletinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2784
3174
  **/
2785
- getwalletinfo: "getwalletinfo",
3175
+ getwalletinfo:'getwalletinfo',
3176
+
3177
+
2786
3178
 
2787
- /** help ( "command" )
3179
+
3180
+
3181
+ /** help ( "command" )
2788
3182
 
2789
3183
  List all commands, or get help for a specified command.
2790
3184
 
@@ -2794,9 +3188,13 @@ Arguments:
2794
3188
  Result:
2795
3189
  "text" (string) The help text
2796
3190
  **/
2797
- help: "help",
3191
+ help:'help',
3192
+
3193
+
2798
3194
 
2799
- /** importaddress "address" ( "label" rescan p2sh )
3195
+
3196
+
3197
+ /** importaddress "address" ( "label" rescan p2sh )
2800
3198
 
2801
3199
  Adds a script (in hex) or address that can be watched as if it were in your wallet but cannot be used to spend.
2802
3200
 
@@ -2815,17 +3213,21 @@ as change, and not show up in many RPCs.
2815
3213
  Examples:
2816
3214
 
2817
3215
  Import a script with rescan
2818
- > raven-cli importaddress "myscript"
3216
+ > neurai-cli importaddress "myscript"
2819
3217
 
2820
3218
  Import using a label without rescan
2821
- > raven-cli importaddress "myscript" "testing" false
3219
+ > neurai-cli importaddress "myscript" "testing" false
2822
3220
 
2823
3221
  As a JSON-RPC call
2824
- > 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/
3222
+ > 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/
2825
3223
  **/
2826
- importaddress: "importaddress",
3224
+ importaddress:'importaddress',
3225
+
2827
3226
 
2828
- /** importmulti "requests" ( "options" )
3227
+
3228
+
3229
+
3230
+ /** importmulti "requests" ( "options" )
2829
3231
 
2830
3232
  Import addresses/scripts (with private or public keys, redeem script (P2SH)), rescanning all addresses in one-shot-only (rescan can be disabled via options).
2831
3233
 
@@ -2855,15 +3257,19 @@ Arguments:
2855
3257
  }
2856
3258
 
2857
3259
  Examples:
2858
- > raven-cli importmulti '[{ "scriptPubKey": { "address": "<my address>" }, "timestamp":1455191478 }, { "scriptPubKey": { "address": "<my 2nd address>" }, "label": "example 2", "timestamp": 1455191480 }]'
2859
- > raven-cli importmulti '[{ "scriptPubKey": { "address": "<my address>" }, "timestamp":1455191478 }]' '{ "rescan": false}'
3260
+ > neurai-cli importmulti '[{ "scriptPubKey": { "address": "<my address>" }, "timestamp":1455191478 }, { "scriptPubKey": { "address": "<my 2nd address>" }, "label": "example 2", "timestamp": 1455191480 }]'
3261
+ > neurai-cli importmulti '[{ "scriptPubKey": { "address": "<my address>" }, "timestamp":1455191478 }]' '{ "rescan": false}'
2860
3262
 
2861
3263
  Response is an array with the same size as the input that has the execution result :
2862
3264
  [{ "success": true } , { "success": false, "error": { "code": -1, "message": "Internal Server Error"} }, ... ]
2863
3265
  **/
2864
- importmulti: "importmulti",
3266
+ importmulti:'importmulti',
3267
+
3268
+
3269
+
3270
+
2865
3271
 
2866
- /** importprivkey "privkey" ( "label" ) ( rescan )
3272
+ /** importprivkey "privkey" ( "label" ) ( rescan )
2867
3273
 
2868
3274
  Adds a private key (as returned by dumpprivkey) to your wallet.
2869
3275
 
@@ -2877,23 +3283,27 @@ Note: This call can take minutes to complete if rescan is true.
2877
3283
  Examples:
2878
3284
 
2879
3285
  Dump a private key
2880
- > raven-cli dumpprivkey "myaddress"
3286
+ > neurai-cli dumpprivkey "myaddress"
2881
3287
 
2882
3288
  Import the private key with rescan
2883
- > raven-cli importprivkey "mykey"
3289
+ > neurai-cli importprivkey "mykey"
2884
3290
 
2885
3291
  Import using a label and without rescan
2886
- > raven-cli importprivkey "mykey" "testing" false
3292
+ > neurai-cli importprivkey "mykey" "testing" false
2887
3293
 
2888
3294
  Import using default blank label and without rescan
2889
- > raven-cli importprivkey "mykey" "" false
3295
+ > neurai-cli importprivkey "mykey" "" false
2890
3296
 
2891
3297
  As a JSON-RPC call
2892
- > 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/
3298
+ > 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/
2893
3299
  **/
2894
- importprivkey: "importprivkey",
3300
+ importprivkey:'importprivkey',
2895
3301
 
2896
- /** importprunedfunds
3302
+
3303
+
3304
+
3305
+
3306
+ /** importprunedfunds
2897
3307
 
2898
3308
  Imports funds without rescan. Corresponding address or script must previously be included in wallet. Aimed towards pruned wallets. The end-user is responsible to import additional transactions that subsequently spend the imported outputs or rescan after the point in the blockchain the transaction is included.
2899
3309
 
@@ -2901,9 +3311,13 @@ Arguments:
2901
3311
  1. "rawtransaction" (string, required) A raw transaction in hex funding an already-existing address in wallet
2902
3312
  2. "txoutproof" (string, required) The hex output from gettxoutproof that contains the transaction
2903
3313
  **/
2904
- importprunedfunds: "importprunedfunds",
3314
+ importprunedfunds:'importprunedfunds',
3315
+
3316
+
3317
+
2905
3318
 
2906
- /** importpubkey "pubkey" ( "label" rescan )
3319
+
3320
+ /** importpubkey "pubkey" ( "label" rescan )
2907
3321
 
2908
3322
  Adds a public key (in hex) that can be watched as if it were in your wallet but cannot be used to spend.
2909
3323
 
@@ -2917,17 +3331,21 @@ Note: This call can take minutes to complete if rescan is true.
2917
3331
  Examples:
2918
3332
 
2919
3333
  Import a public key with rescan
2920
- > raven-cli importpubkey "mypubkey"
3334
+ > neurai-cli importpubkey "mypubkey"
2921
3335
 
2922
3336
  Import using a label without rescan
2923
- > raven-cli importpubkey "mypubkey" "testing" false
3337
+ > neurai-cli importpubkey "mypubkey" "testing" false
2924
3338
 
2925
3339
  As a JSON-RPC call
2926
- > 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/
3340
+ > 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/
2927
3341
  **/
2928
- importpubkey: "importpubkey",
3342
+ importpubkey:'importpubkey',
3343
+
3344
+
3345
+
2929
3346
 
2930
- /** importwallet "filename"
3347
+
3348
+ /** importwallet "filename"
2931
3349
 
2932
3350
  Imports keys from a wallet dump file (see dumpwallet).
2933
3351
 
@@ -2937,17 +3355,21 @@ Arguments:
2937
3355
  Examples:
2938
3356
 
2939
3357
  Dump the wallet
2940
- > raven-cli dumpwallet "test"
3358
+ > neurai-cli dumpwallet "test"
2941
3359
 
2942
3360
  Import the wallet
2943
- > raven-cli importwallet "test"
3361
+ > neurai-cli importwallet "test"
2944
3362
 
2945
3363
  Import using the json rpc call
2946
- > 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/
3364
+ > 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/
2947
3365
  **/
2948
- importwallet: "importwallet",
3366
+ importwallet:'importwallet',
3367
+
3368
+
2949
3369
 
2950
- /** issue "asset_name" qty "( to_address )" "( change_address )" ( units ) ( reissuable ) ( has_ipfs ) "( ipfs_hash )"
3370
+
3371
+
3372
+ /** issue "asset_name" qty "( to_address )" "( change_address )" ( units ) ( reissuable ) ( has_ipfs ) "( ipfs_hash )"
2951
3373
 
2952
3374
  Issue an asset, subasset or unique asset.
2953
3375
  Asset name must not conflict with any existing asset.
@@ -2969,17 +3391,21 @@ Result:
2969
3391
  "txid" (string) The transaction id
2970
3392
 
2971
3393
  Examples:
2972
- > raven-cli issue "ASSET_NAME" 1000
2973
- > raven-cli issue "ASSET_NAME" 1000 "myaddress"
2974
- > raven-cli issue "ASSET_NAME" 1000 "myaddress" "changeaddress" 4
2975
- > raven-cli issue "ASSET_NAME" 1000 "myaddress" "changeaddress" 2 true
2976
- > raven-cli issue "ASSET_NAME" 1000 "myaddress" "changeaddress" 8 false true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E
2977
- > raven-cli issue "ASSET_NAME/SUB_ASSET" 1000 "myaddress" "changeaddress" 2 true
2978
- > raven-cli issue "ASSET_NAME#uniquetag"
3394
+ > neurai-cli issue "ASSET_NAME" 1000
3395
+ > neurai-cli issue "ASSET_NAME" 1000 "myaddress"
3396
+ > neurai-cli issue "ASSET_NAME" 1000 "myaddress" "changeaddress" 4
3397
+ > neurai-cli issue "ASSET_NAME" 1000 "myaddress" "changeaddress" 2 true
3398
+ > neurai-cli issue "ASSET_NAME" 1000 "myaddress" "changeaddress" 8 false true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E
3399
+ > neurai-cli issue "ASSET_NAME/SUB_ASSET" 1000 "myaddress" "changeaddress" 2 true
3400
+ > neurai-cli issue "ASSET_NAME#uniquetag"
2979
3401
  **/
2980
- issue: "issue",
3402
+ issue:'issue',
3403
+
3404
+
2981
3405
 
2982
- /** issuequalifierasset "asset_name" qty "( to_address )" "( change_address )" ( has_ipfs ) "( ipfs_hash )"
3406
+
3407
+
3408
+ /** issuequalifierasset "asset_name" qty "( to_address )" "( change_address )" ( has_ipfs ) "( ipfs_hash )"
2983
3409
 
2984
3410
  Issue an qualifier or sub qualifier asset
2985
3411
  If the '#' character isn't added, it will be added automatically
@@ -3000,17 +3426,21 @@ Result:
3000
3426
  "txid" (string) The transaction id
3001
3427
 
3002
3428
  Examples:
3003
- > raven-cli issuequalifierasset "#ASSET_NAME" 1000
3004
- > raven-cli issuequalifierasset "ASSET_NAME" 1000 "myaddress"
3005
- > raven-cli issuequalifierasset "#ASSET_NAME" 1000 "myaddress" "changeaddress"
3006
- > raven-cli issuequalifierasset "ASSET_NAME" 1000 "myaddress" "changeaddress"
3007
- > raven-cli issuequalifierasset "#ASSET_NAME" 1000 "myaddress" "changeaddress" true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E
3008
- > raven-cli issuequalifierasset "ASSET_NAME/SUB_QUALIFIER" 1000 "myaddress" "changeaddress"
3009
- > raven-cli issuequalifierasset "#ASSET_NAME"
3429
+ > neurai-cli issuequalifierasset "#ASSET_NAME" 1000
3430
+ > neurai-cli issuequalifierasset "ASSET_NAME" 1000 "myaddress"
3431
+ > neurai-cli issuequalifierasset "#ASSET_NAME" 1000 "myaddress" "changeaddress"
3432
+ > neurai-cli issuequalifierasset "ASSET_NAME" 1000 "myaddress" "changeaddress"
3433
+ > neurai-cli issuequalifierasset "#ASSET_NAME" 1000 "myaddress" "changeaddress" true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E
3434
+ > neurai-cli issuequalifierasset "ASSET_NAME/SUB_QUALIFIER" 1000 "myaddress" "changeaddress"
3435
+ > neurai-cli issuequalifierasset "#ASSET_NAME"
3010
3436
  **/
3011
- issuequalifierasset: "issuequalifierasset",
3437
+ issuequalifierasset:'issuequalifierasset',
3438
+
3012
3439
 
3013
- /** issuerestrictedasset "asset_name" qty "verifier" "to_address" "( change_address )" (units) ( reissuable ) ( has_ipfs ) "( ipfs_hash )"
3440
+
3441
+
3442
+
3443
+ /** issuerestrictedasset "asset_name" qty "verifier" "to_address" "( change_address )" (units) ( reissuable ) ( has_ipfs ) "( ipfs_hash )"
3014
3444
 
3015
3445
  Issue a restricted asset.
3016
3446
  Restricted asset names must not conflict with any existing restricted asset.
@@ -3032,15 +3462,19 @@ Result:
3032
3462
  "txid" (string) The transaction id
3033
3463
 
3034
3464
  Examples:
3035
- > raven-cli issuerestrictedasset "$ASSET_NAME" 1000 "#KYC & !#AML" "myaddress"
3036
- > raven-cli issuerestrictedasset "$ASSET_NAME" 1000 "#KYC & !#AML" "myaddress"
3037
- > raven-cli issuerestrictedasset "$ASSET_NAME" 1000 "#KYC & !#AML" "myaddress" "changeaddress" 5
3038
- > raven-cli issuerestrictedasset "$ASSET_NAME" 1000 "#KYC & !#AML" "myaddress" "changeaddress" 8 true
3039
- > raven-cli issuerestrictedasset "$ASSET_NAME" 1000 "#KYC & !#AML" "myaddress" "changeaddress" 0 false true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E
3465
+ > neurai-cli issuerestrictedasset "$ASSET_NAME" 1000 "#KYC & !#AML" "myaddress"
3466
+ > neurai-cli issuerestrictedasset "$ASSET_NAME" 1000 "#KYC & !#AML" "myaddress"
3467
+ > neurai-cli issuerestrictedasset "$ASSET_NAME" 1000 "#KYC & !#AML" "myaddress" "changeaddress" 5
3468
+ > neurai-cli issuerestrictedasset "$ASSET_NAME" 1000 "#KYC & !#AML" "myaddress" "changeaddress" 8 true
3469
+ > neurai-cli issuerestrictedasset "$ASSET_NAME" 1000 "#KYC & !#AML" "myaddress" "changeaddress" 0 false true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E
3040
3470
  **/
3041
- issuerestrictedasset: "issuerestrictedasset",
3471
+ issuerestrictedasset:'issuerestrictedasset',
3472
+
3473
+
3474
+
3475
+
3042
3476
 
3043
- /** issueunique "root_name" [asset_tags] ( [ipfs_hashes] ) "( to_address )" "( change_address )"
3477
+ /** issueunique "root_name" [asset_tags] ( [ipfs_hashes] ) "( to_address )" "( change_address )"
3044
3478
 
3045
3479
  Issue unique asset(s).
3046
3480
  root_name must be an asset you own.
@@ -3059,12 +3493,16 @@ Result:
3059
3493
  "txid" (string) The transaction id
3060
3494
 
3061
3495
  Examples:
3062
- > raven-cli issueunique "MY_ASSET" '["primo","secundo"]'
3063
- > raven-cli issueunique "MY_ASSET" '["primo","secundo"]' '["first_hash","second_hash"]'
3496
+ > neurai-cli issueunique "MY_ASSET" '["primo","secundo"]'
3497
+ > neurai-cli issueunique "MY_ASSET" '["primo","secundo"]' '["first_hash","second_hash"]'
3064
3498
  **/
3065
- issueunique: "issueunique",
3499
+ issueunique:'issueunique',
3066
3500
 
3067
- /** isvalidverifierstring verifier_string
3501
+
3502
+
3503
+
3504
+
3505
+ /** isvalidverifierstring verifier_string
3068
3506
 
3069
3507
  Checks to see if the given verifier string is valid
3070
3508
 
@@ -3075,12 +3513,16 @@ Result:
3075
3513
  "xxxxxxx", (string) If the verifier string is valid, and the reason
3076
3514
 
3077
3515
  Examples:
3078
- > raven-cli isvalidverifierstring "verifier_string"
3079
- > 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/
3516
+ > neurai-cli isvalidverifierstring "verifier_string"
3517
+ > 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/
3080
3518
  **/
3081
- isvalidverifierstring: "isvalidverifierstring",
3519
+ isvalidverifierstring:'isvalidverifierstring',
3520
+
3521
+
3522
+
3082
3523
 
3083
- /** keypoolrefill ( newsize )
3524
+
3525
+ /** keypoolrefill ( newsize )
3084
3526
 
3085
3527
  Fills the keypool.
3086
3528
 
@@ -3088,12 +3530,16 @@ Arguments
3088
3530
  1. newsize (numeric, optional, default=100) The new keypool size
3089
3531
 
3090
3532
  Examples:
3091
- > raven-cli keypoolrefill
3092
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "keypoolrefill", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3533
+ > neurai-cli keypoolrefill
3534
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "keypoolrefill", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3093
3535
  **/
3094
- keypoolrefill: "keypoolrefill",
3536
+ keypoolrefill:'keypoolrefill',
3537
+
3538
+
3539
+
3095
3540
 
3096
- /** listaccounts ( minconf include_watchonly)
3541
+
3542
+ /** listaccounts ( minconf include_watchonly)
3097
3543
 
3098
3544
  DEPRECATED. Returns Object that has account names as keys, account balances as values.
3099
3545
 
@@ -3110,20 +3556,24 @@ Result:
3110
3556
  Examples:
3111
3557
 
3112
3558
  List account balances where there at least 1 confirmation
3113
- > raven-cli listaccounts
3559
+ > neurai-cli listaccounts
3114
3560
 
3115
3561
  List account balances including zero confirmation transactions
3116
- > raven-cli listaccounts 0
3562
+ > neurai-cli listaccounts 0
3117
3563
 
3118
3564
  List account balances for 6 or more confirmations
3119
- > raven-cli listaccounts 6
3565
+ > neurai-cli listaccounts 6
3120
3566
 
3121
3567
  As json rpc call
3122
- > 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/
3568
+ > 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/
3123
3569
  **/
3124
- listaccounts: "listaccounts",
3570
+ listaccounts:'listaccounts',
3571
+
3572
+
3125
3573
 
3126
- /** listaddressesbyasset "asset_name" (onlytotal) (count) (start)
3574
+
3575
+
3576
+ /** listaddressesbyasset "asset_name" (onlytotal) (count) (start)
3127
3577
 
3128
3578
  Returns a list of all address that own the given asset (with balances)
3129
3579
  Or returns the total size of how many address own the given asset
@@ -3139,13 +3589,17 @@ Result:
3139
3589
  ]
3140
3590
 
3141
3591
  Examples:
3142
- > raven-cli listaddressesbyasset "ASSET_NAME" false 2 0
3143
- > raven-cli listaddressesbyasset "ASSET_NAME" true
3144
- > raven-cli listaddressesbyasset "ASSET_NAME"
3592
+ > neurai-cli listaddressesbyasset "ASSET_NAME" false 2 0
3593
+ > neurai-cli listaddressesbyasset "ASSET_NAME" true
3594
+ > neurai-cli listaddressesbyasset "ASSET_NAME"
3145
3595
  **/
3146
- listaddressesbyasset: "listaddressesbyasset",
3596
+ listaddressesbyasset:'listaddressesbyasset',
3597
+
3598
+
3147
3599
 
3148
- /** listaddressesfortag tag_name
3600
+
3601
+
3602
+ /** listaddressesfortag tag_name
3149
3603
 
3150
3604
  List all addresses that have been assigned a given tag
3151
3605
 
@@ -3158,12 +3612,16 @@ Result:
3158
3612
  ]
3159
3613
 
3160
3614
  Examples:
3161
- > raven-cli listaddressesfortag "#TAG"
3162
- > 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/
3615
+ > neurai-cli listaddressesfortag "#TAG"
3616
+ > 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/
3163
3617
  **/
3164
- listaddressesfortag: "listaddressesfortag",
3618
+ listaddressesfortag:'listaddressesfortag',
3619
+
3165
3620
 
3166
- /** listaddressgroupings
3621
+
3622
+
3623
+
3624
+ /** listaddressgroupings
3167
3625
 
3168
3626
  Lists groups of addresses which have had their common ownership
3169
3627
  made public by common use as inputs or as the resulting change
@@ -3173,7 +3631,7 @@ Result:
3173
3631
  [
3174
3632
  [
3175
3633
  [
3176
- "address", (string) The raven address
3634
+ "address", (string) The neurai address
3177
3635
  amount, (numeric) The amount in XNA
3178
3636
  "account" (string, optional) DEPRECATED. The account
3179
3637
  ]
@@ -3183,12 +3641,16 @@ Result:
3183
3641
  ]
3184
3642
 
3185
3643
  Examples:
3186
- > raven-cli listaddressgroupings
3187
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressgroupings", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3644
+ > neurai-cli listaddressgroupings
3645
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressgroupings", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3188
3646
  **/
3189
- listaddressgroupings: "listaddressgroupings",
3647
+ listaddressgroupings:'listaddressgroupings',
3648
+
3649
+
3650
+
3651
+
3190
3652
 
3191
- /** listaddressrestrictions address
3653
+ /** listaddressrestrictions address
3192
3654
 
3193
3655
  List all assets that have frozen this address
3194
3656
 
@@ -3201,17 +3663,21 @@ Result:
3201
3663
  ]
3202
3664
 
3203
3665
  Examples:
3204
- > raven-cli listaddressrestrictions "address"
3205
- > 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/
3666
+ > neurai-cli listaddressrestrictions "address"
3667
+ > 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/
3206
3668
  **/
3207
- listaddressrestrictions: "listaddressrestrictions",
3669
+ listaddressrestrictions:'listaddressrestrictions',
3208
3670
 
3209
- /** listassetbalancesbyaddress "address" (onlytotal) (count) (start)
3671
+
3672
+
3673
+
3674
+
3675
+ /** listassetbalancesbyaddress "address" (onlytotal) (count) (start)
3210
3676
 
3211
3677
  Returns a list of all asset balances for an address.
3212
3678
 
3213
3679
  Arguments:
3214
- 1. "address" (string, required) a raven address
3680
+ 1. "address" (string, required) a neurai address
3215
3681
  2. "onlytotal" (boolean, optional, default=false) when false result is just a list of assets balances -- when true the result is just a single number representing the number of assets
3216
3682
  3. "count" (integer, optional, default=50000, MAX=50000) truncates results to include only the first _count_ assets found
3217
3683
  4. "start" (integer, optional, default=0) results skip over the first _start_ assets found (if negative it skips back from the end)
@@ -3223,13 +3689,17 @@ Result:
3223
3689
  }
3224
3690
 
3225
3691
  Examples:
3226
- > raven-cli listassetbalancesbyaddress "myaddress" false 2 0
3227
- > raven-cli listassetbalancesbyaddress "myaddress" true
3228
- > raven-cli listassetbalancesbyaddress "myaddress"
3692
+ > neurai-cli listassetbalancesbyaddress "myaddress" false 2 0
3693
+ > neurai-cli listassetbalancesbyaddress "myaddress" true
3694
+ > neurai-cli listassetbalancesbyaddress "myaddress"
3229
3695
  **/
3230
- listassetbalancesbyaddress: "listassetbalancesbyaddress",
3696
+ listassetbalancesbyaddress:'listassetbalancesbyaddress',
3697
+
3698
+
3699
+
3231
3700
 
3232
- /** listassets "( asset )" ( verbose ) ( count ) ( start )
3701
+
3702
+ /** listassets "( asset )" ( verbose ) ( count ) ( start )
3233
3703
 
3234
3704
  Returns a list of all assets
3235
3705
 
@@ -3262,23 +3732,31 @@ Result (verbose=true):
3262
3732
  }
3263
3733
 
3264
3734
  Examples:
3265
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3266
- > raven-cli listassets ASSET
3267
- > raven-cli listassets "ASSET*" true 10 20
3735
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3736
+ > neurai-cli listassets ASSET
3737
+ > neurai-cli listassets "ASSET*" true 10 20
3268
3738
  **/
3269
- listassets: "listassets",
3739
+ listassets:'listassets',
3740
+
3741
+
3742
+
3270
3743
 
3271
- /** listbanned
3744
+
3745
+ /** listbanned
3272
3746
 
3273
3747
  List all banned IPs/Subnets.
3274
3748
 
3275
3749
  Examples:
3276
- > raven-cli listbanned
3277
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3750
+ > neurai-cli listbanned
3751
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3278
3752
  **/
3279
- listbanned: "listbanned",
3753
+ listbanned:'listbanned',
3754
+
3755
+
3280
3756
 
3281
- /** listglobalrestrictions
3757
+
3758
+
3759
+ /** listglobalrestrictions
3282
3760
 
3283
3761
  List all global restricted assets
3284
3762
 
@@ -3288,12 +3766,16 @@ Result:
3288
3766
  ]
3289
3767
 
3290
3768
  Examples:
3291
- > raven-cli listglobalrestrictions
3292
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listglobalrestrictions", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3769
+ > neurai-cli listglobalrestrictions
3770
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listglobalrestrictions", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3293
3771
  **/
3294
- listglobalrestrictions: "listglobalrestrictions",
3772
+ listglobalrestrictions:'listglobalrestrictions',
3773
+
3774
+
3295
3775
 
3296
- /** listlockunspent
3776
+
3777
+
3778
+ /** listlockunspent
3297
3779
 
3298
3780
  Returns list of temporarily unspendable outputs.
3299
3781
  See the lockunspent call to lock and unlock transactions for spending.
@@ -3310,23 +3792,27 @@ Result:
3310
3792
  Examples:
3311
3793
 
3312
3794
  List the unspent transactions
3313
- > raven-cli listunspent
3795
+ > neurai-cli listunspent
3314
3796
 
3315
3797
  Lock an unspent transaction
3316
- > raven-cli lockunspent false "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"
3798
+ > neurai-cli lockunspent false "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"
3317
3799
 
3318
3800
  List the locked transactions
3319
- > raven-cli listlockunspent
3801
+ > neurai-cli listlockunspent
3320
3802
 
3321
3803
  Unlock the transaction again
3322
- > raven-cli lockunspent true "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"
3804
+ > neurai-cli lockunspent true "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"
3323
3805
 
3324
3806
  As a json rpc call
3325
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listlockunspent", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3807
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listlockunspent", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3326
3808
  **/
3327
- listlockunspent: "listlockunspent",
3809
+ listlockunspent:'listlockunspent',
3810
+
3328
3811
 
3329
- /** listmyassets "( asset )" ( verbose ) ( count ) ( start ) (confs)
3812
+
3813
+
3814
+
3815
+ /** listmyassets "( asset )" ( verbose ) ( count ) ( start ) (confs)
3330
3816
 
3331
3817
  Returns a list of all asset that are owned by this wallet
3332
3818
 
@@ -3362,14 +3848,18 @@ Result (verbose=true):
3362
3848
  {...}, {...}
3363
3849
 
3364
3850
  Examples:
3365
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listmyassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
3366
- > raven-cli listmyassets ASSET
3367
- > raven-cli listmyassets "ASSET*" true 10 20
3368
- > raven-cli listmyassets "ASSET*" true 10 20 1
3851
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listmyassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3852
+ > neurai-cli listmyassets ASSET
3853
+ > neurai-cli listmyassets "ASSET*" true 10 20
3854
+ > neurai-cli listmyassets "ASSET*" true 10 20 1
3369
3855
  **/
3370
- listmyassets: "listmyassets",
3856
+ listmyassets:'listmyassets',
3857
+
3858
+
3859
+
3860
+
3371
3861
 
3372
- /** listreceivedbyaccount ( minconf include_empty include_watchonly)
3862
+ /** listreceivedbyaccount ( minconf include_empty include_watchonly)
3373
3863
 
3374
3864
  DEPRECATED. List balances by account.
3375
3865
 
@@ -3391,13 +3881,17 @@ Result:
3391
3881
  ]
3392
3882
 
3393
3883
  Examples:
3394
- > raven-cli listreceivedbyaccount
3395
- > raven-cli listreceivedbyaccount 6 true
3396
- > 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/
3884
+ > neurai-cli listreceivedbyaccount
3885
+ > neurai-cli listreceivedbyaccount 6 true
3886
+ > 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/
3397
3887
  **/
3398
- listreceivedbyaccount: "listreceivedbyaccount",
3888
+ listreceivedbyaccount:'listreceivedbyaccount',
3399
3889
 
3400
- /** listreceivedbyaddress ( minconf include_empty include_watchonly)
3890
+
3891
+
3892
+
3893
+
3894
+ /** listreceivedbyaddress ( minconf include_empty include_watchonly)
3401
3895
 
3402
3896
  List balances by receiving address.
3403
3897
 
@@ -3424,13 +3918,17 @@ Result:
3424
3918
  ]
3425
3919
 
3426
3920
  Examples:
3427
- > raven-cli listreceivedbyaddress
3428
- > raven-cli listreceivedbyaddress 6 true
3429
- > 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/
3921
+ > neurai-cli listreceivedbyaddress
3922
+ > neurai-cli listreceivedbyaddress 6 true
3923
+ > 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/
3430
3924
  **/
3431
- listreceivedbyaddress: "listreceivedbyaddress",
3925
+ listreceivedbyaddress:'listreceivedbyaddress',
3926
+
3927
+
3928
+
3432
3929
 
3433
- /** listsinceblock ( "blockhash" target_confirmations include_watchonly include_removed )
3930
+
3931
+ /** listsinceblock ( "blockhash" target_confirmations include_watchonly include_removed )
3434
3932
 
3435
3933
  Get all transactions in blocks since block [blockhash], or all transactions if omitted.
3436
3934
  If "blockhash" is no longer a part of the main chain, transactions from the fork point onward are included.
@@ -3447,7 +3945,7 @@ Result:
3447
3945
  {
3448
3946
  "transactions": [
3449
3947
  "account":"accountname", (string) DEPRECATED. The account name associated with the transaction. Will be "" for the default account.
3450
- "address":"address", (string) The raven address of the transaction. Not present for move transactions (category = move).
3948
+ "address":"address", (string) The neurai address of the transaction. Not present for move transactions (category = move).
3451
3949
  "category":"send|receive", (string) The transaction category. 'send' has negative amounts, 'receive' has positive amounts.
3452
3950
  "amount": x.xxx, (numeric) The amount in XNA. This is negative for the 'send' category, and for the 'move' category for moves
3453
3951
  outbound. It is positive for the 'receive' category, and for the 'move' category for inbound funds.
@@ -3476,13 +3974,17 @@ Result:
3476
3974
  }
3477
3975
 
3478
3976
  Examples:
3479
- > raven-cli listsinceblock
3480
- > raven-cli listsinceblock "000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad" 6
3481
- > 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/
3977
+ > neurai-cli listsinceblock
3978
+ > neurai-cli listsinceblock "000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad" 6
3979
+ > 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/
3482
3980
  **/
3483
- listsinceblock: "listsinceblock",
3981
+ listsinceblock:'listsinceblock',
3982
+
3983
+
3984
+
3484
3985
 
3485
- /** listsnapshotrequests ["asset_name" [block_height]]
3986
+
3987
+ /** listsnapshotrequests ["asset_name" [block_height]]
3486
3988
 
3487
3989
  List snapshot request details.
3488
3990
 
@@ -3499,12 +4001,16 @@ Result:
3499
4001
  ]
3500
4002
 
3501
4003
  Examples:
3502
- > raven-cli listsnapshotrequests
3503
- > 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/
4004
+ > neurai-cli listsnapshotrequests
4005
+ > 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/
3504
4006
  **/
3505
- listsnapshotrequests: "listsnapshotrequests",
4007
+ listsnapshotrequests:'listsnapshotrequests',
4008
+
4009
+
3506
4010
 
3507
- /** listtagsforaddress address
4011
+
4012
+
4013
+ /** listtagsforaddress address
3508
4014
 
3509
4015
  List all tags assigned to an address
3510
4016
 
@@ -3517,12 +4023,16 @@ Result:
3517
4023
  ]
3518
4024
 
3519
4025
  Examples:
3520
- > raven-cli listtagsforaddress "address"
3521
- > 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/
4026
+ > neurai-cli listtagsforaddress "address"
4027
+ > 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/
3522
4028
  **/
3523
- listtagsforaddress: "listtagsforaddress",
4029
+ listtagsforaddress:'listtagsforaddress',
4030
+
4031
+
3524
4032
 
3525
- /** listtransactions ( "account" count skip include_watchonly)
4033
+
4034
+
4035
+ /** listtransactions ( "account" count skip include_watchonly)
3526
4036
 
3527
4037
  Returns up to 'count' most recent transactions skipping the first 'from' transactions for account 'account'.
3528
4038
 
@@ -3537,7 +4047,7 @@ Result:
3537
4047
  {
3538
4048
  "account":"accountname", (string) DEPRECATED. The account name associated with the transaction.
3539
4049
  It will be "" for the default account.
3540
- "address":"address", (string) The raven address of the transaction. Not present for
4050
+ "address":"address", (string) The neurai address of the transaction. Not present for
3541
4051
  move transactions (category = move).
3542
4052
  "category":"send|receive|move", (string) The transaction category. 'move' is a local (off blockchain)
3543
4053
  transaction between accounts, and not associated with an address,
@@ -3577,17 +4087,21 @@ Result:
3577
4087
  Examples:
3578
4088
 
3579
4089
  List the most recent 10 transactions in the systems
3580
- > raven-cli listtransactions
4090
+ > neurai-cli listtransactions
3581
4091
 
3582
4092
  List transactions 100 to 120
3583
- > raven-cli listtransactions "*" 20 100
4093
+ > neurai-cli listtransactions "*" 20 100
3584
4094
 
3585
4095
  As a json rpc call
3586
- > 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/
4096
+ > 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/
3587
4097
  **/
3588
- listtransactions: "listtransactions",
4098
+ listtransactions:'listtransactions',
4099
+
3589
4100
 
3590
- /** listunspent ( minconf maxconf ["addresses",...] [include_unsafe] [query_options])
4101
+
4102
+
4103
+
4104
+ /** listunspent ( minconf maxconf ["addresses",...] [include_unsafe] [query_options])
3591
4105
 
3592
4106
  Returns array of unspent transaction outputs
3593
4107
  with between minconf and maxconf (inclusive) confirmations.
@@ -3596,9 +4110,9 @@ Optionally filter to only include txouts paid to specified addresses.
3596
4110
  Arguments:
3597
4111
  1. minconf (numeric, optional, default=1) The minimum confirmations to filter
3598
4112
  2. maxconf (numeric, optional, default=9999999) The maximum confirmations to filter
3599
- 3. "addresses" (string) A json array of raven addresses to filter
4113
+ 3. "addresses" (string) A json array of neurai addresses to filter
3600
4114
  [
3601
- "address" (string) raven address
4115
+ "address" (string) neurai address
3602
4116
  ,...
3603
4117
  ]
3604
4118
  4. include_unsafe (bool, optional, default=true) Include outputs that are not safe to spend
@@ -3616,7 +4130,7 @@ Result
3616
4130
  {
3617
4131
  "txid" : "txid", (string) the transaction id
3618
4132
  "vout" : n, (numeric) the vout value
3619
- "address" : "address", (string) the raven address
4133
+ "address" : "address", (string) the neurai address
3620
4134
  "account" : "account", (string) DEPRECATED. The associated account, or "" for the default account
3621
4135
  "scriptPubKey" : "key", (string) the script key
3622
4136
  "amount" : x.xxx, (numeric) the transaction output amount in XNA
@@ -3632,15 +4146,19 @@ Result
3632
4146
  ]
3633
4147
 
3634
4148
  Examples
3635
- > raven-cli listunspent
3636
- > raven-cli listunspent 6 9999999 "[\"1PGFqEzfmQch1gKD3ra4k18PNj3tTUUSqg\",\"1LtvqCaApEdUGFkpKMM4MstjcaL4dKg8SP\"]"
3637
- > 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/
3638
- > raven-cli listunspent 6 9999999 '[]' true '{ "minimumAmount": 0.005 }'
3639
- > 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/
4149
+ > neurai-cli listunspent
4150
+ > neurai-cli listunspent 6 9999999 "[\"1PGFqEzfmQch1gKD3ra4k18PNj3tTUUSqg\",\"1LtvqCaApEdUGFkpKMM4MstjcaL4dKg8SP\"]"
4151
+ > 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/
4152
+ > neurai-cli listunspent 6 9999999 '[]' true '{ "minimumAmount": 0.005 }'
4153
+ > 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/
3640
4154
  **/
3641
- listunspent: "listunspent",
4155
+ listunspent:'listunspent',
4156
+
4157
+
4158
+
4159
+
3642
4160
 
3643
- /** listwallets
4161
+ /** listwallets
3644
4162
  Returns a list of currently loaded wallets.
3645
4163
  For full information on the wallet, use "getwalletinfo"
3646
4164
 
@@ -3651,17 +4169,21 @@ Result:
3651
4169
  ]
3652
4170
 
3653
4171
  Examples:
3654
- > raven-cli listwallets
3655
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listwallets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
4172
+ > neurai-cli listwallets
4173
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listwallets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3656
4174
  **/
3657
- listwallets: "listwallets",
4175
+ listwallets:'listwallets',
3658
4176
 
3659
- /** lockunspent unlock ([{"txid":"txid","vout":n},...])
4177
+
4178
+
4179
+
4180
+
4181
+ /** lockunspent unlock ([{"txid":"txid","vout":n},...])
3660
4182
 
3661
4183
  Updates list of temporarily unspendable outputs.
3662
4184
  Temporarily lock (unlock=false) or unlock (unlock=true) specified transaction outputs.
3663
4185
  If no transaction outputs are specified when unlocking then all current locked transaction outputs are unlocked.
3664
- A locked transaction output will not be chosen by automatic coin selection, when spending ravens.
4186
+ A locked transaction output will not be chosen by automatic coin selection, when spending neurais.
3665
4187
  Locks are stored in memory only. Nodes start with zero locked outputs, and the locked output list
3666
4188
  is always cleared (by virtue of process exit) when a node stops or fails.
3667
4189
  Also see the listunspent call
@@ -3683,23 +4205,27 @@ true|false (boolean) Whether the command was successful or not
3683
4205
  Examples:
3684
4206
 
3685
4207
  List the unspent transactions
3686
- > raven-cli listunspent
4208
+ > neurai-cli listunspent
3687
4209
 
3688
4210
  Lock an unspent transaction
3689
- > raven-cli lockunspent false "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"
4211
+ > neurai-cli lockunspent false "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"
3690
4212
 
3691
4213
  List the locked transactions
3692
- > raven-cli listlockunspent
4214
+ > neurai-cli listlockunspent
3693
4215
 
3694
4216
  Unlock the transaction again
3695
- > raven-cli lockunspent true "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"
4217
+ > neurai-cli lockunspent true "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"
3696
4218
 
3697
4219
  As a json rpc call
3698
- > 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/
4220
+ > 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/
3699
4221
  **/
3700
- lockunspent: "lockunspent",
4222
+ lockunspent:'lockunspent',
4223
+
4224
+
4225
+
3701
4226
 
3702
- /** move "fromaccount" "toaccount" amount ( minconf "comment" )
4227
+
4228
+ /** move "fromaccount" "toaccount" amount ( minconf "comment" )
3703
4229
 
3704
4230
  DEPRECATED. Move a specified amount from one account in your wallet to another.
3705
4231
 
@@ -3716,29 +4242,37 @@ true|false (boolean) true if successful.
3716
4242
  Examples:
3717
4243
 
3718
4244
  Move 0.01 XNA from the default account to the account named tabby
3719
- > raven-cli move "" "tabby" 0.01
4245
+ > neurai-cli move "" "tabby" 0.01
3720
4246
 
3721
4247
  Move 0.01 XNA timotei to akiko with a comment and funds have 6 confirmations
3722
- > raven-cli move "timotei" "akiko" 0.01 6 "happy birthday!"
4248
+ > neurai-cli move "timotei" "akiko" 0.01 6 "happy birthday!"
3723
4249
 
3724
4250
  As a json rpc call
3725
- > 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/
4251
+ > 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/
3726
4252
  **/
3727
- move: "move",
4253
+ move:'move',
4254
+
4255
+
4256
+
3728
4257
 
3729
- /** ping
4258
+
4259
+ /** ping
3730
4260
 
3731
4261
  Requests that a ping be sent to all other nodes, to measure ping time.
3732
4262
  Results provided in getpeerinfo, pingtime and pingwait fields are decimal seconds.
3733
4263
  Ping command is handled in queue with all other commands, so it measures processing backlog, not just network ping.
3734
4264
 
3735
4265
  Examples:
3736
- > raven-cli ping
3737
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "ping", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
4266
+ > neurai-cli ping
4267
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "ping", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3738
4268
  **/
3739
- ping: "ping",
4269
+ ping:'ping',
4270
+
4271
+
3740
4272
 
3741
- /** pprpcsb "header_hash" "mix_hash" "nonce"
4273
+
4274
+
4275
+ /** pprpcsb "header_hash" "mix_hash" "nonce"
3742
4276
 
3743
4277
  Attempts to submit new block to network mined by kawpow gpu miner via rpc.
3744
4278
 
@@ -3750,12 +4284,16 @@ Arguments
3750
4284
  Result:
3751
4285
 
3752
4286
  Examples:
3753
- > raven-cli pprpcsb "header_hash" "mix_hash" 100000
3754
- > 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/
4287
+ > neurai-cli pprpcsb "header_hash" "mix_hash" 100000
4288
+ > 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/
3755
4289
  **/
3756
- pprpcsb: "pprpcsb",
4290
+ pprpcsb:'pprpcsb',
4291
+
4292
+
3757
4293
 
3758
- /** preciousblock "blockhash"
4294
+
4295
+
4296
+ /** preciousblock "blockhash"
3759
4297
 
3760
4298
  Treats a block as if it were received before others with the same work.
3761
4299
 
@@ -3769,12 +4307,16 @@ Arguments:
3769
4307
  Result:
3770
4308
 
3771
4309
  Examples:
3772
- > raven-cli preciousblock "blockhash"
3773
- > 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/
4310
+ > neurai-cli preciousblock "blockhash"
4311
+ > 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/
3774
4312
  **/
3775
- preciousblock: "preciousblock",
4313
+ preciousblock:'preciousblock',
4314
+
3776
4315
 
3777
- /** prioritisetransaction <txid> <dummy value> <fee delta>
4316
+
4317
+
4318
+
4319
+ /** prioritisetransaction <txid> <dummy value> <fee delta>
3778
4320
  Accepts the transaction into mined blocks at a higher (or lower) priority
3779
4321
 
3780
4322
  Arguments:
@@ -3789,12 +4331,16 @@ Result:
3789
4331
  true (boolean) Returns true
3790
4332
 
3791
4333
  Examples:
3792
- > raven-cli prioritisetransaction "txid" 0.0 10000
3793
- > 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/
4334
+ > neurai-cli prioritisetransaction "txid" 0.0 10000
4335
+ > 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/
3794
4336
  **/
3795
- prioritisetransaction: "prioritisetransaction",
4337
+ prioritisetransaction:'prioritisetransaction',
4338
+
4339
+
4340
+
4341
+
3796
4342
 
3797
- /** pruneblockchain
4343
+ /** pruneblockchain
3798
4344
 
3799
4345
  Arguments:
3800
4346
  1. "height" (numeric, required) The block height to prune up to. May be set to a discrete height, or a unix timestamp
@@ -3804,12 +4350,16 @@ Result:
3804
4350
  n (numeric) Height of the last block pruned.
3805
4351
 
3806
4352
  Examples:
3807
- > raven-cli pruneblockchain 1000
3808
- > 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/
4353
+ > neurai-cli pruneblockchain 1000
4354
+ > 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/
3809
4355
  **/
3810
- pruneblockchain: "pruneblockchain",
4356
+ pruneblockchain:'pruneblockchain',
3811
4357
 
3812
- /** purgesnapshot "asset_name" block_height
4358
+
4359
+
4360
+
4361
+
4362
+ /** purgesnapshot "asset_name" block_height
3813
4363
 
3814
4364
  Removes details for the asset snapshot, at the specified height
3815
4365
 
@@ -3824,12 +4374,16 @@ Result:
3824
4374
  }
3825
4375
 
3826
4376
  Examples:
3827
- > raven-cli purgesnapshot "ASSET_NAME" 28546
3828
- > 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/
4377
+ > neurai-cli purgesnapshot "ASSET_NAME" 28546
4378
+ > 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/
3829
4379
  **/
3830
- purgesnapshot: "purgesnapshot",
4380
+ purgesnapshot:'purgesnapshot',
4381
+
4382
+
4383
+
3831
4384
 
3832
- /** reissue "asset_name" qty "to_address" "change_address" ( reissuable ) ( new_units) "( new_ipfs )"
4385
+
4386
+ /** reissue "asset_name" qty "to_address" "change_address" ( reissuable ) ( new_units) "( new_ipfs )"
3833
4387
 
3834
4388
  Reissues a quantity of an asset to an owned address if you own the Owner Token
3835
4389
  Can change the reissuable flag during reissuance
@@ -3847,12 +4401,16 @@ Result:
3847
4401
  "txid" (string) The transaction id
3848
4402
 
3849
4403
  Examples:
3850
- > raven-cli reissue "ASSET_NAME" 20 "address"
3851
- > 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/
4404
+ > neurai-cli reissue "ASSET_NAME" 20 "address"
4405
+ > 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/
3852
4406
  **/
3853
- reissue: "reissue",
4407
+ reissue:'reissue',
4408
+
4409
+
4410
+
3854
4411
 
3855
- /** reissuerestrictedasset "asset_name" qty to_address ( change_verifier ) ( "new_verifier" ) "( change_address )" ( new_units ) ( reissuable ) "( new_ipfs )"
4412
+
4413
+ /** reissuerestrictedasset "asset_name" qty to_address ( change_verifier ) ( "new_verifier" ) "( change_address )" ( new_units ) ( reissuable ) "( new_ipfs )"
3856
4414
 
3857
4415
  Reissue an already created restricted asset
3858
4416
  Reissuable is true/false for whether additional asset quantity can be created and if the verifier string can be changed
@@ -3872,15 +4430,19 @@ Result:
3872
4430
  "txid" (string) The transaction id
3873
4431
 
3874
4432
  Examples:
3875
- > raven-cli reissuerestrictedasset "$ASSET_NAME" 1000 "myaddress" true "KYC & !AML"
3876
- > raven-cli reissuerestrictedasset "$ASSET_NAME" 1000 "myaddress" true "KYC & !AML"
3877
- > raven-cli reissuerestrictedasset "$ASSET_NAME" 1000 "myaddress" true "KYC & !AML" "changeaddress"
3878
- > raven-cli reissuerestrictedasset "$ASSET_NAME" 1000 "myaddress" true "KYC & !AML" "changeaddress" -1 true
3879
- > raven-cli reissuerestrictedasset "$ASSET_NAME" 1000 "myaddress" false "" "changeaddress" -1 false QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E
4433
+ > neurai-cli reissuerestrictedasset "$ASSET_NAME" 1000 "myaddress" true "KYC & !AML"
4434
+ > neurai-cli reissuerestrictedasset "$ASSET_NAME" 1000 "myaddress" true "KYC & !AML"
4435
+ > neurai-cli reissuerestrictedasset "$ASSET_NAME" 1000 "myaddress" true "KYC & !AML" "changeaddress"
4436
+ > neurai-cli reissuerestrictedasset "$ASSET_NAME" 1000 "myaddress" true "KYC & !AML" "changeaddress" -1 true
4437
+ > neurai-cli reissuerestrictedasset "$ASSET_NAME" 1000 "myaddress" false "" "changeaddress" -1 false QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E
3880
4438
  **/
3881
- reissuerestrictedasset: "reissuerestrictedasset",
4439
+ reissuerestrictedasset:'reissuerestrictedasset',
4440
+
4441
+
3882
4442
 
3883
- /** removeprunedfunds "txid"
4443
+
4444
+
4445
+ /** removeprunedfunds "txid"
3884
4446
 
3885
4447
  Deletes the specified transaction from the wallet. Meant for use with pruned wallets and as a companion to importprunedfunds. This will affect wallet balances.
3886
4448
 
@@ -3888,14 +4450,18 @@ Arguments:
3888
4450
  1. "txid" (string, required) The hex-encoded id of the transaction you are deleting
3889
4451
 
3890
4452
  Examples:
3891
- > raven-cli removeprunedfunds "a8d0c0184dde994a09ec054286f1ce581bebf46446a512166eae7628734ea0a5"
4453
+ > neurai-cli removeprunedfunds "a8d0c0184dde994a09ec054286f1ce581bebf46446a512166eae7628734ea0a5"
3892
4454
 
3893
4455
  As a JSON-RPC call
3894
- > 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/
4456
+ > 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/
3895
4457
  **/
3896
- removeprunedfunds: "removeprunedfunds",
4458
+ removeprunedfunds:'removeprunedfunds',
4459
+
4460
+
3897
4461
 
3898
- /** removetagfromaddress tag_name to_address (change_address) (asset_data)
4462
+
4463
+
4464
+ /** removetagfromaddress tag_name to_address (change_address) (asset_data)
3899
4465
 
3900
4466
  Remove a tag from a address
3901
4467
 
@@ -3909,14 +4475,18 @@ Result:
3909
4475
  "txid" (string) The transaction id
3910
4476
 
3911
4477
  Examples:
3912
- > raven-cli removetagfromaddress "#TAG" "to_address"
3913
- > 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/
3914
- > raven-cli removetagfromaddress "#TAG" "to_address" "change_address"
3915
- > 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/
4478
+ > neurai-cli removetagfromaddress "#TAG" "to_address"
4479
+ > 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/
4480
+ > neurai-cli removetagfromaddress "#TAG" "to_address" "change_address"
4481
+ > 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/
3916
4482
  **/
3917
- removetagfromaddress: "removetagfromaddress",
4483
+ removetagfromaddress:'removetagfromaddress',
4484
+
3918
4485
 
3919
- /** requestsnapshot "asset_name" block_height
4486
+
4487
+
4488
+
4489
+ /** requestsnapshot "asset_name" block_height
3920
4490
 
3921
4491
  Schedules a snapshot of the specified asset at the specified block height.
3922
4492
 
@@ -3930,12 +4500,16 @@ Result:
3930
4500
  }
3931
4501
 
3932
4502
  Examples:
3933
- > raven-cli requestsnapshot "TRONCO" 12345
3934
- > 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/
4503
+ > neurai-cli requestsnapshot "TRONCO" 12345
4504
+ > 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/
3935
4505
  **/
3936
- requestsnapshot: "requestsnapshot",
4506
+ requestsnapshot:'requestsnapshot',
4507
+
4508
+
4509
+
4510
+
3937
4511
 
3938
- /** rescanblockchain ("start_height") ("stop_height")
4512
+ /** rescanblockchain ("start_height") ("stop_height")
3939
4513
 
3940
4514
  Rescan the local blockchain for wallet related transactions.
3941
4515
 
@@ -3950,31 +4524,39 @@ Result:
3950
4524
  }
3951
4525
 
3952
4526
  Examples:
3953
- > raven-cli rescanblockchain 100000 120000
3954
- > 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/
4527
+ > neurai-cli rescanblockchain 100000 120000
4528
+ > 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/
3955
4529
  **/
3956
- rescanblockchain: "rescanblockchain",
4530
+ rescanblockchain:'rescanblockchain',
3957
4531
 
3958
- /** savemempool
4532
+
4533
+
4534
+
4535
+
4536
+ /** savemempool
3959
4537
 
3960
4538
  Dumps the mempool to disk.
3961
4539
 
3962
4540
  Examples:
3963
- > raven-cli savemempool
3964
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "savemempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
4541
+ > neurai-cli savemempool
4542
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "savemempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3965
4543
  **/
3966
- savemempool: "savemempool",
4544
+ savemempool:'savemempool',
4545
+
4546
+
4547
+
3967
4548
 
3968
- /** sendfrom "fromaccount" "toaddress" amount ( minconf "comment" "comment_to" )
3969
4549
 
3970
- DEPRECATED (use sendtoaddress). Sent an amount from an account to a raven address.
4550
+ /** sendfrom "fromaccount" "toaddress" amount ( minconf "comment" "comment_to" )
4551
+
4552
+ DEPRECATED (use sendtoaddress). Sent an amount from an account to a neurai address.
3971
4553
 
3972
4554
  Arguments:
3973
4555
  1. "fromaccount" (string, required) The name of the account to send funds from. May be the default account using "".
3974
4556
  Specifying an account does not influence coin selection, but it does associate the newly created
3975
4557
  transaction with the account, so the account's balance computation and transaction history can reflect
3976
4558
  the spend.
3977
- 2. "toaddress" (string, required) The raven address to send funds to.
4559
+ 2. "toaddress" (string, required) The neurai address to send funds to.
3978
4560
  3. amount (numeric or string, required) The amount in XNA (transaction fee is added on top).
3979
4561
  4. minconf (numeric, optional, default=1) Only use funds with at least this many confirmations.
3980
4562
  5. "comment" (string, optional) A comment used to store what the transaction is for.
@@ -3989,23 +4571,27 @@ Result:
3989
4571
  Examples:
3990
4572
 
3991
4573
  Send 0.01 XNA from the default account to the address, must have at least 1 confirmation
3992
- > raven-cli sendfrom "" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.01
4574
+ > neurai-cli sendfrom "" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.01
3993
4575
 
3994
4576
  Send 0.01 from the tabby account to the given address, funds must have at least 6 confirmations
3995
- > raven-cli sendfrom "tabby" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.01 6 "donation" "seans outpost"
4577
+ > neurai-cli sendfrom "tabby" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.01 6 "donation" "seans outpost"
3996
4578
 
3997
4579
  As a json rpc call
3998
- > 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/
4580
+ > 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/
3999
4581
  **/
4000
- sendfrom: "sendfrom",
4582
+ sendfrom:'sendfrom',
4583
+
4584
+
4585
+
4001
4586
 
4002
- /** sendfromaddress "from_address" "to_address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
4587
+
4588
+ /** sendfromaddress "from_address" "to_address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
4003
4589
 
4004
4590
  Send an amount from a specific address to a given address. All xna change will get sent back to the from_address
4005
4591
 
4006
4592
  Arguments:
4007
- 1. "from_address" (string, required) The raven address to send from.
4008
- 2. "to_address" (string, required) The raven address to send to.
4593
+ 1. "from_address" (string, required) The neurai address to send from.
4594
+ 2. "to_address" (string, required) The neurai address to send to.
4009
4595
  3. "amount" (numeric or string, required) The amount in XNA to send. eg 0.1
4010
4596
  4. "comment" (string, optional) A comment used to store what the transaction is for.
4011
4597
  This is not part of the transaction, just kept in your wallet.
@@ -4013,7 +4599,7 @@ Arguments:
4013
4599
  to which you're sending the transaction. This is not part of the
4014
4600
  transaction, just kept in your wallet.
4015
4601
  6. subtractfeefromamount (boolean, optional, default=false) The fee will be deducted from the amount being sent.
4016
- The recipient will receive less ravens than you enter in the amount field.
4602
+ The recipient will receive less neurais than you enter in the amount field.
4017
4603
  7. conf_target (numeric, optional) Confirmation target (in blocks)
4018
4604
  8. "estimate_mode" (string, optional, default=UNSET) The fee estimate mode, must be one of:
4019
4605
  "UNSET"
@@ -4024,14 +4610,18 @@ Result:
4024
4610
  "txid" (string) The transaction id.
4025
4611
 
4026
4612
  Examples:
4027
- > raven-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1
4028
- > raven-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "donation" "seans outpost"
4029
- > raven-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "" "" true
4030
- > 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/
4613
+ > neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1
4614
+ > neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "donation" "seans outpost"
4615
+ > neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "" "" true
4616
+ > 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/
4031
4617
  **/
4032
- sendfromaddress: "sendfromaddress",
4618
+ sendfromaddress:'sendfromaddress',
4619
+
4620
+
4033
4621
 
4034
- /** sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] replaceable conf_target "estimate_mode")
4622
+
4623
+
4624
+ /** sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] replaceable conf_target "estimate_mode")
4035
4625
 
4036
4626
  Send multiple times. Amounts are double-precision floating point numbers.
4037
4627
 
@@ -4039,14 +4629,14 @@ Arguments:
4039
4629
  1. "fromaccount" (string, required) DEPRECATED. The account to send the funds from. Should be "" for the default account
4040
4630
  2. "amounts" (string, required) A json object with addresses and amounts
4041
4631
  {
4042
- "address":amount (numeric or string) The raven address is the key, the numeric amount (can be string) in XNA is the value
4632
+ "address":amount (numeric or string) The neurai address is the key, the numeric amount (can be string) in XNA is the value
4043
4633
  ,...
4044
4634
  }
4045
4635
  3. minconf (numeric, optional, default=1) Only use the balance confirmed at least this many times.
4046
4636
  4. "comment" (string, optional) A comment
4047
4637
  5. subtractfeefrom (array, optional) A json array with addresses.
4048
4638
  The fee will be equally deducted from the amount of each selected address.
4049
- Those recipients will receive less ravens than you enter in their corresponding amount field.
4639
+ Those recipients will receive less neurais than you enter in their corresponding amount field.
4050
4640
  If no addresses are specified here, the sender pays the fee.
4051
4641
  [
4052
4642
  "address" (string) Subtract fee from this address
@@ -4065,20 +4655,24 @@ Result:
4065
4655
  Examples:
4066
4656
 
4067
4657
  Send two amounts to two different addresses:
4068
- > raven-cli sendmany "" "{\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\":0.01,\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\":0.02}"
4658
+ > neurai-cli sendmany "" "{\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\":0.01,\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\":0.02}"
4069
4659
 
4070
4660
  Send two amounts to two different addresses setting the confirmation and comment:
4071
- > raven-cli sendmany "" "{\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\":0.01,\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\":0.02}" 6 "testing"
4661
+ > neurai-cli sendmany "" "{\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\":0.01,\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\":0.02}" 6 "testing"
4072
4662
 
4073
4663
  Send two amounts to two different addresses, subtract fee from amount:
4074
- > raven-cli sendmany "" "{\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\":0.01,\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\":0.02}" 1 "" "[\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\",\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\"]"
4664
+ > neurai-cli sendmany "" "{\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\":0.01,\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\":0.02}" 1 "" "[\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\",\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\"]"
4075
4665
 
4076
4666
  As a json rpc call
4077
- > 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/
4667
+ > 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/
4078
4668
  **/
4079
- sendmany: "sendmany",
4669
+ sendmany:'sendmany',
4670
+
4671
+
4080
4672
 
4081
- /** sendmessage "channel_name" "ipfs_hash" (expire_time)
4673
+
4674
+
4675
+ /** sendmessage "channel_name" "ipfs_hash" (expire_time)
4082
4676
 
4083
4677
  Creates and broadcasts a message transaction to the network for a channel this wallet owns
4084
4678
  Arguments:
@@ -4091,12 +4685,16 @@ txid
4091
4685
  ]
4092
4686
 
4093
4687
  Examples:
4094
- > raven-cli sendmessage "ASSET_NAME!" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
4095
- > raven-cli sendmessage "ASSET_NAME!" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
4688
+ > neurai-cli sendmessage "ASSET_NAME!" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
4689
+ > neurai-cli sendmessage "ASSET_NAME!" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
4096
4690
  **/
4097
- sendmessage: "sendmessage",
4691
+ sendmessage:'sendmessage',
4692
+
4098
4693
 
4099
- /** sendrawtransaction "hexstring" ( allowhighfees )
4694
+
4695
+
4696
+
4697
+ /** sendrawtransaction "hexstring" ( allowhighfees )
4100
4698
 
4101
4699
  Submits raw transaction (serialized, hex-encoded) to local node and network.
4102
4700
 
@@ -4112,24 +4710,28 @@ Result:
4112
4710
  Examples:
4113
4711
 
4114
4712
  Create a transaction
4115
- > raven-cli createrawtransaction "[{\"txid\" : \"mytxid\",\"vout\":0}]" "{\"myaddress\":0.01}"
4713
+ > neurai-cli createrawtransaction "[{\"txid\" : \"mytxid\",\"vout\":0}]" "{\"myaddress\":0.01}"
4116
4714
  Sign the transaction, and get back the hex
4117
- > raven-cli signrawtransaction "myhex"
4715
+ > neurai-cli signrawtransaction "myhex"
4118
4716
 
4119
4717
  Send the transaction (signed hex)
4120
- > raven-cli sendrawtransaction "signedhex"
4718
+ > neurai-cli sendrawtransaction "signedhex"
4121
4719
 
4122
4720
  As a json rpc call
4123
- > 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/
4721
+ > 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/
4124
4722
  **/
4125
- sendrawtransaction: "sendrawtransaction",
4723
+ sendrawtransaction:'sendrawtransaction',
4724
+
4725
+
4726
+
4727
+
4126
4728
 
4127
- /** sendtoaddress "address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
4729
+ /** sendtoaddress "address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
4128
4730
 
4129
4731
  Send an amount to a given address.
4130
4732
 
4131
4733
  Arguments:
4132
- 1. "address" (string, required) The raven address to send to.
4734
+ 1. "address" (string, required) The neurai address to send to.
4133
4735
  2. "amount" (numeric or string, required) The amount in XNA to send. eg 0.1
4134
4736
  3. "comment" (string, optional) A comment used to store what the transaction is for.
4135
4737
  This is not part of the transaction, just kept in your wallet.
@@ -4137,7 +4739,7 @@ Arguments:
4137
4739
  to which you're sending the transaction. This is not part of the
4138
4740
  transaction, just kept in your wallet.
4139
4741
  5. subtractfeefromamount (boolean, optional, default=false) The fee will be deducted from the amount being sent.
4140
- The recipient will receive less ravens than you enter in the amount field.
4742
+ The recipient will receive less neurais than you enter in the amount field.
4141
4743
  6. conf_target (numeric, optional) Confirmation target (in blocks)
4142
4744
  7. "estimate_mode" (string, optional, default=UNSET) The fee estimate mode, must be one of:
4143
4745
  "UNSET"
@@ -4148,28 +4750,36 @@ Result:
4148
4750
  "txid" (string) The transaction id.
4149
4751
 
4150
4752
  Examples:
4151
- > raven-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1
4152
- > raven-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "donation" "seans outpost"
4153
- > raven-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "" "" true
4154
- > 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/
4753
+ > neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1
4754
+ > neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "donation" "seans outpost"
4755
+ > neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "" "" true
4756
+ > 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/
4155
4757
  **/
4156
- sendtoaddress: "sendtoaddress",
4758
+ sendtoaddress:'sendtoaddress',
4157
4759
 
4158
- /** setaccount "address" "account"
4760
+
4761
+
4762
+
4763
+
4764
+ /** setaccount "address" "account"
4159
4765
 
4160
4766
  DEPRECATED. Sets the account associated with the given address.
4161
4767
 
4162
4768
  Arguments:
4163
- 1. "address" (string, required) The raven address to be associated with an account.
4769
+ 1. "address" (string, required) The neurai address to be associated with an account.
4164
4770
  2. "account" (string, required) The account to assign the address to.
4165
4771
 
4166
4772
  Examples:
4167
- > raven-cli setaccount "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "tabby"
4168
- > 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/
4773
+ > neurai-cli setaccount "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "tabby"
4774
+ > 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/
4169
4775
  **/
4170
- setaccount: "setaccount",
4776
+ setaccount:'setaccount',
4777
+
4778
+
4779
+
4171
4780
 
4172
- /** setban "subnet" "add|remove" (bantime) (absolute)
4781
+
4782
+ /** setban "subnet" "add|remove" (bantime) (absolute)
4173
4783
 
4174
4784
  Attempts to add or remove an IP/Subnet from the banned list.
4175
4785
 
@@ -4180,13 +4790,17 @@ Arguments:
4180
4790
  4. "absolute" (boolean, optional) If set, the bantime must be an absolute timestamp in seconds since epoch (Jan 1 1970 GMT)
4181
4791
 
4182
4792
  Examples:
4183
- > raven-cli setban "192.168.0.6" "add" 86400
4184
- > raven-cli setban "192.168.0.0/24" "add"
4185
- > 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/
4793
+ > neurai-cli setban "192.168.0.6" "add" 86400
4794
+ > neurai-cli setban "192.168.0.0/24" "add"
4795
+ > 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/
4186
4796
  **/
4187
- setban: "setban",
4797
+ setban:'setban',
4798
+
4799
+
4800
+
4188
4801
 
4189
- /** setgenerate generate ( genproclimit )
4802
+
4803
+ /** setgenerate generate ( genproclimit )
4190
4804
 
4191
4805
  Set 'generate' true or false to turn generation on or off.
4192
4806
  Generation is limited to 'genproclimit' processors, -1 is unlimited.
@@ -4199,29 +4813,37 @@ Arguments:
4199
4813
  Examples:
4200
4814
 
4201
4815
  Set the generation on with a limit of one processor
4202
- > raven-cli setgenerate true 1
4816
+ > neurai-cli setgenerate true 1
4203
4817
 
4204
4818
  Check the setting
4205
- > raven-cli getgenerate
4819
+ > neurai-cli getgenerate
4206
4820
 
4207
4821
  Turn off generation
4208
- > raven-cli setgenerate false
4822
+ > neurai-cli setgenerate false
4209
4823
 
4210
4824
  Using json rpc
4211
- > 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/
4825
+ > 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/
4212
4826
  **/
4213
- setgenerate: "setgenerate",
4827
+ setgenerate:'setgenerate',
4828
+
4829
+
4214
4830
 
4215
- /** setnetworkactive true|false
4831
+
4832
+
4833
+ /** setnetworkactive true|false
4216
4834
 
4217
4835
  Disable/enable all p2p network activity.
4218
4836
 
4219
4837
  Arguments:
4220
4838
  1. "state" (boolean, required) true to enable networking, false to disable
4221
4839
  **/
4222
- setnetworkactive: "setnetworkactive",
4840
+ setnetworkactive:'setnetworkactive',
4841
+
4842
+
4223
4843
 
4224
- /** settxfee amount
4844
+
4845
+
4846
+ /** settxfee amount
4225
4847
 
4226
4848
  Set the transaction fee per kB. Overwrites the paytxfee parameter.
4227
4849
 
@@ -4232,17 +4854,21 @@ Result
4232
4854
  true|false (boolean) Returns true if successful
4233
4855
 
4234
4856
  Examples:
4235
- > raven-cli settxfee 0.00001
4236
- > 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/
4857
+ > neurai-cli settxfee 0.00001
4858
+ > 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/
4237
4859
  **/
4238
- settxfee: "settxfee",
4860
+ settxfee:'settxfee',
4861
+
4239
4862
 
4240
- /** signmessage "address" "message"
4863
+
4864
+
4865
+
4866
+ /** signmessage "address" "message"
4241
4867
 
4242
4868
  Sign a message with the private key of an address
4243
4869
 
4244
4870
  Arguments:
4245
- 1. "address" (string, required) The raven address to use for the private key.
4871
+ 1. "address" (string, required) The neurai address to use for the private key.
4246
4872
  2. "message" (string, required) The message to create a signature of.
4247
4873
 
4248
4874
  Result:
@@ -4251,20 +4877,24 @@ Result:
4251
4877
  Examples:
4252
4878
 
4253
4879
  Unlock the wallet for 30 seconds
4254
- > raven-cli walletpassphrase "mypassphrase" 30
4880
+ > neurai-cli walletpassphrase "mypassphrase" 30
4255
4881
 
4256
4882
  Create the signature
4257
- > raven-cli signmessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "my message"
4883
+ > neurai-cli signmessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "my message"
4258
4884
 
4259
4885
  Verify the signature
4260
- > raven-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
4886
+ > neurai-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
4261
4887
 
4262
4888
  As json rpc
4263
- > 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/
4889
+ > 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/
4264
4890
  **/
4265
- signmessage: "signmessage",
4891
+ signmessage:'signmessage',
4892
+
4893
+
4894
+
4895
+
4266
4896
 
4267
- /** signmessagewithprivkey "privkey" "message"
4897
+ /** signmessagewithprivkey "privkey" "message"
4268
4898
 
4269
4899
  Sign a message with the private key of an address
4270
4900
 
@@ -4278,17 +4908,21 @@ Result:
4278
4908
  Examples:
4279
4909
 
4280
4910
  Create the signature
4281
- > raven-cli signmessagewithprivkey "privkey" "my message"
4911
+ > neurai-cli signmessagewithprivkey "privkey" "my message"
4282
4912
 
4283
4913
  Verify the signature
4284
- > raven-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
4914
+ > neurai-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
4285
4915
 
4286
4916
  As json rpc
4287
- > 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/
4917
+ > 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/
4288
4918
  **/
4289
- signmessagewithprivkey: "signmessagewithprivkey",
4919
+ signmessagewithprivkey:'signmessagewithprivkey',
4290
4920
 
4291
- /** signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )
4921
+
4922
+
4923
+
4924
+
4925
+ /** signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )
4292
4926
 
4293
4927
  Sign inputs for raw transaction (serialized, hex-encoded).
4294
4928
  The second optional argument (may be null) is an array of previous transaction outputs that
@@ -4340,20 +4974,28 @@ Result:
4340
4974
  }
4341
4975
 
4342
4976
  Examples:
4343
- > raven-cli signrawtransaction "myhex"
4344
- > 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/
4977
+ > neurai-cli signrawtransaction "myhex"
4978
+ > 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/
4345
4979
  **/
4346
- signrawtransaction: "signrawtransaction",
4980
+ signrawtransaction:'signrawtransaction',
4981
+
4982
+
4983
+
4347
4984
 
4348
- /** stop
4349
4985
 
4350
- Stop Raven server.**/
4351
- stop: "stop",
4986
+ /** stop
4352
4987
 
4353
- /** submitblock "hexdata" ( "dummy" )
4988
+ Stop Neurai server.**/
4989
+ stop:'stop',
4990
+
4991
+
4992
+
4993
+
4994
+
4995
+ /** submitblock "hexdata" ( "dummy" )
4354
4996
 
4355
4997
  Attempts to submit new block to network.
4356
- See https://en.raven.it/wiki/BIP_0022 for full specification.
4998
+ See https://en.neurai.it/wiki/BIP_0022 for full specification.
4357
4999
 
4358
5000
  Arguments
4359
5001
  1. "hexdata" (string, required) the hex-encoded block data to submit
@@ -4362,12 +5004,16 @@ Arguments
4362
5004
  Result:
4363
5005
 
4364
5006
  Examples:
4365
- > raven-cli submitblock "mydata"
4366
- > 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/
5007
+ > neurai-cli submitblock "mydata"
5008
+ > 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/
4367
5009
  **/
4368
- submitblock: "submitblock",
5010
+ submitblock:'submitblock',
5011
+
5012
+
4369
5013
 
4370
- /** subscribetochannel
5014
+
5015
+
5016
+ /** subscribetochannel
4371
5017
 
4372
5018
  Subscribe to a certain message channel
4373
5019
 
@@ -4379,12 +5025,16 @@ Result:[
4379
5025
  ]
4380
5026
 
4381
5027
  Examples:
4382
- > raven-cli subscribetochannel "ASSET_NAME!"
4383
- > 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/
5028
+ > neurai-cli subscribetochannel "ASSET_NAME!"
5029
+ > 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/
4384
5030
  **/
4385
- subscribetochannel: "subscribetochannel",
5031
+ subscribetochannel:'subscribetochannel',
5032
+
5033
+
4386
5034
 
4387
- /** testmempoolaccept ["rawtxs"] ( allowhighfees )
5035
+
5036
+
5037
+ /** testmempoolaccept ["rawtxs"] ( allowhighfees )
4388
5038
 
4389
5039
  Returns if raw transaction (serialized, hex-encoded) would be accepted by mempool.
4390
5040
 
@@ -4410,19 +5060,23 @@ Result:
4410
5060
  Examples:
4411
5061
 
4412
5062
  Create a transaction
4413
- > raven-cli createrawtransaction "[{\"txid\" : \"mytxid\",\"vout\":0}]" "{\"myaddress\":0.01}"
5063
+ > neurai-cli createrawtransaction "[{\"txid\" : \"mytxid\",\"vout\":0}]" "{\"myaddress\":0.01}"
4414
5064
  Sign the transaction, and get back the hex
4415
- > raven-cli signrawtransaction "myhex"
5065
+ > neurai-cli signrawtransaction "myhex"
4416
5066
 
4417
5067
  Test acceptance of the transaction (signed hex)
4418
- > raven-cli testmempoolaccept "signedhex"
5068
+ > neurai-cli testmempoolaccept "signedhex"
4419
5069
 
4420
5070
  As a json rpc call
4421
- > 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/
5071
+ > 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/
4422
5072
  **/
4423
- testmempoolaccept: "testmempoolaccept",
5073
+ testmempoolaccept:'testmempoolaccept',
5074
+
4424
5075
 
4425
- /** transfer "asset_name" qty "to_address" "message" expire_time "change_address" "asset_change_address"
5076
+
5077
+
5078
+
5079
+ /** transfer "asset_name" qty "to_address" "message" expire_time "change_address" "asset_change_address"
4426
5080
 
4427
5081
  Transfers a quantity of an owned asset to a given address
4428
5082
  Arguments:
@@ -4440,12 +5094,16 @@ txid
4440
5094
  ]
4441
5095
 
4442
5096
  Examples:
4443
- > raven-cli transfer "ASSET_NAME" 20 "address" "" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
4444
- > raven-cli transfer "ASSET_NAME" 20 "address" "" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
5097
+ > neurai-cli transfer "ASSET_NAME" 20 "address" "" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
5098
+ > neurai-cli transfer "ASSET_NAME" 20 "address" "" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
4445
5099
  **/
4446
- transfer: "transfer",
5100
+ transfer:'transfer',
5101
+
5102
+
5103
+
5104
+
4447
5105
 
4448
- /** transferfromaddress "asset_name" "from_address" qty "to_address" "message" expire_time "xna_change_address" "asset_change_address"
5106
+ /** transferfromaddress "asset_name" "from_address" qty "to_address" "message" expire_time "xna_change_address" "asset_change_address"
4449
5107
 
4450
5108
  Transfer a quantity of an owned asset in a specific address to a given address
4451
5109
  Arguments:
@@ -4464,12 +5122,16 @@ txid
4464
5122
  ]
4465
5123
 
4466
5124
  Examples:
4467
- > raven-cli transferfromaddress "ASSET_NAME" "fromaddress" 20 "address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E", 156545652
4468
- > 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/
5125
+ > neurai-cli transferfromaddress "ASSET_NAME" "fromaddress" 20 "address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E", 156545652
5126
+ > 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/
4469
5127
  **/
4470
- transferfromaddress: "transferfromaddress",
5128
+ transferfromaddress:'transferfromaddress',
4471
5129
 
4472
- /** transferfromaddresses "asset_name" ["from_addresses"] qty "to_address" "message" expire_time "xna_change_address" "asset_change_address"
5130
+
5131
+
5132
+
5133
+
5134
+ /** transferfromaddresses "asset_name" ["from_addresses"] qty "to_address" "message" expire_time "xna_change_address" "asset_change_address"
4473
5135
 
4474
5136
  Transfer a quantity of an owned asset in specific address(es) to a given address
4475
5137
  Arguments:
@@ -4488,12 +5150,16 @@ txid
4488
5150
  ]
4489
5151
 
4490
5152
  Examples:
4491
- > raven-cli transferfromaddresses "ASSET_NAME" '["fromaddress1", "fromaddress2"]' 20 "to_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 154652365
4492
- > 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/
5153
+ > neurai-cli transferfromaddresses "ASSET_NAME" '["fromaddress1", "fromaddress2"]' 20 "to_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 154652365
5154
+ > 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/
4493
5155
  **/
4494
- transferfromaddresses: "transferfromaddresses",
5156
+ transferfromaddresses:'transferfromaddresses',
5157
+
5158
+
5159
+
4495
5160
 
4496
- /** transferqualifier "qualifier_name" qty "to_address" ("change_address") ("message") (expire_time)
5161
+
5162
+ /** transferqualifier "qualifier_name" qty "to_address" ("change_address") ("message") (expire_time)
4497
5163
 
4498
5164
  Transfer a qualifier asset owned by this wallet to the given address
4499
5165
  Arguments:
@@ -4510,12 +5176,16 @@ txid
4510
5176
  ]
4511
5177
 
4512
5178
  Examples:
4513
- > raven-cli transferqualifier "#QUALIFIER" 20 "to_address" "" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
4514
- > raven-cli transferqualifier "#QUALIFIER" 20 "to_address" "change_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
5179
+ > neurai-cli transferqualifier "#QUALIFIER" 20 "to_address" "" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
5180
+ > neurai-cli transferqualifier "#QUALIFIER" 20 "to_address" "change_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
4515
5181
  **/
4516
- transferqualifier: "transferqualifier",
5182
+ transferqualifier:'transferqualifier',
5183
+
5184
+
5185
+
4517
5186
 
4518
- /** unfreezeaddress asset_name address (change_address) (asset_data)
5187
+
5188
+ /** unfreezeaddress asset_name address (change_address) (asset_data)
4519
5189
 
4520
5190
  Unfreeze an address from transferring a restricted asset
4521
5191
 
@@ -4529,14 +5199,18 @@ Result:
4529
5199
  "txid" (string) The transaction id
4530
5200
 
4531
5201
  Examples:
4532
- > raven-cli unfreezeaddress "$RESTRICTED_ASSET" "address"
4533
- > 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/
4534
- > raven-cli unfreezeaddress "$RESTRICTED_ASSET" "address" "change_address"
4535
- > 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/
5202
+ > neurai-cli unfreezeaddress "$RESTRICTED_ASSET" "address"
5203
+ > 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/
5204
+ > neurai-cli unfreezeaddress "$RESTRICTED_ASSET" "address" "change_address"
5205
+ > 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/
4536
5206
  **/
4537
- unfreezeaddress: "unfreezeaddress",
5207
+ unfreezeaddress:'unfreezeaddress',
5208
+
5209
+
4538
5210
 
4539
- /** unfreezerestrictedasset asset_name (change_address) (asset_data)
5211
+
5212
+
5213
+ /** unfreezerestrictedasset asset_name (change_address) (asset_data)
4540
5214
 
4541
5215
  Unfreeze all trading for a specific restricted asset
4542
5216
 
@@ -4549,14 +5223,18 @@ Result:
4549
5223
  "txid" (string) The transaction id
4550
5224
 
4551
5225
  Examples:
4552
- > raven-cli unfreezerestrictedasset "$RESTRICTED_ASSET"
4553
- > 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/
4554
- > raven-cli unfreezerestrictedasset "$RESTRICTED_ASSET" "change_address"
4555
- > 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/
5226
+ > neurai-cli unfreezerestrictedasset "$RESTRICTED_ASSET"
5227
+ > 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/
5228
+ > neurai-cli unfreezerestrictedasset "$RESTRICTED_ASSET" "change_address"
5229
+ > 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/
4556
5230
  **/
4557
- unfreezerestrictedasset: "unfreezerestrictedasset",
5231
+ unfreezerestrictedasset:'unfreezerestrictedasset',
5232
+
5233
+
4558
5234
 
4559
- /** unsubscribefromchannel
5235
+
5236
+
5237
+ /** unsubscribefromchannel
4560
5238
 
4561
5239
  Unsubscribe from a certain message channel
4562
5240
 
@@ -4568,12 +5246,16 @@ Result:[
4568
5246
  ]
4569
5247
 
4570
5248
  Examples:
4571
- > raven-cli unsubscribefromchannel "ASSET_NAME!"
4572
- > 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/
5249
+ > neurai-cli unsubscribefromchannel "ASSET_NAME!"
5250
+ > 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/
4573
5251
  **/
4574
- unsubscribefromchannel: "unsubscribefromchannel",
5252
+ unsubscribefromchannel:'unsubscribefromchannel',
5253
+
4575
5254
 
4576
- /** uptime
5255
+
5256
+
5257
+
5258
+ /** uptime
4577
5259
 
4578
5260
  Returns the total uptime of the server.
4579
5261
 
@@ -4581,22 +5263,26 @@ Result:
4581
5263
  ttt (numeric) The number of seconds that the server has been running
4582
5264
 
4583
5265
  Examples:
4584
- > raven-cli uptime
4585
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "uptime", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5266
+ > neurai-cli uptime
5267
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "uptime", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4586
5268
  **/
4587
- uptime: "uptime",
5269
+ uptime:'uptime',
5270
+
5271
+
5272
+
5273
+
4588
5274
 
4589
- /** validateaddress "address"
5275
+ /** validateaddress "address"
4590
5276
 
4591
- Return information about the given raven address.
5277
+ Return information about the given neurai address.
4592
5278
 
4593
5279
  Arguments:
4594
- 1. "address" (string, required) The raven address to validate
5280
+ 1. "address" (string, required) The neurai address to validate
4595
5281
 
4596
5282
  Result:
4597
5283
  {
4598
5284
  "isvalid" : true|false, (boolean) If the address is valid or not. If not, this is the only property returned.
4599
- "address" : "address", (string) The raven address validated
5285
+ "address" : "address", (string) The neurai address validated
4600
5286
  "scriptPubKey" : "hex", (string) The hex encoded scriptPubKey generated by the address
4601
5287
  "ismine" : true|false, (boolean) If the address is yours or not
4602
5288
  "iswatchonly" : true|false, (boolean) If the address is watchonly
@@ -4618,12 +5304,16 @@ Result:
4618
5304
  }
4619
5305
 
4620
5306
  Examples:
4621
- > raven-cli validateaddress "1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc"
4622
- > 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/
5307
+ > neurai-cli validateaddress "1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc"
5308
+ > 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/
4623
5309
  **/
4624
- validateaddress: "validateaddress",
5310
+ validateaddress:'validateaddress',
4625
5311
 
4626
- /** verifychain ( checklevel nblocks )
5312
+
5313
+
5314
+
5315
+
5316
+ /** verifychain ( checklevel nblocks )
4627
5317
 
4628
5318
  Verifies blockchain database.
4629
5319
 
@@ -4635,17 +5325,21 @@ Result:
4635
5325
  true|false (boolean) Verified or not
4636
5326
 
4637
5327
  Examples:
4638
- > raven-cli verifychain
4639
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifychain", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5328
+ > neurai-cli verifychain
5329
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifychain", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4640
5330
  **/
4641
- verifychain: "verifychain",
5331
+ verifychain:'verifychain',
5332
+
5333
+
5334
+
4642
5335
 
4643
- /** verifymessage "address" "signature" "message"
5336
+
5337
+ /** verifymessage "address" "signature" "message"
4644
5338
 
4645
5339
  Verify a signed message
4646
5340
 
4647
5341
  Arguments:
4648
- 1. "address" (string, required) The raven address to use for the signature.
5342
+ 1. "address" (string, required) The neurai address to use for the signature.
4649
5343
  2. "signature" (string, required) The signature provided by the signer in base 64 encoding (see signmessage).
4650
5344
  3. "message" (string, required) The message that was signed.
4651
5345
 
@@ -4655,20 +5349,24 @@ true|false (boolean) If the signature is verified or not.
4655
5349
  Examples:
4656
5350
 
4657
5351
  Unlock the wallet for 30 seconds
4658
- > raven-cli walletpassphrase "mypassphrase" 30
5352
+ > neurai-cli walletpassphrase "mypassphrase" 30
4659
5353
 
4660
5354
  Create the signature
4661
- > raven-cli signmessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "my message"
5355
+ > neurai-cli signmessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "my message"
4662
5356
 
4663
5357
  Verify the signature
4664
- > raven-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
5358
+ > neurai-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
4665
5359
 
4666
5360
  As json rpc
4667
- > 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/
5361
+ > 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/
4668
5362
  **/
4669
- verifymessage: "verifymessage",
5363
+ verifymessage:'verifymessage',
5364
+
5365
+
5366
+
4670
5367
 
4671
- /** verifytxoutproof "proof"
5368
+
5369
+ /** verifytxoutproof "proof"
4672
5370
 
4673
5371
  Verifies that a proof points to a transaction in a block, returning the transaction it commits to
4674
5372
  and throwing an RPC error if the block is not in our best chain
@@ -4679,9 +5377,13 @@ Arguments:
4679
5377
  Result:
4680
5378
  ["txid"] (array, strings) The txid(s) which the proof commits to, or empty array if the proof is invalid
4681
5379
  **/
4682
- verifytxoutproof: "verifytxoutproof",
5380
+ verifytxoutproof:'verifytxoutproof',
5381
+
5382
+
4683
5383
 
4684
- /** viewallmessagechannels
5384
+
5385
+
5386
+ /** viewallmessagechannels
4685
5387
 
4686
5388
  View all message channels the wallet is subscribed to
4687
5389
 
@@ -4691,12 +5393,16 @@ Result:[
4691
5393
  ]
4692
5394
 
4693
5395
  Examples:
4694
- > raven-cli viewallmessagechannels
4695
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessagechannels", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5396
+ > neurai-cli viewallmessagechannels
5397
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessagechannels", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4696
5398
  **/
4697
- viewallmessagechannels: "viewallmessagechannels",
5399
+ viewallmessagechannels:'viewallmessagechannels',
5400
+
5401
+
4698
5402
 
4699
- /** viewallmessages
5403
+
5404
+
5405
+ /** viewallmessages
4700
5406
 
4701
5407
  View all messages that the wallet contains
4702
5408
 
@@ -4710,12 +5416,16 @@ Result:
4710
5416
  "Expire UTC Time:" (Date, optional) If the message contains an expire date that is too large, the UTC number will be displayed
4711
5417
 
4712
5418
  Examples:
4713
- > raven-cli viewallmessages
4714
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5419
+ > neurai-cli viewallmessages
5420
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4715
5421
  **/
4716
- viewallmessages: "viewallmessages",
5422
+ viewallmessages:'viewallmessages',
5423
+
4717
5424
 
4718
- /** viewmyrestrictedaddresses
5425
+
5426
+
5427
+
5428
+ /** viewmyrestrictedaddresses
4719
5429
 
4720
5430
  View all addresses this wallet owns that have been restricted
4721
5431
 
@@ -4728,12 +5438,16 @@ Result:
4728
5438
  }...
4729
5439
 
4730
5440
  Examples:
4731
- > raven-cli viewmyrestrictedaddresses
4732
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmyrestrictedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5441
+ > neurai-cli viewmyrestrictedaddresses
5442
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmyrestrictedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4733
5443
  **/
4734
- viewmyrestrictedaddresses: "viewmyrestrictedaddresses",
5444
+ viewmyrestrictedaddresses:'viewmyrestrictedaddresses',
5445
+
5446
+
5447
+
5448
+
4735
5449
 
4736
- /** viewmytaggedaddresses
5450
+ /** viewmytaggedaddresses
4737
5451
 
4738
5452
  View all addresses this wallet owns that have been tagged
4739
5453
 
@@ -4746,8 +5460,8 @@ Result:
4746
5460
  }...
4747
5461
 
4748
5462
  Examples:
4749
- > raven-cli viewmytaggedaddresses
4750
- > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmytaggedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
5463
+ > neurai-cli viewmytaggedaddresses
5464
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmytaggedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4751
5465
  **/
4752
- viewmytaggedaddresses: "viewmytaggedaddresses",
4753
- };
5466
+ viewmytaggedaddresses:'viewmytaggedaddresses',
5467
+ }