@neuraiproject/neurai-rpc 0.5.0 → 0.5.1
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 +3 -0
- package/dist/index.cjs +187 -187
- package/dist/index.mjs +187 -187
- package/docs.json +167 -167
- package/docs.ts +187 -187
- package/neurai_methods.md +187 -187
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -41,7 +41,7 @@ var methods = {
|
|
|
41
41
|
|
|
42
42
|
Examples:
|
|
43
43
|
> neurai-cli abandontransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
|
|
44
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abandontransaction", "params": ["1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
44
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abandontransaction", "params": ["1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
45
45
|
**/
|
|
46
46
|
abandontransaction: "abandontransaction",
|
|
47
47
|
/** abortrescan
|
|
@@ -57,7 +57,7 @@ var methods = {
|
|
|
57
57
|
> neurai-cli abortrescan
|
|
58
58
|
|
|
59
59
|
As a JSON-RPC call
|
|
60
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abortrescan", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
60
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abortrescan", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
61
61
|
**/
|
|
62
62
|
abortrescan: "abortrescan",
|
|
63
63
|
/** addmultisigaddress nrequired ["key",...] ( "account" )
|
|
@@ -84,7 +84,7 @@ var methods = {
|
|
|
84
84
|
> neurai-cli addmultisigaddress 2 "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"
|
|
85
85
|
|
|
86
86
|
As json rpc call
|
|
87
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addmultisigaddress", "params": [2, "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
87
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addmultisigaddress", "params": [2, "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
88
88
|
**/
|
|
89
89
|
addmultisigaddress: "addmultisigaddress",
|
|
90
90
|
/** addnode "node" "add|remove|onetry"
|
|
@@ -99,8 +99,8 @@ var methods = {
|
|
|
99
99
|
2. "command" (string, required) 'add' to add a node to the list, 'remove' to remove a node from the list, 'onetry' to try a connection to the node once
|
|
100
100
|
|
|
101
101
|
Examples:
|
|
102
|
-
> neurai-cli addnode "192.168.0.6:
|
|
103
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addnode", "params": ["192.168.0.6:
|
|
102
|
+
> neurai-cli addnode "192.168.0.6:19000" "onetry"
|
|
103
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addnode", "params": ["192.168.0.6:19000", "onetry"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
104
104
|
**/
|
|
105
105
|
addnode: "addnode",
|
|
106
106
|
/** addtagtoaddress tag_name to_address (change_address) (asset_data)
|
|
@@ -121,9 +121,9 @@ var methods = {
|
|
|
121
121
|
|
|
122
122
|
Examples:
|
|
123
123
|
> neurai-cli addtagtoaddress "#TAG" "to_address"
|
|
124
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addtagtoaddress", "params": ["#TAG" "to_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
124
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addtagtoaddress", "params": ["#TAG" "to_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
125
125
|
> neurai-cli addtagtoaddress "#TAG" "to_address" "change_address"
|
|
126
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addtagtoaddress", "params": ["#TAG" "to_address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
126
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addtagtoaddress", "params": ["#TAG" "to_address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
127
127
|
**/
|
|
128
128
|
addtagtoaddress: "addtagtoaddress",
|
|
129
129
|
/** addwitnessaddress "address"
|
|
@@ -148,7 +148,7 @@ var methods = {
|
|
|
148
148
|
|
|
149
149
|
Examples:
|
|
150
150
|
> neurai-cli backupwallet "backup.dat"
|
|
151
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "backupwallet", "params": ["backup.dat"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
151
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "backupwallet", "params": ["backup.dat"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
152
152
|
**/
|
|
153
153
|
backupwallet: "backupwallet",
|
|
154
154
|
/** bumpfee has been deprecated on the XNA Wallet.
|
|
@@ -169,7 +169,7 @@ var methods = {
|
|
|
169
169
|
|
|
170
170
|
Examples:
|
|
171
171
|
> neurai-cli cancelsnapshotrequest "TRONCO" 12345
|
|
172
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "cancelsnapshotrequest", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
172
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "cancelsnapshotrequest", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
173
173
|
**/
|
|
174
174
|
cancelsnapshotrequest: "cancelsnapshotrequest",
|
|
175
175
|
/** checkaddressrestriction address restricted_name
|
|
@@ -188,7 +188,7 @@ var methods = {
|
|
|
188
188
|
|
|
189
189
|
Examples:
|
|
190
190
|
> neurai-cli checkaddressrestriction "address" "restricted_name"
|
|
191
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkaddressrestriction", "params": ["address" "restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
191
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkaddressrestriction", "params": ["address" "restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
192
192
|
**/
|
|
193
193
|
checkaddressrestriction: "checkaddressrestriction",
|
|
194
194
|
/** checkaddresstag address tag_name
|
|
@@ -207,7 +207,7 @@ var methods = {
|
|
|
207
207
|
|
|
208
208
|
Examples:
|
|
209
209
|
> neurai-cli checkaddresstag "address" "tag_name"
|
|
210
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkaddresstag", "params": ["address" "tag_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
210
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkaddresstag", "params": ["address" "tag_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
211
211
|
**/
|
|
212
212
|
checkaddresstag: "checkaddresstag",
|
|
213
213
|
/** checkdepinvalidity "asset_name" "address"
|
|
@@ -231,7 +231,7 @@ var methods = {
|
|
|
231
231
|
|
|
232
232
|
Examples:
|
|
233
233
|
> neurai-cli checkdepinvalidity "&FRANCE" "address"
|
|
234
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkdepinvalidity", "params": ["&FRANCE" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
234
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkdepinvalidity", "params": ["&FRANCE" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
235
235
|
**/
|
|
236
236
|
checkdepinvalidity: "checkdepinvalidity",
|
|
237
237
|
/** checkglobalrestriction restricted_name
|
|
@@ -249,7 +249,7 @@ var methods = {
|
|
|
249
249
|
|
|
250
250
|
Examples:
|
|
251
251
|
> neurai-cli checkglobalrestriction "restricted_name"
|
|
252
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkglobalrestriction", "params": ["restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
252
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkglobalrestriction", "params": ["restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
253
253
|
**/
|
|
254
254
|
checkglobalrestriction: "checkglobalrestriction",
|
|
255
255
|
/** clearbanned
|
|
@@ -258,7 +258,7 @@ var methods = {
|
|
|
258
258
|
|
|
259
259
|
Examples:
|
|
260
260
|
> neurai-cli clearbanned
|
|
261
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
261
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
262
262
|
**/
|
|
263
263
|
clearbanned: "clearbanned",
|
|
264
264
|
/** clearmempool
|
|
@@ -267,7 +267,7 @@ var methods = {
|
|
|
267
267
|
|
|
268
268
|
Examples:
|
|
269
269
|
> neurai-cli clearmempool
|
|
270
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
270
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
271
271
|
**/
|
|
272
272
|
clearmempool: "clearmempool",
|
|
273
273
|
/** clearmessages
|
|
@@ -283,7 +283,7 @@ var methods = {
|
|
|
283
283
|
|
|
284
284
|
Examples:
|
|
285
285
|
> neurai-cli clearmessages
|
|
286
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
286
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
287
287
|
**/
|
|
288
288
|
clearmessages: "clearmessages",
|
|
289
289
|
/** combinerawtransaction ["hexstring",...]
|
|
@@ -330,7 +330,7 @@ var methods = {
|
|
|
330
330
|
> neurai-cli createmultisig 2 "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"
|
|
331
331
|
|
|
332
332
|
As a json rpc call
|
|
333
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createmultisig", "params": [2, "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
333
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createmultisig", "params": [2, "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
334
334
|
**/
|
|
335
335
|
createmultisig: "createmultisig",
|
|
336
336
|
/** createrawtransaction [{"txid":"id","vout":n},...] {"address":(amount or object),"data":"hex",...}
|
|
@@ -595,7 +595,7 @@ var methods = {
|
|
|
595
595
|
> neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0},{\"txid\":\"myasset\",\"vout\":0}]" "{\"address\":{\"transferwithmessage\":{\"MYASSET\":50,\"message\":\"hash\",\"expire_time\": utc_time}}}"
|
|
596
596
|
> neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0},{\"txid\":\"myownership\",\"vout\":0}]" "{\"issuer_address\":{\"reissue\":{\"asset_name\":\"MYASSET\",\"asset_quantity\":2000000}}}"
|
|
597
597
|
> neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0}]" "[{\"address\":500},{\"address\":{\"issue\":{\"asset_name\":\"MYASSET\",\"asset_quantity\":1000000,\"units\":1,\"reissuable\":0,\"has_ipfs\":0}}}]"
|
|
598
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createrawtransaction", "params": ["[{\"txid\":\"mycoin\",\"vout\":0}]", "{\"data\":\"00010203\"}"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
598
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createrawtransaction", "params": ["[{\"txid\":\"mycoin\",\"vout\":0}]", "{\"data\":\"00010203\"}"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
599
599
|
**/
|
|
600
600
|
createrawtransaction: "createrawtransaction",
|
|
601
601
|
/** decodeblock "blockhex"
|
|
@@ -624,7 +624,7 @@ var methods = {
|
|
|
624
624
|
|
|
625
625
|
Examples:
|
|
626
626
|
> neurai-cli decodeblock "xxxx"
|
|
627
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decodeblock", "params": ["xxxx"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
627
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decodeblock", "params": ["xxxx"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
628
628
|
**/
|
|
629
629
|
decodeblock: "decodeblock",
|
|
630
630
|
/** decoderawtransaction "hexstring"
|
|
@@ -681,7 +681,7 @@ var methods = {
|
|
|
681
681
|
|
|
682
682
|
Examples:
|
|
683
683
|
> neurai-cli decoderawtransaction "hexstring"
|
|
684
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decoderawtransaction", "params": ["hexstring"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
684
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decoderawtransaction", "params": ["hexstring"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
685
685
|
**/
|
|
686
686
|
decoderawtransaction: "decoderawtransaction",
|
|
687
687
|
/** decodescript "hexstring"
|
|
@@ -719,7 +719,7 @@ var methods = {
|
|
|
719
719
|
|
|
720
720
|
Examples:
|
|
721
721
|
> neurai-cli decodescript "hexstring"
|
|
722
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decodescript", "params": ["hexstring"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
722
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decodescript", "params": ["hexstring"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
723
723
|
**/
|
|
724
724
|
decodescript: "decodescript",
|
|
725
725
|
/** depinclearmsg ( "all" | hours ) ( "scope" )
|
|
@@ -746,9 +746,9 @@ var methods = {
|
|
|
746
746
|
> neurai-cli depinclearmsg "all"
|
|
747
747
|
> neurai-cli depinclearmsg 7
|
|
748
748
|
> neurai-cli depinclearmsg "all" "&TOKEN/GENERAL"
|
|
749
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinclearmsg", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
750
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinclearmsg", "params": ["all"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
751
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinclearmsg", "params": [7] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
749
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinclearmsg", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
750
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinclearmsg", "params": ["all"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
751
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinclearmsg", "params": [7] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
752
752
|
**/
|
|
753
753
|
depinclearmsg: "depinclearmsg",
|
|
754
754
|
/** depingetancestorrecipients "token" ( max_results ) ( "stop_at" )
|
|
@@ -806,7 +806,7 @@ var methods = {
|
|
|
806
806
|
Examples:
|
|
807
807
|
> neurai-cli depingetancestorrecipients "&TEST/APPLE/GOLDEN"
|
|
808
808
|
> neurai-cli depingetancestorrecipients "&TEST/APPLE/GOLDEN" 50 "&TEST/APPLE"
|
|
809
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetancestorrecipients", "params": ["&TEST/APPLE/GOLDEN", 50, "&TEST/APPLE"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
809
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetancestorrecipients", "params": ["&TEST/APPLE/GOLDEN", 50, "&TEST/APPLE"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
810
810
|
**/
|
|
811
811
|
depingetancestorrecipients: "depingetancestorrecipients",
|
|
812
812
|
/** depingetmsg "token" ("ip[:port]"|"fromaddress") ("fromaddress")
|
|
@@ -839,7 +839,7 @@ var methods = {
|
|
|
839
839
|
> neurai-cli depingetmsg "MYTOKEN" "NXyouraddress..."
|
|
840
840
|
> neurai-cli depingetmsg "MYTOKEN" "192.168.1.78"
|
|
841
841
|
> neurai-cli depingetmsg "MYTOKEN" "192.168.1.78:19002" "NXyouraddress..."
|
|
842
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetmsg", "params": ["MYTOKEN"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
842
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetmsg", "params": ["MYTOKEN"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
843
843
|
**/
|
|
844
844
|
depingetmsg: "depingetmsg",
|
|
845
845
|
/** depingetmsginfo
|
|
@@ -865,7 +865,7 @@ var methods = {
|
|
|
865
865
|
|
|
866
866
|
Examples:
|
|
867
867
|
> neurai-cli depingetmsginfo
|
|
868
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetmsginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
868
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetmsginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
869
869
|
**/
|
|
870
870
|
depingetmsginfo: "depingetmsginfo",
|
|
871
871
|
/** depingetpoolcontent ( verbose sender_address recipient_address start_time end_time limit offset )
|
|
@@ -925,7 +925,7 @@ var methods = {
|
|
|
925
925
|
> neurai-cli depingetpoolcontent all
|
|
926
926
|
> neurai-cli depingetpoolcontent raw
|
|
927
927
|
> neurai-cli depingetpoolcontent false "NXXaddress..."
|
|
928
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetpoolcontent", "params": [true] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
928
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetpoolcontent", "params": [true] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
929
929
|
**/
|
|
930
930
|
depingetpoolcontent: "depingetpoolcontent",
|
|
931
931
|
/** depinlistsections ( "address" )
|
|
@@ -957,7 +957,7 @@ var methods = {
|
|
|
957
957
|
Examples:
|
|
958
958
|
> neurai-cli depinlistsections
|
|
959
959
|
> neurai-cli depinlistsections "NXyouraddress..."
|
|
960
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinlistsections", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
960
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinlistsections", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
961
961
|
**/
|
|
962
962
|
depinlistsections: "depinlistsections",
|
|
963
963
|
/** depinmcpstatus
|
|
@@ -985,7 +985,7 @@ var methods = {
|
|
|
985
985
|
|
|
986
986
|
Examples:
|
|
987
987
|
> neurai-cli depinmcpstatus
|
|
988
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinmcpstatus", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
988
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinmcpstatus", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
989
989
|
**/
|
|
990
990
|
depinmcpstatus: "depinmcpstatus",
|
|
991
991
|
/** depinpoolpkey
|
|
@@ -1006,7 +1006,7 @@ var methods = {
|
|
|
1006
1006
|
|
|
1007
1007
|
Examples:
|
|
1008
1008
|
> neurai-cli depinpoolpkey
|
|
1009
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinpoolpkey", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1009
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinpoolpkey", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1010
1010
|
**/
|
|
1011
1011
|
depinpoolpkey: "depinpoolpkey",
|
|
1012
1012
|
/** depinpoolstats
|
|
@@ -1036,7 +1036,7 @@ var methods = {
|
|
|
1036
1036
|
|
|
1037
1037
|
Examples:
|
|
1038
1038
|
> neurai-cli depinpoolstats
|
|
1039
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinpoolstats", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1039
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinpoolstats", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1040
1040
|
**/
|
|
1041
1041
|
depinpoolstats: "depinpoolstats",
|
|
1042
1042
|
/** depinreceivemsg "token" "address" (timestamp) ("after_hash") (limit)
|
|
@@ -1086,7 +1086,7 @@ var methods = {
|
|
|
1086
1086
|
> neurai-cli depinreceivemsg "TOKEN" "NeuraiAddress" 1730000000
|
|
1087
1087
|
> neurai-cli depinreceivemsg "TOKEN" "NeuraiAddress" 0 "" 5
|
|
1088
1088
|
> neurai-cli depinreceivemsg "TOKEN" "NeuraiAddress" 0 "abc123..." 5
|
|
1089
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinreceivemsg", "params": ["TOKEN", "NeuraiAddress", 0, "", 5] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1089
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinreceivemsg", "params": ["TOKEN", "NeuraiAddress", 0, "", 5] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1090
1090
|
**/
|
|
1091
1091
|
depinreceivemsg: "depinreceivemsg",
|
|
1092
1092
|
/** depinsendmsg "token" "ip[:port]" "message" "fromaddress" (port)
|
|
@@ -1111,7 +1111,7 @@ var methods = {
|
|
|
1111
1111
|
Examples:
|
|
1112
1112
|
> neurai-cli depinsendmsg "MYTOKEN" "192.168.1.100" "Hello team!" "NXsender..."
|
|
1113
1113
|
> neurai-cli depinsendmsg "MYTOKEN" "192.168.1.100:19005" "Hello team!" "NXsender..." 19005
|
|
1114
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinsendmsg", "params": ["MYTOKEN", "192.168.1.100", "Hello team!", "NXsender..."] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1114
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinsendmsg", "params": ["MYTOKEN", "192.168.1.100", "Hello team!", "NXsender..."] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1115
1115
|
**/
|
|
1116
1116
|
depinsendmsg: "depinsendmsg",
|
|
1117
1117
|
/** depinsubmitmsg "hexmessage"|{"sender":"...","encrypted":"..."}
|
|
@@ -1141,7 +1141,7 @@ var methods = {
|
|
|
1141
1141
|
|
|
1142
1142
|
Examples:
|
|
1143
1143
|
> neurai-cli depinsubmitmsg "0a3f2e..."
|
|
1144
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinsubmitmsg", "params": [{"sender":"NX...","encrypted":"..."}] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1144
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinsubmitmsg", "params": [{"sender":"NX...","encrypted":"..."}] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1145
1145
|
**/
|
|
1146
1146
|
depinsubmitmsg: "depinsubmitmsg",
|
|
1147
1147
|
/** disconnectnode "[address]" [nodeid]
|
|
@@ -1157,10 +1157,10 @@ var methods = {
|
|
|
1157
1157
|
2. "nodeid" (number, optional) The node ID (see getpeerinfo for node IDs)
|
|
1158
1158
|
|
|
1159
1159
|
Examples:
|
|
1160
|
-
> neurai-cli disconnectnode "192.168.0.6:
|
|
1160
|
+
> neurai-cli disconnectnode "192.168.0.6:19000"
|
|
1161
1161
|
> neurai-cli disconnectnode "" 1
|
|
1162
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "disconnectnode", "params": ["192.168.0.6:
|
|
1163
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "disconnectnode", "params": ["", 1] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1162
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "disconnectnode", "params": ["192.168.0.6:19000"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1163
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "disconnectnode", "params": ["", 1] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1164
1164
|
**/
|
|
1165
1165
|
disconnectnode: "disconnectnode",
|
|
1166
1166
|
/** distributereward "asset_name" snapshot_height "distribution_asset_name" gross_distribution_amount ( "exception_addresses" ) ("change_address") ("dry_run")
|
|
@@ -1196,8 +1196,8 @@ var methods = {
|
|
|
1196
1196
|
Examples:
|
|
1197
1197
|
> neurai-cli distributereward "TRONCO" 12345 "XNA" 1000
|
|
1198
1198
|
> neurai-cli distributereward "PHATSTACKS" 12345 "DIVIDENDS" 1000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"
|
|
1199
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "distributereward", "params": ["TRONCO" 34987 "DIVIDENDS" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1200
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "distributereward", "params": ["PHATSTACKS" 34987 "XNA" 100000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1199
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "distributereward", "params": ["TRONCO" 34987 "DIVIDENDS" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1200
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "distributereward", "params": ["PHATSTACKS" 34987 "XNA" 100000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1201
1201
|
**/
|
|
1202
1202
|
distributereward: "distributereward",
|
|
1203
1203
|
/** dumpextkeypq
|
|
@@ -1210,7 +1210,7 @@ var methods = {
|
|
|
1210
1210
|
|
|
1211
1211
|
Examples:
|
|
1212
1212
|
> neurai-cli dumpextkeypq
|
|
1213
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpextkeypq", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1213
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpextkeypq", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1214
1214
|
**/
|
|
1215
1215
|
dumpextkeypq: "dumpextkeypq",
|
|
1216
1216
|
/** dumpprivkey "address"
|
|
@@ -1227,7 +1227,7 @@ var methods = {
|
|
|
1227
1227
|
Examples:
|
|
1228
1228
|
> neurai-cli dumpprivkey "myaddress"
|
|
1229
1229
|
> neurai-cli importprivkey "mykey"
|
|
1230
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpprivkey", "params": ["myaddress"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1230
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpprivkey", "params": ["myaddress"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1231
1231
|
**/
|
|
1232
1232
|
dumpprivkey: "dumpprivkey",
|
|
1233
1233
|
/** dumpwallet "filename"
|
|
@@ -1244,7 +1244,7 @@ var methods = {
|
|
|
1244
1244
|
|
|
1245
1245
|
Examples:
|
|
1246
1246
|
> neurai-cli dumpwallet "test"
|
|
1247
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpwallet", "params": ["test"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1247
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpwallet", "params": ["test"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1248
1248
|
**/
|
|
1249
1249
|
dumpwallet: "dumpwallet",
|
|
1250
1250
|
/** encryptwallet "passphrase"
|
|
@@ -1274,7 +1274,7 @@ var methods = {
|
|
|
1274
1274
|
> neurai-cli walletlock
|
|
1275
1275
|
|
|
1276
1276
|
As a json rpc call
|
|
1277
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "encryptwallet", "params": ["my pass phrase"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1277
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "encryptwallet", "params": ["my pass phrase"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1278
1278
|
**/
|
|
1279
1279
|
encryptwallet: "encryptwallet",
|
|
1280
1280
|
/** estimatefee nblocks
|
|
@@ -1348,7 +1348,7 @@ var methods = {
|
|
|
1348
1348
|
|
|
1349
1349
|
Examples:
|
|
1350
1350
|
> neurai-cli exportxpqpub 20
|
|
1351
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "exportxpqpub", "params": [20, 0, 0] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1351
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "exportxpqpub", "params": [20, 0, 0] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1352
1352
|
**/
|
|
1353
1353
|
exportxpqpub: "exportxpqpub",
|
|
1354
1354
|
/** freezeaddress asset_name address (change_address) (asset_data)
|
|
@@ -1369,9 +1369,9 @@ var methods = {
|
|
|
1369
1369
|
|
|
1370
1370
|
Examples:
|
|
1371
1371
|
> neurai-cli freezeaddress "$RESTRICTED_ASSET" "address"
|
|
1372
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezeaddress", "params": ["$RESTRICTED_ASSET" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1372
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezeaddress", "params": ["$RESTRICTED_ASSET" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1373
1373
|
> neurai-cli freezeaddress "$RESTRICTED_ASSET" "address" "change_address"
|
|
1374
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezeaddress", "params": ["$RESTRICTED_ASSET" "address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1374
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezeaddress", "params": ["$RESTRICTED_ASSET" "address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1375
1375
|
**/
|
|
1376
1376
|
freezeaddress: "freezeaddress",
|
|
1377
1377
|
/** freezedepin "asset_name" "address" ("change_address")
|
|
@@ -1395,7 +1395,7 @@ var methods = {
|
|
|
1395
1395
|
|
|
1396
1396
|
Examples:
|
|
1397
1397
|
> neurai-cli freezedepin "&FRANCE" "address"
|
|
1398
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezedepin", "params": ["&FRANCE" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1398
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezedepin", "params": ["&FRANCE" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1399
1399
|
**/
|
|
1400
1400
|
freezedepin: "freezedepin",
|
|
1401
1401
|
/** freezerestrictedasset asset_name (change_address) (asset_data)
|
|
@@ -1415,9 +1415,9 @@ var methods = {
|
|
|
1415
1415
|
|
|
1416
1416
|
Examples:
|
|
1417
1417
|
> neurai-cli freezerestrictedasset "$RESTRICTED_ASSET"
|
|
1418
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezerestrictedasset", "params": ["$RESTRICTED_ASSET"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1418
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezerestrictedasset", "params": ["$RESTRICTED_ASSET"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1419
1419
|
> neurai-cli freezerestrictedasset "$RESTRICTED_ASSET" "change_address"
|
|
1420
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezerestrictedasset", "params": ["$RESTRICTED_ASSET" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1420
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezerestrictedasset", "params": ["$RESTRICTED_ASSET" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1421
1421
|
**/
|
|
1422
1422
|
freezerestrictedasset: "freezerestrictedasset",
|
|
1423
1423
|
/** fundrawtransaction "hexstring" ( options )
|
|
@@ -1526,7 +1526,7 @@ var methods = {
|
|
|
1526
1526
|
|
|
1527
1527
|
Examples:
|
|
1528
1528
|
> neurai-cli getaccount "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX"
|
|
1529
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaccount", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1529
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaccount", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1530
1530
|
**/
|
|
1531
1531
|
getaccount: "getaccount",
|
|
1532
1532
|
/** getaccountaddress "account"
|
|
@@ -1543,7 +1543,7 @@ var methods = {
|
|
|
1543
1543
|
> neurai-cli getaccountaddress
|
|
1544
1544
|
> neurai-cli getaccountaddress ""
|
|
1545
1545
|
> neurai-cli getaccountaddress "myaccount"
|
|
1546
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaccountaddress", "params": ["myaccount"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1546
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaccountaddress", "params": ["myaccount"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1547
1547
|
**/
|
|
1548
1548
|
getaccountaddress: "getaccountaddress",
|
|
1549
1549
|
/** getaddednodeinfo ( "node" )
|
|
@@ -1561,7 +1561,7 @@ var methods = {
|
|
|
1561
1561
|
"connected" : true|false, (boolean) If connected
|
|
1562
1562
|
"addresses" : [ (list of objects) Only when connected = true
|
|
1563
1563
|
{
|
|
1564
|
-
"address" : "192.168.0.201:
|
|
1564
|
+
"address" : "192.168.0.201:19000", (string) The neurai server IP and port we're connected to
|
|
1565
1565
|
"connected" : "outbound" (string) connection, inbound or outbound
|
|
1566
1566
|
}
|
|
1567
1567
|
]
|
|
@@ -1571,7 +1571,7 @@ var methods = {
|
|
|
1571
1571
|
|
|
1572
1572
|
Examples:
|
|
1573
1573
|
> neurai-cli getaddednodeinfo "192.168.0.201"
|
|
1574
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddednodeinfo", "params": ["192.168.0.201"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1574
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddednodeinfo", "params": ["192.168.0.201"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1575
1575
|
**/
|
|
1576
1576
|
getaddednodeinfo: "getaddednodeinfo",
|
|
1577
1577
|
/** getaddressbalance
|
|
@@ -1606,8 +1606,8 @@ var methods = {
|
|
|
1606
1606
|
Examples:
|
|
1607
1607
|
> neurai-cli getaddressbalance '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
|
|
1608
1608
|
> neurai-cli getaddressbalance '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
|
|
1609
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressbalance", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1610
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressbalance", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1609
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressbalance", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1610
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressbalance", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1611
1611
|
**/
|
|
1612
1612
|
getaddressbalance: "getaddressbalance",
|
|
1613
1613
|
/** getaddressdeltas
|
|
@@ -1641,9 +1641,9 @@ var methods = {
|
|
|
1641
1641
|
|
|
1642
1642
|
Examples:
|
|
1643
1643
|
> neurai-cli getaddressdeltas '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
|
|
1644
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressdeltas", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1644
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressdeltas", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1645
1645
|
> neurai-cli getaddressdeltas '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}'
|
|
1646
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressdeltas", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1646
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressdeltas", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1647
1647
|
**/
|
|
1648
1648
|
getaddressdeltas: "getaddressdeltas",
|
|
1649
1649
|
/** getaddressesbyaccount "account"
|
|
@@ -1661,7 +1661,7 @@ var methods = {
|
|
|
1661
1661
|
|
|
1662
1662
|
Examples:
|
|
1663
1663
|
> neurai-cli getaddressesbyaccount "tabby"
|
|
1664
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressesbyaccount", "params": ["tabby"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1664
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressesbyaccount", "params": ["tabby"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1665
1665
|
**/
|
|
1666
1666
|
getaddressesbyaccount: "getaddressesbyaccount",
|
|
1667
1667
|
/** getaddressmempool
|
|
@@ -1694,9 +1694,9 @@ var methods = {
|
|
|
1694
1694
|
|
|
1695
1695
|
Examples:
|
|
1696
1696
|
> neurai-cli getaddressmempool '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
|
|
1697
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressmempool", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1697
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressmempool", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1698
1698
|
> neurai-cli getaddressmempool '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
|
|
1699
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressmempool", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1699
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressmempool", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1700
1700
|
**/
|
|
1701
1701
|
getaddressmempool: "getaddressmempool",
|
|
1702
1702
|
/** getaddresstxids
|
|
@@ -1723,9 +1723,9 @@ var methods = {
|
|
|
1723
1723
|
|
|
1724
1724
|
Examples:
|
|
1725
1725
|
> neurai-cli getaddresstxids '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
|
|
1726
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddresstxids", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1726
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddresstxids", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1727
1727
|
> neurai-cli getaddresstxids '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
|
|
1728
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddresstxids", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1728
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddresstxids", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1729
1729
|
**/
|
|
1730
1730
|
getaddresstxids: "getaddresstxids",
|
|
1731
1731
|
/** getaddressutxos
|
|
@@ -1758,9 +1758,9 @@ var methods = {
|
|
|
1758
1758
|
|
|
1759
1759
|
Examples:
|
|
1760
1760
|
> neurai-cli getaddressutxos '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
|
|
1761
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressutxos", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1761
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressutxos", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1762
1762
|
> neurai-cli getaddressutxos '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}'
|
|
1763
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressutxos", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1763
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressutxos", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1764
1764
|
**/
|
|
1765
1765
|
getaddressutxos: "getaddressutxos",
|
|
1766
1766
|
/** getassetdata "asset_name"
|
|
@@ -1787,7 +1787,7 @@ var methods = {
|
|
|
1787
1787
|
|
|
1788
1788
|
Examples:
|
|
1789
1789
|
> neurai-cli getassetdata "ASSET_NAME"
|
|
1790
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getassetdata", "params": ["ASSET_NAME"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1790
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getassetdata", "params": ["ASSET_NAME"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1791
1791
|
**/
|
|
1792
1792
|
getassetdata: "getassetdata",
|
|
1793
1793
|
/** getbalance ( "account" minconf include_watchonly )
|
|
@@ -1825,7 +1825,7 @@ var methods = {
|
|
|
1825
1825
|
> neurai-cli getbalance "*" 6
|
|
1826
1826
|
|
|
1827
1827
|
As a json rpc call
|
|
1828
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbalance", "params": ["*", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1828
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbalance", "params": ["*", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1829
1829
|
**/
|
|
1830
1830
|
getbalance: "getbalance",
|
|
1831
1831
|
/** getbestblockhash
|
|
@@ -1837,7 +1837,7 @@ var methods = {
|
|
|
1837
1837
|
|
|
1838
1838
|
Examples:
|
|
1839
1839
|
> neurai-cli getbestblockhash
|
|
1840
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbestblockhash", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1840
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbestblockhash", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1841
1841
|
**/
|
|
1842
1842
|
getbestblockhash: "getbestblockhash",
|
|
1843
1843
|
/** getblock "blockhash" ( verbosity )
|
|
@@ -1889,7 +1889,7 @@ var methods = {
|
|
|
1889
1889
|
|
|
1890
1890
|
Examples:
|
|
1891
1891
|
> neurai-cli getblock "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
|
|
1892
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblock", "params": ["00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1892
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblock", "params": ["00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1893
1893
|
**/
|
|
1894
1894
|
getblock: "getblock",
|
|
1895
1895
|
/** getblockchaininfo
|
|
@@ -1940,7 +1940,7 @@ var methods = {
|
|
|
1940
1940
|
|
|
1941
1941
|
Examples:
|
|
1942
1942
|
> neurai-cli getblockchaininfo
|
|
1943
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockchaininfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1943
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockchaininfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1944
1944
|
**/
|
|
1945
1945
|
getblockchaininfo: "getblockchaininfo",
|
|
1946
1946
|
/** getblockcount
|
|
@@ -1952,7 +1952,7 @@ var methods = {
|
|
|
1952
1952
|
|
|
1953
1953
|
Examples:
|
|
1954
1954
|
> neurai-cli getblockcount
|
|
1955
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockcount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1955
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockcount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1956
1956
|
**/
|
|
1957
1957
|
getblockcount: "getblockcount",
|
|
1958
1958
|
/** getblockhash height
|
|
@@ -1967,7 +1967,7 @@ var methods = {
|
|
|
1967
1967
|
|
|
1968
1968
|
Examples:
|
|
1969
1969
|
> neurai-cli getblockhash 1000
|
|
1970
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockhash", "params": [1000] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1970
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockhash", "params": [1000] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1971
1971
|
**/
|
|
1972
1972
|
getblockhash: "getblockhash",
|
|
1973
1973
|
/** getblockhashes timestamp
|
|
@@ -1996,7 +1996,7 @@ var methods = {
|
|
|
1996
1996
|
|
|
1997
1997
|
Examples:
|
|
1998
1998
|
> neurai-cli getblockhashes 1231614698 1231024505
|
|
1999
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockhashes", "params": [1231614698, 1231024505] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1999
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockhashes", "params": [1231614698, 1231024505] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2000
2000
|
> neurai-cli getblockhashes 1231614698 1231024505 '{"noOrphans":false, "logicalTimes":true}'
|
|
2001
2001
|
**/
|
|
2002
2002
|
getblockhashes: "getblockhashes",
|
|
@@ -2032,7 +2032,7 @@ var methods = {
|
|
|
2032
2032
|
|
|
2033
2033
|
Examples:
|
|
2034
2034
|
> neurai-cli getblockheader "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
|
|
2035
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockheader", "params": ["00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2035
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockheader", "params": ["00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2036
2036
|
**/
|
|
2037
2037
|
getblockheader: "getblockheader",
|
|
2038
2038
|
/** getblocktemplate ( TemplateRequest )
|
|
@@ -2108,7 +2108,7 @@ var methods = {
|
|
|
2108
2108
|
|
|
2109
2109
|
Examples:
|
|
2110
2110
|
> neurai-cli getblocktemplate
|
|
2111
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblocktemplate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2111
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblocktemplate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2112
2112
|
**/
|
|
2113
2113
|
getblocktemplate: "getblocktemplate",
|
|
2114
2114
|
/** getcacheinfo
|
|
@@ -2130,7 +2130,7 @@ var methods = {
|
|
|
2130
2130
|
]
|
|
2131
2131
|
|
|
2132
2132
|
Examples:
|
|
2133
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getcacheinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2133
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getcacheinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2134
2134
|
> neurai-cli getcacheinfo
|
|
2135
2135
|
**/
|
|
2136
2136
|
getcacheinfo: "getcacheinfo",
|
|
@@ -2161,7 +2161,7 @@ var methods = {
|
|
|
2161
2161
|
|
|
2162
2162
|
Examples:
|
|
2163
2163
|
> neurai-cli getchaintips
|
|
2164
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintips", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2164
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintips", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2165
2165
|
**/
|
|
2166
2166
|
getchaintips: "getchaintips",
|
|
2167
2167
|
/** getchaintxstats ( nblocks blockhash )
|
|
@@ -2184,7 +2184,7 @@ var methods = {
|
|
|
2184
2184
|
|
|
2185
2185
|
Examples:
|
|
2186
2186
|
> neurai-cli getchaintxstats
|
|
2187
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintxstats", "params": [2016] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2187
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintxstats", "params": [2016] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2188
2188
|
**/
|
|
2189
2189
|
getchaintxstats: "getchaintxstats",
|
|
2190
2190
|
/** getconnectioncount
|
|
@@ -2196,7 +2196,7 @@ var methods = {
|
|
|
2196
2196
|
|
|
2197
2197
|
Examples:
|
|
2198
2198
|
> neurai-cli getconnectioncount
|
|
2199
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getconnectioncount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2199
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getconnectioncount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2200
2200
|
**/
|
|
2201
2201
|
getconnectioncount: "getconnectioncount",
|
|
2202
2202
|
/** getdifficulty
|
|
@@ -2208,7 +2208,7 @@ var methods = {
|
|
|
2208
2208
|
|
|
2209
2209
|
Examples:
|
|
2210
2210
|
> neurai-cli getdifficulty
|
|
2211
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdifficulty", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2211
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdifficulty", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2212
2212
|
**/
|
|
2213
2213
|
getdifficulty: "getdifficulty",
|
|
2214
2214
|
/** getdistributestatus "asset_name" snapshot_height "distribution_asset_name" gross_distribution_amount ( "exception_addresses" )
|
|
@@ -2225,8 +2225,8 @@ var methods = {
|
|
|
2225
2225
|
Examples:
|
|
2226
2226
|
> neurai-cli getdistributestatus "TRONCO" 12345 "XNA" 1000
|
|
2227
2227
|
> neurai-cli getdistributestatus "PHATSTACKS" 12345 "DIVIDENDS" 1000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"
|
|
2228
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdistributestatus", "params": ["TRONCO" 34987 "DIVIDENDS" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2229
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdistributestatus", "params": ["PHATSTACKS" 34987 "XNA" 100000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2228
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdistributestatus", "params": ["TRONCO" 34987 "DIVIDENDS" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2229
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdistributestatus", "params": ["PHATSTACKS" 34987 "XNA" 100000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2230
2230
|
**/
|
|
2231
2231
|
getdistributestatus: "getdistributestatus",
|
|
2232
2232
|
/** getgenerate
|
|
@@ -2240,7 +2240,7 @@ var methods = {
|
|
|
2240
2240
|
|
|
2241
2241
|
Examples:
|
|
2242
2242
|
> neurai-cli getgenerate
|
|
2243
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getgenerate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2243
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getgenerate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2244
2244
|
**/
|
|
2245
2245
|
getgenerate: "getgenerate",
|
|
2246
2246
|
/** getinfo
|
|
@@ -2270,7 +2270,7 @@ var methods = {
|
|
|
2270
2270
|
|
|
2271
2271
|
Examples:
|
|
2272
2272
|
> neurai-cli getinfo
|
|
2273
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2273
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2274
2274
|
**/
|
|
2275
2275
|
getinfo: "getinfo",
|
|
2276
2276
|
/** getkawpowhash "header_hash" "mix_hash" nonce, height, "target"
|
|
@@ -2288,7 +2288,7 @@ var methods = {
|
|
|
2288
2288
|
|
|
2289
2289
|
Examples:
|
|
2290
2290
|
> neurai-cli getkawpowhash "header_hash" "mix_hash" "0x100000" 2456
|
|
2291
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getkawpowhash", "params": ["header_hash" "mix_hash" "0x100000" 2456] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2291
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getkawpowhash", "params": ["header_hash" "mix_hash" "0x100000" 2456] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2292
2292
|
**/
|
|
2293
2293
|
getkawpowhash: "getkawpowhash",
|
|
2294
2294
|
/** getmasterkeyinfo
|
|
@@ -2308,7 +2308,7 @@ var methods = {
|
|
|
2308
2308
|
|
|
2309
2309
|
Examples:
|
|
2310
2310
|
> neurai-cli getmasterkeyinfo
|
|
2311
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmasterkeyinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2311
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmasterkeyinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2312
2312
|
**/
|
|
2313
2313
|
getmasterkeyinfo: "getmasterkeyinfo",
|
|
2314
2314
|
/** getmemoryinfo ("mode")
|
|
@@ -2335,7 +2335,7 @@ var methods = {
|
|
|
2335
2335
|
|
|
2336
2336
|
Examples:
|
|
2337
2337
|
> neurai-cli getmemoryinfo
|
|
2338
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmemoryinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2338
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmemoryinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2339
2339
|
**/
|
|
2340
2340
|
getmemoryinfo: "getmemoryinfo",
|
|
2341
2341
|
/** getmempoolancestors txid (verbose)
|
|
@@ -2375,7 +2375,7 @@ var methods = {
|
|
|
2375
2375
|
|
|
2376
2376
|
Examples:
|
|
2377
2377
|
> neurai-cli getmempoolancestors "mytxid"
|
|
2378
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolancestors", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2378
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolancestors", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2379
2379
|
**/
|
|
2380
2380
|
getmempoolancestors: "getmempoolancestors",
|
|
2381
2381
|
/** getmempooldescendants txid (verbose)
|
|
@@ -2415,7 +2415,7 @@ var methods = {
|
|
|
2415
2415
|
|
|
2416
2416
|
Examples:
|
|
2417
2417
|
> neurai-cli getmempooldescendants "mytxid"
|
|
2418
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempooldescendants", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2418
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempooldescendants", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2419
2419
|
**/
|
|
2420
2420
|
getmempooldescendants: "getmempooldescendants",
|
|
2421
2421
|
/** getmempoolentry txid
|
|
@@ -2446,7 +2446,7 @@ var methods = {
|
|
|
2446
2446
|
|
|
2447
2447
|
Examples:
|
|
2448
2448
|
> neurai-cli getmempoolentry "mytxid"
|
|
2449
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolentry", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2449
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolentry", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2450
2450
|
**/
|
|
2451
2451
|
getmempoolentry: "getmempoolentry",
|
|
2452
2452
|
/** getmempoolinfo
|
|
@@ -2464,7 +2464,7 @@ var methods = {
|
|
|
2464
2464
|
|
|
2465
2465
|
Examples:
|
|
2466
2466
|
> neurai-cli getmempoolinfo
|
|
2467
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2467
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2468
2468
|
**/
|
|
2469
2469
|
getmempoolinfo: "getmempoolinfo",
|
|
2470
2470
|
/** getmininginfo
|
|
@@ -2486,7 +2486,7 @@ var methods = {
|
|
|
2486
2486
|
|
|
2487
2487
|
Examples:
|
|
2488
2488
|
> neurai-cli getmininginfo
|
|
2489
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmininginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2489
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmininginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2490
2490
|
**/
|
|
2491
2491
|
getmininginfo: "getmininginfo",
|
|
2492
2492
|
/** getmywords ( "account" )
|
|
@@ -2500,7 +2500,7 @@ var methods = {
|
|
|
2500
2500
|
|
|
2501
2501
|
Examples:
|
|
2502
2502
|
> neurai-cli getmywords
|
|
2503
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmywords", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2503
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmywords", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2504
2504
|
**/
|
|
2505
2505
|
getmywords: "getmywords",
|
|
2506
2506
|
/** getnettotals
|
|
@@ -2526,7 +2526,7 @@ var methods = {
|
|
|
2526
2526
|
|
|
2527
2527
|
Examples:
|
|
2528
2528
|
> neurai-cli getnettotals
|
|
2529
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnettotals", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2529
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnettotals", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2530
2530
|
**/
|
|
2531
2531
|
getnettotals: "getnettotals",
|
|
2532
2532
|
/** getnetworkhashps ( nblocks height )
|
|
@@ -2544,7 +2544,7 @@ var methods = {
|
|
|
2544
2544
|
|
|
2545
2545
|
Examples:
|
|
2546
2546
|
> neurai-cli getnetworkhashps
|
|
2547
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkhashps", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2547
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkhashps", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2548
2548
|
**/
|
|
2549
2549
|
getnetworkhashps: "getnetworkhashps",
|
|
2550
2550
|
/** getnetworkinfo
|
|
@@ -2585,7 +2585,7 @@ var methods = {
|
|
|
2585
2585
|
|
|
2586
2586
|
Examples:
|
|
2587
2587
|
> neurai-cli getnetworkinfo
|
|
2588
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2588
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2589
2589
|
**/
|
|
2590
2590
|
getnetworkinfo: "getnetworkinfo",
|
|
2591
2591
|
/** getnewaddress ( "account" )
|
|
@@ -2602,7 +2602,7 @@ var methods = {
|
|
|
2602
2602
|
|
|
2603
2603
|
Examples:
|
|
2604
2604
|
> neurai-cli getnewaddress
|
|
2605
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2605
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2606
2606
|
**/
|
|
2607
2607
|
getnewaddress: "getnewaddress",
|
|
2608
2608
|
/** getpeerinfo
|
|
@@ -2654,7 +2654,7 @@ var methods = {
|
|
|
2654
2654
|
|
|
2655
2655
|
Examples:
|
|
2656
2656
|
> neurai-cli getpeerinfo
|
|
2657
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpeerinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2657
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpeerinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2658
2658
|
**/
|
|
2659
2659
|
getpeerinfo: "getpeerinfo",
|
|
2660
2660
|
/** getpubkey "address"
|
|
@@ -2675,7 +2675,7 @@ var methods = {
|
|
|
2675
2675
|
|
|
2676
2676
|
Examples:
|
|
2677
2677
|
> neurai-cli getpubkey "NXa1b2c3d4e5f6..."
|
|
2678
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpubkey", "params": ["NXa1b2c3d4e5f6..."] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2678
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpubkey", "params": ["NXa1b2c3d4e5f6..."] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2679
2679
|
**/
|
|
2680
2680
|
getpubkey: "getpubkey",
|
|
2681
2681
|
/** getrawchangeaddress
|
|
@@ -2688,7 +2688,7 @@ var methods = {
|
|
|
2688
2688
|
|
|
2689
2689
|
Examples:
|
|
2690
2690
|
> neurai-cli getrawchangeaddress
|
|
2691
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawchangeaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2691
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawchangeaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2692
2692
|
**/
|
|
2693
2693
|
getrawchangeaddress: "getrawchangeaddress",
|
|
2694
2694
|
/** getrawmempool ( verbose )
|
|
@@ -2729,7 +2729,7 @@ var methods = {
|
|
|
2729
2729
|
|
|
2730
2730
|
Examples:
|
|
2731
2731
|
> neurai-cli getrawmempool true
|
|
2732
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawmempool", "params": [true] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2732
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawmempool", "params": [true] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2733
2733
|
**/
|
|
2734
2734
|
getrawmempool: "getrawmempool",
|
|
2735
2735
|
/** getrawtransaction "txid" ( verbose )
|
|
@@ -2798,7 +2798,7 @@ var methods = {
|
|
|
2798
2798
|
Examples:
|
|
2799
2799
|
> neurai-cli getrawtransaction "mytxid"
|
|
2800
2800
|
> neurai-cli getrawtransaction "mytxid" true
|
|
2801
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawtransaction", "params": ["mytxid", true] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2801
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawtransaction", "params": ["mytxid", true] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2802
2802
|
**/
|
|
2803
2803
|
getrawtransaction: "getrawtransaction",
|
|
2804
2804
|
/** getreceivedbyaccount "account" ( minconf )
|
|
@@ -2824,7 +2824,7 @@ var methods = {
|
|
|
2824
2824
|
> neurai-cli getreceivedbyaccount "tabby" 6
|
|
2825
2825
|
|
|
2826
2826
|
As a json rpc call
|
|
2827
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getreceivedbyaccount", "params": ["tabby", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2827
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getreceivedbyaccount", "params": ["tabby", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2828
2828
|
**/
|
|
2829
2829
|
getreceivedbyaccount: "getreceivedbyaccount",
|
|
2830
2830
|
/** getreceivedbyaddress "address" ( minconf )
|
|
@@ -2850,7 +2850,7 @@ var methods = {
|
|
|
2850
2850
|
> neurai-cli getreceivedbyaddress "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" 6
|
|
2851
2851
|
|
|
2852
2852
|
As a json rpc call
|
|
2853
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getreceivedbyaddress", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2853
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getreceivedbyaddress", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2854
2854
|
**/
|
|
2855
2855
|
getreceivedbyaddress: "getreceivedbyaddress",
|
|
2856
2856
|
/** getrpcinfo
|
|
@@ -2867,7 +2867,7 @@ var methods = {
|
|
|
2867
2867
|
],
|
|
2868
2868
|
}
|
|
2869
2869
|
> neurai-cli getrpcinfo
|
|
2870
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrpcinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2870
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrpcinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2871
2871
|
**/
|
|
2872
2872
|
getrpcinfo: "getrpcinfo",
|
|
2873
2873
|
/** getsnapshot "asset_name" block_height
|
|
@@ -2893,7 +2893,7 @@ var methods = {
|
|
|
2893
2893
|
}
|
|
2894
2894
|
|
|
2895
2895
|
Examples:
|
|
2896
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getsnapshot", "params": ["ASSET_NAME" 28546] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2896
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getsnapshot", "params": ["ASSET_NAME" 28546] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2897
2897
|
**/
|
|
2898
2898
|
getsnapshot: "getsnapshot",
|
|
2899
2899
|
/** getsnapshotrequest "asset_name" block_height
|
|
@@ -2912,7 +2912,7 @@ var methods = {
|
|
|
2912
2912
|
|
|
2913
2913
|
Examples:
|
|
2914
2914
|
> neurai-cli getsnapshotrequest "TRONCO" 12345
|
|
2915
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getsnapshotrequest", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2915
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getsnapshotrequest", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2916
2916
|
**/
|
|
2917
2917
|
getsnapshotrequest: "getsnapshotrequest",
|
|
2918
2918
|
/** getspentinfo
|
|
@@ -2934,7 +2934,7 @@ var methods = {
|
|
|
2934
2934
|
|
|
2935
2935
|
Examples:
|
|
2936
2936
|
> neurai-cli getspentinfo '{"txid": "0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9", "index": 0}'
|
|
2937
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getspentinfo", "params": [{"txid": "0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9", "index": 0}] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2937
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getspentinfo", "params": [{"txid": "0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9", "index": 0}] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2938
2938
|
**/
|
|
2939
2939
|
getspentinfo: "getspentinfo",
|
|
2940
2940
|
/** gettransaction "txid" ( include_watchonly )
|
|
@@ -2991,7 +2991,7 @@ var methods = {
|
|
|
2991
2991
|
Examples:
|
|
2992
2992
|
> neurai-cli gettransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
|
|
2993
2993
|
> neurai-cli gettransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d" true
|
|
2994
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettransaction", "params": ["1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2994
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettransaction", "params": ["1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2995
2995
|
**/
|
|
2996
2996
|
gettransaction: "gettransaction",
|
|
2997
2997
|
/** gettxout "txid" n ( include_mempool )
|
|
@@ -3030,7 +3030,7 @@ var methods = {
|
|
|
3030
3030
|
> neurai-cli gettxout "txid" 1
|
|
3031
3031
|
|
|
3032
3032
|
As a json rpc call
|
|
3033
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxout", "params": ["txid", 1] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3033
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxout", "params": ["txid", 1] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3034
3034
|
**/
|
|
3035
3035
|
gettxout: "gettxout",
|
|
3036
3036
|
/** gettxoutproof ["txid",...] ( blockhash )
|
|
@@ -3073,7 +3073,7 @@ var methods = {
|
|
|
3073
3073
|
|
|
3074
3074
|
Examples:
|
|
3075
3075
|
> neurai-cli gettxoutsetinfo
|
|
3076
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxoutsetinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3076
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxoutsetinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3077
3077
|
**/
|
|
3078
3078
|
gettxoutsetinfo: "gettxoutsetinfo",
|
|
3079
3079
|
/** getunconfirmedbalance
|
|
@@ -3095,7 +3095,7 @@ var methods = {
|
|
|
3095
3095
|
|
|
3096
3096
|
Examples:
|
|
3097
3097
|
> neurai-cli getverifierstring "restricted_name"
|
|
3098
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getverifierstring", "params": ["restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3098
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getverifierstring", "params": ["restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3099
3099
|
**/
|
|
3100
3100
|
getverifierstring: "getverifierstring",
|
|
3101
3101
|
/** getwalletinfo
|
|
@@ -3120,7 +3120,7 @@ var methods = {
|
|
|
3120
3120
|
|
|
3121
3121
|
Examples:
|
|
3122
3122
|
> neurai-cli getwalletinfo
|
|
3123
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getwalletinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3123
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getwalletinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3124
3124
|
**/
|
|
3125
3125
|
getwalletinfo: "getwalletinfo",
|
|
3126
3126
|
/** help ( "command" )
|
|
@@ -3159,7 +3159,7 @@ var methods = {
|
|
|
3159
3159
|
> neurai-cli importaddress "myscript" "testing" false
|
|
3160
3160
|
|
|
3161
3161
|
As a JSON-RPC call
|
|
3162
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importaddress", "params": ["myscript", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3162
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importaddress", "params": ["myscript", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3163
3163
|
**/
|
|
3164
3164
|
importaddress: "importaddress",
|
|
3165
3165
|
/** importmulti "requests" ( "options" )
|
|
@@ -3225,7 +3225,7 @@ var methods = {
|
|
|
3225
3225
|
> neurai-cli importprivkey "mykey" "" false
|
|
3226
3226
|
|
|
3227
3227
|
As a JSON-RPC call
|
|
3228
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importprivkey", "params": ["mykey", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3228
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importprivkey", "params": ["mykey", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3229
3229
|
**/
|
|
3230
3230
|
importprivkey: "importprivkey",
|
|
3231
3231
|
/** importprunedfunds
|
|
@@ -3257,7 +3257,7 @@ var methods = {
|
|
|
3257
3257
|
> neurai-cli importpubkey "mypubkey" "testing" false
|
|
3258
3258
|
|
|
3259
3259
|
As a JSON-RPC call
|
|
3260
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importpubkey", "params": ["mypubkey", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3260
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importpubkey", "params": ["mypubkey", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3261
3261
|
**/
|
|
3262
3262
|
importpubkey: "importpubkey",
|
|
3263
3263
|
/** importwallet "filename"
|
|
@@ -3276,7 +3276,7 @@ var methods = {
|
|
|
3276
3276
|
> neurai-cli importwallet "test"
|
|
3277
3277
|
|
|
3278
3278
|
Import using the json rpc call
|
|
3279
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importwallet", "params": ["test"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3279
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importwallet", "params": ["test"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3280
3280
|
**/
|
|
3281
3281
|
importwallet: "importwallet",
|
|
3282
3282
|
/** issue "asset_name" qty "( to_address )" "( change_address )" ( units ) ( reissuable ) ( has_ipfs ) "( ipfs_hash )"
|
|
@@ -3419,7 +3419,7 @@ var methods = {
|
|
|
3419
3419
|
|
|
3420
3420
|
Examples:
|
|
3421
3421
|
> neurai-cli isvalidverifierstring "verifier_string"
|
|
3422
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "isvalidverifierstring", "params": ["verifier_string"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3422
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "isvalidverifierstring", "params": ["verifier_string"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3423
3423
|
**/
|
|
3424
3424
|
isvalidverifierstring: "isvalidverifierstring",
|
|
3425
3425
|
/** keypoolrefill ( newsize )
|
|
@@ -3431,7 +3431,7 @@ var methods = {
|
|
|
3431
3431
|
|
|
3432
3432
|
Examples:
|
|
3433
3433
|
> neurai-cli keypoolrefill
|
|
3434
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "keypoolrefill", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3434
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "keypoolrefill", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3435
3435
|
**/
|
|
3436
3436
|
keypoolrefill: "keypoolrefill",
|
|
3437
3437
|
/** listaccounts ( minconf include_watchonly)
|
|
@@ -3460,7 +3460,7 @@ var methods = {
|
|
|
3460
3460
|
> neurai-cli listaccounts 6
|
|
3461
3461
|
|
|
3462
3462
|
As json rpc call
|
|
3463
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaccounts", "params": [6] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3463
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaccounts", "params": [6] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3464
3464
|
**/
|
|
3465
3465
|
listaccounts: "listaccounts",
|
|
3466
3466
|
/** listaddressesbyasset "asset_name" (onlytotal) (count) (start)
|
|
@@ -3504,7 +3504,7 @@ var methods = {
|
|
|
3504
3504
|
|
|
3505
3505
|
Examples:
|
|
3506
3506
|
> neurai-cli listaddressesfortag "#TAG"
|
|
3507
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressesfortag", "params": ["#TAG"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3507
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressesfortag", "params": ["#TAG"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3508
3508
|
**/
|
|
3509
3509
|
listaddressesfortag: "listaddressesfortag",
|
|
3510
3510
|
/** listaddressgroupings
|
|
@@ -3528,7 +3528,7 @@ var methods = {
|
|
|
3528
3528
|
|
|
3529
3529
|
Examples:
|
|
3530
3530
|
> neurai-cli listaddressgroupings
|
|
3531
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressgroupings", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3531
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressgroupings", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3532
3532
|
**/
|
|
3533
3533
|
listaddressgroupings: "listaddressgroupings",
|
|
3534
3534
|
/** listaddressrestrictions address
|
|
@@ -3548,7 +3548,7 @@ var methods = {
|
|
|
3548
3548
|
|
|
3549
3549
|
Examples:
|
|
3550
3550
|
> neurai-cli listaddressrestrictions "address"
|
|
3551
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressrestrictions", "params": ["address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3551
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressrestrictions", "params": ["address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3552
3552
|
**/
|
|
3553
3553
|
listaddressrestrictions: "listaddressrestrictions",
|
|
3554
3554
|
/** listassetbalancesbyaddress "address" (onlytotal) (count) (start)
|
|
@@ -3612,7 +3612,7 @@ var methods = {
|
|
|
3612
3612
|
}
|
|
3613
3613
|
|
|
3614
3614
|
Examples:
|
|
3615
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3615
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3616
3616
|
> neurai-cli listassets ASSET
|
|
3617
3617
|
> neurai-cli listassets "ASSET*" true 10 20
|
|
3618
3618
|
**/
|
|
@@ -3623,7 +3623,7 @@ var methods = {
|
|
|
3623
3623
|
|
|
3624
3624
|
Examples:
|
|
3625
3625
|
> neurai-cli listbanned
|
|
3626
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3626
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3627
3627
|
**/
|
|
3628
3628
|
listbanned: "listbanned",
|
|
3629
3629
|
/** listdepinaddresses "asset_name" (count) (start)
|
|
@@ -3651,7 +3651,7 @@ var methods = {
|
|
|
3651
3651
|
Examples:
|
|
3652
3652
|
> neurai-cli listdepinaddresses "ASSET_NAME"
|
|
3653
3653
|
> neurai-cli listdepinaddresses "ASSET_NAME" 10 0
|
|
3654
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listdepinaddresses", "params": ["ASSET_NAME"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3654
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listdepinaddresses", "params": ["ASSET_NAME"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3655
3655
|
**/
|
|
3656
3656
|
listdepinaddresses: "listdepinaddresses",
|
|
3657
3657
|
/** listdepinholders "asset_name"
|
|
@@ -3678,7 +3678,7 @@ var methods = {
|
|
|
3678
3678
|
|
|
3679
3679
|
Examples:
|
|
3680
3680
|
> neurai-cli listdepinholders "&FRANCE"
|
|
3681
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listdepinholders", "params": ["&FRANCE"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3681
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listdepinholders", "params": ["&FRANCE"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3682
3682
|
**/
|
|
3683
3683
|
listdepinholders: "listdepinholders",
|
|
3684
3684
|
/** listglobalrestrictions
|
|
@@ -3695,7 +3695,7 @@ var methods = {
|
|
|
3695
3695
|
|
|
3696
3696
|
Examples:
|
|
3697
3697
|
> neurai-cli listglobalrestrictions
|
|
3698
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listglobalrestrictions", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3698
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listglobalrestrictions", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3699
3699
|
**/
|
|
3700
3700
|
listglobalrestrictions: "listglobalrestrictions",
|
|
3701
3701
|
/** listlockunspent
|
|
@@ -3727,7 +3727,7 @@ var methods = {
|
|
|
3727
3727
|
> neurai-cli lockunspent true "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"
|
|
3728
3728
|
|
|
3729
3729
|
As a json rpc call
|
|
3730
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listlockunspent", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3730
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listlockunspent", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3731
3731
|
**/
|
|
3732
3732
|
listlockunspent: "listlockunspent",
|
|
3733
3733
|
/** listmyassets "( asset )" ( verbose ) ( count ) ( start ) (confs)
|
|
@@ -3769,7 +3769,7 @@ var methods = {
|
|
|
3769
3769
|
{...}, {...}
|
|
3770
3770
|
|
|
3771
3771
|
Examples:
|
|
3772
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listmyassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3772
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listmyassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3773
3773
|
> neurai-cli listmyassets ASSET
|
|
3774
3774
|
> neurai-cli listmyassets "ASSET*" true 10 20
|
|
3775
3775
|
> neurai-cli listmyassets "ASSET*" true 10 20 1
|
|
@@ -3787,7 +3787,7 @@ var methods = {
|
|
|
3787
3787
|
|
|
3788
3788
|
Examples:
|
|
3789
3789
|
> neurai-cli listpqaddresses
|
|
3790
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listpqaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3790
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listpqaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3791
3791
|
**/
|
|
3792
3792
|
listpqaddresses: "listpqaddresses",
|
|
3793
3793
|
/** listreceivedbyaccount ( minconf include_empty include_watchonly)
|
|
@@ -3814,7 +3814,7 @@ var methods = {
|
|
|
3814
3814
|
Examples:
|
|
3815
3815
|
> neurai-cli listreceivedbyaccount
|
|
3816
3816
|
> neurai-cli listreceivedbyaccount 6 true
|
|
3817
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listreceivedbyaccount", "params": [6, true, true] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3817
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listreceivedbyaccount", "params": [6, true, true] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3818
3818
|
**/
|
|
3819
3819
|
listreceivedbyaccount: "listreceivedbyaccount",
|
|
3820
3820
|
/** listreceivedbyaddress ( minconf include_empty include_watchonly)
|
|
@@ -3846,7 +3846,7 @@ var methods = {
|
|
|
3846
3846
|
Examples:
|
|
3847
3847
|
> neurai-cli listreceivedbyaddress
|
|
3848
3848
|
> neurai-cli listreceivedbyaddress 6 true
|
|
3849
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listreceivedbyaddress", "params": [6, true, true] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3849
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listreceivedbyaddress", "params": [6, true, true] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3850
3850
|
**/
|
|
3851
3851
|
listreceivedbyaddress: "listreceivedbyaddress",
|
|
3852
3852
|
/** listsinceblock ( "blockhash" target_confirmations include_watchonly include_removed )
|
|
@@ -3897,7 +3897,7 @@ var methods = {
|
|
|
3897
3897
|
Examples:
|
|
3898
3898
|
> neurai-cli listsinceblock
|
|
3899
3899
|
> neurai-cli listsinceblock "000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad" 6
|
|
3900
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listsinceblock", "params": ["000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3900
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listsinceblock", "params": ["000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3901
3901
|
**/
|
|
3902
3902
|
listsinceblock: "listsinceblock",
|
|
3903
3903
|
/** listsnapshotrequests ["asset_name" [block_height]]
|
|
@@ -3918,7 +3918,7 @@ var methods = {
|
|
|
3918
3918
|
|
|
3919
3919
|
Examples:
|
|
3920
3920
|
> neurai-cli listsnapshotrequests
|
|
3921
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listsnapshotrequests", "params": ["TRONCO" 345333] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3921
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listsnapshotrequests", "params": ["TRONCO" 345333] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3922
3922
|
**/
|
|
3923
3923
|
listsnapshotrequests: "listsnapshotrequests",
|
|
3924
3924
|
/** listtagsforaddress address
|
|
@@ -3938,7 +3938,7 @@ var methods = {
|
|
|
3938
3938
|
|
|
3939
3939
|
Examples:
|
|
3940
3940
|
> neurai-cli listtagsforaddress "address"
|
|
3941
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listtagsforaddress", "params": ["address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3941
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listtagsforaddress", "params": ["address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3942
3942
|
**/
|
|
3943
3943
|
listtagsforaddress: "listtagsforaddress",
|
|
3944
3944
|
/** listtransactions ( "account" count skip include_watchonly)
|
|
@@ -4002,7 +4002,7 @@ var methods = {
|
|
|
4002
4002
|
> neurai-cli listtransactions "*" 20 100
|
|
4003
4003
|
|
|
4004
4004
|
As a json rpc call
|
|
4005
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listtransactions", "params": ["*", 20, 100] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4005
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listtransactions", "params": ["*", 20, 100] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4006
4006
|
**/
|
|
4007
4007
|
listtransactions: "listtransactions",
|
|
4008
4008
|
/** listunspent ( minconf maxconf ["addresses",...] [include_unsafe] [query_options])
|
|
@@ -4052,9 +4052,9 @@ var methods = {
|
|
|
4052
4052
|
Examples
|
|
4053
4053
|
> neurai-cli listunspent
|
|
4054
4054
|
> neurai-cli listunspent 6 9999999 "[\"1PGFqEzfmQch1gKD3ra4k18PNj3tTUUSqg\",\"1LtvqCaApEdUGFkpKMM4MstjcaL4dKg8SP\"]"
|
|
4055
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listunspent", "params": [6, 9999999 "[\"1PGFqEzfmQch1gKD3ra4k18PNj3tTUUSqg\",\"1LtvqCaApEdUGFkpKMM4MstjcaL4dKg8SP\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4055
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listunspent", "params": [6, 9999999 "[\"1PGFqEzfmQch1gKD3ra4k18PNj3tTUUSqg\",\"1LtvqCaApEdUGFkpKMM4MstjcaL4dKg8SP\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4056
4056
|
> neurai-cli listunspent 6 9999999 '[]' true '{ "minimumAmount": 0.005 }'
|
|
4057
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listunspent", "params": [6, 9999999, [] , true, { "minimumAmount": 0.005 } ] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4057
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listunspent", "params": [6, 9999999, [] , true, { "minimumAmount": 0.005 } ] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4058
4058
|
**/
|
|
4059
4059
|
listunspent: "listunspent",
|
|
4060
4060
|
/** listwallets
|
|
@@ -4069,7 +4069,7 @@ var methods = {
|
|
|
4069
4069
|
|
|
4070
4070
|
Examples:
|
|
4071
4071
|
> neurai-cli listwallets
|
|
4072
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listwallets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4072
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listwallets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4073
4073
|
**/
|
|
4074
4074
|
listwallets: "listwallets",
|
|
4075
4075
|
/** lockunspent unlock ([{"txid":"txid","vout":n},...])
|
|
@@ -4111,7 +4111,7 @@ var methods = {
|
|
|
4111
4111
|
> neurai-cli lockunspent true "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"
|
|
4112
4112
|
|
|
4113
4113
|
As a json rpc call
|
|
4114
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "lockunspent", "params": [false, "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4114
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "lockunspent", "params": [false, "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4115
4115
|
**/
|
|
4116
4116
|
lockunspent: "lockunspent",
|
|
4117
4117
|
/** move "fromaccount" "toaccount" amount ( minconf "comment" )
|
|
@@ -4137,7 +4137,7 @@ var methods = {
|
|
|
4137
4137
|
> neurai-cli move "timotei" "akiko" 0.01 6 "happy birthday!"
|
|
4138
4138
|
|
|
4139
4139
|
As a json rpc call
|
|
4140
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "move", "params": ["timotei", "akiko", 0.01, 6, "happy birthday!"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4140
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "move", "params": ["timotei", "akiko", 0.01, 6, "happy birthday!"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4141
4141
|
**/
|
|
4142
4142
|
move: "move",
|
|
4143
4143
|
/** ping
|
|
@@ -4148,7 +4148,7 @@ var methods = {
|
|
|
4148
4148
|
|
|
4149
4149
|
Examples:
|
|
4150
4150
|
> neurai-cli ping
|
|
4151
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "ping", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4151
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "ping", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4152
4152
|
**/
|
|
4153
4153
|
ping: "ping",
|
|
4154
4154
|
/** pprpcsb "header_hash" "mix_hash" "nonce"
|
|
@@ -4164,7 +4164,7 @@ var methods = {
|
|
|
4164
4164
|
|
|
4165
4165
|
Examples:
|
|
4166
4166
|
> neurai-cli pprpcsb "header_hash" "mix_hash" 100000
|
|
4167
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "pprpcsb", "params": ["header_hash" "mix_hash" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4167
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "pprpcsb", "params": ["header_hash" "mix_hash" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4168
4168
|
**/
|
|
4169
4169
|
pprpcsb: "pprpcsb",
|
|
4170
4170
|
/** preciousblock "blockhash"
|
|
@@ -4182,7 +4182,7 @@ var methods = {
|
|
|
4182
4182
|
|
|
4183
4183
|
Examples:
|
|
4184
4184
|
> neurai-cli preciousblock "blockhash"
|
|
4185
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "preciousblock", "params": ["blockhash"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4185
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "preciousblock", "params": ["blockhash"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4186
4186
|
**/
|
|
4187
4187
|
preciousblock: "preciousblock",
|
|
4188
4188
|
/** prioritisetransaction <txid> <dummy value> <fee delta>
|
|
@@ -4201,7 +4201,7 @@ var methods = {
|
|
|
4201
4201
|
|
|
4202
4202
|
Examples:
|
|
4203
4203
|
> neurai-cli prioritisetransaction "txid" 0.0 10000
|
|
4204
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "prioritisetransaction", "params": ["txid", 0.0, 10000] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4204
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "prioritisetransaction", "params": ["txid", 0.0, 10000] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4205
4205
|
**/
|
|
4206
4206
|
prioritisetransaction: "prioritisetransaction",
|
|
4207
4207
|
/** pruneblockchain
|
|
@@ -4215,7 +4215,7 @@ var methods = {
|
|
|
4215
4215
|
|
|
4216
4216
|
Examples:
|
|
4217
4217
|
> neurai-cli pruneblockchain 1000
|
|
4218
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "pruneblockchain", "params": [1000] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4218
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "pruneblockchain", "params": [1000] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4219
4219
|
**/
|
|
4220
4220
|
pruneblockchain: "pruneblockchain",
|
|
4221
4221
|
/** purgesnapshot "asset_name" block_height
|
|
@@ -4237,7 +4237,7 @@ var methods = {
|
|
|
4237
4237
|
|
|
4238
4238
|
Examples:
|
|
4239
4239
|
> neurai-cli purgesnapshot "ASSET_NAME" 28546
|
|
4240
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "purgesnapshot", "params": ["ASSET_NAME" 28546] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4240
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "purgesnapshot", "params": ["ASSET_NAME" 28546] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4241
4241
|
**/
|
|
4242
4242
|
purgesnapshot: "purgesnapshot",
|
|
4243
4243
|
/** reissue "asset_name" qty "to_address" "change_address" ( reissuable ) ( new_units) "( new_ipfs )"
|
|
@@ -4262,7 +4262,7 @@ var methods = {
|
|
|
4262
4262
|
|
|
4263
4263
|
Examples:
|
|
4264
4264
|
> neurai-cli reissue "ASSET_NAME" 20 "address"
|
|
4265
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "reissue", "params": ["ASSET_NAME" 20 "address" "change_address" "true" 8 "Qmd286K6pohQcTKYqnS1YhWrCiS4gz7Xi34sdwMe9USZ7u"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4265
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "reissue", "params": ["ASSET_NAME" 20 "address" "change_address" "true" 8 "Qmd286K6pohQcTKYqnS1YhWrCiS4gz7Xi34sdwMe9USZ7u"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4266
4266
|
**/
|
|
4267
4267
|
reissue: "reissue",
|
|
4268
4268
|
/** reissuerestrictedasset "asset_name" qty to_address ( change_verifier ) ( "new_verifier" ) "( change_address )" ( new_units ) ( reissuable ) "( new_ipfs )"
|
|
@@ -4306,7 +4306,7 @@ var methods = {
|
|
|
4306
4306
|
> neurai-cli removeprunedfunds "a8d0c0184dde994a09ec054286f1ce581bebf46446a512166eae7628734ea0a5"
|
|
4307
4307
|
|
|
4308
4308
|
As a JSON-RPC call
|
|
4309
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removeprunedfunds", "params": ["a8d0c0184dde994a09ec054286f1ce581bebf46446a512166eae7628734ea0a5"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4309
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removeprunedfunds", "params": ["a8d0c0184dde994a09ec054286f1ce581bebf46446a512166eae7628734ea0a5"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4310
4310
|
**/
|
|
4311
4311
|
removeprunedfunds: "removeprunedfunds",
|
|
4312
4312
|
/** removetagfromaddress tag_name to_address (change_address) (asset_data)
|
|
@@ -4327,9 +4327,9 @@ var methods = {
|
|
|
4327
4327
|
|
|
4328
4328
|
Examples:
|
|
4329
4329
|
> neurai-cli removetagfromaddress "#TAG" "to_address"
|
|
4330
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removetagfromaddress", "params": ["#TAG" "to_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4330
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removetagfromaddress", "params": ["#TAG" "to_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4331
4331
|
> neurai-cli removetagfromaddress "#TAG" "to_address" "change_address"
|
|
4332
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removetagfromaddress", "params": ["#TAG" "to_address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4332
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removetagfromaddress", "params": ["#TAG" "to_address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4333
4333
|
**/
|
|
4334
4334
|
removetagfromaddress: "removetagfromaddress",
|
|
4335
4335
|
/** requestsnapshot "asset_name" block_height
|
|
@@ -4347,7 +4347,7 @@ var methods = {
|
|
|
4347
4347
|
|
|
4348
4348
|
Examples:
|
|
4349
4349
|
> neurai-cli requestsnapshot "TRONCO" 12345
|
|
4350
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "requestsnapshot", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4350
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "requestsnapshot", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4351
4351
|
**/
|
|
4352
4352
|
requestsnapshot: "requestsnapshot",
|
|
4353
4353
|
/** rescanblockchain ("start_height") ("stop_height")
|
|
@@ -4366,7 +4366,7 @@ var methods = {
|
|
|
4366
4366
|
|
|
4367
4367
|
Examples:
|
|
4368
4368
|
> neurai-cli rescanblockchain 100000 120000
|
|
4369
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "rescanblockchain", "params": [100000, 120000] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4369
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "rescanblockchain", "params": [100000, 120000] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4370
4370
|
**/
|
|
4371
4371
|
rescanblockchain: "rescanblockchain",
|
|
4372
4372
|
/** savemempool
|
|
@@ -4375,7 +4375,7 @@ var methods = {
|
|
|
4375
4375
|
|
|
4376
4376
|
Examples:
|
|
4377
4377
|
> neurai-cli savemempool
|
|
4378
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "savemempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4378
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "savemempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4379
4379
|
**/
|
|
4380
4380
|
savemempool: "savemempool",
|
|
4381
4381
|
/** selfrevokedepin "asset_name"
|
|
@@ -4409,7 +4409,7 @@ var methods = {
|
|
|
4409
4409
|
|
|
4410
4410
|
Examples:
|
|
4411
4411
|
> neurai-cli selfrevokedepin "&FRANCE"
|
|
4412
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "selfrevokedepin", "params": ["&FRANCE"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4412
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "selfrevokedepin", "params": ["&FRANCE"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4413
4413
|
**/
|
|
4414
4414
|
selfrevokedepin: "selfrevokedepin",
|
|
4415
4415
|
/** sendfrom "fromaccount" "toaddress" amount ( minconf "comment" "comment_to" )
|
|
@@ -4442,7 +4442,7 @@ var methods = {
|
|
|
4442
4442
|
> neurai-cli sendfrom "tabby" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.01 6 "donation" "seans outpost"
|
|
4443
4443
|
|
|
4444
4444
|
As a json rpc call
|
|
4445
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendfrom", "params": ["tabby", "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd", 0.01, 6, "donation", "seans outpost"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4445
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendfrom", "params": ["tabby", "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd", 0.01, 6, "donation", "seans outpost"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4446
4446
|
**/
|
|
4447
4447
|
sendfrom: "sendfrom",
|
|
4448
4448
|
/** sendfromaddress "from_address" "to_address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
|
|
@@ -4473,7 +4473,7 @@ var methods = {
|
|
|
4473
4473
|
> neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1
|
|
4474
4474
|
> neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "donation" "seans outpost"
|
|
4475
4475
|
> neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "" "" true
|
|
4476
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendfromaddress", "params": ["1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd", 0.1, "donation", "seans outpost"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4476
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendfromaddress", "params": ["1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd", 0.1, "donation", "seans outpost"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4477
4477
|
**/
|
|
4478
4478
|
sendfromaddress: "sendfromaddress",
|
|
4479
4479
|
/** sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] replaceable conf_target "estimate_mode")
|
|
@@ -4519,7 +4519,7 @@ var methods = {
|
|
|
4519
4519
|
> neurai-cli sendmany "" "{\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\":0.01,\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\":0.02}" 1 "" "[\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\",\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\"]"
|
|
4520
4520
|
|
|
4521
4521
|
As a json rpc call
|
|
4522
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendmany", "params": ["", "{\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\":0.01,\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\":0.02}", 6, "testing"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4522
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendmany", "params": ["", "{\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\":0.01,\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\":0.02}", 6, "testing"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4523
4523
|
**/
|
|
4524
4524
|
sendmany: "sendmany",
|
|
4525
4525
|
/** sendmessage "channel_name" "ipfs_hash" (expire_time)
|
|
@@ -4566,7 +4566,7 @@ var methods = {
|
|
|
4566
4566
|
> neurai-cli sendrawtransaction "signedhex"
|
|
4567
4567
|
|
|
4568
4568
|
As a json rpc call
|
|
4569
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendrawtransaction", "params": ["signedhex"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4569
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendrawtransaction", "params": ["signedhex"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4570
4570
|
**/
|
|
4571
4571
|
sendrawtransaction: "sendrawtransaction",
|
|
4572
4572
|
/** sendtoaddress "address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
|
|
@@ -4596,7 +4596,7 @@ var methods = {
|
|
|
4596
4596
|
> neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1
|
|
4597
4597
|
> neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "donation" "seans outpost"
|
|
4598
4598
|
> neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "" "" true
|
|
4599
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendtoaddress", "params": ["1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd", 0.1, "donation", "seans outpost"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4599
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendtoaddress", "params": ["1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd", 0.1, "donation", "seans outpost"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4600
4600
|
**/
|
|
4601
4601
|
sendtoaddress: "sendtoaddress",
|
|
4602
4602
|
/** setaccount "address" "account"
|
|
@@ -4609,7 +4609,7 @@ var methods = {
|
|
|
4609
4609
|
|
|
4610
4610
|
Examples:
|
|
4611
4611
|
> neurai-cli setaccount "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "tabby"
|
|
4612
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setaccount", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", "tabby"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4612
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setaccount", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", "tabby"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4613
4613
|
**/
|
|
4614
4614
|
setaccount: "setaccount",
|
|
4615
4615
|
/** setban "subnet" "add|remove" (bantime) (absolute)
|
|
@@ -4625,7 +4625,7 @@ var methods = {
|
|
|
4625
4625
|
Examples:
|
|
4626
4626
|
> neurai-cli setban "192.168.0.6" "add" 86400
|
|
4627
4627
|
> neurai-cli setban "192.168.0.0/24" "add"
|
|
4628
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setban", "params": ["192.168.0.6", "add", 86400] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4628
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setban", "params": ["192.168.0.6", "add", 86400] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4629
4629
|
**/
|
|
4630
4630
|
setban: "setban",
|
|
4631
4631
|
/** setgenerate generate ( genproclimit )
|
|
@@ -4650,7 +4650,7 @@ var methods = {
|
|
|
4650
4650
|
> neurai-cli setgenerate false
|
|
4651
4651
|
|
|
4652
4652
|
Using json rpc
|
|
4653
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setgenerate", "params": [true, 1] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4653
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setgenerate", "params": [true, 1] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4654
4654
|
**/
|
|
4655
4655
|
setgenerate: "setgenerate",
|
|
4656
4656
|
/** setnetworkactive true|false
|
|
@@ -4673,7 +4673,7 @@ var methods = {
|
|
|
4673
4673
|
|
|
4674
4674
|
Examples:
|
|
4675
4675
|
> neurai-cli settxfee 0.00001
|
|
4676
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "settxfee", "params": [0.00001] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4676
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "settxfee", "params": [0.00001] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4677
4677
|
**/
|
|
4678
4678
|
settxfee: "settxfee",
|
|
4679
4679
|
/** signmessage "address" "message"
|
|
@@ -4699,7 +4699,7 @@ var methods = {
|
|
|
4699
4699
|
> neurai-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
|
|
4700
4700
|
|
|
4701
4701
|
As json rpc
|
|
4702
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signmessage", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4702
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signmessage", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4703
4703
|
**/
|
|
4704
4704
|
signmessage: "signmessage",
|
|
4705
4705
|
/** signmessagewithprivkey "privkey" "message"
|
|
@@ -4722,7 +4722,7 @@ var methods = {
|
|
|
4722
4722
|
> neurai-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
|
|
4723
4723
|
|
|
4724
4724
|
As json rpc
|
|
4725
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signmessagewithprivkey", "params": ["privkey", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4725
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signmessagewithprivkey", "params": ["privkey", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4726
4726
|
**/
|
|
4727
4727
|
signmessagewithprivkey: "signmessagewithprivkey",
|
|
4728
4728
|
/** signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )
|
|
@@ -4778,7 +4778,7 @@ var methods = {
|
|
|
4778
4778
|
|
|
4779
4779
|
Examples:
|
|
4780
4780
|
> neurai-cli signrawtransaction "myhex"
|
|
4781
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signrawtransaction", "params": ["myhex"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4781
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signrawtransaction", "params": ["myhex"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4782
4782
|
**/
|
|
4783
4783
|
signrawtransaction: "signrawtransaction",
|
|
4784
4784
|
/** stop
|
|
@@ -4799,7 +4799,7 @@ var methods = {
|
|
|
4799
4799
|
|
|
4800
4800
|
Examples:
|
|
4801
4801
|
> neurai-cli submitblock "mydata"
|
|
4802
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "submitblock", "params": ["mydata"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4802
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "submitblock", "params": ["mydata"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4803
4803
|
**/
|
|
4804
4804
|
submitblock: "submitblock",
|
|
4805
4805
|
/** subscribetochannel
|
|
@@ -4818,7 +4818,7 @@ var methods = {
|
|
|
4818
4818
|
|
|
4819
4819
|
Examples:
|
|
4820
4820
|
> neurai-cli subscribetochannel "ASSET_NAME!"
|
|
4821
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "subscribetochannel", "params": ["ASSET_NAME!"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4821
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "subscribetochannel", "params": ["ASSET_NAME!"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4822
4822
|
**/
|
|
4823
4823
|
subscribetochannel: "subscribetochannel",
|
|
4824
4824
|
/** testmempoolaccept ["rawtxs"] ( allowhighfees )
|
|
@@ -4855,7 +4855,7 @@ var methods = {
|
|
|
4855
4855
|
> neurai-cli testmempoolaccept "signedhex"
|
|
4856
4856
|
|
|
4857
4857
|
As a json rpc call
|
|
4858
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "testmempoolaccept", "params": [["signedhex"]] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4858
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "testmempoolaccept", "params": [["signedhex"]] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4859
4859
|
**/
|
|
4860
4860
|
testmempoolaccept: "testmempoolaccept",
|
|
4861
4861
|
/** transfer "asset_name" qty "to_address" "message" expire_time "change_address" "asset_change_address"
|
|
@@ -4906,7 +4906,7 @@ var methods = {
|
|
|
4906
4906
|
|
|
4907
4907
|
Examples:
|
|
4908
4908
|
> neurai-cli transferfromaddress "ASSET_NAME" "fromaddress" 20 "address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E", 156545652
|
|
4909
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "transferfromaddress", "params": ["ASSET_NAME" "fromaddress" 20 "address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E", 156545652] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4909
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "transferfromaddress", "params": ["ASSET_NAME" "fromaddress" 20 "address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E", 156545652] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4910
4910
|
**/
|
|
4911
4911
|
transferfromaddress: "transferfromaddress",
|
|
4912
4912
|
/** transferfromaddresses "asset_name" ["from_addresses"] qty "to_address" "message" expire_time "xna_change_address" "asset_change_address"
|
|
@@ -4932,7 +4932,7 @@ var methods = {
|
|
|
4932
4932
|
|
|
4933
4933
|
Examples:
|
|
4934
4934
|
> neurai-cli transferfromaddresses "ASSET_NAME" '["fromaddress1", "fromaddress2"]' 20 "to_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 154652365
|
|
4935
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "transferfromaddresses", "params": ["ASSET_NAME" '["fromaddress1", "fromaddress2"]' 20 "to_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 154652365] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4935
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "transferfromaddresses", "params": ["ASSET_NAME" '["fromaddress1", "fromaddress2"]' 20 "to_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 154652365] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4936
4936
|
**/
|
|
4937
4937
|
transferfromaddresses: "transferfromaddresses",
|
|
4938
4938
|
/** transferqualifier "qualifier_name" qty "to_address" ("change_address") ("message") (expire_time)
|
|
@@ -4977,9 +4977,9 @@ var methods = {
|
|
|
4977
4977
|
|
|
4978
4978
|
Examples:
|
|
4979
4979
|
> neurai-cli unfreezeaddress "$RESTRICTED_ASSET" "address"
|
|
4980
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezeaddress", "params": ["$RESTRICTED_ASSET" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4980
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezeaddress", "params": ["$RESTRICTED_ASSET" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4981
4981
|
> neurai-cli unfreezeaddress "$RESTRICTED_ASSET" "address" "change_address"
|
|
4982
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezeaddress", "params": ["$RESTRICTED_ASSET" "address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4982
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezeaddress", "params": ["$RESTRICTED_ASSET" "address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4983
4983
|
**/
|
|
4984
4984
|
unfreezeaddress: "unfreezeaddress",
|
|
4985
4985
|
/** unfreezedepin "asset_name" "address" ("change_address")
|
|
@@ -5003,7 +5003,7 @@ var methods = {
|
|
|
5003
5003
|
|
|
5004
5004
|
Examples:
|
|
5005
5005
|
> neurai-cli unfreezedepin "&FRANCE" "address"
|
|
5006
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezedepin", "params": ["&FRANCE" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5006
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezedepin", "params": ["&FRANCE" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5007
5007
|
**/
|
|
5008
5008
|
unfreezedepin: "unfreezedepin",
|
|
5009
5009
|
/** unfreezerestrictedasset asset_name (change_address) (asset_data)
|
|
@@ -5023,9 +5023,9 @@ var methods = {
|
|
|
5023
5023
|
|
|
5024
5024
|
Examples:
|
|
5025
5025
|
> neurai-cli unfreezerestrictedasset "$RESTRICTED_ASSET"
|
|
5026
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezerestrictedasset", "params": ["$RESTRICTED_ASSET"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5026
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezerestrictedasset", "params": ["$RESTRICTED_ASSET"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5027
5027
|
> neurai-cli unfreezerestrictedasset "$RESTRICTED_ASSET" "change_address"
|
|
5028
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezerestrictedasset", "params": ["$RESTRICTED_ASSET" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5028
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezerestrictedasset", "params": ["$RESTRICTED_ASSET" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5029
5029
|
**/
|
|
5030
5030
|
unfreezerestrictedasset: "unfreezerestrictedasset",
|
|
5031
5031
|
/** unsubscribefromchannel
|
|
@@ -5044,7 +5044,7 @@ var methods = {
|
|
|
5044
5044
|
|
|
5045
5045
|
Examples:
|
|
5046
5046
|
> neurai-cli unsubscribefromchannel "ASSET_NAME!"
|
|
5047
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unsubscribefromchannel", "params": ["ASSET_NAME!"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5047
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unsubscribefromchannel", "params": ["ASSET_NAME!"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5048
5048
|
**/
|
|
5049
5049
|
unsubscribefromchannel: "unsubscribefromchannel",
|
|
5050
5050
|
/** uptime
|
|
@@ -5056,7 +5056,7 @@ var methods = {
|
|
|
5056
5056
|
|
|
5057
5057
|
Examples:
|
|
5058
5058
|
> neurai-cli uptime
|
|
5059
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "uptime", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5059
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "uptime", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5060
5060
|
**/
|
|
5061
5061
|
uptime: "uptime",
|
|
5062
5062
|
/** validateaddress "address"
|
|
@@ -5092,7 +5092,7 @@ var methods = {
|
|
|
5092
5092
|
|
|
5093
5093
|
Examples:
|
|
5094
5094
|
> neurai-cli validateaddress "1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc"
|
|
5095
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "validateaddress", "params": ["1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5095
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "validateaddress", "params": ["1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5096
5096
|
**/
|
|
5097
5097
|
validateaddress: "validateaddress",
|
|
5098
5098
|
/** verifychain ( checklevel nblocks )
|
|
@@ -5108,7 +5108,7 @@ var methods = {
|
|
|
5108
5108
|
|
|
5109
5109
|
Examples:
|
|
5110
5110
|
> neurai-cli verifychain
|
|
5111
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifychain", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5111
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifychain", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5112
5112
|
**/
|
|
5113
5113
|
verifychain: "verifychain",
|
|
5114
5114
|
/** verifymessage "address" "signature" "message"
|
|
@@ -5135,7 +5135,7 @@ var methods = {
|
|
|
5135
5135
|
> neurai-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
|
|
5136
5136
|
|
|
5137
5137
|
As json rpc
|
|
5138
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifymessage", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", "signature", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5138
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifymessage", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", "signature", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5139
5139
|
**/
|
|
5140
5140
|
verifymessage: "verifymessage",
|
|
5141
5141
|
/** verifytxoutproof "proof"
|
|
@@ -5164,7 +5164,7 @@ var methods = {
|
|
|
5164
5164
|
|
|
5165
5165
|
Examples:
|
|
5166
5166
|
> neurai-cli viewallmessagechannels
|
|
5167
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessagechannels", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5167
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessagechannels", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5168
5168
|
**/
|
|
5169
5169
|
viewallmessagechannels: "viewallmessagechannels",
|
|
5170
5170
|
/** viewallmessages
|
|
@@ -5185,7 +5185,7 @@ var methods = {
|
|
|
5185
5185
|
|
|
5186
5186
|
Examples:
|
|
5187
5187
|
> neurai-cli viewallmessages
|
|
5188
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5188
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5189
5189
|
**/
|
|
5190
5190
|
viewallmessages: "viewallmessages",
|
|
5191
5191
|
/** viewmyrestrictedaddresses
|
|
@@ -5205,7 +5205,7 @@ var methods = {
|
|
|
5205
5205
|
|
|
5206
5206
|
Examples:
|
|
5207
5207
|
> neurai-cli viewmyrestrictedaddresses
|
|
5208
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmyrestrictedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5208
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmyrestrictedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5209
5209
|
**/
|
|
5210
5210
|
viewmyrestrictedaddresses: "viewmyrestrictedaddresses",
|
|
5211
5211
|
/** viewmytaggedaddresses
|
|
@@ -5225,7 +5225,7 @@ var methods = {
|
|
|
5225
5225
|
|
|
5226
5226
|
Examples:
|
|
5227
5227
|
> neurai-cli viewmytaggedaddresses
|
|
5228
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmytaggedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5228
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmytaggedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5229
5229
|
**/
|
|
5230
5230
|
viewmytaggedaddresses: "viewmytaggedaddresses"
|
|
5231
5231
|
};
|