@neuraiproject/neurai-rpc 0.4.5 → 0.4.7
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/CHANGELOG.md +131 -0
- package/DEPIN_IMPLEMENTATION_GUIDE_EN.md +956 -0
- package/README.md +15 -1
- package/dist/index.cjs +53 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +53 -14
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/docs.json +10 -8
- package/docs.ts +1171 -1118
- package/neurai_methods.md +57 -14
- package/package.json +1 -1
package/docs.ts
CHANGED
|
@@ -122,10 +122,12 @@ listaddressrestrictions: string;
|
|
|
122
122
|
listassetbalancesbyaddress: string;
|
|
123
123
|
listassets: string;
|
|
124
124
|
listbanned: string;
|
|
125
|
+
listdepinaddresses: string;
|
|
125
126
|
listdepinholders: string;
|
|
126
127
|
listglobalrestrictions: string;
|
|
127
128
|
listlockunspent: string;
|
|
128
129
|
listmyassets: string;
|
|
130
|
+
listpqaddresses: string;
|
|
129
131
|
listreceivedbyaccount: string;
|
|
130
132
|
listreceivedbyaddress: string;
|
|
131
133
|
listsinceblock: string;
|
|
@@ -188,12 +190,12 @@ viewmytaggedaddresses: string;
|
|
|
188
190
|
}
|
|
189
191
|
|
|
190
192
|
export const methods:IMethods ={
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
197
199
|
/** abandontransaction "txid"
|
|
198
200
|
|
|
199
201
|
Mark in-wallet transaction <txid> as abandoned
|
|
@@ -211,12 +213,12 @@ Examples:
|
|
|
211
213
|
> neurai-cli abandontransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
|
|
212
214
|
> 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/
|
|
213
215
|
**/
|
|
214
|
-
abandontransaction:'abandontransaction',
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
216
|
+
abandontransaction:'abandontransaction',
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
220
222
|
/** abortrescan
|
|
221
223
|
|
|
222
224
|
Stops current wallet rescan triggered e.g. by an importprivkey call.
|
|
@@ -232,12 +234,12 @@ Abort the running wallet rescan
|
|
|
232
234
|
As a JSON-RPC call
|
|
233
235
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abortrescan", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
234
236
|
**/
|
|
235
|
-
abortrescan:'abortrescan',
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
237
|
+
abortrescan:'abortrescan',
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
241
243
|
/** addmultisigaddress nrequired ["key",...] ( "account" )
|
|
242
244
|
|
|
243
245
|
Add a nrequired-to-sign multisignature address to the wallet.
|
|
@@ -264,12 +266,12 @@ Add a multisig address from 2 addresses
|
|
|
264
266
|
As json rpc call
|
|
265
267
|
> 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/
|
|
266
268
|
**/
|
|
267
|
-
addmultisigaddress:'addmultisigaddress',
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
269
|
+
addmultisigaddress:'addmultisigaddress',
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
273
275
|
/** addnode "node" "add|remove|onetry"
|
|
274
276
|
|
|
275
277
|
Attempts to add or remove a node from the addnode list.
|
|
@@ -285,12 +287,12 @@ Examples:
|
|
|
285
287
|
> neurai-cli addnode "192.168.0.6:8767" "onetry"
|
|
286
288
|
> 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/
|
|
287
289
|
**/
|
|
288
|
-
addnode:'addnode',
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
290
|
+
addnode:'addnode',
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
294
296
|
/** addtagtoaddress tag_name to_address (change_address) (asset_data)
|
|
295
297
|
|
|
296
298
|
Assign a tag to a address
|
|
@@ -310,12 +312,12 @@ Examples:
|
|
|
310
312
|
> neurai-cli addtagtoaddress "#TAG" "to_address" "change_address"
|
|
311
313
|
> 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/
|
|
312
314
|
**/
|
|
313
|
-
addtagtoaddress:'addtagtoaddress',
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
315
|
+
addtagtoaddress:'addtagtoaddress',
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
319
321
|
/** addwitnessaddress "address"
|
|
320
322
|
|
|
321
323
|
Add a witness address for a script (with pubkey or redeemscript known).
|
|
@@ -328,12 +330,12 @@ Result:
|
|
|
328
330
|
"witnessaddress", (string) The value of the new address (P2SH of witness script).
|
|
329
331
|
}
|
|
330
332
|
**/
|
|
331
|
-
addwitnessaddress:'addwitnessaddress',
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
333
|
+
addwitnessaddress:'addwitnessaddress',
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
337
339
|
/** backupwallet "destination"
|
|
338
340
|
|
|
339
341
|
Safely copies current wallet file to destination, which can be a directory or a path with filename.
|
|
@@ -345,19 +347,19 @@ Examples:
|
|
|
345
347
|
> neurai-cli backupwallet "backup.dat"
|
|
346
348
|
> 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/
|
|
347
349
|
**/
|
|
348
|
-
backupwallet:'backupwallet',
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
350
|
+
backupwallet:'backupwallet',
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
354
356
|
/** bumpfee has been deprecated on the XNA Wallet.**/
|
|
355
|
-
bumpfee:'bumpfee',
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
357
|
+
bumpfee:'bumpfee',
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
361
363
|
/** cancelsnapshotrequest "asset_name" block_height
|
|
362
364
|
|
|
363
365
|
Cancels the specified snapshot request.
|
|
@@ -375,12 +377,12 @@ Examples:
|
|
|
375
377
|
> neurai-cli cancelsnapshotrequest "TRONCO" 12345
|
|
376
378
|
> 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/
|
|
377
379
|
**/
|
|
378
|
-
cancelsnapshotrequest:'cancelsnapshotrequest',
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
380
|
+
cancelsnapshotrequest:'cancelsnapshotrequest',
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
384
386
|
/** checkaddressrestriction address restricted_name
|
|
385
387
|
|
|
386
388
|
Checks to see if an address has been frozen by the given restricted asset
|
|
@@ -396,12 +398,12 @@ Examples:
|
|
|
396
398
|
> neurai-cli checkaddressrestriction "address" "restricted_name"
|
|
397
399
|
> 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/
|
|
398
400
|
**/
|
|
399
|
-
checkaddressrestriction:'checkaddressrestriction',
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
401
|
+
checkaddressrestriction:'checkaddressrestriction',
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
405
407
|
/** checkaddresstag address tag_name
|
|
406
408
|
|
|
407
409
|
Checks to see if an address has the given tag
|
|
@@ -417,18 +419,18 @@ Examples:
|
|
|
417
419
|
> neurai-cli checkaddresstag "address" "tag_name"
|
|
418
420
|
> 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/
|
|
419
421
|
**/
|
|
420
|
-
checkaddresstag:'checkaddresstag',
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
422
|
+
checkaddresstag:'checkaddresstag',
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
|
|
426
428
|
/** checkdepinvalidity "asset_name" "address"
|
|
427
429
|
|
|
428
|
-
Check if a
|
|
430
|
+
Check if a dedicated DePIN asset is valid/active for a specific address. Dedicated DePIN assets currently use the '&' prefix.
|
|
429
431
|
|
|
430
432
|
Arguments:
|
|
431
|
-
1. "asset_name" (string, required) The
|
|
433
|
+
1. "asset_name" (string, required) The DePIN asset name
|
|
432
434
|
2. "address" (string, required) The address to check
|
|
433
435
|
|
|
434
436
|
Result:
|
|
@@ -443,12 +445,12 @@ Examples:
|
|
|
443
445
|
> neurai-cli checkdepinvalidity "&FRANCE" "address"
|
|
444
446
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkdepinvalidity", "params": ["&FRANCE", "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
445
447
|
**/
|
|
446
|
-
checkdepinvalidity:'checkdepinvalidity',
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
448
|
+
checkdepinvalidity:'checkdepinvalidity',
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
|
|
452
454
|
/** checkglobalrestriction restricted_name
|
|
453
455
|
|
|
454
456
|
Checks to see if a restricted asset is globally frozen
|
|
@@ -463,12 +465,12 @@ Examples:
|
|
|
463
465
|
> neurai-cli checkglobalrestriction "restricted_name"
|
|
464
466
|
> 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/
|
|
465
467
|
**/
|
|
466
|
-
checkglobalrestriction:'checkglobalrestriction',
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
468
|
+
checkglobalrestriction:'checkglobalrestriction',
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
|
|
472
474
|
/** clearbanned
|
|
473
475
|
|
|
474
476
|
Clear all banned IPs.
|
|
@@ -477,12 +479,12 @@ Examples:
|
|
|
477
479
|
> neurai-cli clearbanned
|
|
478
480
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
479
481
|
**/
|
|
480
|
-
clearbanned:'clearbanned',
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
482
|
+
clearbanned:'clearbanned',
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
|
|
486
488
|
/** clearmempool
|
|
487
489
|
|
|
488
490
|
Removes all transaction from the mempool
|
|
@@ -491,12 +493,12 @@ Examples:
|
|
|
491
493
|
> neurai-cli clearmempool
|
|
492
494
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
493
495
|
**/
|
|
494
|
-
clearmempool:'clearmempool',
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
496
|
+
clearmempool:'clearmempool',
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
500
502
|
/** clearmessages
|
|
501
503
|
|
|
502
504
|
Delete current database of messages
|
|
@@ -509,12 +511,12 @@ Examples:
|
|
|
509
511
|
> neurai-cli clearmessages
|
|
510
512
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
511
513
|
**/
|
|
512
|
-
clearmessages:'clearmessages',
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
514
|
+
clearmessages:'clearmessages',
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
|
|
518
520
|
/** combinerawtransaction ["hexstring",...]
|
|
519
521
|
|
|
520
522
|
Combine multiple partially signed transactions into one transaction.
|
|
@@ -533,12 +535,12 @@ Result:
|
|
|
533
535
|
Examples:
|
|
534
536
|
> neurai-cli combinerawtransaction ["myhex1", "myhex2", "myhex3"]
|
|
535
537
|
**/
|
|
536
|
-
combinerawtransaction:'combinerawtransaction',
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
538
|
+
combinerawtransaction:'combinerawtransaction',
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
|
|
542
544
|
/** createmultisig nrequired ["key",...]
|
|
543
545
|
|
|
544
546
|
Creates a multi-signature address with n signature of m keys required.
|
|
@@ -566,12 +568,12 @@ Create a multisig address from 2 addresses
|
|
|
566
568
|
As a json rpc call
|
|
567
569
|
> 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/
|
|
568
570
|
**/
|
|
569
|
-
createmultisig:'createmultisig',
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
571
|
+
createmultisig:'createmultisig',
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
|
|
575
577
|
/** createrawtransaction [{"txid":"id","vout":n},...] {"address":(amount or object),"data":"hex",...}
|
|
576
578
|
( locktime ) ( replaceable )
|
|
577
579
|
|
|
@@ -817,12 +819,12 @@ Examples:
|
|
|
817
819
|
> neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0},{\"txid\":\"myownership\",\"vout\":0}]" "{\"issuer_address\":{\"reissue\":{\"asset_name\":\"MYASSET\",\"asset_quantity\":2000000}}}"
|
|
818
820
|
> 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/
|
|
819
821
|
**/
|
|
820
|
-
createrawtransaction:'createrawtransaction',
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
822
|
+
createrawtransaction:'createrawtransaction',
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
|
|
826
828
|
/** decodeblock "blockhex"
|
|
827
829
|
|
|
828
830
|
Arguments:
|
|
@@ -851,12 +853,12 @@ Examples:
|
|
|
851
853
|
> neurai-cli decodeblock "xxxx"
|
|
852
854
|
> 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/
|
|
853
855
|
**/
|
|
854
|
-
decodeblock:'decodeblock',
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
856
|
+
decodeblock:'decodeblock',
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
|
|
860
862
|
/** decoderawtransaction "hexstring"
|
|
861
863
|
|
|
862
864
|
Return a JSON object representing the serialized, hex-encoded transaction.
|
|
@@ -913,12 +915,12 @@ Examples:
|
|
|
913
915
|
> neurai-cli decoderawtransaction "hexstring"
|
|
914
916
|
> 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/
|
|
915
917
|
**/
|
|
916
|
-
decoderawtransaction:'decoderawtransaction',
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
918
|
+
decoderawtransaction:'decoderawtransaction',
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
|
|
922
924
|
/** decodescript "hexstring"
|
|
923
925
|
|
|
924
926
|
Decode a hex-encoded script.
|
|
@@ -956,12 +958,12 @@ Examples:
|
|
|
956
958
|
> neurai-cli decodescript "hexstring"
|
|
957
959
|
> 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/
|
|
958
960
|
**/
|
|
959
|
-
decodescript:'decodescript',
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
961
|
+
decodescript:'decodescript',
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
|
|
965
967
|
/** depinclearmsg ( "all" | hours )
|
|
966
968
|
|
|
967
969
|
Remove messages from DePIN messaging pool
|
|
@@ -984,12 +986,12 @@ Examples:
|
|
|
984
986
|
> neurai-cli depinclearmsg 7
|
|
985
987
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinclearmsg", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
986
988
|
**/
|
|
987
|
-
depinclearmsg:'depinclearmsg',
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
989
|
+
depinclearmsg:'depinclearmsg',
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
|
|
993
|
+
|
|
994
|
+
|
|
993
995
|
/** depingetmsg "token" ("ip[:port]"|"fromaddress") ("fromaddress")
|
|
994
996
|
|
|
995
997
|
Retrieve and decrypt DePIN messages for your addresses
|
|
@@ -1022,12 +1024,12 @@ Examples:
|
|
|
1022
1024
|
> neurai-cli depingetmsg "MYTOKEN" "192.168.1.78:19002" "NXyouraddress..."
|
|
1023
1025
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetmsg", "params": ["MYTOKEN"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1024
1026
|
**/
|
|
1025
|
-
depingetmsg:'depingetmsg',
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1027
|
+
depingetmsg:'depingetmsg',
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
|
|
1031
1033
|
/** depingetmsginfo
|
|
1032
1034
|
|
|
1033
1035
|
Returns information about the DePIN messaging system
|
|
@@ -1052,12 +1054,12 @@ Examples:
|
|
|
1052
1054
|
> neurai-cli depingetmsginfo
|
|
1053
1055
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetmsginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1054
1056
|
**/
|
|
1055
|
-
depingetmsginfo:'depingetmsginfo',
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1057
|
+
depingetmsginfo:'depingetmsginfo',
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
|
|
1061
1063
|
/** depingetpoolcontent ( verbose sender_address recipient_address start_time end_time limit offset )
|
|
1062
1064
|
|
|
1063
1065
|
Inspect the contents of the DePIN message pool.
|
|
@@ -1091,12 +1093,12 @@ Examples:
|
|
|
1091
1093
|
> neurai-cli depingetpoolcontent "all"
|
|
1092
1094
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetpoolcontent", "params": [true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1093
1095
|
**/
|
|
1094
|
-
depingetpoolcontent:'depingetpoolcontent',
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1096
|
+
depingetpoolcontent:'depingetpoolcontent',
|
|
1097
|
+
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
|
|
1101
|
+
|
|
1100
1102
|
/** depinmcpstatus
|
|
1101
1103
|
|
|
1102
1104
|
Get status information about the DePIN MCP (AI) worker
|
|
@@ -1119,12 +1121,12 @@ Examples:
|
|
|
1119
1121
|
> neurai-cli depinmcpstatus
|
|
1120
1122
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinmcpstatus", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1121
1123
|
**/
|
|
1122
|
-
depinmcpstatus:'depinmcpstatus',
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1124
|
+
depinmcpstatus:'depinmcpstatus',
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
|
|
1129
|
+
|
|
1128
1130
|
/** depinpoolstats
|
|
1129
1131
|
|
|
1130
1132
|
Get statistical analysis of the DePIN message pool.
|
|
@@ -1152,12 +1154,12 @@ Examples:
|
|
|
1152
1154
|
> neurai-cli depinpoolstats
|
|
1153
1155
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinpoolstats", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1154
1156
|
**/
|
|
1155
|
-
depinpoolstats:'depinpoolstats',
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1157
|
+
depinpoolstats:'depinpoolstats',
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
|
|
1161
1163
|
/** depinsendmsg "token" "ip[:port]" "message" "fromaddress" (port)
|
|
1162
1164
|
|
|
1163
1165
|
Send an encrypted message through a remote DePIN gateway (challenge/response)
|
|
@@ -1182,12 +1184,12 @@ Examples:
|
|
|
1182
1184
|
> neurai-cli depinsendmsg "MYTOKEN" "192.168.1.100:19005" "Hello team!" "NXsender..." 19005
|
|
1183
1185
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinsendmsg", "params": ["MYTOKEN", "192.168.1.100", "Hello team!", "NXsender..."] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1184
1186
|
**/
|
|
1185
|
-
depinsendmsg:'depinsendmsg',
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1187
|
+
depinsendmsg:'depinsendmsg',
|
|
1188
|
+
|
|
1189
|
+
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
|
|
1191
1193
|
/** depinsubmitmsg "hexmessage"
|
|
1192
1194
|
|
|
1193
1195
|
Submit a pre-encrypted and signed DePIN message to the pool
|
|
@@ -1211,12 +1213,12 @@ Examples:
|
|
|
1211
1213
|
> neurai-cli depinsubmitmsg "0a3f2e..."
|
|
1212
1214
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinsubmitmsg", "params": ["0a3f2e..."] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1213
1215
|
**/
|
|
1214
|
-
depinsubmitmsg:'depinsubmitmsg',
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1216
|
+
depinsubmitmsg:'depinsubmitmsg',
|
|
1217
|
+
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
|
|
1221
|
+
|
|
1220
1222
|
/** disconnectnode "[address]" [nodeid]
|
|
1221
1223
|
|
|
1222
1224
|
Immediately disconnects from the specified peer node.
|
|
@@ -1235,12 +1237,12 @@ Examples:
|
|
|
1235
1237
|
> 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/
|
|
1236
1238
|
> 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/
|
|
1237
1239
|
**/
|
|
1238
|
-
disconnectnode:'disconnectnode',
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1240
|
+
disconnectnode:'disconnectnode',
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
|
|
1244
1246
|
/** distributereward "asset_name" snapshot_height "distribution_asset_name" gross_distribution_amount ( "exception_addresses" ) ("change_address") ("dry_run")
|
|
1245
1247
|
|
|
1246
1248
|
Splits the specified amount of the distribution asset to all owners of asset_name that are not in the optional exclusion_addresses
|
|
@@ -1277,12 +1279,12 @@ Examples:
|
|
|
1277
1279
|
> 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/
|
|
1278
1280
|
> 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/
|
|
1279
1281
|
**/
|
|
1280
|
-
distributereward:'distributereward',
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1282
|
+
distributereward:'distributereward',
|
|
1283
|
+
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
|
|
1286
1288
|
/** dumpprivkey "address"
|
|
1287
1289
|
|
|
1288
1290
|
Reveals the private key corresponding to 'address'.
|
|
@@ -1299,12 +1301,12 @@ Examples:
|
|
|
1299
1301
|
> neurai-cli importprivkey "mykey"
|
|
1300
1302
|
> 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/
|
|
1301
1303
|
**/
|
|
1302
|
-
dumpprivkey:'dumpprivkey',
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1304
|
+
dumpprivkey:'dumpprivkey',
|
|
1305
|
+
|
|
1306
|
+
|
|
1307
|
+
|
|
1308
|
+
|
|
1309
|
+
|
|
1308
1310
|
/** dumpwallet "filename"
|
|
1309
1311
|
|
|
1310
1312
|
Dumps all wallet keys in a human-readable format to a server-side file. This does not allow overwriting existing files.
|
|
@@ -1321,12 +1323,12 @@ Examples:
|
|
|
1321
1323
|
> neurai-cli dumpwallet "test"
|
|
1322
1324
|
> 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/
|
|
1323
1325
|
**/
|
|
1324
|
-
dumpwallet:'dumpwallet',
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1326
|
+
dumpwallet:'dumpwallet',
|
|
1327
|
+
|
|
1328
|
+
|
|
1329
|
+
|
|
1330
|
+
|
|
1331
|
+
|
|
1330
1332
|
/** encryptwallet "passphrase"
|
|
1331
1333
|
|
|
1332
1334
|
Encrypts the wallet with 'passphrase'. This is for first time encryption.
|
|
@@ -1356,12 +1358,12 @@ Now lock the wallet again by removing the passphrase
|
|
|
1356
1358
|
As a json rpc call
|
|
1357
1359
|
> 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/
|
|
1358
1360
|
**/
|
|
1359
|
-
encryptwallet:'encryptwallet',
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1361
|
+
encryptwallet:'encryptwallet',
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
|
|
1365
|
+
|
|
1366
|
+
|
|
1365
1367
|
/** estimatefee nblocks
|
|
1366
1368
|
|
|
1367
1369
|
DEPRECATED. Please use estimatesmartfee for more intelligent estimates.
|
|
@@ -1383,12 +1385,12 @@ a fee that is high enough to get reliably included in the next block.
|
|
|
1383
1385
|
Example:
|
|
1384
1386
|
> neurai-cli estimatefee 6
|
|
1385
1387
|
**/
|
|
1386
|
-
estimatefee:'estimatefee',
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1388
|
+
estimatefee:'estimatefee',
|
|
1389
|
+
|
|
1390
|
+
|
|
1391
|
+
|
|
1392
|
+
|
|
1393
|
+
|
|
1392
1394
|
/** estimatesmartfee conf_target ("estimate_mode")
|
|
1393
1395
|
|
|
1394
1396
|
Estimates the approximate fee per kilobyte needed for a transaction to begin
|
|
@@ -1423,12 +1425,12 @@ have been observed to make an estimate for any number of blocks.
|
|
|
1423
1425
|
Example:
|
|
1424
1426
|
> neurai-cli estimatesmartfee 6
|
|
1425
1427
|
**/
|
|
1426
|
-
estimatesmartfee:'estimatesmartfee',
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1428
|
+
estimatesmartfee:'estimatesmartfee',
|
|
1429
|
+
|
|
1430
|
+
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
|
|
1432
1434
|
/** freezeaddress asset_name address (change_address) (asset_data)
|
|
1433
1435
|
|
|
1434
1436
|
Freeze an address from transferring a restricted asset
|
|
@@ -1448,22 +1450,22 @@ Examples:
|
|
|
1448
1450
|
> neurai-cli freezeaddress "$RESTRICTED_ASSET" "address" "change_address"
|
|
1449
1451
|
> 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/
|
|
1450
1452
|
**/
|
|
1451
|
-
freezeaddress:'freezeaddress',
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1453
|
+
freezeaddress:'freezeaddress',
|
|
1454
|
+
|
|
1455
|
+
|
|
1456
|
+
|
|
1457
|
+
|
|
1458
|
+
|
|
1457
1459
|
/** freezedepin "asset_name" "address" ("change_address")
|
|
1458
1460
|
|
|
1459
|
-
Freeze a
|
|
1461
|
+
Freeze a dedicated DePIN asset for a specific address (owner only)
|
|
1460
1462
|
|
|
1461
1463
|
The address will still hold the asset but it will be marked as invalid
|
|
1462
1464
|
|
|
1463
|
-
Requires the owner token (&
|
|
1465
|
+
Requires the owner token for the DePIN asset (for example, '&FRANCE!' for '&FRANCE') in the wallet
|
|
1464
1466
|
|
|
1465
1467
|
Arguments:
|
|
1466
|
-
1. "asset_name" (string, required) The
|
|
1468
|
+
1. "asset_name" (string, required) The DePIN asset name
|
|
1467
1469
|
2. "address" (string, required) The address to freeze
|
|
1468
1470
|
3. "change_address" (string, optional) The change address for the owner token
|
|
1469
1471
|
|
|
@@ -1474,12 +1476,12 @@ Examples:
|
|
|
1474
1476
|
> neurai-cli freezedepin "&FRANCE" "address"
|
|
1475
1477
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezedepin", "params": ["&FRANCE", "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1476
1478
|
**/
|
|
1477
|
-
freezedepin:'freezedepin',
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1479
|
+
freezedepin:'freezedepin',
|
|
1480
|
+
|
|
1481
|
+
|
|
1482
|
+
|
|
1483
|
+
|
|
1484
|
+
|
|
1483
1485
|
/** freezerestrictedasset asset_name (change_address) (asset_data)
|
|
1484
1486
|
|
|
1485
1487
|
Freeze all trading for a specific restricted asset
|
|
@@ -1498,12 +1500,12 @@ Examples:
|
|
|
1498
1500
|
> neurai-cli freezerestrictedasset "$RESTRICTED_ASSET" "change_address"
|
|
1499
1501
|
> 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/
|
|
1500
1502
|
**/
|
|
1501
|
-
freezerestrictedasset:'freezerestrictedasset',
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1503
|
+
freezerestrictedasset:'freezerestrictedasset',
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
|
|
1507
|
+
|
|
1508
|
+
|
|
1507
1509
|
/** fundrawtransaction "hexstring" ( options )
|
|
1508
1510
|
|
|
1509
1511
|
Add inputs to a transaction until it has enough in value to meet its out value.
|
|
@@ -1562,12 +1564,12 @@ Sign the transaction
|
|
|
1562
1564
|
Send the transaction
|
|
1563
1565
|
> neurai-cli sendrawtransaction "signedtransactionhex"
|
|
1564
1566
|
**/
|
|
1565
|
-
fundrawtransaction:'fundrawtransaction',
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1567
|
+
fundrawtransaction:'fundrawtransaction',
|
|
1568
|
+
|
|
1569
|
+
|
|
1570
|
+
|
|
1571
|
+
|
|
1572
|
+
|
|
1571
1573
|
/** generate nblocks ( maxtries )
|
|
1572
1574
|
|
|
1573
1575
|
Mine up to nblocks blocks immediately (before the RPC call returns) to an address in the wallet.
|
|
@@ -1584,12 +1586,12 @@ Examples:
|
|
|
1584
1586
|
Generate 11 blocks
|
|
1585
1587
|
> neurai-cli generate 11
|
|
1586
1588
|
**/
|
|
1587
|
-
generate:'generate',
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1589
|
+
generate:'generate',
|
|
1590
|
+
|
|
1591
|
+
|
|
1592
|
+
|
|
1593
|
+
|
|
1594
|
+
|
|
1593
1595
|
/** generatetoaddress nblocks address (maxtries)
|
|
1594
1596
|
|
|
1595
1597
|
Mine blocks immediately to a specified address (before the RPC call returns)
|
|
@@ -1607,12 +1609,12 @@ Examples:
|
|
|
1607
1609
|
Generate 11 blocks to myaddress
|
|
1608
1610
|
> neurai-cli generatetoaddress 11 "myaddress"
|
|
1609
1611
|
**/
|
|
1610
|
-
generatetoaddress:'generatetoaddress',
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1612
|
+
generatetoaddress:'generatetoaddress',
|
|
1613
|
+
|
|
1614
|
+
|
|
1615
|
+
|
|
1616
|
+
|
|
1617
|
+
|
|
1616
1618
|
/** getaccount "address"
|
|
1617
1619
|
|
|
1618
1620
|
DEPRECATED. Returns the account associated with the given address.
|
|
@@ -1627,12 +1629,12 @@ Examples:
|
|
|
1627
1629
|
> neurai-cli getaccount "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX"
|
|
1628
1630
|
> 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/
|
|
1629
1631
|
**/
|
|
1630
|
-
getaccount:'getaccount',
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1632
|
+
getaccount:'getaccount',
|
|
1633
|
+
|
|
1634
|
+
|
|
1635
|
+
|
|
1636
|
+
|
|
1637
|
+
|
|
1636
1638
|
/** getaccountaddress "account"
|
|
1637
1639
|
|
|
1638
1640
|
DEPRECATED. Returns the current Neurai address for receiving payments to this account.
|
|
@@ -1649,12 +1651,12 @@ Examples:
|
|
|
1649
1651
|
> neurai-cli getaccountaddress "myaccount"
|
|
1650
1652
|
> 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/
|
|
1651
1653
|
**/
|
|
1652
|
-
getaccountaddress:'getaccountaddress',
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1654
|
+
getaccountaddress:'getaccountaddress',
|
|
1655
|
+
|
|
1656
|
+
|
|
1657
|
+
|
|
1658
|
+
|
|
1659
|
+
|
|
1658
1660
|
/** getaddednodeinfo ( "node" )
|
|
1659
1661
|
|
|
1660
1662
|
Returns information about the given added node, or all added nodes
|
|
@@ -1682,12 +1684,12 @@ Examples:
|
|
|
1682
1684
|
> neurai-cli getaddednodeinfo "192.168.0.201"
|
|
1683
1685
|
> 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/
|
|
1684
1686
|
**/
|
|
1685
|
-
getaddednodeinfo:'getaddednodeinfo',
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1687
|
+
getaddednodeinfo:'getaddednodeinfo',
|
|
1688
|
+
|
|
1689
|
+
|
|
1690
|
+
|
|
1691
|
+
|
|
1692
|
+
|
|
1691
1693
|
/** getaddressbalance
|
|
1692
1694
|
|
|
1693
1695
|
Returns the balance for an address(es) (requires addressindex to be enabled).
|
|
@@ -1723,12 +1725,12 @@ Examples:
|
|
|
1723
1725
|
> 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/
|
|
1724
1726
|
> 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/
|
|
1725
1727
|
**/
|
|
1726
|
-
getaddressbalance:'getaddressbalance',
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1728
|
+
getaddressbalance:'getaddressbalance',
|
|
1729
|
+
|
|
1730
|
+
|
|
1731
|
+
|
|
1732
|
+
|
|
1733
|
+
|
|
1732
1734
|
/** getaddressdeltas
|
|
1733
1735
|
|
|
1734
1736
|
Returns all changes for an address (requires addressindex to be enabled).
|
|
@@ -1764,12 +1766,12 @@ Examples:
|
|
|
1764
1766
|
> neurai-cli getaddressdeltas '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}'
|
|
1765
1767
|
> 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/
|
|
1766
1768
|
**/
|
|
1767
|
-
getaddressdeltas:'getaddressdeltas',
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1769
|
+
getaddressdeltas:'getaddressdeltas',
|
|
1770
|
+
|
|
1771
|
+
|
|
1772
|
+
|
|
1773
|
+
|
|
1774
|
+
|
|
1773
1775
|
/** getaddressesbyaccount "account"
|
|
1774
1776
|
|
|
1775
1777
|
DEPRECATED. Returns the list of addresses for the given account.
|
|
@@ -1787,12 +1789,12 @@ Examples:
|
|
|
1787
1789
|
> neurai-cli getaddressesbyaccount "tabby"
|
|
1788
1790
|
> 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/
|
|
1789
1791
|
**/
|
|
1790
|
-
getaddressesbyaccount:'getaddressesbyaccount',
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1792
|
+
getaddressesbyaccount:'getaddressesbyaccount',
|
|
1793
|
+
|
|
1794
|
+
|
|
1795
|
+
|
|
1796
|
+
|
|
1797
|
+
|
|
1796
1798
|
/** getaddressmempool
|
|
1797
1799
|
|
|
1798
1800
|
Returns all mempool deltas for an address (requires addressindex to be enabled).
|
|
@@ -1827,12 +1829,12 @@ Examples:
|
|
|
1827
1829
|
> neurai-cli getaddressmempool '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
|
|
1828
1830
|
> 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/
|
|
1829
1831
|
**/
|
|
1830
|
-
getaddressmempool:'getaddressmempool',
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1832
|
+
getaddressmempool:'getaddressmempool',
|
|
1833
|
+
|
|
1834
|
+
|
|
1835
|
+
|
|
1836
|
+
|
|
1837
|
+
|
|
1836
1838
|
/** getaddresstxids
|
|
1837
1839
|
|
|
1838
1840
|
Returns the txids for an address(es) (requires addressindex to be enabled).
|
|
@@ -1861,12 +1863,12 @@ Examples:
|
|
|
1861
1863
|
> neurai-cli getaddresstxids '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
|
|
1862
1864
|
> 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/
|
|
1863
1865
|
**/
|
|
1864
|
-
getaddresstxids:'getaddresstxids',
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1866
|
+
getaddresstxids:'getaddresstxids',
|
|
1867
|
+
|
|
1868
|
+
|
|
1869
|
+
|
|
1870
|
+
|
|
1871
|
+
|
|
1870
1872
|
/** getaddressutxos
|
|
1871
1873
|
|
|
1872
1874
|
Returns all unspent outputs for an address (requires addressindex to be enabled).
|
|
@@ -1901,12 +1903,12 @@ Examples:
|
|
|
1901
1903
|
> neurai-cli getaddressutxos '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}'
|
|
1902
1904
|
> 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/
|
|
1903
1905
|
**/
|
|
1904
|
-
getaddressutxos:'getaddressutxos',
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1906
|
+
getaddressutxos:'getaddressutxos',
|
|
1907
|
+
|
|
1908
|
+
|
|
1909
|
+
|
|
1910
|
+
|
|
1911
|
+
|
|
1910
1912
|
/** getassetdata "asset_name"
|
|
1911
1913
|
|
|
1912
1914
|
Returns assets metadata if that asset exists
|
|
@@ -1930,12 +1932,12 @@ Examples:
|
|
|
1930
1932
|
> neurai-cli getassetdata "ASSET_NAME"
|
|
1931
1933
|
> 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/
|
|
1932
1934
|
**/
|
|
1933
|
-
getassetdata:'getassetdata',
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1935
|
+
getassetdata:'getassetdata',
|
|
1936
|
+
|
|
1937
|
+
|
|
1938
|
+
|
|
1939
|
+
|
|
1940
|
+
|
|
1939
1941
|
/** getbalance ( "account" minconf include_watchonly )
|
|
1940
1942
|
|
|
1941
1943
|
If account is not specified, returns the server's total available balance.
|
|
@@ -1973,12 +1975,12 @@ The total amount in the wallet at least 6 blocks confirmed
|
|
|
1973
1975
|
As a json rpc call
|
|
1974
1976
|
> 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/
|
|
1975
1977
|
**/
|
|
1976
|
-
getbalance:'getbalance',
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1978
|
+
getbalance:'getbalance',
|
|
1979
|
+
|
|
1980
|
+
|
|
1981
|
+
|
|
1982
|
+
|
|
1983
|
+
|
|
1982
1984
|
/** getbestblockhash
|
|
1983
1985
|
|
|
1984
1986
|
Returns the hash of the best (tip) block in the longest blockchain.
|
|
@@ -1990,12 +1992,12 @@ Examples:
|
|
|
1990
1992
|
> neurai-cli getbestblockhash
|
|
1991
1993
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbestblockhash", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1992
1994
|
**/
|
|
1993
|
-
getbestblockhash:'getbestblockhash',
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1995
|
+
getbestblockhash:'getbestblockhash',
|
|
1996
|
+
|
|
1997
|
+
|
|
1998
|
+
|
|
1999
|
+
|
|
2000
|
+
|
|
1999
2001
|
/** getblock "blockhash" ( verbosity )
|
|
2000
2002
|
|
|
2001
2003
|
If verbosity is 0, returns a string that is serialized, hex-encoded data for block 'hash'.
|
|
@@ -2047,12 +2049,12 @@ Examples:
|
|
|
2047
2049
|
> neurai-cli getblock "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
|
|
2048
2050
|
> 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/
|
|
2049
2051
|
**/
|
|
2050
|
-
getblock:'getblock',
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2052
|
+
getblock:'getblock',
|
|
2053
|
+
|
|
2054
|
+
|
|
2055
|
+
|
|
2056
|
+
|
|
2057
|
+
|
|
2056
2058
|
/** getblockchaininfo
|
|
2057
2059
|
Returns an object containing various state info regarding blockchain processing.
|
|
2058
2060
|
|
|
@@ -2103,12 +2105,12 @@ Examples:
|
|
|
2103
2105
|
> neurai-cli getblockchaininfo
|
|
2104
2106
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockchaininfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2105
2107
|
**/
|
|
2106
|
-
getblockchaininfo:'getblockchaininfo',
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2108
|
+
getblockchaininfo:'getblockchaininfo',
|
|
2109
|
+
|
|
2110
|
+
|
|
2111
|
+
|
|
2112
|
+
|
|
2113
|
+
|
|
2112
2114
|
/** getblockcount
|
|
2113
2115
|
|
|
2114
2116
|
Returns the number of blocks in the longest blockchain.
|
|
@@ -2120,12 +2122,12 @@ Examples:
|
|
|
2120
2122
|
> neurai-cli getblockcount
|
|
2121
2123
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockcount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2122
2124
|
**/
|
|
2123
|
-
getblockcount:'getblockcount',
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2125
|
+
getblockcount:'getblockcount',
|
|
2126
|
+
|
|
2127
|
+
|
|
2128
|
+
|
|
2129
|
+
|
|
2130
|
+
|
|
2129
2131
|
/** getblockhash height
|
|
2130
2132
|
|
|
2131
2133
|
Returns hash of block in best-block-chain at height provided.
|
|
@@ -2140,12 +2142,12 @@ Examples:
|
|
|
2140
2142
|
> neurai-cli getblockhash 1000
|
|
2141
2143
|
> 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/
|
|
2142
2144
|
**/
|
|
2143
|
-
getblockhash:'getblockhash',
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2145
|
+
getblockhash:'getblockhash',
|
|
2146
|
+
|
|
2147
|
+
|
|
2148
|
+
|
|
2149
|
+
|
|
2150
|
+
|
|
2149
2151
|
/** getblockhashes timestamp
|
|
2150
2152
|
|
|
2151
2153
|
Returns array of hashes of blocks within the timestamp range provided.
|
|
@@ -2175,12 +2177,12 @@ Examples:
|
|
|
2175
2177
|
> 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/
|
|
2176
2178
|
> neurai-cli getblockhashes 1231614698 1231024505 '{"noOrphans":false, "logicalTimes":true}'
|
|
2177
2179
|
**/
|
|
2178
|
-
getblockhashes:'getblockhashes',
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2180
|
+
getblockhashes:'getblockhashes',
|
|
2181
|
+
|
|
2182
|
+
|
|
2183
|
+
|
|
2184
|
+
|
|
2185
|
+
|
|
2184
2186
|
/** getblockheader "hash" ( verbose )
|
|
2185
2187
|
|
|
2186
2188
|
If verbose is false, returns a string that is serialized, hex-encoded data for blockheader 'hash'.
|
|
@@ -2215,12 +2217,12 @@ Examples:
|
|
|
2215
2217
|
> neurai-cli getblockheader "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
|
|
2216
2218
|
> 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/
|
|
2217
2219
|
**/
|
|
2218
|
-
getblockheader:'getblockheader',
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2220
|
+
getblockheader:'getblockheader',
|
|
2221
|
+
|
|
2222
|
+
|
|
2223
|
+
|
|
2224
|
+
|
|
2225
|
+
|
|
2224
2226
|
/** getblocktemplate ( TemplateRequest )
|
|
2225
2227
|
|
|
2226
2228
|
If the request parameters include a 'mode' key, that is used to explicitly select between the default 'template' request or a 'proposal'.
|
|
@@ -2296,12 +2298,12 @@ Examples:
|
|
|
2296
2298
|
> neurai-cli getblocktemplate
|
|
2297
2299
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblocktemplate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2298
2300
|
**/
|
|
2299
|
-
getblocktemplate:'getblocktemplate',
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2301
|
+
getblocktemplate:'getblocktemplate',
|
|
2302
|
+
|
|
2303
|
+
|
|
2304
|
+
|
|
2305
|
+
|
|
2306
|
+
|
|
2305
2307
|
/** getcacheinfo
|
|
2306
2308
|
|
|
2307
2309
|
Result:
|
|
@@ -2321,12 +2323,12 @@ Examples:
|
|
|
2321
2323
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getcacheinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2322
2324
|
> neurai-cli getcacheinfo
|
|
2323
2325
|
**/
|
|
2324
|
-
getcacheinfo:'getcacheinfo',
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2326
|
+
getcacheinfo:'getcacheinfo',
|
|
2327
|
+
|
|
2328
|
+
|
|
2329
|
+
|
|
2330
|
+
|
|
2331
|
+
|
|
2330
2332
|
/** getchaintips
|
|
2331
2333
|
Return information about all known tips in the block tree, including the main chain as well as orphaned branches.
|
|
2332
2334
|
|
|
@@ -2356,12 +2358,12 @@ Examples:
|
|
|
2356
2358
|
> neurai-cli getchaintips
|
|
2357
2359
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintips", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2358
2360
|
**/
|
|
2359
|
-
getchaintips:'getchaintips',
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2361
|
+
getchaintips:'getchaintips',
|
|
2362
|
+
|
|
2363
|
+
|
|
2364
|
+
|
|
2365
|
+
|
|
2366
|
+
|
|
2365
2367
|
/** getchaintxstats ( nblocks blockhash )
|
|
2366
2368
|
|
|
2367
2369
|
Compute statistics about the total number and rate of transactions in the chain.
|
|
@@ -2384,12 +2386,12 @@ Examples:
|
|
|
2384
2386
|
> neurai-cli getchaintxstats
|
|
2385
2387
|
> 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/
|
|
2386
2388
|
**/
|
|
2387
|
-
getchaintxstats:'getchaintxstats',
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2389
|
+
getchaintxstats:'getchaintxstats',
|
|
2390
|
+
|
|
2391
|
+
|
|
2392
|
+
|
|
2393
|
+
|
|
2394
|
+
|
|
2393
2395
|
/** getconnectioncount
|
|
2394
2396
|
|
|
2395
2397
|
Returns the number of connections to other nodes.
|
|
@@ -2401,12 +2403,12 @@ Examples:
|
|
|
2401
2403
|
> neurai-cli getconnectioncount
|
|
2402
2404
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getconnectioncount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2403
2405
|
**/
|
|
2404
|
-
getconnectioncount:'getconnectioncount',
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2406
|
+
getconnectioncount:'getconnectioncount',
|
|
2407
|
+
|
|
2408
|
+
|
|
2409
|
+
|
|
2410
|
+
|
|
2411
|
+
|
|
2410
2412
|
/** getdifficulty
|
|
2411
2413
|
|
|
2412
2414
|
Returns the proof-of-work difficulty as a multiple of the minimum difficulty.
|
|
@@ -2418,12 +2420,12 @@ Examples:
|
|
|
2418
2420
|
> neurai-cli getdifficulty
|
|
2419
2421
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdifficulty", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2420
2422
|
**/
|
|
2421
|
-
getdifficulty:'getdifficulty',
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2423
|
+
getdifficulty:'getdifficulty',
|
|
2424
|
+
|
|
2425
|
+
|
|
2426
|
+
|
|
2427
|
+
|
|
2428
|
+
|
|
2427
2429
|
/** getdistributestatus "asset_name" snapshot_height "distribution_asset_name" gross_distribution_amount ( "exception_addresses" )
|
|
2428
2430
|
|
|
2429
2431
|
Give information about the status of the distribution
|
|
@@ -2441,12 +2443,12 @@ Examples:
|
|
|
2441
2443
|
> 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/
|
|
2442
2444
|
> 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/
|
|
2443
2445
|
**/
|
|
2444
|
-
getdistributestatus:'getdistributestatus',
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2446
|
+
getdistributestatus:'getdistributestatus',
|
|
2447
|
+
|
|
2448
|
+
|
|
2449
|
+
|
|
2450
|
+
|
|
2451
|
+
|
|
2450
2452
|
/** getgenerate
|
|
2451
2453
|
|
|
2452
2454
|
Return if the server is set to generate coins or not. The default is false.
|
|
@@ -2460,12 +2462,12 @@ Examples:
|
|
|
2460
2462
|
> neurai-cli getgenerate
|
|
2461
2463
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getgenerate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2462
2464
|
**/
|
|
2463
|
-
getgenerate:'getgenerate',
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2465
|
+
getgenerate:'getgenerate',
|
|
2466
|
+
|
|
2467
|
+
|
|
2468
|
+
|
|
2469
|
+
|
|
2470
|
+
|
|
2469
2471
|
/** getinfo
|
|
2470
2472
|
|
|
2471
2473
|
DEPRECATED. Returns an object containing various state info.
|
|
@@ -2495,12 +2497,12 @@ Examples:
|
|
|
2495
2497
|
> neurai-cli getinfo
|
|
2496
2498
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2497
2499
|
**/
|
|
2498
|
-
getinfo:'getinfo',
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2500
|
+
getinfo:'getinfo',
|
|
2501
|
+
|
|
2502
|
+
|
|
2503
|
+
|
|
2504
|
+
|
|
2505
|
+
|
|
2504
2506
|
/** getkawpowhash "header_hash" "mix_hash" nonce, height, "target"
|
|
2505
2507
|
|
|
2506
2508
|
Get the kawpow hash for a block given its block data
|
|
@@ -2518,12 +2520,12 @@ Examples:
|
|
|
2518
2520
|
> neurai-cli getkawpowhash "header_hash" "mix_hash" "0x100000" 2456
|
|
2519
2521
|
> 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/
|
|
2520
2522
|
**/
|
|
2521
|
-
getkawpowhash:'getkawpowhash',
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2523
|
+
getkawpowhash:'getkawpowhash',
|
|
2524
|
+
|
|
2525
|
+
|
|
2526
|
+
|
|
2527
|
+
|
|
2528
|
+
|
|
2527
2529
|
/** getmasterkeyinfo
|
|
2528
2530
|
|
|
2529
2531
|
Fetches and displays the master private key and the master public key.
|
|
@@ -2541,12 +2543,12 @@ Examples:
|
|
|
2541
2543
|
> neurai-cli getmasterkeyinfo
|
|
2542
2544
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmasterkeyinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2543
2545
|
**/
|
|
2544
|
-
getmasterkeyinfo:'getmasterkeyinfo',
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2546
|
+
getmasterkeyinfo:'getmasterkeyinfo',
|
|
2547
|
+
|
|
2548
|
+
|
|
2549
|
+
|
|
2550
|
+
|
|
2551
|
+
|
|
2550
2552
|
/** getmemoryinfo ("mode")
|
|
2551
2553
|
Returns an object containing information about memory usage.
|
|
2552
2554
|
Arguments:
|
|
@@ -2573,12 +2575,12 @@ Examples:
|
|
|
2573
2575
|
> neurai-cli getmemoryinfo
|
|
2574
2576
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmemoryinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2575
2577
|
**/
|
|
2576
|
-
getmemoryinfo:'getmemoryinfo',
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2578
|
+
getmemoryinfo:'getmemoryinfo',
|
|
2579
|
+
|
|
2580
|
+
|
|
2581
|
+
|
|
2582
|
+
|
|
2583
|
+
|
|
2582
2584
|
/** getmempoolancestors txid (verbose)
|
|
2583
2585
|
|
|
2584
2586
|
If txid is in the mempool, returns all in-mempool ancestors.
|
|
@@ -2618,12 +2620,12 @@ Examples:
|
|
|
2618
2620
|
> neurai-cli getmempoolancestors "mytxid"
|
|
2619
2621
|
> 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/
|
|
2620
2622
|
**/
|
|
2621
|
-
getmempoolancestors:'getmempoolancestors',
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2623
|
+
getmempoolancestors:'getmempoolancestors',
|
|
2624
|
+
|
|
2625
|
+
|
|
2626
|
+
|
|
2627
|
+
|
|
2628
|
+
|
|
2627
2629
|
/** getmempooldescendants txid (verbose)
|
|
2628
2630
|
|
|
2629
2631
|
If txid is in the mempool, returns all in-mempool descendants.
|
|
@@ -2663,12 +2665,12 @@ Examples:
|
|
|
2663
2665
|
> neurai-cli getmempooldescendants "mytxid"
|
|
2664
2666
|
> 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/
|
|
2665
2667
|
**/
|
|
2666
|
-
getmempooldescendants:'getmempooldescendants',
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2668
|
+
getmempooldescendants:'getmempooldescendants',
|
|
2669
|
+
|
|
2670
|
+
|
|
2671
|
+
|
|
2672
|
+
|
|
2673
|
+
|
|
2672
2674
|
/** getmempoolentry txid
|
|
2673
2675
|
|
|
2674
2676
|
Returns mempool data for given transaction
|
|
@@ -2699,12 +2701,12 @@ Examples:
|
|
|
2699
2701
|
> neurai-cli getmempoolentry "mytxid"
|
|
2700
2702
|
> 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/
|
|
2701
2703
|
**/
|
|
2702
|
-
getmempoolentry:'getmempoolentry',
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2704
|
+
getmempoolentry:'getmempoolentry',
|
|
2705
|
+
|
|
2706
|
+
|
|
2707
|
+
|
|
2708
|
+
|
|
2709
|
+
|
|
2708
2710
|
/** getmempoolinfo
|
|
2709
2711
|
|
|
2710
2712
|
Returns details on the active state of the TX memory pool.
|
|
@@ -2722,12 +2724,12 @@ Examples:
|
|
|
2722
2724
|
> neurai-cli getmempoolinfo
|
|
2723
2725
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2724
2726
|
**/
|
|
2725
|
-
getmempoolinfo:'getmempoolinfo',
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2727
|
+
getmempoolinfo:'getmempoolinfo',
|
|
2728
|
+
|
|
2729
|
+
|
|
2730
|
+
|
|
2731
|
+
|
|
2732
|
+
|
|
2731
2733
|
/** getmininginfo
|
|
2732
2734
|
|
|
2733
2735
|
Returns a json object containing mining-related information.
|
|
@@ -2749,12 +2751,12 @@ Examples:
|
|
|
2749
2751
|
> neurai-cli getmininginfo
|
|
2750
2752
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmininginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2751
2753
|
**/
|
|
2752
|
-
getmininginfo:'getmininginfo',
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2754
|
+
getmininginfo:'getmininginfo',
|
|
2755
|
+
|
|
2756
|
+
|
|
2757
|
+
|
|
2758
|
+
|
|
2759
|
+
|
|
2758
2760
|
/** getmywords ( "account" )
|
|
2759
2761
|
|
|
2760
2762
|
Returns the 12 words and passphrase used by BIP39 to generate the wallets private keys
|
|
@@ -2768,12 +2770,12 @@ Examples:
|
|
|
2768
2770
|
> neurai-cli getmywords
|
|
2769
2771
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmywords", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2770
2772
|
**/
|
|
2771
|
-
getmywords:'getmywords',
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2773
|
+
getmywords:'getmywords',
|
|
2774
|
+
|
|
2775
|
+
|
|
2776
|
+
|
|
2777
|
+
|
|
2778
|
+
|
|
2777
2779
|
/** getnettotals
|
|
2778
2780
|
|
|
2779
2781
|
Returns information about network traffic, including bytes in, bytes out,
|
|
@@ -2799,12 +2801,12 @@ Examples:
|
|
|
2799
2801
|
> neurai-cli getnettotals
|
|
2800
2802
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnettotals", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2801
2803
|
**/
|
|
2802
|
-
getnettotals:'getnettotals',
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2804
|
+
getnettotals:'getnettotals',
|
|
2805
|
+
|
|
2806
|
+
|
|
2807
|
+
|
|
2808
|
+
|
|
2809
|
+
|
|
2808
2810
|
/** getnetworkhashps ( nblocks height )
|
|
2809
2811
|
|
|
2810
2812
|
Returns the estimated network hashes per second based on the last n blocks.
|
|
@@ -2822,12 +2824,12 @@ Examples:
|
|
|
2822
2824
|
> neurai-cli getnetworkhashps
|
|
2823
2825
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkhashps", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2824
2826
|
**/
|
|
2825
|
-
getnetworkhashps:'getnetworkhashps',
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2827
|
+
getnetworkhashps:'getnetworkhashps',
|
|
2828
|
+
|
|
2829
|
+
|
|
2830
|
+
|
|
2831
|
+
|
|
2832
|
+
|
|
2831
2833
|
/** getnetworkinfo
|
|
2832
2834
|
Returns an object containing various state info regarding P2P networking.
|
|
2833
2835
|
|
|
@@ -2868,12 +2870,12 @@ Examples:
|
|
|
2868
2870
|
> neurai-cli getnetworkinfo
|
|
2869
2871
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2870
2872
|
**/
|
|
2871
|
-
getnetworkinfo:'getnetworkinfo',
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2873
|
+
getnetworkinfo:'getnetworkinfo',
|
|
2874
|
+
|
|
2875
|
+
|
|
2876
|
+
|
|
2877
|
+
|
|
2878
|
+
|
|
2877
2879
|
/** getnewaddress ( "account" )
|
|
2878
2880
|
|
|
2879
2881
|
Returns a new Neurai address for receiving payments.
|
|
@@ -2890,12 +2892,12 @@ Examples:
|
|
|
2890
2892
|
> neurai-cli getnewaddress
|
|
2891
2893
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2892
2894
|
**/
|
|
2893
|
-
getnewaddress:'getnewaddress',
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2895
|
+
getnewaddress:'getnewaddress',
|
|
2896
|
+
|
|
2897
|
+
|
|
2898
|
+
|
|
2899
|
+
|
|
2900
|
+
|
|
2899
2901
|
/** getpeerinfo
|
|
2900
2902
|
|
|
2901
2903
|
Returns data about each connected network node as a json array of objects.
|
|
@@ -2947,12 +2949,12 @@ Examples:
|
|
|
2947
2949
|
> neurai-cli getpeerinfo
|
|
2948
2950
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpeerinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2949
2951
|
**/
|
|
2950
|
-
getpeerinfo:'getpeerinfo',
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2952
|
+
getpeerinfo:'getpeerinfo',
|
|
2953
|
+
|
|
2954
|
+
|
|
2955
|
+
|
|
2956
|
+
|
|
2957
|
+
|
|
2956
2958
|
/** getpubkey "address"
|
|
2957
2959
|
|
|
2958
2960
|
Returns the public key for an address that has revealed it by spending (requires pubkeyindex to be enabled).
|
|
@@ -2973,12 +2975,12 @@ Examples:
|
|
|
2973
2975
|
> neurai-cli getpubkey "NXa1b2c3d4e5f6..."
|
|
2974
2976
|
> 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/
|
|
2975
2977
|
**/
|
|
2976
|
-
getpubkey:'getpubkey',
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2978
|
+
getpubkey:'getpubkey',
|
|
2979
|
+
|
|
2980
|
+
|
|
2981
|
+
|
|
2982
|
+
|
|
2983
|
+
|
|
2982
2984
|
/** getrawchangeaddress
|
|
2983
2985
|
|
|
2984
2986
|
Returns a new Neurai address, for receiving change.
|
|
@@ -2991,12 +2993,12 @@ Examples:
|
|
|
2991
2993
|
> neurai-cli getrawchangeaddress
|
|
2992
2994
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawchangeaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2993
2995
|
**/
|
|
2994
|
-
getrawchangeaddress:'getrawchangeaddress',
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
2996
|
+
getrawchangeaddress:'getrawchangeaddress',
|
|
2997
|
+
|
|
2998
|
+
|
|
2999
|
+
|
|
3000
|
+
|
|
3001
|
+
|
|
3000
3002
|
/** getrawmempool ( verbose )
|
|
3001
3003
|
|
|
3002
3004
|
Returns all transaction ids in memory pool as a json array of string transaction ids.
|
|
@@ -3037,12 +3039,12 @@ Examples:
|
|
|
3037
3039
|
> neurai-cli getrawmempool true
|
|
3038
3040
|
> 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/
|
|
3039
3041
|
**/
|
|
3040
|
-
getrawmempool:'getrawmempool',
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3042
|
+
getrawmempool:'getrawmempool',
|
|
3043
|
+
|
|
3044
|
+
|
|
3045
|
+
|
|
3046
|
+
|
|
3047
|
+
|
|
3046
3048
|
/** getrawtransaction "txid" ( verbose )
|
|
3047
3049
|
|
|
3048
3050
|
NOTE: By default this function only works for mempool transactions. If the -txindex option is
|
|
@@ -3111,12 +3113,12 @@ Examples:
|
|
|
3111
3113
|
> neurai-cli getrawtransaction "mytxid" true
|
|
3112
3114
|
> 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/
|
|
3113
3115
|
**/
|
|
3114
|
-
getrawtransaction:'getrawtransaction',
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3116
|
+
getrawtransaction:'getrawtransaction',
|
|
3117
|
+
|
|
3118
|
+
|
|
3119
|
+
|
|
3120
|
+
|
|
3121
|
+
|
|
3120
3122
|
/** getreceivedbyaccount "account" ( minconf )
|
|
3121
3123
|
|
|
3122
3124
|
DEPRECATED. Returns the total amount received by addresses with <account> in transactions with at least [minconf] confirmations.
|
|
@@ -3142,12 +3144,12 @@ The amount with at least 6 confirmations
|
|
|
3142
3144
|
As a json rpc call
|
|
3143
3145
|
> 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/
|
|
3144
3146
|
**/
|
|
3145
|
-
getreceivedbyaccount:'getreceivedbyaccount',
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3147
|
+
getreceivedbyaccount:'getreceivedbyaccount',
|
|
3148
|
+
|
|
3149
|
+
|
|
3150
|
+
|
|
3151
|
+
|
|
3152
|
+
|
|
3151
3153
|
/** getreceivedbyaddress "address" ( minconf )
|
|
3152
3154
|
|
|
3153
3155
|
Returns the total amount received by the given address in transactions with at least minconf confirmations.
|
|
@@ -3173,12 +3175,12 @@ The amount with at least 6 confirmations
|
|
|
3173
3175
|
As a json rpc call
|
|
3174
3176
|
> 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/
|
|
3175
3177
|
**/
|
|
3176
|
-
getreceivedbyaddress:'getreceivedbyaddress',
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3178
|
+
getreceivedbyaddress:'getreceivedbyaddress',
|
|
3179
|
+
|
|
3180
|
+
|
|
3181
|
+
|
|
3182
|
+
|
|
3183
|
+
|
|
3182
3184
|
/** getrpcinfo
|
|
3183
3185
|
Returns details of the RPC server.
|
|
3184
3186
|
|
|
@@ -3195,12 +3197,12 @@ Result:
|
|
|
3195
3197
|
> neurai-cli getrpcinfo
|
|
3196
3198
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrpcinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3197
3199
|
**/
|
|
3198
|
-
getrpcinfo:'getrpcinfo',
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3200
|
+
getrpcinfo:'getrpcinfo',
|
|
3201
|
+
|
|
3202
|
+
|
|
3203
|
+
|
|
3204
|
+
|
|
3205
|
+
|
|
3204
3206
|
/** getsnapshot "asset_name" block_height
|
|
3205
3207
|
|
|
3206
3208
|
Returns details for the asset snapshot, at the specified height
|
|
@@ -3223,12 +3225,12 @@ Result:
|
|
|
3223
3225
|
Examples:
|
|
3224
3226
|
> 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/
|
|
3225
3227
|
**/
|
|
3226
|
-
getsnapshot:'getsnapshot',
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3228
|
+
getsnapshot:'getsnapshot',
|
|
3229
|
+
|
|
3230
|
+
|
|
3231
|
+
|
|
3232
|
+
|
|
3233
|
+
|
|
3232
3234
|
/** getsnapshotrequest "asset_name" block_height
|
|
3233
3235
|
|
|
3234
3236
|
Retrieves the specified snapshot request details.
|
|
@@ -3247,12 +3249,12 @@ Examples:
|
|
|
3247
3249
|
> neurai-cli getsnapshotrequest "TRONCO" 12345
|
|
3248
3250
|
> 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/
|
|
3249
3251
|
**/
|
|
3250
|
-
getsnapshotrequest:'getsnapshotrequest',
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3252
|
+
getsnapshotrequest:'getsnapshotrequest',
|
|
3253
|
+
|
|
3254
|
+
|
|
3255
|
+
|
|
3256
|
+
|
|
3257
|
+
|
|
3256
3258
|
/** getspentinfo
|
|
3257
3259
|
|
|
3258
3260
|
Returns the txid and index where an output is spent.
|
|
@@ -3274,12 +3276,12 @@ Examples:
|
|
|
3274
3276
|
> neurai-cli getspentinfo '{"txid": "0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9", "index": 0}'
|
|
3275
3277
|
> 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/
|
|
3276
3278
|
**/
|
|
3277
|
-
getspentinfo:'getspentinfo',
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3279
|
+
getspentinfo:'getspentinfo',
|
|
3280
|
+
|
|
3281
|
+
|
|
3282
|
+
|
|
3283
|
+
|
|
3284
|
+
|
|
3283
3285
|
/** gettransaction "txid" ( include_watchonly )
|
|
3284
3286
|
|
|
3285
3287
|
Get detailed information about in-wallet transaction <txid>
|
|
@@ -3336,12 +3338,12 @@ Examples:
|
|
|
3336
3338
|
> neurai-cli gettransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d" true
|
|
3337
3339
|
> 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/
|
|
3338
3340
|
**/
|
|
3339
|
-
gettransaction:'gettransaction',
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3341
|
+
gettransaction:'gettransaction',
|
|
3342
|
+
|
|
3343
|
+
|
|
3344
|
+
|
|
3345
|
+
|
|
3346
|
+
|
|
3345
3347
|
/** gettxout "txid" n ( include_mempool )
|
|
3346
3348
|
|
|
3347
3349
|
Returns details about an unspent transaction output.
|
|
@@ -3380,12 +3382,12 @@ View the details
|
|
|
3380
3382
|
As a json rpc call
|
|
3381
3383
|
> 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/
|
|
3382
3384
|
**/
|
|
3383
|
-
gettxout:'gettxout',
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3385
|
+
gettxout:'gettxout',
|
|
3386
|
+
|
|
3387
|
+
|
|
3388
|
+
|
|
3389
|
+
|
|
3390
|
+
|
|
3389
3391
|
/** gettxoutproof ["txid",...] ( blockhash )
|
|
3390
3392
|
|
|
3391
3393
|
Returns a hex-encoded proof that "txid" was included in a block.
|
|
@@ -3406,12 +3408,12 @@ Arguments:
|
|
|
3406
3408
|
Result:
|
|
3407
3409
|
"data" (string) A string that is a serialized, hex-encoded data for the proof.
|
|
3408
3410
|
**/
|
|
3409
|
-
gettxoutproof:'gettxoutproof',
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3411
|
+
gettxoutproof:'gettxoutproof',
|
|
3412
|
+
|
|
3413
|
+
|
|
3414
|
+
|
|
3415
|
+
|
|
3416
|
+
|
|
3415
3417
|
/** gettxoutsetinfo
|
|
3416
3418
|
|
|
3417
3419
|
Returns statistics about the unspent transaction output set.
|
|
@@ -3433,21 +3435,21 @@ Examples:
|
|
|
3433
3435
|
> neurai-cli gettxoutsetinfo
|
|
3434
3436
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxoutsetinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3435
3437
|
**/
|
|
3436
|
-
gettxoutsetinfo:'gettxoutsetinfo',
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3438
|
+
gettxoutsetinfo:'gettxoutsetinfo',
|
|
3439
|
+
|
|
3440
|
+
|
|
3441
|
+
|
|
3442
|
+
|
|
3443
|
+
|
|
3442
3444
|
/** getunconfirmedbalance
|
|
3443
3445
|
Returns the server's total unconfirmed balance
|
|
3444
3446
|
**/
|
|
3445
|
-
getunconfirmedbalance:'getunconfirmedbalance',
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3447
|
+
getunconfirmedbalance:'getunconfirmedbalance',
|
|
3448
|
+
|
|
3449
|
+
|
|
3450
|
+
|
|
3451
|
+
|
|
3452
|
+
|
|
3451
3453
|
/** getverifierstring restricted_name
|
|
3452
3454
|
|
|
3453
3455
|
Retrieve the verifier string that belongs to the given restricted asset
|
|
@@ -3462,12 +3464,12 @@ Examples:
|
|
|
3462
3464
|
> neurai-cli getverifierstring "restricted_name"
|
|
3463
3465
|
> 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/
|
|
3464
3466
|
**/
|
|
3465
|
-
getverifierstring:'getverifierstring',
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3467
|
+
getverifierstring:'getverifierstring',
|
|
3468
|
+
|
|
3469
|
+
|
|
3470
|
+
|
|
3471
|
+
|
|
3472
|
+
|
|
3471
3473
|
/** getwalletinfo
|
|
3472
3474
|
Returns an object containing various wallet state info.
|
|
3473
3475
|
|
|
@@ -3492,12 +3494,12 @@ Examples:
|
|
|
3492
3494
|
> neurai-cli getwalletinfo
|
|
3493
3495
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getwalletinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3494
3496
|
**/
|
|
3495
|
-
getwalletinfo:'getwalletinfo',
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3497
|
+
getwalletinfo:'getwalletinfo',
|
|
3498
|
+
|
|
3499
|
+
|
|
3500
|
+
|
|
3501
|
+
|
|
3502
|
+
|
|
3501
3503
|
/** help ( "command" )
|
|
3502
3504
|
|
|
3503
3505
|
List all commands, or get help for a specified command.
|
|
@@ -3508,13 +3510,13 @@ Arguments:
|
|
|
3508
3510
|
Result:
|
|
3509
3511
|
"text" (string) The help text
|
|
3510
3512
|
**/
|
|
3511
|
-
help:'help',
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
/** importaddress "address" ( "label" rescan p2sh )
|
|
3513
|
+
help:'help',
|
|
3514
|
+
|
|
3515
|
+
|
|
3516
|
+
|
|
3517
|
+
|
|
3518
|
+
|
|
3519
|
+
/** importaddress "address" ( "label" rescan p2sh )
|
|
3518
3520
|
|
|
3519
3521
|
Adds a script (in hex) or address that can be watched as if it were in your wallet but cannot be used to spend.
|
|
3520
3522
|
|
|
@@ -3541,12 +3543,12 @@ Import using a label without rescan
|
|
|
3541
3543
|
As a JSON-RPC call
|
|
3542
3544
|
> 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/
|
|
3543
3545
|
**/
|
|
3544
|
-
importaddress:'importaddress',
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3546
|
+
importaddress:'importaddress',
|
|
3547
|
+
|
|
3548
|
+
|
|
3549
|
+
|
|
3550
|
+
|
|
3551
|
+
|
|
3550
3552
|
/** importmulti "requests" ( "options" )
|
|
3551
3553
|
|
|
3552
3554
|
Import addresses/scripts (with private or public keys, redeem script (P2SH)), rescanning all addresses in one-shot-only (rescan can be disabled via options).
|
|
@@ -3583,12 +3585,12 @@ Examples:
|
|
|
3583
3585
|
Response is an array with the same size as the input that has the execution result :
|
|
3584
3586
|
[{ "success": true } , { "success": false, "error": { "code": -1, "message": "Internal Server Error"} }, ... ]
|
|
3585
3587
|
**/
|
|
3586
|
-
importmulti:'importmulti',
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3588
|
+
importmulti:'importmulti',
|
|
3589
|
+
|
|
3590
|
+
|
|
3591
|
+
|
|
3592
|
+
|
|
3593
|
+
|
|
3592
3594
|
/** importprivkey "privkey" ( "label" ) ( rescan )
|
|
3593
3595
|
|
|
3594
3596
|
Adds a private key (as returned by dumpprivkey) to your wallet.
|
|
@@ -3617,12 +3619,12 @@ Import using default blank label and without rescan
|
|
|
3617
3619
|
As a JSON-RPC call
|
|
3618
3620
|
> 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/
|
|
3619
3621
|
**/
|
|
3620
|
-
importprivkey:'importprivkey',
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3622
|
+
importprivkey:'importprivkey',
|
|
3623
|
+
|
|
3624
|
+
|
|
3625
|
+
|
|
3626
|
+
|
|
3627
|
+
|
|
3626
3628
|
/** importprunedfunds
|
|
3627
3629
|
|
|
3628
3630
|
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.
|
|
@@ -3631,12 +3633,12 @@ Arguments:
|
|
|
3631
3633
|
1. "rawtransaction" (string, required) A raw transaction in hex funding an already-existing address in wallet
|
|
3632
3634
|
2. "txoutproof" (string, required) The hex output from gettxoutproof that contains the transaction
|
|
3633
3635
|
**/
|
|
3634
|
-
importprunedfunds:'importprunedfunds',
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3636
|
+
importprunedfunds:'importprunedfunds',
|
|
3637
|
+
|
|
3638
|
+
|
|
3639
|
+
|
|
3640
|
+
|
|
3641
|
+
|
|
3640
3642
|
/** importpubkey "pubkey" ( "label" rescan )
|
|
3641
3643
|
|
|
3642
3644
|
Adds a public key (in hex) that can be watched as if it were in your wallet but cannot be used to spend.
|
|
@@ -3659,12 +3661,12 @@ Import using a label without rescan
|
|
|
3659
3661
|
As a JSON-RPC call
|
|
3660
3662
|
> 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/
|
|
3661
3663
|
**/
|
|
3662
|
-
importpubkey:'importpubkey',
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3664
|
+
importpubkey:'importpubkey',
|
|
3665
|
+
|
|
3666
|
+
|
|
3667
|
+
|
|
3668
|
+
|
|
3669
|
+
|
|
3668
3670
|
/** importwallet "filename"
|
|
3669
3671
|
|
|
3670
3672
|
Imports keys from a wallet dump file (see dumpwallet).
|
|
@@ -3683,12 +3685,12 @@ Import the wallet
|
|
|
3683
3685
|
Import using the json rpc call
|
|
3684
3686
|
> 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/
|
|
3685
3687
|
**/
|
|
3686
|
-
importwallet:'importwallet',
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3688
|
+
importwallet:'importwallet',
|
|
3689
|
+
|
|
3690
|
+
|
|
3691
|
+
|
|
3692
|
+
|
|
3693
|
+
|
|
3692
3694
|
/** issue "asset_name" qty "( to_address )" "( change_address )" ( units ) ( reissuable ) ( has_ipfs ) "( ipfs_hash )"
|
|
3693
3695
|
|
|
3694
3696
|
Issue an asset, subasset or unique asset.
|
|
@@ -3696,6 +3698,7 @@ Asset name must not conflict with any existing asset.
|
|
|
3696
3698
|
Unit as the number of decimals precision for the asset (0 for whole units ("1"), 8 for max precision ("1.00000000")
|
|
3697
3699
|
Reissuable is true/false for whether additional units can be issued by the original issuer.
|
|
3698
3700
|
If issuing a unique asset these values are required (and will be defaulted to): qty=1, units=0, reissuable=false.
|
|
3701
|
+
Dedicated DePIN assets (name starts with '&') are documented here as enabled for mainnet and testnet, with qty > 0 and units=0.
|
|
3699
3702
|
|
|
3700
3703
|
Arguments:
|
|
3701
3704
|
1. "asset_name" (string, required) a unique name
|
|
@@ -3719,12 +3722,12 @@ Examples:
|
|
|
3719
3722
|
> neurai-cli issue "ASSET_NAME/SUB_ASSET" 1000 "myaddress" "changeaddress" 2 true
|
|
3720
3723
|
> neurai-cli issue "ASSET_NAME#uniquetag"
|
|
3721
3724
|
**/
|
|
3722
|
-
issue:'issue',
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3725
|
+
issue:'issue',
|
|
3726
|
+
|
|
3727
|
+
|
|
3728
|
+
|
|
3729
|
+
|
|
3730
|
+
|
|
3728
3731
|
/** issuequalifierasset "asset_name" qty "( to_address )" "( change_address )" ( has_ipfs ) "( ipfs_hash )"
|
|
3729
3732
|
|
|
3730
3733
|
Issue an qualifier or sub qualifier asset
|
|
@@ -3754,12 +3757,12 @@ Examples:
|
|
|
3754
3757
|
> neurai-cli issuequalifierasset "ASSET_NAME/SUB_QUALIFIER" 1000 "myaddress" "changeaddress"
|
|
3755
3758
|
> neurai-cli issuequalifierasset "#ASSET_NAME"
|
|
3756
3759
|
**/
|
|
3757
|
-
issuequalifierasset:'issuequalifierasset',
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3760
|
+
issuequalifierasset:'issuequalifierasset',
|
|
3761
|
+
|
|
3762
|
+
|
|
3763
|
+
|
|
3764
|
+
|
|
3765
|
+
|
|
3763
3766
|
/** issuerestrictedasset "asset_name" qty "verifier" "to_address" "( change_address )" (units) ( reissuable ) ( has_ipfs ) "( ipfs_hash )"
|
|
3764
3767
|
|
|
3765
3768
|
Issue a restricted asset.
|
|
@@ -3788,12 +3791,12 @@ Examples:
|
|
|
3788
3791
|
> neurai-cli issuerestrictedasset "$ASSET_NAME" 1000 "#KYC & !#AML" "myaddress" "changeaddress" 8 true
|
|
3789
3792
|
> neurai-cli issuerestrictedasset "$ASSET_NAME" 1000 "#KYC & !#AML" "myaddress" "changeaddress" 0 false true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E
|
|
3790
3793
|
**/
|
|
3791
|
-
issuerestrictedasset:'issuerestrictedasset',
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3794
|
+
issuerestrictedasset:'issuerestrictedasset',
|
|
3795
|
+
|
|
3796
|
+
|
|
3797
|
+
|
|
3798
|
+
|
|
3799
|
+
|
|
3797
3800
|
/** issueunique "root_name" [asset_tags] ( [ipfs_hashes] ) "( to_address )" "( change_address )"
|
|
3798
3801
|
|
|
3799
3802
|
Issue unique asset(s).
|
|
@@ -3816,12 +3819,12 @@ Examples:
|
|
|
3816
3819
|
> neurai-cli issueunique "MY_ASSET" '["primo","secundo"]'
|
|
3817
3820
|
> neurai-cli issueunique "MY_ASSET" '["primo","secundo"]' '["first_hash","second_hash"]'
|
|
3818
3821
|
**/
|
|
3819
|
-
issueunique:'issueunique',
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3822
|
+
issueunique:'issueunique',
|
|
3823
|
+
|
|
3824
|
+
|
|
3825
|
+
|
|
3826
|
+
|
|
3827
|
+
|
|
3825
3828
|
/** isvalidverifierstring verifier_string
|
|
3826
3829
|
|
|
3827
3830
|
Checks to see if the given verifier string is valid
|
|
@@ -3836,12 +3839,12 @@ Examples:
|
|
|
3836
3839
|
> neurai-cli isvalidverifierstring "verifier_string"
|
|
3837
3840
|
> 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/
|
|
3838
3841
|
**/
|
|
3839
|
-
isvalidverifierstring:'isvalidverifierstring',
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3842
|
+
isvalidverifierstring:'isvalidverifierstring',
|
|
3843
|
+
|
|
3844
|
+
|
|
3845
|
+
|
|
3846
|
+
|
|
3847
|
+
|
|
3845
3848
|
/** keypoolrefill ( newsize )
|
|
3846
3849
|
|
|
3847
3850
|
Fills the keypool.
|
|
@@ -3853,12 +3856,12 @@ Examples:
|
|
|
3853
3856
|
> neurai-cli keypoolrefill
|
|
3854
3857
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "keypoolrefill", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3855
3858
|
**/
|
|
3856
|
-
keypoolrefill:'keypoolrefill',
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3859
|
+
keypoolrefill:'keypoolrefill',
|
|
3860
|
+
|
|
3861
|
+
|
|
3862
|
+
|
|
3863
|
+
|
|
3864
|
+
|
|
3862
3865
|
/** listaccounts ( minconf include_watchonly)
|
|
3863
3866
|
|
|
3864
3867
|
DEPRECATED. Returns Object that has account names as keys, account balances as values.
|
|
@@ -3887,12 +3890,12 @@ List account balances for 6 or more confirmations
|
|
|
3887
3890
|
As json rpc call
|
|
3888
3891
|
> 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/
|
|
3889
3892
|
**/
|
|
3890
|
-
listaccounts:'listaccounts',
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3893
|
+
listaccounts:'listaccounts',
|
|
3894
|
+
|
|
3895
|
+
|
|
3896
|
+
|
|
3897
|
+
|
|
3898
|
+
|
|
3896
3899
|
/** listaddressesbyasset "asset_name" (onlytotal) (count) (start)
|
|
3897
3900
|
|
|
3898
3901
|
Returns a list of all address that own the given asset (with balances)
|
|
@@ -3913,12 +3916,12 @@ Examples:
|
|
|
3913
3916
|
> neurai-cli listaddressesbyasset "ASSET_NAME" true
|
|
3914
3917
|
> neurai-cli listaddressesbyasset "ASSET_NAME"
|
|
3915
3918
|
**/
|
|
3916
|
-
listaddressesbyasset:'listaddressesbyasset',
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3919
|
+
listaddressesbyasset:'listaddressesbyasset',
|
|
3920
|
+
|
|
3921
|
+
|
|
3922
|
+
|
|
3923
|
+
|
|
3924
|
+
|
|
3922
3925
|
/** listaddressesfortag tag_name
|
|
3923
3926
|
|
|
3924
3927
|
List all addresses that have been assigned a given tag
|
|
@@ -3935,12 +3938,12 @@ Examples:
|
|
|
3935
3938
|
> neurai-cli listaddressesfortag "#TAG"
|
|
3936
3939
|
> 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/
|
|
3937
3940
|
**/
|
|
3938
|
-
listaddressesfortag:'listaddressesfortag',
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3941
|
+
listaddressesfortag:'listaddressesfortag',
|
|
3942
|
+
|
|
3943
|
+
|
|
3944
|
+
|
|
3945
|
+
|
|
3946
|
+
|
|
3944
3947
|
/** listaddressgroupings
|
|
3945
3948
|
|
|
3946
3949
|
Lists groups of addresses which have had their common ownership
|
|
@@ -3964,12 +3967,12 @@ Examples:
|
|
|
3964
3967
|
> neurai-cli listaddressgroupings
|
|
3965
3968
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressgroupings", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3966
3969
|
**/
|
|
3967
|
-
listaddressgroupings:'listaddressgroupings',
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3970
|
+
listaddressgroupings:'listaddressgroupings',
|
|
3971
|
+
|
|
3972
|
+
|
|
3973
|
+
|
|
3974
|
+
|
|
3975
|
+
|
|
3973
3976
|
/** listaddressrestrictions address
|
|
3974
3977
|
|
|
3975
3978
|
List all assets that have frozen this address
|
|
@@ -3986,12 +3989,12 @@ Examples:
|
|
|
3986
3989
|
> neurai-cli listaddressrestrictions "address"
|
|
3987
3990
|
> 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/
|
|
3988
3991
|
**/
|
|
3989
|
-
listaddressrestrictions:'listaddressrestrictions',
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3992
|
+
listaddressrestrictions:'listaddressrestrictions',
|
|
3993
|
+
|
|
3994
|
+
|
|
3995
|
+
|
|
3996
|
+
|
|
3997
|
+
|
|
3995
3998
|
/** listassetbalancesbyaddress "address" (onlytotal) (count) (start)
|
|
3996
3999
|
|
|
3997
4000
|
Returns a list of all asset balances for an address.
|
|
@@ -4013,12 +4016,12 @@ Examples:
|
|
|
4013
4016
|
> neurai-cli listassetbalancesbyaddress "myaddress" true
|
|
4014
4017
|
> neurai-cli listassetbalancesbyaddress "myaddress"
|
|
4015
4018
|
**/
|
|
4016
|
-
listassetbalancesbyaddress:'listassetbalancesbyaddress',
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4019
|
+
listassetbalancesbyaddress:'listassetbalancesbyaddress',
|
|
4020
|
+
|
|
4021
|
+
|
|
4022
|
+
|
|
4023
|
+
|
|
4024
|
+
|
|
4022
4025
|
/** listassets "( asset )" ( verbose ) ( count ) ( start )
|
|
4023
4026
|
|
|
4024
4027
|
Returns a list of all assets
|
|
@@ -4056,12 +4059,12 @@ Examples:
|
|
|
4056
4059
|
> neurai-cli listassets ASSET
|
|
4057
4060
|
> neurai-cli listassets "ASSET*" true 10 20
|
|
4058
4061
|
**/
|
|
4059
|
-
listassets:'listassets',
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4062
|
+
listassets:'listassets',
|
|
4063
|
+
|
|
4064
|
+
|
|
4065
|
+
|
|
4066
|
+
|
|
4067
|
+
|
|
4065
4068
|
/** listbanned
|
|
4066
4069
|
|
|
4067
4070
|
List all banned IPs/Subnets.
|
|
@@ -4070,26 +4073,55 @@ Examples:
|
|
|
4070
4073
|
> neurai-cli listbanned
|
|
4071
4074
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4072
4075
|
**/
|
|
4073
|
-
listbanned:'listbanned',
|
|
4074
|
-
|
|
4076
|
+
listbanned:'listbanned',
|
|
4077
|
+
|
|
4078
|
+
|
|
4079
|
+
|
|
4080
|
+
|
|
4081
|
+
|
|
4082
|
+
/** listdepinaddresses "asset_name" (count) (start)
|
|
4075
4083
|
|
|
4084
|
+
Returns a list of addresses that own the given asset and have a revealed public key on-chain.
|
|
4085
|
+
Useful for DePIN messaging recipient discovery. Requires -assetindex and -pubkeyindex.
|
|
4076
4086
|
|
|
4087
|
+
Arguments:
|
|
4088
|
+
1. "asset_name" (string, required) name of asset
|
|
4089
|
+
2. "count" (integer, optional, default=50000, MAX=50000) truncates results to include only the first _count_ addresses found
|
|
4090
|
+
3. "start" (integer, optional, default=0) results skip over the first _start_ addresses found (if negative it skips back from the end)
|
|
4077
4091
|
|
|
4092
|
+
Result:
|
|
4093
|
+
[
|
|
4094
|
+
{
|
|
4095
|
+
"address": "address", (string) The address
|
|
4096
|
+
"pubkey": "pubkey_hex" (string) The revealed public key in hex
|
|
4097
|
+
},
|
|
4098
|
+
...
|
|
4099
|
+
]
|
|
4078
4100
|
|
|
4101
|
+
Examples:
|
|
4102
|
+
> neurai-cli listdepinaddresses "&FRANCE"
|
|
4103
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listdepinaddresses", "params": ["&FRANCE"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4104
|
+
**/
|
|
4105
|
+
listdepinaddresses:'listdepinaddresses',
|
|
4106
|
+
|
|
4107
|
+
|
|
4108
|
+
|
|
4109
|
+
|
|
4110
|
+
|
|
4079
4111
|
/** listdepinholders "asset_name"
|
|
4080
4112
|
|
|
4081
|
-
Returns all addresses holding a
|
|
4113
|
+
Returns all addresses holding a dedicated DePIN asset with validity status
|
|
4082
4114
|
|
|
4083
|
-
|
|
4115
|
+
Dedicated DePIN assets are soulbound and can be frozen/revoked. They currently use the '&' prefix.
|
|
4084
4116
|
|
|
4085
4117
|
Arguments:
|
|
4086
|
-
1. "asset_name" (string, required) The
|
|
4118
|
+
1. "asset_name" (string, required) The DePIN asset name
|
|
4087
4119
|
|
|
4088
4120
|
Result:
|
|
4089
4121
|
[
|
|
4090
4122
|
{
|
|
4091
4123
|
"address": "address", (string) The address
|
|
4092
|
-
"amount": n, (numeric) The amount
|
|
4124
|
+
"amount": n, (numeric) The amount held
|
|
4093
4125
|
"valid": 1|0 (numeric) 1 = active/valid, 0 = blocked/revoked
|
|
4094
4126
|
},
|
|
4095
4127
|
...
|
|
@@ -4099,12 +4131,12 @@ Examples:
|
|
|
4099
4131
|
> neurai-cli listdepinholders "&FRANCE"
|
|
4100
4132
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listdepinholders", "params": ["&FRANCE"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4101
4133
|
**/
|
|
4102
|
-
listdepinholders:'listdepinholders',
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4134
|
+
listdepinholders:'listdepinholders',
|
|
4135
|
+
|
|
4136
|
+
|
|
4137
|
+
|
|
4138
|
+
|
|
4139
|
+
|
|
4108
4140
|
/** listglobalrestrictions
|
|
4109
4141
|
|
|
4110
4142
|
List all global restricted assets
|
|
@@ -4118,12 +4150,12 @@ Examples:
|
|
|
4118
4150
|
> neurai-cli listglobalrestrictions
|
|
4119
4151
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listglobalrestrictions", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4120
4152
|
**/
|
|
4121
|
-
listglobalrestrictions:'listglobalrestrictions',
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4153
|
+
listglobalrestrictions:'listglobalrestrictions',
|
|
4154
|
+
|
|
4155
|
+
|
|
4156
|
+
|
|
4157
|
+
|
|
4158
|
+
|
|
4127
4159
|
/** listlockunspent
|
|
4128
4160
|
|
|
4129
4161
|
Returns list of temporarily unspendable outputs.
|
|
@@ -4155,12 +4187,12 @@ Unlock the transaction again
|
|
|
4155
4187
|
As a json rpc call
|
|
4156
4188
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listlockunspent", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4157
4189
|
**/
|
|
4158
|
-
listlockunspent:'listlockunspent',
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4190
|
+
listlockunspent:'listlockunspent',
|
|
4191
|
+
|
|
4192
|
+
|
|
4193
|
+
|
|
4194
|
+
|
|
4195
|
+
|
|
4164
4196
|
/** listmyassets "( asset )" ( verbose ) ( count ) ( start ) (confs)
|
|
4165
4197
|
|
|
4166
4198
|
Returns a list of all asset that are owned by this wallet
|
|
@@ -4202,12 +4234,32 @@ Examples:
|
|
|
4202
4234
|
> neurai-cli listmyassets "ASSET*" true 10 20
|
|
4203
4235
|
> neurai-cli listmyassets "ASSET*" true 10 20 1
|
|
4204
4236
|
**/
|
|
4205
|
-
listmyassets:'listmyassets',
|
|
4206
|
-
|
|
4207
|
-
|
|
4237
|
+
listmyassets:'listmyassets',
|
|
4238
|
+
|
|
4239
|
+
|
|
4240
|
+
|
|
4241
|
+
|
|
4242
|
+
|
|
4243
|
+
/** listpqaddresses
|
|
4208
4244
|
|
|
4245
|
+
Returns post-quantum (ML-DSA-44) Bech32m addresses in the wallet.
|
|
4209
4246
|
|
|
4247
|
+
Result:
|
|
4248
|
+
[
|
|
4249
|
+
"nq1...", (string) A post-quantum wallet address
|
|
4250
|
+
...
|
|
4251
|
+
]
|
|
4210
4252
|
|
|
4253
|
+
Examples:
|
|
4254
|
+
> neurai-cli listpqaddresses
|
|
4255
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listpqaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4256
|
+
**/
|
|
4257
|
+
listpqaddresses:'listpqaddresses',
|
|
4258
|
+
|
|
4259
|
+
|
|
4260
|
+
|
|
4261
|
+
|
|
4262
|
+
|
|
4211
4263
|
/** listreceivedbyaccount ( minconf include_empty include_watchonly)
|
|
4212
4264
|
|
|
4213
4265
|
DEPRECATED. List balances by account.
|
|
@@ -4234,12 +4286,12 @@ Examples:
|
|
|
4234
4286
|
> neurai-cli listreceivedbyaccount 6 true
|
|
4235
4287
|
> 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/
|
|
4236
4288
|
**/
|
|
4237
|
-
listreceivedbyaccount:'listreceivedbyaccount',
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4289
|
+
listreceivedbyaccount:'listreceivedbyaccount',
|
|
4290
|
+
|
|
4291
|
+
|
|
4292
|
+
|
|
4293
|
+
|
|
4294
|
+
|
|
4243
4295
|
/** listreceivedbyaddress ( minconf include_empty include_watchonly)
|
|
4244
4296
|
|
|
4245
4297
|
List balances by receiving address.
|
|
@@ -4271,12 +4323,12 @@ Examples:
|
|
|
4271
4323
|
> neurai-cli listreceivedbyaddress 6 true
|
|
4272
4324
|
> 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/
|
|
4273
4325
|
**/
|
|
4274
|
-
listreceivedbyaddress:'listreceivedbyaddress',
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4326
|
+
listreceivedbyaddress:'listreceivedbyaddress',
|
|
4327
|
+
|
|
4328
|
+
|
|
4329
|
+
|
|
4330
|
+
|
|
4331
|
+
|
|
4280
4332
|
/** listsinceblock ( "blockhash" target_confirmations include_watchonly include_removed )
|
|
4281
4333
|
|
|
4282
4334
|
Get all transactions in blocks since block [blockhash], or all transactions if omitted.
|
|
@@ -4327,12 +4379,12 @@ Examples:
|
|
|
4327
4379
|
> neurai-cli listsinceblock "000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad" 6
|
|
4328
4380
|
> 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/
|
|
4329
4381
|
**/
|
|
4330
|
-
listsinceblock:'listsinceblock',
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4382
|
+
listsinceblock:'listsinceblock',
|
|
4383
|
+
|
|
4384
|
+
|
|
4385
|
+
|
|
4386
|
+
|
|
4387
|
+
|
|
4336
4388
|
/** listsnapshotrequests ["asset_name" [block_height]]
|
|
4337
4389
|
|
|
4338
4390
|
List snapshot request details.
|
|
@@ -4353,12 +4405,12 @@ Examples:
|
|
|
4353
4405
|
> neurai-cli listsnapshotrequests
|
|
4354
4406
|
> 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/
|
|
4355
4407
|
**/
|
|
4356
|
-
listsnapshotrequests:'listsnapshotrequests',
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4408
|
+
listsnapshotrequests:'listsnapshotrequests',
|
|
4409
|
+
|
|
4410
|
+
|
|
4411
|
+
|
|
4412
|
+
|
|
4413
|
+
|
|
4362
4414
|
/** listtagsforaddress address
|
|
4363
4415
|
|
|
4364
4416
|
List all tags assigned to an address
|
|
@@ -4375,12 +4427,12 @@ Examples:
|
|
|
4375
4427
|
> neurai-cli listtagsforaddress "address"
|
|
4376
4428
|
> 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/
|
|
4377
4429
|
**/
|
|
4378
|
-
listtagsforaddress:'listtagsforaddress',
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4430
|
+
listtagsforaddress:'listtagsforaddress',
|
|
4431
|
+
|
|
4432
|
+
|
|
4433
|
+
|
|
4434
|
+
|
|
4435
|
+
|
|
4384
4436
|
/** listtransactions ( "account" count skip include_watchonly)
|
|
4385
4437
|
|
|
4386
4438
|
Returns up to 'count' most recent transactions skipping the first 'from' transactions for account 'account'.
|
|
@@ -4444,12 +4496,12 @@ List transactions 100 to 120
|
|
|
4444
4496
|
As a json rpc call
|
|
4445
4497
|
> 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/
|
|
4446
4498
|
**/
|
|
4447
|
-
listtransactions:'listtransactions',
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4499
|
+
listtransactions:'listtransactions',
|
|
4500
|
+
|
|
4501
|
+
|
|
4502
|
+
|
|
4503
|
+
|
|
4504
|
+
|
|
4453
4505
|
/** listunspent ( minconf maxconf ["addresses",...] [include_unsafe] [query_options])
|
|
4454
4506
|
|
|
4455
4507
|
Returns array of unspent transaction outputs
|
|
@@ -4501,12 +4553,12 @@ Examples
|
|
|
4501
4553
|
> neurai-cli listunspent 6 9999999 '[]' true '{ "minimumAmount": 0.005 }'
|
|
4502
4554
|
> 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/
|
|
4503
4555
|
**/
|
|
4504
|
-
listunspent:'listunspent',
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4556
|
+
listunspent:'listunspent',
|
|
4557
|
+
|
|
4558
|
+
|
|
4559
|
+
|
|
4560
|
+
|
|
4561
|
+
|
|
4510
4562
|
/** listwallets
|
|
4511
4563
|
Returns a list of currently loaded wallets.
|
|
4512
4564
|
For full information on the wallet, use "getwalletinfo"
|
|
@@ -4521,12 +4573,12 @@ Examples:
|
|
|
4521
4573
|
> neurai-cli listwallets
|
|
4522
4574
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listwallets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4523
4575
|
**/
|
|
4524
|
-
listwallets:'listwallets',
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4576
|
+
listwallets:'listwallets',
|
|
4577
|
+
|
|
4578
|
+
|
|
4579
|
+
|
|
4580
|
+
|
|
4581
|
+
|
|
4530
4582
|
/** lockunspent unlock ([{"txid":"txid","vout":n},...])
|
|
4531
4583
|
|
|
4532
4584
|
Updates list of temporarily unspendable outputs.
|
|
@@ -4568,12 +4620,12 @@ Unlock the transaction again
|
|
|
4568
4620
|
As a json rpc call
|
|
4569
4621
|
> 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/
|
|
4570
4622
|
**/
|
|
4571
|
-
lockunspent:'lockunspent',
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4623
|
+
lockunspent:'lockunspent',
|
|
4624
|
+
|
|
4625
|
+
|
|
4626
|
+
|
|
4627
|
+
|
|
4628
|
+
|
|
4577
4629
|
/** move "fromaccount" "toaccount" amount ( minconf "comment" )
|
|
4578
4630
|
|
|
4579
4631
|
DEPRECATED. Move a specified amount from one account in your wallet to another.
|
|
@@ -4599,12 +4651,12 @@ Move 0.01 XNA timotei to akiko with a comment and funds have 6 confirmations
|
|
|
4599
4651
|
As a json rpc call
|
|
4600
4652
|
> 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/
|
|
4601
4653
|
**/
|
|
4602
|
-
move:'move',
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4654
|
+
move:'move',
|
|
4655
|
+
|
|
4656
|
+
|
|
4657
|
+
|
|
4658
|
+
|
|
4659
|
+
|
|
4608
4660
|
/** ping
|
|
4609
4661
|
|
|
4610
4662
|
Requests that a ping be sent to all other nodes, to measure ping time.
|
|
@@ -4615,12 +4667,12 @@ Examples:
|
|
|
4615
4667
|
> neurai-cli ping
|
|
4616
4668
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "ping", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4617
4669
|
**/
|
|
4618
|
-
ping:'ping',
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4670
|
+
ping:'ping',
|
|
4671
|
+
|
|
4672
|
+
|
|
4673
|
+
|
|
4674
|
+
|
|
4675
|
+
|
|
4624
4676
|
/** pprpcsb "header_hash" "mix_hash" "nonce"
|
|
4625
4677
|
|
|
4626
4678
|
Attempts to submit new block to network mined by kawpow gpu miner via rpc.
|
|
@@ -4636,12 +4688,12 @@ Examples:
|
|
|
4636
4688
|
> neurai-cli pprpcsb "header_hash" "mix_hash" 100000
|
|
4637
4689
|
> 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/
|
|
4638
4690
|
**/
|
|
4639
|
-
pprpcsb:'pprpcsb',
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4691
|
+
pprpcsb:'pprpcsb',
|
|
4692
|
+
|
|
4693
|
+
|
|
4694
|
+
|
|
4695
|
+
|
|
4696
|
+
|
|
4645
4697
|
/** preciousblock "blockhash"
|
|
4646
4698
|
|
|
4647
4699
|
Treats a block as if it were received before others with the same work.
|
|
@@ -4659,12 +4711,12 @@ Examples:
|
|
|
4659
4711
|
> neurai-cli preciousblock "blockhash"
|
|
4660
4712
|
> 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/
|
|
4661
4713
|
**/
|
|
4662
|
-
preciousblock:'preciousblock',
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4714
|
+
preciousblock:'preciousblock',
|
|
4715
|
+
|
|
4716
|
+
|
|
4717
|
+
|
|
4718
|
+
|
|
4719
|
+
|
|
4668
4720
|
/** prioritisetransaction <txid> <dummy value> <fee delta>
|
|
4669
4721
|
Accepts the transaction into mined blocks at a higher (or lower) priority
|
|
4670
4722
|
|
|
@@ -4683,12 +4735,12 @@ Examples:
|
|
|
4683
4735
|
> neurai-cli prioritisetransaction "txid" 0.0 10000
|
|
4684
4736
|
> 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/
|
|
4685
4737
|
**/
|
|
4686
|
-
prioritisetransaction:'prioritisetransaction',
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4738
|
+
prioritisetransaction:'prioritisetransaction',
|
|
4739
|
+
|
|
4740
|
+
|
|
4741
|
+
|
|
4742
|
+
|
|
4743
|
+
|
|
4692
4744
|
/** pruneblockchain
|
|
4693
4745
|
|
|
4694
4746
|
Arguments:
|
|
@@ -4702,12 +4754,12 @@ Examples:
|
|
|
4702
4754
|
> neurai-cli pruneblockchain 1000
|
|
4703
4755
|
> 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/
|
|
4704
4756
|
**/
|
|
4705
|
-
pruneblockchain:'pruneblockchain',
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4757
|
+
pruneblockchain:'pruneblockchain',
|
|
4758
|
+
|
|
4759
|
+
|
|
4760
|
+
|
|
4761
|
+
|
|
4762
|
+
|
|
4711
4763
|
/** purgesnapshot "asset_name" block_height
|
|
4712
4764
|
|
|
4713
4765
|
Removes details for the asset snapshot, at the specified height
|
|
@@ -4726,17 +4778,18 @@ Examples:
|
|
|
4726
4778
|
> neurai-cli purgesnapshot "ASSET_NAME" 28546
|
|
4727
4779
|
> 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/
|
|
4728
4780
|
**/
|
|
4729
|
-
purgesnapshot:'purgesnapshot',
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4781
|
+
purgesnapshot:'purgesnapshot',
|
|
4782
|
+
|
|
4783
|
+
|
|
4784
|
+
|
|
4785
|
+
|
|
4786
|
+
|
|
4735
4787
|
/** reissue "asset_name" qty "to_address" "change_address" ( reissuable ) ( new_units) "( new_ipfs )"
|
|
4736
4788
|
|
|
4737
4789
|
Reissues a quantity of an asset to an owned address if you own the Owner Token
|
|
4738
4790
|
Can change the reissuable flag during reissuance
|
|
4739
4791
|
Can change the ipfs hash during reissuance
|
|
4792
|
+
For dedicated DePIN assets (name starts with '&'), qty must stay positive and units must remain 0.
|
|
4740
4793
|
Arguments:
|
|
4741
4794
|
1. "asset_name" (string, required) name of asset that is being reissued
|
|
4742
4795
|
2. "qty" (numeric, required) number of assets to reissue
|
|
@@ -4753,12 +4806,12 @@ Examples:
|
|
|
4753
4806
|
> neurai-cli reissue "ASSET_NAME" 20 "address"
|
|
4754
4807
|
> 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/
|
|
4755
4808
|
**/
|
|
4756
|
-
reissue:'reissue',
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4809
|
+
reissue:'reissue',
|
|
4810
|
+
|
|
4811
|
+
|
|
4812
|
+
|
|
4813
|
+
|
|
4814
|
+
|
|
4762
4815
|
/** reissuerestrictedasset "asset_name" qty to_address ( change_verifier ) ( "new_verifier" ) "( change_address )" ( new_units ) ( reissuable ) "( new_ipfs )"
|
|
4763
4816
|
|
|
4764
4817
|
Reissue an already created restricted asset
|
|
@@ -4785,12 +4838,12 @@ Examples:
|
|
|
4785
4838
|
> neurai-cli reissuerestrictedasset "$ASSET_NAME" 1000 "myaddress" true "KYC & !AML" "changeaddress" -1 true
|
|
4786
4839
|
> neurai-cli reissuerestrictedasset "$ASSET_NAME" 1000 "myaddress" false "" "changeaddress" -1 false QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E
|
|
4787
4840
|
**/
|
|
4788
|
-
reissuerestrictedasset:'reissuerestrictedasset',
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4841
|
+
reissuerestrictedasset:'reissuerestrictedasset',
|
|
4842
|
+
|
|
4843
|
+
|
|
4844
|
+
|
|
4845
|
+
|
|
4846
|
+
|
|
4794
4847
|
/** removeprunedfunds "txid"
|
|
4795
4848
|
|
|
4796
4849
|
Deletes the specified transaction from the wallet. Meant for use with pruned wallets and as a companion to importprunedfunds. This will affect wallet balances.
|
|
@@ -4804,12 +4857,12 @@ Examples:
|
|
|
4804
4857
|
As a JSON-RPC call
|
|
4805
4858
|
> 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/
|
|
4806
4859
|
**/
|
|
4807
|
-
removeprunedfunds:'removeprunedfunds',
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4860
|
+
removeprunedfunds:'removeprunedfunds',
|
|
4861
|
+
|
|
4862
|
+
|
|
4863
|
+
|
|
4864
|
+
|
|
4865
|
+
|
|
4813
4866
|
/** removetagfromaddress tag_name to_address (change_address) (asset_data)
|
|
4814
4867
|
|
|
4815
4868
|
Remove a tag from a address
|
|
@@ -4829,12 +4882,12 @@ Examples:
|
|
|
4829
4882
|
> neurai-cli removetagfromaddress "#TAG" "to_address" "change_address"
|
|
4830
4883
|
> 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/
|
|
4831
4884
|
**/
|
|
4832
|
-
removetagfromaddress:'removetagfromaddress',
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4885
|
+
removetagfromaddress:'removetagfromaddress',
|
|
4886
|
+
|
|
4887
|
+
|
|
4888
|
+
|
|
4889
|
+
|
|
4890
|
+
|
|
4838
4891
|
/** requestsnapshot "asset_name" block_height
|
|
4839
4892
|
|
|
4840
4893
|
Schedules a snapshot of the specified asset at the specified block height.
|
|
@@ -4852,12 +4905,12 @@ Examples:
|
|
|
4852
4905
|
> neurai-cli requestsnapshot "TRONCO" 12345
|
|
4853
4906
|
> 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/
|
|
4854
4907
|
**/
|
|
4855
|
-
requestsnapshot:'requestsnapshot',
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4908
|
+
requestsnapshot:'requestsnapshot',
|
|
4909
|
+
|
|
4910
|
+
|
|
4911
|
+
|
|
4912
|
+
|
|
4913
|
+
|
|
4861
4914
|
/** rescanblockchain ("start_height") ("stop_height")
|
|
4862
4915
|
|
|
4863
4916
|
Rescan the local blockchain for wallet related transactions.
|
|
@@ -4876,12 +4929,12 @@ Examples:
|
|
|
4876
4929
|
> neurai-cli rescanblockchain 100000 120000
|
|
4877
4930
|
> 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/
|
|
4878
4931
|
**/
|
|
4879
|
-
rescanblockchain:'rescanblockchain',
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4932
|
+
rescanblockchain:'rescanblockchain',
|
|
4933
|
+
|
|
4934
|
+
|
|
4935
|
+
|
|
4936
|
+
|
|
4937
|
+
|
|
4885
4938
|
/** savemempool
|
|
4886
4939
|
|
|
4887
4940
|
Dumps the mempool to disk.
|
|
@@ -4890,22 +4943,22 @@ Examples:
|
|
|
4890
4943
|
> neurai-cli savemempool
|
|
4891
4944
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "savemempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4892
4945
|
**/
|
|
4893
|
-
savemempool:'savemempool',
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4946
|
+
savemempool:'savemempool',
|
|
4947
|
+
|
|
4948
|
+
|
|
4949
|
+
|
|
4950
|
+
|
|
4951
|
+
|
|
4899
4952
|
/** selfrevokedepin "asset_name"
|
|
4900
4953
|
|
|
4901
|
-
Self-revoke a
|
|
4954
|
+
Self-revoke a dedicated DePIN asset held in this wallet
|
|
4902
4955
|
|
|
4903
4956
|
The asset will be marked as invalid but will remain in the address
|
|
4904
4957
|
|
|
4905
4958
|
This action can only be undone by the asset owner
|
|
4906
4959
|
|
|
4907
4960
|
Arguments:
|
|
4908
|
-
1. "asset_name" (string, required) The
|
|
4961
|
+
1. "asset_name" (string, required) The DePIN asset name
|
|
4909
4962
|
|
|
4910
4963
|
Result:
|
|
4911
4964
|
"txid" (string) The transaction id
|
|
@@ -4914,12 +4967,12 @@ Examples:
|
|
|
4914
4967
|
> neurai-cli selfrevokedepin "&FRANCE"
|
|
4915
4968
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "selfrevokedepin", "params": ["&FRANCE"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4916
4969
|
**/
|
|
4917
|
-
selfrevokedepin:'selfrevokedepin',
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4970
|
+
selfrevokedepin:'selfrevokedepin',
|
|
4971
|
+
|
|
4972
|
+
|
|
4973
|
+
|
|
4974
|
+
|
|
4975
|
+
|
|
4923
4976
|
/** sendfrom "fromaccount" "toaddress" amount ( minconf "comment" "comment_to" )
|
|
4924
4977
|
|
|
4925
4978
|
DEPRECATED (use sendtoaddress). Sent an amount from an account to a neurai address.
|
|
@@ -4952,12 +5005,12 @@ Send 0.01 from the tabby account to the given address, funds must have at least
|
|
|
4952
5005
|
As a json rpc call
|
|
4953
5006
|
> 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/
|
|
4954
5007
|
**/
|
|
4955
|
-
sendfrom:'sendfrom',
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
5008
|
+
sendfrom:'sendfrom',
|
|
5009
|
+
|
|
5010
|
+
|
|
5011
|
+
|
|
5012
|
+
|
|
5013
|
+
|
|
4961
5014
|
/** sendfromaddress "from_address" "to_address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
|
|
4962
5015
|
|
|
4963
5016
|
Send an amount from a specific address to a given address. All xna change will get sent back to the from_address
|
|
@@ -4988,12 +5041,12 @@ Examples:
|
|
|
4988
5041
|
> neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "" "" true
|
|
4989
5042
|
> 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/
|
|
4990
5043
|
**/
|
|
4991
|
-
sendfromaddress:'sendfromaddress',
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
5044
|
+
sendfromaddress:'sendfromaddress',
|
|
5045
|
+
|
|
5046
|
+
|
|
5047
|
+
|
|
5048
|
+
|
|
5049
|
+
|
|
4997
5050
|
/** sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] replaceable conf_target "estimate_mode")
|
|
4998
5051
|
|
|
4999
5052
|
Send multiple times. Amounts are double-precision floating point numbers.
|
|
@@ -5039,12 +5092,12 @@ Send two amounts to two different addresses, subtract fee from amount:
|
|
|
5039
5092
|
As a json rpc call
|
|
5040
5093
|
> 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/
|
|
5041
5094
|
**/
|
|
5042
|
-
sendmany:'sendmany',
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5095
|
+
sendmany:'sendmany',
|
|
5096
|
+
|
|
5097
|
+
|
|
5098
|
+
|
|
5099
|
+
|
|
5100
|
+
|
|
5048
5101
|
/** sendmessage "channel_name" "ipfs_hash" (expire_time)
|
|
5049
5102
|
|
|
5050
5103
|
Creates and broadcasts a message transaction to the network for a channel this wallet owns
|
|
@@ -5061,12 +5114,12 @@ Examples:
|
|
|
5061
5114
|
> neurai-cli sendmessage "ASSET_NAME!" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
|
|
5062
5115
|
> neurai-cli sendmessage "ASSET_NAME!" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
|
|
5063
5116
|
**/
|
|
5064
|
-
sendmessage:'sendmessage',
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5117
|
+
sendmessage:'sendmessage',
|
|
5118
|
+
|
|
5119
|
+
|
|
5120
|
+
|
|
5121
|
+
|
|
5122
|
+
|
|
5070
5123
|
/** sendrawtransaction "hexstring" ( allowhighfees )
|
|
5071
5124
|
|
|
5072
5125
|
Submits raw transaction (serialized, hex-encoded) to local node and network.
|
|
@@ -5093,12 +5146,12 @@ Send the transaction (signed hex)
|
|
|
5093
5146
|
As a json rpc call
|
|
5094
5147
|
> 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/
|
|
5095
5148
|
**/
|
|
5096
|
-
sendrawtransaction:'sendrawtransaction',
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5149
|
+
sendrawtransaction:'sendrawtransaction',
|
|
5150
|
+
|
|
5151
|
+
|
|
5152
|
+
|
|
5153
|
+
|
|
5154
|
+
|
|
5102
5155
|
/** sendtoaddress "address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
|
|
5103
5156
|
|
|
5104
5157
|
Send an amount to a given address.
|
|
@@ -5128,12 +5181,12 @@ Examples:
|
|
|
5128
5181
|
> neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "" "" true
|
|
5129
5182
|
> 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/
|
|
5130
5183
|
**/
|
|
5131
|
-
sendtoaddress:'sendtoaddress',
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5184
|
+
sendtoaddress:'sendtoaddress',
|
|
5185
|
+
|
|
5186
|
+
|
|
5187
|
+
|
|
5188
|
+
|
|
5189
|
+
|
|
5137
5190
|
/** setaccount "address" "account"
|
|
5138
5191
|
|
|
5139
5192
|
DEPRECATED. Sets the account associated with the given address.
|
|
@@ -5146,12 +5199,12 @@ Examples:
|
|
|
5146
5199
|
> neurai-cli setaccount "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "tabby"
|
|
5147
5200
|
> 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/
|
|
5148
5201
|
**/
|
|
5149
|
-
setaccount:'setaccount',
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5202
|
+
setaccount:'setaccount',
|
|
5203
|
+
|
|
5204
|
+
|
|
5205
|
+
|
|
5206
|
+
|
|
5207
|
+
|
|
5155
5208
|
/** setban "subnet" "add|remove" (bantime) (absolute)
|
|
5156
5209
|
|
|
5157
5210
|
Attempts to add or remove an IP/Subnet from the banned list.
|
|
@@ -5167,12 +5220,12 @@ Examples:
|
|
|
5167
5220
|
> neurai-cli setban "192.168.0.0/24" "add"
|
|
5168
5221
|
> 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/
|
|
5169
5222
|
**/
|
|
5170
|
-
setban:'setban',
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5223
|
+
setban:'setban',
|
|
5224
|
+
|
|
5225
|
+
|
|
5226
|
+
|
|
5227
|
+
|
|
5228
|
+
|
|
5176
5229
|
/** setgenerate generate ( genproclimit )
|
|
5177
5230
|
|
|
5178
5231
|
Set 'generate' true or false to turn generation on or off.
|
|
@@ -5197,12 +5250,12 @@ Turn off generation
|
|
|
5197
5250
|
Using json rpc
|
|
5198
5251
|
> 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/
|
|
5199
5252
|
**/
|
|
5200
|
-
setgenerate:'setgenerate',
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5253
|
+
setgenerate:'setgenerate',
|
|
5254
|
+
|
|
5255
|
+
|
|
5256
|
+
|
|
5257
|
+
|
|
5258
|
+
|
|
5206
5259
|
/** setnetworkactive true|false
|
|
5207
5260
|
|
|
5208
5261
|
Disable/enable all p2p network activity.
|
|
@@ -5210,12 +5263,12 @@ Disable/enable all p2p network activity.
|
|
|
5210
5263
|
Arguments:
|
|
5211
5264
|
1. "state" (boolean, required) true to enable networking, false to disable
|
|
5212
5265
|
**/
|
|
5213
|
-
setnetworkactive:'setnetworkactive',
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5266
|
+
setnetworkactive:'setnetworkactive',
|
|
5267
|
+
|
|
5268
|
+
|
|
5269
|
+
|
|
5270
|
+
|
|
5271
|
+
|
|
5219
5272
|
/** settxfee amount
|
|
5220
5273
|
|
|
5221
5274
|
Set the transaction fee per kB. Overwrites the paytxfee parameter.
|
|
@@ -5230,12 +5283,12 @@ Examples:
|
|
|
5230
5283
|
> neurai-cli settxfee 0.00001
|
|
5231
5284
|
> 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/
|
|
5232
5285
|
**/
|
|
5233
|
-
settxfee:'settxfee',
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5286
|
+
settxfee:'settxfee',
|
|
5287
|
+
|
|
5288
|
+
|
|
5289
|
+
|
|
5290
|
+
|
|
5291
|
+
|
|
5239
5292
|
/** signmessage "address" "message"
|
|
5240
5293
|
|
|
5241
5294
|
Sign a message with the private key of an address
|
|
@@ -5261,12 +5314,12 @@ Verify the signature
|
|
|
5261
5314
|
As json rpc
|
|
5262
5315
|
> 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/
|
|
5263
5316
|
**/
|
|
5264
|
-
signmessage:'signmessage',
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5317
|
+
signmessage:'signmessage',
|
|
5318
|
+
|
|
5319
|
+
|
|
5320
|
+
|
|
5321
|
+
|
|
5322
|
+
|
|
5270
5323
|
/** signmessagewithprivkey "privkey" "message"
|
|
5271
5324
|
|
|
5272
5325
|
Sign a message with the private key of an address
|
|
@@ -5289,12 +5342,12 @@ Verify the signature
|
|
|
5289
5342
|
As json rpc
|
|
5290
5343
|
> 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/
|
|
5291
5344
|
**/
|
|
5292
|
-
signmessagewithprivkey:'signmessagewithprivkey',
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5345
|
+
signmessagewithprivkey:'signmessagewithprivkey',
|
|
5346
|
+
|
|
5347
|
+
|
|
5348
|
+
|
|
5349
|
+
|
|
5350
|
+
|
|
5298
5351
|
/** signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )
|
|
5299
5352
|
|
|
5300
5353
|
Sign inputs for raw transaction (serialized, hex-encoded).
|
|
@@ -5350,21 +5403,21 @@ Examples:
|
|
|
5350
5403
|
> neurai-cli signrawtransaction "myhex"
|
|
5351
5404
|
> 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/
|
|
5352
5405
|
**/
|
|
5353
|
-
signrawtransaction:'signrawtransaction',
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
|
|
5406
|
+
signrawtransaction:'signrawtransaction',
|
|
5407
|
+
|
|
5408
|
+
|
|
5409
|
+
|
|
5410
|
+
|
|
5411
|
+
|
|
5359
5412
|
/** stop
|
|
5360
5413
|
|
|
5361
5414
|
Stop Neurai server.**/
|
|
5362
|
-
stop:'stop',
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5415
|
+
stop:'stop',
|
|
5416
|
+
|
|
5417
|
+
|
|
5418
|
+
|
|
5419
|
+
|
|
5420
|
+
|
|
5368
5421
|
/** submitblock "hexdata" ( "dummy" )
|
|
5369
5422
|
|
|
5370
5423
|
Attempts to submit new block to network.
|
|
@@ -5380,12 +5433,12 @@ Examples:
|
|
|
5380
5433
|
> neurai-cli submitblock "mydata"
|
|
5381
5434
|
> 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/
|
|
5382
5435
|
**/
|
|
5383
|
-
submitblock:'submitblock',
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5436
|
+
submitblock:'submitblock',
|
|
5437
|
+
|
|
5438
|
+
|
|
5439
|
+
|
|
5440
|
+
|
|
5441
|
+
|
|
5389
5442
|
/** subscribetochannel
|
|
5390
5443
|
|
|
5391
5444
|
Subscribe to a certain message channel
|
|
@@ -5401,12 +5454,12 @@ Examples:
|
|
|
5401
5454
|
> neurai-cli subscribetochannel "ASSET_NAME!"
|
|
5402
5455
|
> 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/
|
|
5403
5456
|
**/
|
|
5404
|
-
subscribetochannel:'subscribetochannel',
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5457
|
+
subscribetochannel:'subscribetochannel',
|
|
5458
|
+
|
|
5459
|
+
|
|
5460
|
+
|
|
5461
|
+
|
|
5462
|
+
|
|
5410
5463
|
/** testmempoolaccept ["rawtxs"] ( allowhighfees )
|
|
5411
5464
|
|
|
5412
5465
|
Returns if raw transaction (serialized, hex-encoded) would be accepted by mempool.
|
|
@@ -5443,12 +5496,12 @@ Test acceptance of the transaction (signed hex)
|
|
|
5443
5496
|
As a json rpc call
|
|
5444
5497
|
> 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/
|
|
5445
5498
|
**/
|
|
5446
|
-
testmempoolaccept:'testmempoolaccept',
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5499
|
+
testmempoolaccept:'testmempoolaccept',
|
|
5500
|
+
|
|
5501
|
+
|
|
5502
|
+
|
|
5503
|
+
|
|
5504
|
+
|
|
5452
5505
|
/** transfer "asset_name" qty "to_address" "message" expire_time "change_address" "asset_change_address"
|
|
5453
5506
|
|
|
5454
5507
|
Transfers a quantity of an owned asset to a given address
|
|
@@ -5470,12 +5523,12 @@ Examples:
|
|
|
5470
5523
|
> neurai-cli transfer "ASSET_NAME" 20 "address" "" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
|
|
5471
5524
|
> neurai-cli transfer "ASSET_NAME" 20 "address" "" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
|
|
5472
5525
|
**/
|
|
5473
|
-
transfer:'transfer',
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5526
|
+
transfer:'transfer',
|
|
5527
|
+
|
|
5528
|
+
|
|
5529
|
+
|
|
5530
|
+
|
|
5531
|
+
|
|
5479
5532
|
/** transferfromaddress "asset_name" "from_address" qty "to_address" "message" expire_time "xna_change_address" "asset_change_address"
|
|
5480
5533
|
|
|
5481
5534
|
Transfer a quantity of an owned asset in a specific address to a given address
|
|
@@ -5498,12 +5551,12 @@ Examples:
|
|
|
5498
5551
|
> neurai-cli transferfromaddress "ASSET_NAME" "fromaddress" 20 "address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E", 156545652
|
|
5499
5552
|
> 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/
|
|
5500
5553
|
**/
|
|
5501
|
-
transferfromaddress:'transferfromaddress',
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5554
|
+
transferfromaddress:'transferfromaddress',
|
|
5555
|
+
|
|
5556
|
+
|
|
5557
|
+
|
|
5558
|
+
|
|
5559
|
+
|
|
5507
5560
|
/** transferfromaddresses "asset_name" ["from_addresses"] qty "to_address" "message" expire_time "xna_change_address" "asset_change_address"
|
|
5508
5561
|
|
|
5509
5562
|
Transfer a quantity of an owned asset in specific address(es) to a given address
|
|
@@ -5526,12 +5579,12 @@ Examples:
|
|
|
5526
5579
|
> neurai-cli transferfromaddresses "ASSET_NAME" '["fromaddress1", "fromaddress2"]' 20 "to_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 154652365
|
|
5527
5580
|
> 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/
|
|
5528
5581
|
**/
|
|
5529
|
-
transferfromaddresses:'transferfromaddresses',
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5582
|
+
transferfromaddresses:'transferfromaddresses',
|
|
5583
|
+
|
|
5584
|
+
|
|
5585
|
+
|
|
5586
|
+
|
|
5587
|
+
|
|
5535
5588
|
/** transferqualifier "qualifier_name" qty "to_address" ("change_address") ("message") (expire_time)
|
|
5536
5589
|
|
|
5537
5590
|
Transfer a qualifier asset owned by this wallet to the given address
|
|
@@ -5552,12 +5605,12 @@ Examples:
|
|
|
5552
5605
|
> neurai-cli transferqualifier "#QUALIFIER" 20 "to_address" "" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
|
|
5553
5606
|
> neurai-cli transferqualifier "#QUALIFIER" 20 "to_address" "change_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
|
|
5554
5607
|
**/
|
|
5555
|
-
transferqualifier:'transferqualifier',
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5608
|
+
transferqualifier:'transferqualifier',
|
|
5609
|
+
|
|
5610
|
+
|
|
5611
|
+
|
|
5612
|
+
|
|
5613
|
+
|
|
5561
5614
|
/** unfreezeaddress asset_name address (change_address) (asset_data)
|
|
5562
5615
|
|
|
5563
5616
|
Unfreeze an address from transferring a restricted asset
|
|
@@ -5577,22 +5630,22 @@ Examples:
|
|
|
5577
5630
|
> neurai-cli unfreezeaddress "$RESTRICTED_ASSET" "address" "change_address"
|
|
5578
5631
|
> 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/
|
|
5579
5632
|
**/
|
|
5580
|
-
unfreezeaddress:'unfreezeaddress',
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5633
|
+
unfreezeaddress:'unfreezeaddress',
|
|
5634
|
+
|
|
5635
|
+
|
|
5636
|
+
|
|
5637
|
+
|
|
5638
|
+
|
|
5586
5639
|
/** unfreezedepin "asset_name" "address" ("change_address")
|
|
5587
5640
|
|
|
5588
|
-
Unfreeze a
|
|
5641
|
+
Unfreeze a dedicated DePIN asset for a specific address (owner only)
|
|
5589
5642
|
|
|
5590
5643
|
The asset will be marked as valid again
|
|
5591
5644
|
|
|
5592
|
-
Requires the owner token (&
|
|
5645
|
+
Requires the owner token for the DePIN asset (for example, '&FRANCE!' for '&FRANCE') in the wallet
|
|
5593
5646
|
|
|
5594
5647
|
Arguments:
|
|
5595
|
-
1. "asset_name" (string, required) The
|
|
5648
|
+
1. "asset_name" (string, required) The DePIN asset name
|
|
5596
5649
|
2. "address" (string, required) The address to unfreeze
|
|
5597
5650
|
3. "change_address" (string, optional) The change address for the owner token
|
|
5598
5651
|
|
|
@@ -5603,12 +5656,12 @@ Examples:
|
|
|
5603
5656
|
> neurai-cli unfreezedepin "&FRANCE" "address"
|
|
5604
5657
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezedepin", "params": ["&FRANCE", "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
5605
5658
|
**/
|
|
5606
|
-
unfreezedepin:'unfreezedepin',
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5659
|
+
unfreezedepin:'unfreezedepin',
|
|
5660
|
+
|
|
5661
|
+
|
|
5662
|
+
|
|
5663
|
+
|
|
5664
|
+
|
|
5612
5665
|
/** unfreezerestrictedasset asset_name (change_address) (asset_data)
|
|
5613
5666
|
|
|
5614
5667
|
Unfreeze all trading for a specific restricted asset
|
|
@@ -5627,12 +5680,12 @@ Examples:
|
|
|
5627
5680
|
> neurai-cli unfreezerestrictedasset "$RESTRICTED_ASSET" "change_address"
|
|
5628
5681
|
> 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/
|
|
5629
5682
|
**/
|
|
5630
|
-
unfreezerestrictedasset:'unfreezerestrictedasset',
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5683
|
+
unfreezerestrictedasset:'unfreezerestrictedasset',
|
|
5684
|
+
|
|
5685
|
+
|
|
5686
|
+
|
|
5687
|
+
|
|
5688
|
+
|
|
5636
5689
|
/** unsubscribefromchannel
|
|
5637
5690
|
|
|
5638
5691
|
Unsubscribe from a certain message channel
|
|
@@ -5648,12 +5701,12 @@ Examples:
|
|
|
5648
5701
|
> neurai-cli unsubscribefromchannel "ASSET_NAME!"
|
|
5649
5702
|
> 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/
|
|
5650
5703
|
**/
|
|
5651
|
-
unsubscribefromchannel:'unsubscribefromchannel',
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5704
|
+
unsubscribefromchannel:'unsubscribefromchannel',
|
|
5705
|
+
|
|
5706
|
+
|
|
5707
|
+
|
|
5708
|
+
|
|
5709
|
+
|
|
5657
5710
|
/** uptime
|
|
5658
5711
|
|
|
5659
5712
|
Returns the total uptime of the server.
|
|
@@ -5665,12 +5718,12 @@ Examples:
|
|
|
5665
5718
|
> neurai-cli uptime
|
|
5666
5719
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "uptime", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
5667
5720
|
**/
|
|
5668
|
-
uptime:'uptime',
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5721
|
+
uptime:'uptime',
|
|
5722
|
+
|
|
5723
|
+
|
|
5724
|
+
|
|
5725
|
+
|
|
5726
|
+
|
|
5674
5727
|
/** validateaddress "address"
|
|
5675
5728
|
|
|
5676
5729
|
Return information about the given neurai address.
|
|
@@ -5706,12 +5759,12 @@ Examples:
|
|
|
5706
5759
|
> neurai-cli validateaddress "1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc"
|
|
5707
5760
|
> 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/
|
|
5708
5761
|
**/
|
|
5709
|
-
validateaddress:'validateaddress',
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5714
|
-
|
|
5762
|
+
validateaddress:'validateaddress',
|
|
5763
|
+
|
|
5764
|
+
|
|
5765
|
+
|
|
5766
|
+
|
|
5767
|
+
|
|
5715
5768
|
/** verifychain ( checklevel nblocks )
|
|
5716
5769
|
|
|
5717
5770
|
Verifies blockchain database.
|
|
@@ -5727,12 +5780,12 @@ Examples:
|
|
|
5727
5780
|
> neurai-cli verifychain
|
|
5728
5781
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifychain", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
5729
5782
|
**/
|
|
5730
|
-
verifychain:'verifychain',
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5783
|
+
verifychain:'verifychain',
|
|
5784
|
+
|
|
5785
|
+
|
|
5786
|
+
|
|
5787
|
+
|
|
5788
|
+
|
|
5736
5789
|
/** verifymessage "address" "signature" "message"
|
|
5737
5790
|
|
|
5738
5791
|
Verify a signed message
|
|
@@ -5759,12 +5812,12 @@ Verify the signature
|
|
|
5759
5812
|
As json rpc
|
|
5760
5813
|
> 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/
|
|
5761
5814
|
**/
|
|
5762
|
-
verifymessage:'verifymessage',
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5815
|
+
verifymessage:'verifymessage',
|
|
5816
|
+
|
|
5817
|
+
|
|
5818
|
+
|
|
5819
|
+
|
|
5820
|
+
|
|
5768
5821
|
/** verifytxoutproof "proof"
|
|
5769
5822
|
|
|
5770
5823
|
Verifies that a proof points to a transaction in a block, returning the transaction it commits to
|
|
@@ -5776,12 +5829,12 @@ Arguments:
|
|
|
5776
5829
|
Result:
|
|
5777
5830
|
["txid"] (array, strings) The txid(s) which the proof commits to, or empty array if the proof is invalid
|
|
5778
5831
|
**/
|
|
5779
|
-
verifytxoutproof:'verifytxoutproof',
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5784
|
-
|
|
5832
|
+
verifytxoutproof:'verifytxoutproof',
|
|
5833
|
+
|
|
5834
|
+
|
|
5835
|
+
|
|
5836
|
+
|
|
5837
|
+
|
|
5785
5838
|
/** viewallmessagechannels
|
|
5786
5839
|
|
|
5787
5840
|
View all message channels the wallet is subscribed to
|
|
@@ -5795,12 +5848,12 @@ Examples:
|
|
|
5795
5848
|
> neurai-cli viewallmessagechannels
|
|
5796
5849
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessagechannels", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
5797
5850
|
**/
|
|
5798
|
-
viewallmessagechannels:'viewallmessagechannels',
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
|
|
5851
|
+
viewallmessagechannels:'viewallmessagechannels',
|
|
5852
|
+
|
|
5853
|
+
|
|
5854
|
+
|
|
5855
|
+
|
|
5856
|
+
|
|
5804
5857
|
/** viewallmessages
|
|
5805
5858
|
|
|
5806
5859
|
View all messages that the wallet contains
|
|
@@ -5818,12 +5871,12 @@ Examples:
|
|
|
5818
5871
|
> neurai-cli viewallmessages
|
|
5819
5872
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
5820
5873
|
**/
|
|
5821
|
-
viewallmessages:'viewallmessages',
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
|
|
5874
|
+
viewallmessages:'viewallmessages',
|
|
5875
|
+
|
|
5876
|
+
|
|
5877
|
+
|
|
5878
|
+
|
|
5879
|
+
|
|
5827
5880
|
/** viewmyrestrictedaddresses
|
|
5828
5881
|
|
|
5829
5882
|
View all addresses this wallet owns that have been restricted
|
|
@@ -5840,12 +5893,12 @@ Examples:
|
|
|
5840
5893
|
> neurai-cli viewmyrestrictedaddresses
|
|
5841
5894
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmyrestrictedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
5842
5895
|
**/
|
|
5843
|
-
viewmyrestrictedaddresses:'viewmyrestrictedaddresses',
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
5896
|
+
viewmyrestrictedaddresses:'viewmyrestrictedaddresses',
|
|
5897
|
+
|
|
5898
|
+
|
|
5899
|
+
|
|
5900
|
+
|
|
5901
|
+
|
|
5849
5902
|
/** viewmytaggedaddresses
|
|
5850
5903
|
|
|
5851
5904
|
View all addresses this wallet owns that have been tagged
|