@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.mjs
CHANGED
|
@@ -15,7 +15,7 @@ var methods = {
|
|
|
15
15
|
|
|
16
16
|
Examples:
|
|
17
17
|
> neurai-cli abandontransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
|
|
18
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abandontransaction", "params": ["1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
18
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abandontransaction", "params": ["1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
19
19
|
**/
|
|
20
20
|
abandontransaction: "abandontransaction",
|
|
21
21
|
/** abortrescan
|
|
@@ -31,7 +31,7 @@ var methods = {
|
|
|
31
31
|
> neurai-cli abortrescan
|
|
32
32
|
|
|
33
33
|
As a JSON-RPC call
|
|
34
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abortrescan", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
34
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abortrescan", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
35
35
|
**/
|
|
36
36
|
abortrescan: "abortrescan",
|
|
37
37
|
/** addmultisigaddress nrequired ["key",...] ( "account" )
|
|
@@ -58,7 +58,7 @@ var methods = {
|
|
|
58
58
|
> neurai-cli addmultisigaddress 2 "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"
|
|
59
59
|
|
|
60
60
|
As json rpc call
|
|
61
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addmultisigaddress", "params": [2, "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
61
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addmultisigaddress", "params": [2, "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
62
62
|
**/
|
|
63
63
|
addmultisigaddress: "addmultisigaddress",
|
|
64
64
|
/** addnode "node" "add|remove|onetry"
|
|
@@ -73,8 +73,8 @@ var methods = {
|
|
|
73
73
|
2. "command" (string, required) 'add' to add a node to the list, 'remove' to remove a node from the list, 'onetry' to try a connection to the node once
|
|
74
74
|
|
|
75
75
|
Examples:
|
|
76
|
-
> neurai-cli addnode "192.168.0.6:
|
|
77
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addnode", "params": ["192.168.0.6:
|
|
76
|
+
> neurai-cli addnode "192.168.0.6:19000" "onetry"
|
|
77
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addnode", "params": ["192.168.0.6:19000", "onetry"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
78
78
|
**/
|
|
79
79
|
addnode: "addnode",
|
|
80
80
|
/** addtagtoaddress tag_name to_address (change_address) (asset_data)
|
|
@@ -95,9 +95,9 @@ var methods = {
|
|
|
95
95
|
|
|
96
96
|
Examples:
|
|
97
97
|
> neurai-cli addtagtoaddress "#TAG" "to_address"
|
|
98
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addtagtoaddress", "params": ["#TAG" "to_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
98
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addtagtoaddress", "params": ["#TAG" "to_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
99
99
|
> neurai-cli addtagtoaddress "#TAG" "to_address" "change_address"
|
|
100
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addtagtoaddress", "params": ["#TAG" "to_address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
100
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addtagtoaddress", "params": ["#TAG" "to_address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
101
101
|
**/
|
|
102
102
|
addtagtoaddress: "addtagtoaddress",
|
|
103
103
|
/** addwitnessaddress "address"
|
|
@@ -122,7 +122,7 @@ var methods = {
|
|
|
122
122
|
|
|
123
123
|
Examples:
|
|
124
124
|
> neurai-cli backupwallet "backup.dat"
|
|
125
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "backupwallet", "params": ["backup.dat"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
125
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "backupwallet", "params": ["backup.dat"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
126
126
|
**/
|
|
127
127
|
backupwallet: "backupwallet",
|
|
128
128
|
/** bumpfee has been deprecated on the XNA Wallet.
|
|
@@ -143,7 +143,7 @@ var methods = {
|
|
|
143
143
|
|
|
144
144
|
Examples:
|
|
145
145
|
> neurai-cli cancelsnapshotrequest "TRONCO" 12345
|
|
146
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "cancelsnapshotrequest", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
146
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "cancelsnapshotrequest", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
147
147
|
**/
|
|
148
148
|
cancelsnapshotrequest: "cancelsnapshotrequest",
|
|
149
149
|
/** checkaddressrestriction address restricted_name
|
|
@@ -162,7 +162,7 @@ var methods = {
|
|
|
162
162
|
|
|
163
163
|
Examples:
|
|
164
164
|
> neurai-cli checkaddressrestriction "address" "restricted_name"
|
|
165
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkaddressrestriction", "params": ["address" "restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
165
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkaddressrestriction", "params": ["address" "restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
166
166
|
**/
|
|
167
167
|
checkaddressrestriction: "checkaddressrestriction",
|
|
168
168
|
/** checkaddresstag address tag_name
|
|
@@ -181,7 +181,7 @@ var methods = {
|
|
|
181
181
|
|
|
182
182
|
Examples:
|
|
183
183
|
> neurai-cli checkaddresstag "address" "tag_name"
|
|
184
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkaddresstag", "params": ["address" "tag_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
184
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkaddresstag", "params": ["address" "tag_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
185
185
|
**/
|
|
186
186
|
checkaddresstag: "checkaddresstag",
|
|
187
187
|
/** checkdepinvalidity "asset_name" "address"
|
|
@@ -205,7 +205,7 @@ var methods = {
|
|
|
205
205
|
|
|
206
206
|
Examples:
|
|
207
207
|
> neurai-cli checkdepinvalidity "&FRANCE" "address"
|
|
208
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkdepinvalidity", "params": ["&FRANCE" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
208
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkdepinvalidity", "params": ["&FRANCE" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
209
209
|
**/
|
|
210
210
|
checkdepinvalidity: "checkdepinvalidity",
|
|
211
211
|
/** checkglobalrestriction restricted_name
|
|
@@ -223,7 +223,7 @@ var methods = {
|
|
|
223
223
|
|
|
224
224
|
Examples:
|
|
225
225
|
> neurai-cli checkglobalrestriction "restricted_name"
|
|
226
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkglobalrestriction", "params": ["restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
226
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkglobalrestriction", "params": ["restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
227
227
|
**/
|
|
228
228
|
checkglobalrestriction: "checkglobalrestriction",
|
|
229
229
|
/** clearbanned
|
|
@@ -232,7 +232,7 @@ var methods = {
|
|
|
232
232
|
|
|
233
233
|
Examples:
|
|
234
234
|
> neurai-cli clearbanned
|
|
235
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
235
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
236
236
|
**/
|
|
237
237
|
clearbanned: "clearbanned",
|
|
238
238
|
/** clearmempool
|
|
@@ -241,7 +241,7 @@ var methods = {
|
|
|
241
241
|
|
|
242
242
|
Examples:
|
|
243
243
|
> neurai-cli clearmempool
|
|
244
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
244
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
245
245
|
**/
|
|
246
246
|
clearmempool: "clearmempool",
|
|
247
247
|
/** clearmessages
|
|
@@ -257,7 +257,7 @@ var methods = {
|
|
|
257
257
|
|
|
258
258
|
Examples:
|
|
259
259
|
> neurai-cli clearmessages
|
|
260
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
260
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
261
261
|
**/
|
|
262
262
|
clearmessages: "clearmessages",
|
|
263
263
|
/** combinerawtransaction ["hexstring",...]
|
|
@@ -304,7 +304,7 @@ var methods = {
|
|
|
304
304
|
> neurai-cli createmultisig 2 "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"
|
|
305
305
|
|
|
306
306
|
As a json rpc call
|
|
307
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createmultisig", "params": [2, "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
307
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createmultisig", "params": [2, "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
308
308
|
**/
|
|
309
309
|
createmultisig: "createmultisig",
|
|
310
310
|
/** createrawtransaction [{"txid":"id","vout":n},...] {"address":(amount or object),"data":"hex",...}
|
|
@@ -569,7 +569,7 @@ var methods = {
|
|
|
569
569
|
> neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0},{\"txid\":\"myasset\",\"vout\":0}]" "{\"address\":{\"transferwithmessage\":{\"MYASSET\":50,\"message\":\"hash\",\"expire_time\": utc_time}}}"
|
|
570
570
|
> neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0},{\"txid\":\"myownership\",\"vout\":0}]" "{\"issuer_address\":{\"reissue\":{\"asset_name\":\"MYASSET\",\"asset_quantity\":2000000}}}"
|
|
571
571
|
> neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0}]" "[{\"address\":500},{\"address\":{\"issue\":{\"asset_name\":\"MYASSET\",\"asset_quantity\":1000000,\"units\":1,\"reissuable\":0,\"has_ipfs\":0}}}]"
|
|
572
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createrawtransaction", "params": ["[{\"txid\":\"mycoin\",\"vout\":0}]", "{\"data\":\"00010203\"}"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
572
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createrawtransaction", "params": ["[{\"txid\":\"mycoin\",\"vout\":0}]", "{\"data\":\"00010203\"}"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
573
573
|
**/
|
|
574
574
|
createrawtransaction: "createrawtransaction",
|
|
575
575
|
/** decodeblock "blockhex"
|
|
@@ -598,7 +598,7 @@ var methods = {
|
|
|
598
598
|
|
|
599
599
|
Examples:
|
|
600
600
|
> neurai-cli decodeblock "xxxx"
|
|
601
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decodeblock", "params": ["xxxx"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
601
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decodeblock", "params": ["xxxx"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
602
602
|
**/
|
|
603
603
|
decodeblock: "decodeblock",
|
|
604
604
|
/** decoderawtransaction "hexstring"
|
|
@@ -655,7 +655,7 @@ var methods = {
|
|
|
655
655
|
|
|
656
656
|
Examples:
|
|
657
657
|
> neurai-cli decoderawtransaction "hexstring"
|
|
658
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decoderawtransaction", "params": ["hexstring"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
658
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decoderawtransaction", "params": ["hexstring"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
659
659
|
**/
|
|
660
660
|
decoderawtransaction: "decoderawtransaction",
|
|
661
661
|
/** decodescript "hexstring"
|
|
@@ -693,7 +693,7 @@ var methods = {
|
|
|
693
693
|
|
|
694
694
|
Examples:
|
|
695
695
|
> neurai-cli decodescript "hexstring"
|
|
696
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decodescript", "params": ["hexstring"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
696
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decodescript", "params": ["hexstring"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
697
697
|
**/
|
|
698
698
|
decodescript: "decodescript",
|
|
699
699
|
/** depinclearmsg ( "all" | hours ) ( "scope" )
|
|
@@ -720,9 +720,9 @@ var methods = {
|
|
|
720
720
|
> neurai-cli depinclearmsg "all"
|
|
721
721
|
> neurai-cli depinclearmsg 7
|
|
722
722
|
> neurai-cli depinclearmsg "all" "&TOKEN/GENERAL"
|
|
723
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinclearmsg", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
724
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinclearmsg", "params": ["all"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
725
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinclearmsg", "params": [7] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
723
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinclearmsg", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
724
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinclearmsg", "params": ["all"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
725
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinclearmsg", "params": [7] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
726
726
|
**/
|
|
727
727
|
depinclearmsg: "depinclearmsg",
|
|
728
728
|
/** depingetancestorrecipients "token" ( max_results ) ( "stop_at" )
|
|
@@ -780,7 +780,7 @@ var methods = {
|
|
|
780
780
|
Examples:
|
|
781
781
|
> neurai-cli depingetancestorrecipients "&TEST/APPLE/GOLDEN"
|
|
782
782
|
> neurai-cli depingetancestorrecipients "&TEST/APPLE/GOLDEN" 50 "&TEST/APPLE"
|
|
783
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetancestorrecipients", "params": ["&TEST/APPLE/GOLDEN", 50, "&TEST/APPLE"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
783
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetancestorrecipients", "params": ["&TEST/APPLE/GOLDEN", 50, "&TEST/APPLE"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
784
784
|
**/
|
|
785
785
|
depingetancestorrecipients: "depingetancestorrecipients",
|
|
786
786
|
/** depingetmsg "token" ("ip[:port]"|"fromaddress") ("fromaddress")
|
|
@@ -813,7 +813,7 @@ var methods = {
|
|
|
813
813
|
> neurai-cli depingetmsg "MYTOKEN" "NXyouraddress..."
|
|
814
814
|
> neurai-cli depingetmsg "MYTOKEN" "192.168.1.78"
|
|
815
815
|
> neurai-cli depingetmsg "MYTOKEN" "192.168.1.78:19002" "NXyouraddress..."
|
|
816
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetmsg", "params": ["MYTOKEN"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
816
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetmsg", "params": ["MYTOKEN"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
817
817
|
**/
|
|
818
818
|
depingetmsg: "depingetmsg",
|
|
819
819
|
/** depingetmsginfo
|
|
@@ -839,7 +839,7 @@ var methods = {
|
|
|
839
839
|
|
|
840
840
|
Examples:
|
|
841
841
|
> neurai-cli depingetmsginfo
|
|
842
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetmsginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
842
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetmsginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
843
843
|
**/
|
|
844
844
|
depingetmsginfo: "depingetmsginfo",
|
|
845
845
|
/** depingetpoolcontent ( verbose sender_address recipient_address start_time end_time limit offset )
|
|
@@ -899,7 +899,7 @@ var methods = {
|
|
|
899
899
|
> neurai-cli depingetpoolcontent all
|
|
900
900
|
> neurai-cli depingetpoolcontent raw
|
|
901
901
|
> neurai-cli depingetpoolcontent false "NXXaddress..."
|
|
902
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetpoolcontent", "params": [true] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
902
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetpoolcontent", "params": [true] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
903
903
|
**/
|
|
904
904
|
depingetpoolcontent: "depingetpoolcontent",
|
|
905
905
|
/** depinlistsections ( "address" )
|
|
@@ -931,7 +931,7 @@ var methods = {
|
|
|
931
931
|
Examples:
|
|
932
932
|
> neurai-cli depinlistsections
|
|
933
933
|
> neurai-cli depinlistsections "NXyouraddress..."
|
|
934
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinlistsections", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
934
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinlistsections", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
935
935
|
**/
|
|
936
936
|
depinlistsections: "depinlistsections",
|
|
937
937
|
/** depinmcpstatus
|
|
@@ -959,7 +959,7 @@ var methods = {
|
|
|
959
959
|
|
|
960
960
|
Examples:
|
|
961
961
|
> neurai-cli depinmcpstatus
|
|
962
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinmcpstatus", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
962
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinmcpstatus", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
963
963
|
**/
|
|
964
964
|
depinmcpstatus: "depinmcpstatus",
|
|
965
965
|
/** depinpoolpkey
|
|
@@ -980,7 +980,7 @@ var methods = {
|
|
|
980
980
|
|
|
981
981
|
Examples:
|
|
982
982
|
> neurai-cli depinpoolpkey
|
|
983
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinpoolpkey", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
983
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinpoolpkey", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
984
984
|
**/
|
|
985
985
|
depinpoolpkey: "depinpoolpkey",
|
|
986
986
|
/** depinpoolstats
|
|
@@ -1010,7 +1010,7 @@ var methods = {
|
|
|
1010
1010
|
|
|
1011
1011
|
Examples:
|
|
1012
1012
|
> neurai-cli depinpoolstats
|
|
1013
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinpoolstats", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1013
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinpoolstats", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1014
1014
|
**/
|
|
1015
1015
|
depinpoolstats: "depinpoolstats",
|
|
1016
1016
|
/** depinreceivemsg "token" "address" (timestamp) ("after_hash") (limit)
|
|
@@ -1060,7 +1060,7 @@ var methods = {
|
|
|
1060
1060
|
> neurai-cli depinreceivemsg "TOKEN" "NeuraiAddress" 1730000000
|
|
1061
1061
|
> neurai-cli depinreceivemsg "TOKEN" "NeuraiAddress" 0 "" 5
|
|
1062
1062
|
> neurai-cli depinreceivemsg "TOKEN" "NeuraiAddress" 0 "abc123..." 5
|
|
1063
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinreceivemsg", "params": ["TOKEN", "NeuraiAddress", 0, "", 5] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1063
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinreceivemsg", "params": ["TOKEN", "NeuraiAddress", 0, "", 5] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1064
1064
|
**/
|
|
1065
1065
|
depinreceivemsg: "depinreceivemsg",
|
|
1066
1066
|
/** depinsendmsg "token" "ip[:port]" "message" "fromaddress" (port)
|
|
@@ -1085,7 +1085,7 @@ var methods = {
|
|
|
1085
1085
|
Examples:
|
|
1086
1086
|
> neurai-cli depinsendmsg "MYTOKEN" "192.168.1.100" "Hello team!" "NXsender..."
|
|
1087
1087
|
> neurai-cli depinsendmsg "MYTOKEN" "192.168.1.100:19005" "Hello team!" "NXsender..." 19005
|
|
1088
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinsendmsg", "params": ["MYTOKEN", "192.168.1.100", "Hello team!", "NXsender..."] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1088
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinsendmsg", "params": ["MYTOKEN", "192.168.1.100", "Hello team!", "NXsender..."] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1089
1089
|
**/
|
|
1090
1090
|
depinsendmsg: "depinsendmsg",
|
|
1091
1091
|
/** depinsubmitmsg "hexmessage"|{"sender":"...","encrypted":"..."}
|
|
@@ -1115,7 +1115,7 @@ var methods = {
|
|
|
1115
1115
|
|
|
1116
1116
|
Examples:
|
|
1117
1117
|
> neurai-cli depinsubmitmsg "0a3f2e..."
|
|
1118
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinsubmitmsg", "params": [{"sender":"NX...","encrypted":"..."}] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1118
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinsubmitmsg", "params": [{"sender":"NX...","encrypted":"..."}] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1119
1119
|
**/
|
|
1120
1120
|
depinsubmitmsg: "depinsubmitmsg",
|
|
1121
1121
|
/** disconnectnode "[address]" [nodeid]
|
|
@@ -1131,10 +1131,10 @@ var methods = {
|
|
|
1131
1131
|
2. "nodeid" (number, optional) The node ID (see getpeerinfo for node IDs)
|
|
1132
1132
|
|
|
1133
1133
|
Examples:
|
|
1134
|
-
> neurai-cli disconnectnode "192.168.0.6:
|
|
1134
|
+
> neurai-cli disconnectnode "192.168.0.6:19000"
|
|
1135
1135
|
> neurai-cli disconnectnode "" 1
|
|
1136
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "disconnectnode", "params": ["192.168.0.6:
|
|
1137
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "disconnectnode", "params": ["", 1] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1136
|
+
> 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/
|
|
1137
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "disconnectnode", "params": ["", 1] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1138
1138
|
**/
|
|
1139
1139
|
disconnectnode: "disconnectnode",
|
|
1140
1140
|
/** distributereward "asset_name" snapshot_height "distribution_asset_name" gross_distribution_amount ( "exception_addresses" ) ("change_address") ("dry_run")
|
|
@@ -1170,8 +1170,8 @@ var methods = {
|
|
|
1170
1170
|
Examples:
|
|
1171
1171
|
> neurai-cli distributereward "TRONCO" 12345 "XNA" 1000
|
|
1172
1172
|
> neurai-cli distributereward "PHATSTACKS" 12345 "DIVIDENDS" 1000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"
|
|
1173
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "distributereward", "params": ["TRONCO" 34987 "DIVIDENDS" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1174
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "distributereward", "params": ["PHATSTACKS" 34987 "XNA" 100000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1173
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "distributereward", "params": ["TRONCO" 34987 "DIVIDENDS" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1174
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "distributereward", "params": ["PHATSTACKS" 34987 "XNA" 100000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1175
1175
|
**/
|
|
1176
1176
|
distributereward: "distributereward",
|
|
1177
1177
|
/** dumpextkeypq
|
|
@@ -1184,7 +1184,7 @@ var methods = {
|
|
|
1184
1184
|
|
|
1185
1185
|
Examples:
|
|
1186
1186
|
> neurai-cli dumpextkeypq
|
|
1187
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpextkeypq", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1187
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpextkeypq", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1188
1188
|
**/
|
|
1189
1189
|
dumpextkeypq: "dumpextkeypq",
|
|
1190
1190
|
/** dumpprivkey "address"
|
|
@@ -1201,7 +1201,7 @@ var methods = {
|
|
|
1201
1201
|
Examples:
|
|
1202
1202
|
> neurai-cli dumpprivkey "myaddress"
|
|
1203
1203
|
> neurai-cli importprivkey "mykey"
|
|
1204
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpprivkey", "params": ["myaddress"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1204
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpprivkey", "params": ["myaddress"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1205
1205
|
**/
|
|
1206
1206
|
dumpprivkey: "dumpprivkey",
|
|
1207
1207
|
/** dumpwallet "filename"
|
|
@@ -1218,7 +1218,7 @@ var methods = {
|
|
|
1218
1218
|
|
|
1219
1219
|
Examples:
|
|
1220
1220
|
> neurai-cli dumpwallet "test"
|
|
1221
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpwallet", "params": ["test"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1221
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpwallet", "params": ["test"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1222
1222
|
**/
|
|
1223
1223
|
dumpwallet: "dumpwallet",
|
|
1224
1224
|
/** encryptwallet "passphrase"
|
|
@@ -1248,7 +1248,7 @@ var methods = {
|
|
|
1248
1248
|
> neurai-cli walletlock
|
|
1249
1249
|
|
|
1250
1250
|
As a json rpc call
|
|
1251
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "encryptwallet", "params": ["my pass phrase"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1251
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "encryptwallet", "params": ["my pass phrase"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1252
1252
|
**/
|
|
1253
1253
|
encryptwallet: "encryptwallet",
|
|
1254
1254
|
/** estimatefee nblocks
|
|
@@ -1322,7 +1322,7 @@ var methods = {
|
|
|
1322
1322
|
|
|
1323
1323
|
Examples:
|
|
1324
1324
|
> neurai-cli exportxpqpub 20
|
|
1325
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "exportxpqpub", "params": [20, 0, 0] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1325
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "exportxpqpub", "params": [20, 0, 0] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1326
1326
|
**/
|
|
1327
1327
|
exportxpqpub: "exportxpqpub",
|
|
1328
1328
|
/** freezeaddress asset_name address (change_address) (asset_data)
|
|
@@ -1343,9 +1343,9 @@ var methods = {
|
|
|
1343
1343
|
|
|
1344
1344
|
Examples:
|
|
1345
1345
|
> neurai-cli freezeaddress "$RESTRICTED_ASSET" "address"
|
|
1346
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezeaddress", "params": ["$RESTRICTED_ASSET" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1346
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezeaddress", "params": ["$RESTRICTED_ASSET" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1347
1347
|
> neurai-cli freezeaddress "$RESTRICTED_ASSET" "address" "change_address"
|
|
1348
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezeaddress", "params": ["$RESTRICTED_ASSET" "address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1348
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezeaddress", "params": ["$RESTRICTED_ASSET" "address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1349
1349
|
**/
|
|
1350
1350
|
freezeaddress: "freezeaddress",
|
|
1351
1351
|
/** freezedepin "asset_name" "address" ("change_address")
|
|
@@ -1369,7 +1369,7 @@ var methods = {
|
|
|
1369
1369
|
|
|
1370
1370
|
Examples:
|
|
1371
1371
|
> neurai-cli freezedepin "&FRANCE" "address"
|
|
1372
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezedepin", "params": ["&FRANCE" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1372
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezedepin", "params": ["&FRANCE" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1373
1373
|
**/
|
|
1374
1374
|
freezedepin: "freezedepin",
|
|
1375
1375
|
/** freezerestrictedasset asset_name (change_address) (asset_data)
|
|
@@ -1389,9 +1389,9 @@ var methods = {
|
|
|
1389
1389
|
|
|
1390
1390
|
Examples:
|
|
1391
1391
|
> neurai-cli freezerestrictedasset "$RESTRICTED_ASSET"
|
|
1392
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezerestrictedasset", "params": ["$RESTRICTED_ASSET"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1392
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezerestrictedasset", "params": ["$RESTRICTED_ASSET"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1393
1393
|
> neurai-cli freezerestrictedasset "$RESTRICTED_ASSET" "change_address"
|
|
1394
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezerestrictedasset", "params": ["$RESTRICTED_ASSET" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1394
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezerestrictedasset", "params": ["$RESTRICTED_ASSET" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1395
1395
|
**/
|
|
1396
1396
|
freezerestrictedasset: "freezerestrictedasset",
|
|
1397
1397
|
/** fundrawtransaction "hexstring" ( options )
|
|
@@ -1500,7 +1500,7 @@ var methods = {
|
|
|
1500
1500
|
|
|
1501
1501
|
Examples:
|
|
1502
1502
|
> neurai-cli getaccount "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX"
|
|
1503
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaccount", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1503
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaccount", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1504
1504
|
**/
|
|
1505
1505
|
getaccount: "getaccount",
|
|
1506
1506
|
/** getaccountaddress "account"
|
|
@@ -1517,7 +1517,7 @@ var methods = {
|
|
|
1517
1517
|
> neurai-cli getaccountaddress
|
|
1518
1518
|
> neurai-cli getaccountaddress ""
|
|
1519
1519
|
> neurai-cli getaccountaddress "myaccount"
|
|
1520
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaccountaddress", "params": ["myaccount"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1520
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaccountaddress", "params": ["myaccount"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1521
1521
|
**/
|
|
1522
1522
|
getaccountaddress: "getaccountaddress",
|
|
1523
1523
|
/** getaddednodeinfo ( "node" )
|
|
@@ -1535,7 +1535,7 @@ var methods = {
|
|
|
1535
1535
|
"connected" : true|false, (boolean) If connected
|
|
1536
1536
|
"addresses" : [ (list of objects) Only when connected = true
|
|
1537
1537
|
{
|
|
1538
|
-
"address" : "192.168.0.201:
|
|
1538
|
+
"address" : "192.168.0.201:19000", (string) The neurai server IP and port we're connected to
|
|
1539
1539
|
"connected" : "outbound" (string) connection, inbound or outbound
|
|
1540
1540
|
}
|
|
1541
1541
|
]
|
|
@@ -1545,7 +1545,7 @@ var methods = {
|
|
|
1545
1545
|
|
|
1546
1546
|
Examples:
|
|
1547
1547
|
> neurai-cli getaddednodeinfo "192.168.0.201"
|
|
1548
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddednodeinfo", "params": ["192.168.0.201"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1548
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddednodeinfo", "params": ["192.168.0.201"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1549
1549
|
**/
|
|
1550
1550
|
getaddednodeinfo: "getaddednodeinfo",
|
|
1551
1551
|
/** getaddressbalance
|
|
@@ -1580,8 +1580,8 @@ var methods = {
|
|
|
1580
1580
|
Examples:
|
|
1581
1581
|
> neurai-cli getaddressbalance '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
|
|
1582
1582
|
> neurai-cli getaddressbalance '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
|
|
1583
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressbalance", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1584
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressbalance", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1583
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressbalance", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1584
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressbalance", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1585
1585
|
**/
|
|
1586
1586
|
getaddressbalance: "getaddressbalance",
|
|
1587
1587
|
/** getaddressdeltas
|
|
@@ -1615,9 +1615,9 @@ var methods = {
|
|
|
1615
1615
|
|
|
1616
1616
|
Examples:
|
|
1617
1617
|
> neurai-cli getaddressdeltas '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
|
|
1618
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressdeltas", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1618
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressdeltas", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1619
1619
|
> neurai-cli getaddressdeltas '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}'
|
|
1620
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressdeltas", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1620
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressdeltas", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1621
1621
|
**/
|
|
1622
1622
|
getaddressdeltas: "getaddressdeltas",
|
|
1623
1623
|
/** getaddressesbyaccount "account"
|
|
@@ -1635,7 +1635,7 @@ var methods = {
|
|
|
1635
1635
|
|
|
1636
1636
|
Examples:
|
|
1637
1637
|
> neurai-cli getaddressesbyaccount "tabby"
|
|
1638
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressesbyaccount", "params": ["tabby"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1638
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressesbyaccount", "params": ["tabby"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1639
1639
|
**/
|
|
1640
1640
|
getaddressesbyaccount: "getaddressesbyaccount",
|
|
1641
1641
|
/** getaddressmempool
|
|
@@ -1668,9 +1668,9 @@ var methods = {
|
|
|
1668
1668
|
|
|
1669
1669
|
Examples:
|
|
1670
1670
|
> neurai-cli getaddressmempool '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
|
|
1671
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressmempool", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1671
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressmempool", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1672
1672
|
> neurai-cli getaddressmempool '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
|
|
1673
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressmempool", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1673
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressmempool", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1674
1674
|
**/
|
|
1675
1675
|
getaddressmempool: "getaddressmempool",
|
|
1676
1676
|
/** getaddresstxids
|
|
@@ -1697,9 +1697,9 @@ var methods = {
|
|
|
1697
1697
|
|
|
1698
1698
|
Examples:
|
|
1699
1699
|
> neurai-cli getaddresstxids '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
|
|
1700
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddresstxids", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1700
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddresstxids", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1701
1701
|
> neurai-cli getaddresstxids '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
|
|
1702
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddresstxids", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1702
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddresstxids", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1703
1703
|
**/
|
|
1704
1704
|
getaddresstxids: "getaddresstxids",
|
|
1705
1705
|
/** getaddressutxos
|
|
@@ -1732,9 +1732,9 @@ var methods = {
|
|
|
1732
1732
|
|
|
1733
1733
|
Examples:
|
|
1734
1734
|
> neurai-cli getaddressutxos '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}'
|
|
1735
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressutxos", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1735
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressutxos", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1736
1736
|
> neurai-cli getaddressutxos '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}'
|
|
1737
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressutxos", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1737
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressutxos", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1738
1738
|
**/
|
|
1739
1739
|
getaddressutxos: "getaddressutxos",
|
|
1740
1740
|
/** getassetdata "asset_name"
|
|
@@ -1761,7 +1761,7 @@ var methods = {
|
|
|
1761
1761
|
|
|
1762
1762
|
Examples:
|
|
1763
1763
|
> neurai-cli getassetdata "ASSET_NAME"
|
|
1764
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getassetdata", "params": ["ASSET_NAME"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1764
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getassetdata", "params": ["ASSET_NAME"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1765
1765
|
**/
|
|
1766
1766
|
getassetdata: "getassetdata",
|
|
1767
1767
|
/** getbalance ( "account" minconf include_watchonly )
|
|
@@ -1799,7 +1799,7 @@ var methods = {
|
|
|
1799
1799
|
> neurai-cli getbalance "*" 6
|
|
1800
1800
|
|
|
1801
1801
|
As a json rpc call
|
|
1802
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbalance", "params": ["*", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1802
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbalance", "params": ["*", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1803
1803
|
**/
|
|
1804
1804
|
getbalance: "getbalance",
|
|
1805
1805
|
/** getbestblockhash
|
|
@@ -1811,7 +1811,7 @@ var methods = {
|
|
|
1811
1811
|
|
|
1812
1812
|
Examples:
|
|
1813
1813
|
> neurai-cli getbestblockhash
|
|
1814
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbestblockhash", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1814
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbestblockhash", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1815
1815
|
**/
|
|
1816
1816
|
getbestblockhash: "getbestblockhash",
|
|
1817
1817
|
/** getblock "blockhash" ( verbosity )
|
|
@@ -1863,7 +1863,7 @@ var methods = {
|
|
|
1863
1863
|
|
|
1864
1864
|
Examples:
|
|
1865
1865
|
> neurai-cli getblock "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
|
|
1866
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblock", "params": ["00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1866
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblock", "params": ["00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1867
1867
|
**/
|
|
1868
1868
|
getblock: "getblock",
|
|
1869
1869
|
/** getblockchaininfo
|
|
@@ -1914,7 +1914,7 @@ var methods = {
|
|
|
1914
1914
|
|
|
1915
1915
|
Examples:
|
|
1916
1916
|
> neurai-cli getblockchaininfo
|
|
1917
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockchaininfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1917
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockchaininfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1918
1918
|
**/
|
|
1919
1919
|
getblockchaininfo: "getblockchaininfo",
|
|
1920
1920
|
/** getblockcount
|
|
@@ -1926,7 +1926,7 @@ var methods = {
|
|
|
1926
1926
|
|
|
1927
1927
|
Examples:
|
|
1928
1928
|
> neurai-cli getblockcount
|
|
1929
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockcount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1929
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockcount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1930
1930
|
**/
|
|
1931
1931
|
getblockcount: "getblockcount",
|
|
1932
1932
|
/** getblockhash height
|
|
@@ -1941,7 +1941,7 @@ var methods = {
|
|
|
1941
1941
|
|
|
1942
1942
|
Examples:
|
|
1943
1943
|
> neurai-cli getblockhash 1000
|
|
1944
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockhash", "params": [1000] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1944
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockhash", "params": [1000] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1945
1945
|
**/
|
|
1946
1946
|
getblockhash: "getblockhash",
|
|
1947
1947
|
/** getblockhashes timestamp
|
|
@@ -1970,7 +1970,7 @@ var methods = {
|
|
|
1970
1970
|
|
|
1971
1971
|
Examples:
|
|
1972
1972
|
> neurai-cli getblockhashes 1231614698 1231024505
|
|
1973
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockhashes", "params": [1231614698, 1231024505] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
1973
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockhashes", "params": [1231614698, 1231024505] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
1974
1974
|
> neurai-cli getblockhashes 1231614698 1231024505 '{"noOrphans":false, "logicalTimes":true}'
|
|
1975
1975
|
**/
|
|
1976
1976
|
getblockhashes: "getblockhashes",
|
|
@@ -2006,7 +2006,7 @@ var methods = {
|
|
|
2006
2006
|
|
|
2007
2007
|
Examples:
|
|
2008
2008
|
> neurai-cli getblockheader "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
|
|
2009
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockheader", "params": ["00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2009
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockheader", "params": ["00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2010
2010
|
**/
|
|
2011
2011
|
getblockheader: "getblockheader",
|
|
2012
2012
|
/** getblocktemplate ( TemplateRequest )
|
|
@@ -2082,7 +2082,7 @@ var methods = {
|
|
|
2082
2082
|
|
|
2083
2083
|
Examples:
|
|
2084
2084
|
> neurai-cli getblocktemplate
|
|
2085
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblocktemplate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2085
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblocktemplate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2086
2086
|
**/
|
|
2087
2087
|
getblocktemplate: "getblocktemplate",
|
|
2088
2088
|
/** getcacheinfo
|
|
@@ -2104,7 +2104,7 @@ var methods = {
|
|
|
2104
2104
|
]
|
|
2105
2105
|
|
|
2106
2106
|
Examples:
|
|
2107
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getcacheinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2107
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getcacheinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2108
2108
|
> neurai-cli getcacheinfo
|
|
2109
2109
|
**/
|
|
2110
2110
|
getcacheinfo: "getcacheinfo",
|
|
@@ -2135,7 +2135,7 @@ var methods = {
|
|
|
2135
2135
|
|
|
2136
2136
|
Examples:
|
|
2137
2137
|
> neurai-cli getchaintips
|
|
2138
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintips", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2138
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintips", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2139
2139
|
**/
|
|
2140
2140
|
getchaintips: "getchaintips",
|
|
2141
2141
|
/** getchaintxstats ( nblocks blockhash )
|
|
@@ -2158,7 +2158,7 @@ var methods = {
|
|
|
2158
2158
|
|
|
2159
2159
|
Examples:
|
|
2160
2160
|
> neurai-cli getchaintxstats
|
|
2161
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintxstats", "params": [2016] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2161
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintxstats", "params": [2016] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2162
2162
|
**/
|
|
2163
2163
|
getchaintxstats: "getchaintxstats",
|
|
2164
2164
|
/** getconnectioncount
|
|
@@ -2170,7 +2170,7 @@ var methods = {
|
|
|
2170
2170
|
|
|
2171
2171
|
Examples:
|
|
2172
2172
|
> neurai-cli getconnectioncount
|
|
2173
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getconnectioncount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2173
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getconnectioncount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2174
2174
|
**/
|
|
2175
2175
|
getconnectioncount: "getconnectioncount",
|
|
2176
2176
|
/** getdifficulty
|
|
@@ -2182,7 +2182,7 @@ var methods = {
|
|
|
2182
2182
|
|
|
2183
2183
|
Examples:
|
|
2184
2184
|
> neurai-cli getdifficulty
|
|
2185
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdifficulty", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2185
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdifficulty", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2186
2186
|
**/
|
|
2187
2187
|
getdifficulty: "getdifficulty",
|
|
2188
2188
|
/** getdistributestatus "asset_name" snapshot_height "distribution_asset_name" gross_distribution_amount ( "exception_addresses" )
|
|
@@ -2199,8 +2199,8 @@ var methods = {
|
|
|
2199
2199
|
Examples:
|
|
2200
2200
|
> neurai-cli getdistributestatus "TRONCO" 12345 "XNA" 1000
|
|
2201
2201
|
> neurai-cli getdistributestatus "PHATSTACKS" 12345 "DIVIDENDS" 1000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"
|
|
2202
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdistributestatus", "params": ["TRONCO" 34987 "DIVIDENDS" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2203
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdistributestatus", "params": ["PHATSTACKS" 34987 "XNA" 100000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2202
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdistributestatus", "params": ["TRONCO" 34987 "DIVIDENDS" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2203
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdistributestatus", "params": ["PHATSTACKS" 34987 "XNA" 100000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2204
2204
|
**/
|
|
2205
2205
|
getdistributestatus: "getdistributestatus",
|
|
2206
2206
|
/** getgenerate
|
|
@@ -2214,7 +2214,7 @@ var methods = {
|
|
|
2214
2214
|
|
|
2215
2215
|
Examples:
|
|
2216
2216
|
> neurai-cli getgenerate
|
|
2217
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getgenerate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2217
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getgenerate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2218
2218
|
**/
|
|
2219
2219
|
getgenerate: "getgenerate",
|
|
2220
2220
|
/** getinfo
|
|
@@ -2244,7 +2244,7 @@ var methods = {
|
|
|
2244
2244
|
|
|
2245
2245
|
Examples:
|
|
2246
2246
|
> neurai-cli getinfo
|
|
2247
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2247
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2248
2248
|
**/
|
|
2249
2249
|
getinfo: "getinfo",
|
|
2250
2250
|
/** getkawpowhash "header_hash" "mix_hash" nonce, height, "target"
|
|
@@ -2262,7 +2262,7 @@ var methods = {
|
|
|
2262
2262
|
|
|
2263
2263
|
Examples:
|
|
2264
2264
|
> neurai-cli getkawpowhash "header_hash" "mix_hash" "0x100000" 2456
|
|
2265
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getkawpowhash", "params": ["header_hash" "mix_hash" "0x100000" 2456] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2265
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getkawpowhash", "params": ["header_hash" "mix_hash" "0x100000" 2456] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2266
2266
|
**/
|
|
2267
2267
|
getkawpowhash: "getkawpowhash",
|
|
2268
2268
|
/** getmasterkeyinfo
|
|
@@ -2282,7 +2282,7 @@ var methods = {
|
|
|
2282
2282
|
|
|
2283
2283
|
Examples:
|
|
2284
2284
|
> neurai-cli getmasterkeyinfo
|
|
2285
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmasterkeyinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2285
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmasterkeyinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2286
2286
|
**/
|
|
2287
2287
|
getmasterkeyinfo: "getmasterkeyinfo",
|
|
2288
2288
|
/** getmemoryinfo ("mode")
|
|
@@ -2309,7 +2309,7 @@ var methods = {
|
|
|
2309
2309
|
|
|
2310
2310
|
Examples:
|
|
2311
2311
|
> neurai-cli getmemoryinfo
|
|
2312
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmemoryinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2312
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmemoryinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2313
2313
|
**/
|
|
2314
2314
|
getmemoryinfo: "getmemoryinfo",
|
|
2315
2315
|
/** getmempoolancestors txid (verbose)
|
|
@@ -2349,7 +2349,7 @@ var methods = {
|
|
|
2349
2349
|
|
|
2350
2350
|
Examples:
|
|
2351
2351
|
> neurai-cli getmempoolancestors "mytxid"
|
|
2352
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolancestors", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2352
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolancestors", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2353
2353
|
**/
|
|
2354
2354
|
getmempoolancestors: "getmempoolancestors",
|
|
2355
2355
|
/** getmempooldescendants txid (verbose)
|
|
@@ -2389,7 +2389,7 @@ var methods = {
|
|
|
2389
2389
|
|
|
2390
2390
|
Examples:
|
|
2391
2391
|
> neurai-cli getmempooldescendants "mytxid"
|
|
2392
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempooldescendants", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2392
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempooldescendants", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2393
2393
|
**/
|
|
2394
2394
|
getmempooldescendants: "getmempooldescendants",
|
|
2395
2395
|
/** getmempoolentry txid
|
|
@@ -2420,7 +2420,7 @@ var methods = {
|
|
|
2420
2420
|
|
|
2421
2421
|
Examples:
|
|
2422
2422
|
> neurai-cli getmempoolentry "mytxid"
|
|
2423
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolentry", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2423
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolentry", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2424
2424
|
**/
|
|
2425
2425
|
getmempoolentry: "getmempoolentry",
|
|
2426
2426
|
/** getmempoolinfo
|
|
@@ -2438,7 +2438,7 @@ var methods = {
|
|
|
2438
2438
|
|
|
2439
2439
|
Examples:
|
|
2440
2440
|
> neurai-cli getmempoolinfo
|
|
2441
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2441
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2442
2442
|
**/
|
|
2443
2443
|
getmempoolinfo: "getmempoolinfo",
|
|
2444
2444
|
/** getmininginfo
|
|
@@ -2460,7 +2460,7 @@ var methods = {
|
|
|
2460
2460
|
|
|
2461
2461
|
Examples:
|
|
2462
2462
|
> neurai-cli getmininginfo
|
|
2463
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmininginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2463
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmininginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2464
2464
|
**/
|
|
2465
2465
|
getmininginfo: "getmininginfo",
|
|
2466
2466
|
/** getmywords ( "account" )
|
|
@@ -2474,7 +2474,7 @@ var methods = {
|
|
|
2474
2474
|
|
|
2475
2475
|
Examples:
|
|
2476
2476
|
> neurai-cli getmywords
|
|
2477
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmywords", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2477
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmywords", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2478
2478
|
**/
|
|
2479
2479
|
getmywords: "getmywords",
|
|
2480
2480
|
/** getnettotals
|
|
@@ -2500,7 +2500,7 @@ var methods = {
|
|
|
2500
2500
|
|
|
2501
2501
|
Examples:
|
|
2502
2502
|
> neurai-cli getnettotals
|
|
2503
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnettotals", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2503
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnettotals", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2504
2504
|
**/
|
|
2505
2505
|
getnettotals: "getnettotals",
|
|
2506
2506
|
/** getnetworkhashps ( nblocks height )
|
|
@@ -2518,7 +2518,7 @@ var methods = {
|
|
|
2518
2518
|
|
|
2519
2519
|
Examples:
|
|
2520
2520
|
> neurai-cli getnetworkhashps
|
|
2521
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkhashps", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2521
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkhashps", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2522
2522
|
**/
|
|
2523
2523
|
getnetworkhashps: "getnetworkhashps",
|
|
2524
2524
|
/** getnetworkinfo
|
|
@@ -2559,7 +2559,7 @@ var methods = {
|
|
|
2559
2559
|
|
|
2560
2560
|
Examples:
|
|
2561
2561
|
> neurai-cli getnetworkinfo
|
|
2562
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2562
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2563
2563
|
**/
|
|
2564
2564
|
getnetworkinfo: "getnetworkinfo",
|
|
2565
2565
|
/** getnewaddress ( "account" )
|
|
@@ -2576,7 +2576,7 @@ var methods = {
|
|
|
2576
2576
|
|
|
2577
2577
|
Examples:
|
|
2578
2578
|
> neurai-cli getnewaddress
|
|
2579
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2579
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2580
2580
|
**/
|
|
2581
2581
|
getnewaddress: "getnewaddress",
|
|
2582
2582
|
/** getpeerinfo
|
|
@@ -2628,7 +2628,7 @@ var methods = {
|
|
|
2628
2628
|
|
|
2629
2629
|
Examples:
|
|
2630
2630
|
> neurai-cli getpeerinfo
|
|
2631
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpeerinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2631
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpeerinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2632
2632
|
**/
|
|
2633
2633
|
getpeerinfo: "getpeerinfo",
|
|
2634
2634
|
/** getpubkey "address"
|
|
@@ -2649,7 +2649,7 @@ var methods = {
|
|
|
2649
2649
|
|
|
2650
2650
|
Examples:
|
|
2651
2651
|
> neurai-cli getpubkey "NXa1b2c3d4e5f6..."
|
|
2652
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpubkey", "params": ["NXa1b2c3d4e5f6..."] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2652
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpubkey", "params": ["NXa1b2c3d4e5f6..."] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2653
2653
|
**/
|
|
2654
2654
|
getpubkey: "getpubkey",
|
|
2655
2655
|
/** getrawchangeaddress
|
|
@@ -2662,7 +2662,7 @@ var methods = {
|
|
|
2662
2662
|
|
|
2663
2663
|
Examples:
|
|
2664
2664
|
> neurai-cli getrawchangeaddress
|
|
2665
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawchangeaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2665
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawchangeaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2666
2666
|
**/
|
|
2667
2667
|
getrawchangeaddress: "getrawchangeaddress",
|
|
2668
2668
|
/** getrawmempool ( verbose )
|
|
@@ -2703,7 +2703,7 @@ var methods = {
|
|
|
2703
2703
|
|
|
2704
2704
|
Examples:
|
|
2705
2705
|
> neurai-cli getrawmempool true
|
|
2706
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawmempool", "params": [true] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2706
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawmempool", "params": [true] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2707
2707
|
**/
|
|
2708
2708
|
getrawmempool: "getrawmempool",
|
|
2709
2709
|
/** getrawtransaction "txid" ( verbose )
|
|
@@ -2772,7 +2772,7 @@ var methods = {
|
|
|
2772
2772
|
Examples:
|
|
2773
2773
|
> neurai-cli getrawtransaction "mytxid"
|
|
2774
2774
|
> neurai-cli getrawtransaction "mytxid" true
|
|
2775
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawtransaction", "params": ["mytxid", true] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2775
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawtransaction", "params": ["mytxid", true] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2776
2776
|
**/
|
|
2777
2777
|
getrawtransaction: "getrawtransaction",
|
|
2778
2778
|
/** getreceivedbyaccount "account" ( minconf )
|
|
@@ -2798,7 +2798,7 @@ var methods = {
|
|
|
2798
2798
|
> neurai-cli getreceivedbyaccount "tabby" 6
|
|
2799
2799
|
|
|
2800
2800
|
As a json rpc call
|
|
2801
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getreceivedbyaccount", "params": ["tabby", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2801
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getreceivedbyaccount", "params": ["tabby", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2802
2802
|
**/
|
|
2803
2803
|
getreceivedbyaccount: "getreceivedbyaccount",
|
|
2804
2804
|
/** getreceivedbyaddress "address" ( minconf )
|
|
@@ -2824,7 +2824,7 @@ var methods = {
|
|
|
2824
2824
|
> neurai-cli getreceivedbyaddress "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" 6
|
|
2825
2825
|
|
|
2826
2826
|
As a json rpc call
|
|
2827
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getreceivedbyaddress", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2827
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getreceivedbyaddress", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2828
2828
|
**/
|
|
2829
2829
|
getreceivedbyaddress: "getreceivedbyaddress",
|
|
2830
2830
|
/** getrpcinfo
|
|
@@ -2841,7 +2841,7 @@ var methods = {
|
|
|
2841
2841
|
],
|
|
2842
2842
|
}
|
|
2843
2843
|
> neurai-cli getrpcinfo
|
|
2844
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrpcinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2844
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrpcinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2845
2845
|
**/
|
|
2846
2846
|
getrpcinfo: "getrpcinfo",
|
|
2847
2847
|
/** getsnapshot "asset_name" block_height
|
|
@@ -2867,7 +2867,7 @@ var methods = {
|
|
|
2867
2867
|
}
|
|
2868
2868
|
|
|
2869
2869
|
Examples:
|
|
2870
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getsnapshot", "params": ["ASSET_NAME" 28546] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2870
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getsnapshot", "params": ["ASSET_NAME" 28546] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2871
2871
|
**/
|
|
2872
2872
|
getsnapshot: "getsnapshot",
|
|
2873
2873
|
/** getsnapshotrequest "asset_name" block_height
|
|
@@ -2886,7 +2886,7 @@ var methods = {
|
|
|
2886
2886
|
|
|
2887
2887
|
Examples:
|
|
2888
2888
|
> neurai-cli getsnapshotrequest "TRONCO" 12345
|
|
2889
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getsnapshotrequest", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2889
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getsnapshotrequest", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2890
2890
|
**/
|
|
2891
2891
|
getsnapshotrequest: "getsnapshotrequest",
|
|
2892
2892
|
/** getspentinfo
|
|
@@ -2908,7 +2908,7 @@ var methods = {
|
|
|
2908
2908
|
|
|
2909
2909
|
Examples:
|
|
2910
2910
|
> neurai-cli getspentinfo '{"txid": "0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9", "index": 0}'
|
|
2911
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getspentinfo", "params": [{"txid": "0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9", "index": 0}] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2911
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getspentinfo", "params": [{"txid": "0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9", "index": 0}] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2912
2912
|
**/
|
|
2913
2913
|
getspentinfo: "getspentinfo",
|
|
2914
2914
|
/** gettransaction "txid" ( include_watchonly )
|
|
@@ -2965,7 +2965,7 @@ var methods = {
|
|
|
2965
2965
|
Examples:
|
|
2966
2966
|
> neurai-cli gettransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
|
|
2967
2967
|
> neurai-cli gettransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d" true
|
|
2968
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettransaction", "params": ["1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
2968
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettransaction", "params": ["1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
2969
2969
|
**/
|
|
2970
2970
|
gettransaction: "gettransaction",
|
|
2971
2971
|
/** gettxout "txid" n ( include_mempool )
|
|
@@ -3004,7 +3004,7 @@ var methods = {
|
|
|
3004
3004
|
> neurai-cli gettxout "txid" 1
|
|
3005
3005
|
|
|
3006
3006
|
As a json rpc call
|
|
3007
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxout", "params": ["txid", 1] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3007
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxout", "params": ["txid", 1] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3008
3008
|
**/
|
|
3009
3009
|
gettxout: "gettxout",
|
|
3010
3010
|
/** gettxoutproof ["txid",...] ( blockhash )
|
|
@@ -3047,7 +3047,7 @@ var methods = {
|
|
|
3047
3047
|
|
|
3048
3048
|
Examples:
|
|
3049
3049
|
> neurai-cli gettxoutsetinfo
|
|
3050
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxoutsetinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3050
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxoutsetinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3051
3051
|
**/
|
|
3052
3052
|
gettxoutsetinfo: "gettxoutsetinfo",
|
|
3053
3053
|
/** getunconfirmedbalance
|
|
@@ -3069,7 +3069,7 @@ var methods = {
|
|
|
3069
3069
|
|
|
3070
3070
|
Examples:
|
|
3071
3071
|
> neurai-cli getverifierstring "restricted_name"
|
|
3072
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getverifierstring", "params": ["restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3072
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getverifierstring", "params": ["restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3073
3073
|
**/
|
|
3074
3074
|
getverifierstring: "getverifierstring",
|
|
3075
3075
|
/** getwalletinfo
|
|
@@ -3094,7 +3094,7 @@ var methods = {
|
|
|
3094
3094
|
|
|
3095
3095
|
Examples:
|
|
3096
3096
|
> neurai-cli getwalletinfo
|
|
3097
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getwalletinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3097
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getwalletinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3098
3098
|
**/
|
|
3099
3099
|
getwalletinfo: "getwalletinfo",
|
|
3100
3100
|
/** help ( "command" )
|
|
@@ -3133,7 +3133,7 @@ var methods = {
|
|
|
3133
3133
|
> neurai-cli importaddress "myscript" "testing" false
|
|
3134
3134
|
|
|
3135
3135
|
As a JSON-RPC call
|
|
3136
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importaddress", "params": ["myscript", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3136
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importaddress", "params": ["myscript", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3137
3137
|
**/
|
|
3138
3138
|
importaddress: "importaddress",
|
|
3139
3139
|
/** importmulti "requests" ( "options" )
|
|
@@ -3199,7 +3199,7 @@ var methods = {
|
|
|
3199
3199
|
> neurai-cli importprivkey "mykey" "" false
|
|
3200
3200
|
|
|
3201
3201
|
As a JSON-RPC call
|
|
3202
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importprivkey", "params": ["mykey", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3202
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importprivkey", "params": ["mykey", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3203
3203
|
**/
|
|
3204
3204
|
importprivkey: "importprivkey",
|
|
3205
3205
|
/** importprunedfunds
|
|
@@ -3231,7 +3231,7 @@ var methods = {
|
|
|
3231
3231
|
> neurai-cli importpubkey "mypubkey" "testing" false
|
|
3232
3232
|
|
|
3233
3233
|
As a JSON-RPC call
|
|
3234
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importpubkey", "params": ["mypubkey", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3234
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importpubkey", "params": ["mypubkey", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3235
3235
|
**/
|
|
3236
3236
|
importpubkey: "importpubkey",
|
|
3237
3237
|
/** importwallet "filename"
|
|
@@ -3250,7 +3250,7 @@ var methods = {
|
|
|
3250
3250
|
> neurai-cli importwallet "test"
|
|
3251
3251
|
|
|
3252
3252
|
Import using the json rpc call
|
|
3253
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importwallet", "params": ["test"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3253
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importwallet", "params": ["test"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3254
3254
|
**/
|
|
3255
3255
|
importwallet: "importwallet",
|
|
3256
3256
|
/** issue "asset_name" qty "( to_address )" "( change_address )" ( units ) ( reissuable ) ( has_ipfs ) "( ipfs_hash )"
|
|
@@ -3393,7 +3393,7 @@ var methods = {
|
|
|
3393
3393
|
|
|
3394
3394
|
Examples:
|
|
3395
3395
|
> neurai-cli isvalidverifierstring "verifier_string"
|
|
3396
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "isvalidverifierstring", "params": ["verifier_string"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3396
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "isvalidverifierstring", "params": ["verifier_string"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3397
3397
|
**/
|
|
3398
3398
|
isvalidverifierstring: "isvalidverifierstring",
|
|
3399
3399
|
/** keypoolrefill ( newsize )
|
|
@@ -3405,7 +3405,7 @@ var methods = {
|
|
|
3405
3405
|
|
|
3406
3406
|
Examples:
|
|
3407
3407
|
> neurai-cli keypoolrefill
|
|
3408
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "keypoolrefill", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3408
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "keypoolrefill", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3409
3409
|
**/
|
|
3410
3410
|
keypoolrefill: "keypoolrefill",
|
|
3411
3411
|
/** listaccounts ( minconf include_watchonly)
|
|
@@ -3434,7 +3434,7 @@ var methods = {
|
|
|
3434
3434
|
> neurai-cli listaccounts 6
|
|
3435
3435
|
|
|
3436
3436
|
As json rpc call
|
|
3437
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaccounts", "params": [6] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3437
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaccounts", "params": [6] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3438
3438
|
**/
|
|
3439
3439
|
listaccounts: "listaccounts",
|
|
3440
3440
|
/** listaddressesbyasset "asset_name" (onlytotal) (count) (start)
|
|
@@ -3478,7 +3478,7 @@ var methods = {
|
|
|
3478
3478
|
|
|
3479
3479
|
Examples:
|
|
3480
3480
|
> neurai-cli listaddressesfortag "#TAG"
|
|
3481
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressesfortag", "params": ["#TAG"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3481
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressesfortag", "params": ["#TAG"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3482
3482
|
**/
|
|
3483
3483
|
listaddressesfortag: "listaddressesfortag",
|
|
3484
3484
|
/** listaddressgroupings
|
|
@@ -3502,7 +3502,7 @@ var methods = {
|
|
|
3502
3502
|
|
|
3503
3503
|
Examples:
|
|
3504
3504
|
> neurai-cli listaddressgroupings
|
|
3505
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressgroupings", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3505
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressgroupings", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3506
3506
|
**/
|
|
3507
3507
|
listaddressgroupings: "listaddressgroupings",
|
|
3508
3508
|
/** listaddressrestrictions address
|
|
@@ -3522,7 +3522,7 @@ var methods = {
|
|
|
3522
3522
|
|
|
3523
3523
|
Examples:
|
|
3524
3524
|
> neurai-cli listaddressrestrictions "address"
|
|
3525
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressrestrictions", "params": ["address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3525
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressrestrictions", "params": ["address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3526
3526
|
**/
|
|
3527
3527
|
listaddressrestrictions: "listaddressrestrictions",
|
|
3528
3528
|
/** listassetbalancesbyaddress "address" (onlytotal) (count) (start)
|
|
@@ -3586,7 +3586,7 @@ var methods = {
|
|
|
3586
3586
|
}
|
|
3587
3587
|
|
|
3588
3588
|
Examples:
|
|
3589
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3589
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3590
3590
|
> neurai-cli listassets ASSET
|
|
3591
3591
|
> neurai-cli listassets "ASSET*" true 10 20
|
|
3592
3592
|
**/
|
|
@@ -3597,7 +3597,7 @@ var methods = {
|
|
|
3597
3597
|
|
|
3598
3598
|
Examples:
|
|
3599
3599
|
> neurai-cli listbanned
|
|
3600
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3600
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3601
3601
|
**/
|
|
3602
3602
|
listbanned: "listbanned",
|
|
3603
3603
|
/** listdepinaddresses "asset_name" (count) (start)
|
|
@@ -3625,7 +3625,7 @@ var methods = {
|
|
|
3625
3625
|
Examples:
|
|
3626
3626
|
> neurai-cli listdepinaddresses "ASSET_NAME"
|
|
3627
3627
|
> neurai-cli listdepinaddresses "ASSET_NAME" 10 0
|
|
3628
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listdepinaddresses", "params": ["ASSET_NAME"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3628
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listdepinaddresses", "params": ["ASSET_NAME"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3629
3629
|
**/
|
|
3630
3630
|
listdepinaddresses: "listdepinaddresses",
|
|
3631
3631
|
/** listdepinholders "asset_name"
|
|
@@ -3652,7 +3652,7 @@ var methods = {
|
|
|
3652
3652
|
|
|
3653
3653
|
Examples:
|
|
3654
3654
|
> neurai-cli listdepinholders "&FRANCE"
|
|
3655
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listdepinholders", "params": ["&FRANCE"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3655
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listdepinholders", "params": ["&FRANCE"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3656
3656
|
**/
|
|
3657
3657
|
listdepinholders: "listdepinholders",
|
|
3658
3658
|
/** listglobalrestrictions
|
|
@@ -3669,7 +3669,7 @@ var methods = {
|
|
|
3669
3669
|
|
|
3670
3670
|
Examples:
|
|
3671
3671
|
> neurai-cli listglobalrestrictions
|
|
3672
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listglobalrestrictions", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3672
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listglobalrestrictions", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3673
3673
|
**/
|
|
3674
3674
|
listglobalrestrictions: "listglobalrestrictions",
|
|
3675
3675
|
/** listlockunspent
|
|
@@ -3701,7 +3701,7 @@ var methods = {
|
|
|
3701
3701
|
> neurai-cli lockunspent true "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"
|
|
3702
3702
|
|
|
3703
3703
|
As a json rpc call
|
|
3704
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listlockunspent", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3704
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listlockunspent", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3705
3705
|
**/
|
|
3706
3706
|
listlockunspent: "listlockunspent",
|
|
3707
3707
|
/** listmyassets "( asset )" ( verbose ) ( count ) ( start ) (confs)
|
|
@@ -3743,7 +3743,7 @@ var methods = {
|
|
|
3743
3743
|
{...}, {...}
|
|
3744
3744
|
|
|
3745
3745
|
Examples:
|
|
3746
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listmyassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3746
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listmyassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3747
3747
|
> neurai-cli listmyassets ASSET
|
|
3748
3748
|
> neurai-cli listmyassets "ASSET*" true 10 20
|
|
3749
3749
|
> neurai-cli listmyassets "ASSET*" true 10 20 1
|
|
@@ -3761,7 +3761,7 @@ var methods = {
|
|
|
3761
3761
|
|
|
3762
3762
|
Examples:
|
|
3763
3763
|
> neurai-cli listpqaddresses
|
|
3764
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listpqaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3764
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listpqaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3765
3765
|
**/
|
|
3766
3766
|
listpqaddresses: "listpqaddresses",
|
|
3767
3767
|
/** listreceivedbyaccount ( minconf include_empty include_watchonly)
|
|
@@ -3788,7 +3788,7 @@ var methods = {
|
|
|
3788
3788
|
Examples:
|
|
3789
3789
|
> neurai-cli listreceivedbyaccount
|
|
3790
3790
|
> neurai-cli listreceivedbyaccount 6 true
|
|
3791
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listreceivedbyaccount", "params": [6, true, true] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3791
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listreceivedbyaccount", "params": [6, true, true] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3792
3792
|
**/
|
|
3793
3793
|
listreceivedbyaccount: "listreceivedbyaccount",
|
|
3794
3794
|
/** listreceivedbyaddress ( minconf include_empty include_watchonly)
|
|
@@ -3820,7 +3820,7 @@ var methods = {
|
|
|
3820
3820
|
Examples:
|
|
3821
3821
|
> neurai-cli listreceivedbyaddress
|
|
3822
3822
|
> neurai-cli listreceivedbyaddress 6 true
|
|
3823
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listreceivedbyaddress", "params": [6, true, true] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3823
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listreceivedbyaddress", "params": [6, true, true] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3824
3824
|
**/
|
|
3825
3825
|
listreceivedbyaddress: "listreceivedbyaddress",
|
|
3826
3826
|
/** listsinceblock ( "blockhash" target_confirmations include_watchonly include_removed )
|
|
@@ -3871,7 +3871,7 @@ var methods = {
|
|
|
3871
3871
|
Examples:
|
|
3872
3872
|
> neurai-cli listsinceblock
|
|
3873
3873
|
> neurai-cli listsinceblock "000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad" 6
|
|
3874
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listsinceblock", "params": ["000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3874
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listsinceblock", "params": ["000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3875
3875
|
**/
|
|
3876
3876
|
listsinceblock: "listsinceblock",
|
|
3877
3877
|
/** listsnapshotrequests ["asset_name" [block_height]]
|
|
@@ -3892,7 +3892,7 @@ var methods = {
|
|
|
3892
3892
|
|
|
3893
3893
|
Examples:
|
|
3894
3894
|
> neurai-cli listsnapshotrequests
|
|
3895
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listsnapshotrequests", "params": ["TRONCO" 345333] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3895
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listsnapshotrequests", "params": ["TRONCO" 345333] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3896
3896
|
**/
|
|
3897
3897
|
listsnapshotrequests: "listsnapshotrequests",
|
|
3898
3898
|
/** listtagsforaddress address
|
|
@@ -3912,7 +3912,7 @@ var methods = {
|
|
|
3912
3912
|
|
|
3913
3913
|
Examples:
|
|
3914
3914
|
> neurai-cli listtagsforaddress "address"
|
|
3915
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listtagsforaddress", "params": ["address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3915
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listtagsforaddress", "params": ["address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3916
3916
|
**/
|
|
3917
3917
|
listtagsforaddress: "listtagsforaddress",
|
|
3918
3918
|
/** listtransactions ( "account" count skip include_watchonly)
|
|
@@ -3976,7 +3976,7 @@ var methods = {
|
|
|
3976
3976
|
> neurai-cli listtransactions "*" 20 100
|
|
3977
3977
|
|
|
3978
3978
|
As a json rpc call
|
|
3979
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listtransactions", "params": ["*", 20, 100] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
3979
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listtransactions", "params": ["*", 20, 100] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
3980
3980
|
**/
|
|
3981
3981
|
listtransactions: "listtransactions",
|
|
3982
3982
|
/** listunspent ( minconf maxconf ["addresses",...] [include_unsafe] [query_options])
|
|
@@ -4026,9 +4026,9 @@ var methods = {
|
|
|
4026
4026
|
Examples
|
|
4027
4027
|
> neurai-cli listunspent
|
|
4028
4028
|
> neurai-cli listunspent 6 9999999 "[\"1PGFqEzfmQch1gKD3ra4k18PNj3tTUUSqg\",\"1LtvqCaApEdUGFkpKMM4MstjcaL4dKg8SP\"]"
|
|
4029
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listunspent", "params": [6, 9999999 "[\"1PGFqEzfmQch1gKD3ra4k18PNj3tTUUSqg\",\"1LtvqCaApEdUGFkpKMM4MstjcaL4dKg8SP\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4029
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listunspent", "params": [6, 9999999 "[\"1PGFqEzfmQch1gKD3ra4k18PNj3tTUUSqg\",\"1LtvqCaApEdUGFkpKMM4MstjcaL4dKg8SP\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4030
4030
|
> neurai-cli listunspent 6 9999999 '[]' true '{ "minimumAmount": 0.005 }'
|
|
4031
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listunspent", "params": [6, 9999999, [] , true, { "minimumAmount": 0.005 } ] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4031
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listunspent", "params": [6, 9999999, [] , true, { "minimumAmount": 0.005 } ] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4032
4032
|
**/
|
|
4033
4033
|
listunspent: "listunspent",
|
|
4034
4034
|
/** listwallets
|
|
@@ -4043,7 +4043,7 @@ var methods = {
|
|
|
4043
4043
|
|
|
4044
4044
|
Examples:
|
|
4045
4045
|
> neurai-cli listwallets
|
|
4046
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listwallets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4046
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listwallets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4047
4047
|
**/
|
|
4048
4048
|
listwallets: "listwallets",
|
|
4049
4049
|
/** lockunspent unlock ([{"txid":"txid","vout":n},...])
|
|
@@ -4085,7 +4085,7 @@ var methods = {
|
|
|
4085
4085
|
> neurai-cli lockunspent true "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"
|
|
4086
4086
|
|
|
4087
4087
|
As a json rpc call
|
|
4088
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "lockunspent", "params": [false, "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4088
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "lockunspent", "params": [false, "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4089
4089
|
**/
|
|
4090
4090
|
lockunspent: "lockunspent",
|
|
4091
4091
|
/** move "fromaccount" "toaccount" amount ( minconf "comment" )
|
|
@@ -4111,7 +4111,7 @@ var methods = {
|
|
|
4111
4111
|
> neurai-cli move "timotei" "akiko" 0.01 6 "happy birthday!"
|
|
4112
4112
|
|
|
4113
4113
|
As a json rpc call
|
|
4114
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "move", "params": ["timotei", "akiko", 0.01, 6, "happy birthday!"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4114
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "move", "params": ["timotei", "akiko", 0.01, 6, "happy birthday!"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4115
4115
|
**/
|
|
4116
4116
|
move: "move",
|
|
4117
4117
|
/** ping
|
|
@@ -4122,7 +4122,7 @@ var methods = {
|
|
|
4122
4122
|
|
|
4123
4123
|
Examples:
|
|
4124
4124
|
> neurai-cli ping
|
|
4125
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "ping", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4125
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "ping", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4126
4126
|
**/
|
|
4127
4127
|
ping: "ping",
|
|
4128
4128
|
/** pprpcsb "header_hash" "mix_hash" "nonce"
|
|
@@ -4138,7 +4138,7 @@ var methods = {
|
|
|
4138
4138
|
|
|
4139
4139
|
Examples:
|
|
4140
4140
|
> neurai-cli pprpcsb "header_hash" "mix_hash" 100000
|
|
4141
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "pprpcsb", "params": ["header_hash" "mix_hash" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4141
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "pprpcsb", "params": ["header_hash" "mix_hash" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4142
4142
|
**/
|
|
4143
4143
|
pprpcsb: "pprpcsb",
|
|
4144
4144
|
/** preciousblock "blockhash"
|
|
@@ -4156,7 +4156,7 @@ var methods = {
|
|
|
4156
4156
|
|
|
4157
4157
|
Examples:
|
|
4158
4158
|
> neurai-cli preciousblock "blockhash"
|
|
4159
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "preciousblock", "params": ["blockhash"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4159
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "preciousblock", "params": ["blockhash"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4160
4160
|
**/
|
|
4161
4161
|
preciousblock: "preciousblock",
|
|
4162
4162
|
/** prioritisetransaction <txid> <dummy value> <fee delta>
|
|
@@ -4175,7 +4175,7 @@ var methods = {
|
|
|
4175
4175
|
|
|
4176
4176
|
Examples:
|
|
4177
4177
|
> neurai-cli prioritisetransaction "txid" 0.0 10000
|
|
4178
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "prioritisetransaction", "params": ["txid", 0.0, 10000] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4178
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "prioritisetransaction", "params": ["txid", 0.0, 10000] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4179
4179
|
**/
|
|
4180
4180
|
prioritisetransaction: "prioritisetransaction",
|
|
4181
4181
|
/** pruneblockchain
|
|
@@ -4189,7 +4189,7 @@ var methods = {
|
|
|
4189
4189
|
|
|
4190
4190
|
Examples:
|
|
4191
4191
|
> neurai-cli pruneblockchain 1000
|
|
4192
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "pruneblockchain", "params": [1000] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4192
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "pruneblockchain", "params": [1000] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4193
4193
|
**/
|
|
4194
4194
|
pruneblockchain: "pruneblockchain",
|
|
4195
4195
|
/** purgesnapshot "asset_name" block_height
|
|
@@ -4211,7 +4211,7 @@ var methods = {
|
|
|
4211
4211
|
|
|
4212
4212
|
Examples:
|
|
4213
4213
|
> neurai-cli purgesnapshot "ASSET_NAME" 28546
|
|
4214
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "purgesnapshot", "params": ["ASSET_NAME" 28546] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4214
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "purgesnapshot", "params": ["ASSET_NAME" 28546] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4215
4215
|
**/
|
|
4216
4216
|
purgesnapshot: "purgesnapshot",
|
|
4217
4217
|
/** reissue "asset_name" qty "to_address" "change_address" ( reissuable ) ( new_units) "( new_ipfs )"
|
|
@@ -4236,7 +4236,7 @@ var methods = {
|
|
|
4236
4236
|
|
|
4237
4237
|
Examples:
|
|
4238
4238
|
> neurai-cli reissue "ASSET_NAME" 20 "address"
|
|
4239
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "reissue", "params": ["ASSET_NAME" 20 "address" "change_address" "true" 8 "Qmd286K6pohQcTKYqnS1YhWrCiS4gz7Xi34sdwMe9USZ7u"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4239
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "reissue", "params": ["ASSET_NAME" 20 "address" "change_address" "true" 8 "Qmd286K6pohQcTKYqnS1YhWrCiS4gz7Xi34sdwMe9USZ7u"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4240
4240
|
**/
|
|
4241
4241
|
reissue: "reissue",
|
|
4242
4242
|
/** reissuerestrictedasset "asset_name" qty to_address ( change_verifier ) ( "new_verifier" ) "( change_address )" ( new_units ) ( reissuable ) "( new_ipfs )"
|
|
@@ -4280,7 +4280,7 @@ var methods = {
|
|
|
4280
4280
|
> neurai-cli removeprunedfunds "a8d0c0184dde994a09ec054286f1ce581bebf46446a512166eae7628734ea0a5"
|
|
4281
4281
|
|
|
4282
4282
|
As a JSON-RPC call
|
|
4283
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removeprunedfunds", "params": ["a8d0c0184dde994a09ec054286f1ce581bebf46446a512166eae7628734ea0a5"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4283
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removeprunedfunds", "params": ["a8d0c0184dde994a09ec054286f1ce581bebf46446a512166eae7628734ea0a5"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4284
4284
|
**/
|
|
4285
4285
|
removeprunedfunds: "removeprunedfunds",
|
|
4286
4286
|
/** removetagfromaddress tag_name to_address (change_address) (asset_data)
|
|
@@ -4301,9 +4301,9 @@ var methods = {
|
|
|
4301
4301
|
|
|
4302
4302
|
Examples:
|
|
4303
4303
|
> neurai-cli removetagfromaddress "#TAG" "to_address"
|
|
4304
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removetagfromaddress", "params": ["#TAG" "to_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4304
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removetagfromaddress", "params": ["#TAG" "to_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4305
4305
|
> neurai-cli removetagfromaddress "#TAG" "to_address" "change_address"
|
|
4306
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removetagfromaddress", "params": ["#TAG" "to_address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4306
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removetagfromaddress", "params": ["#TAG" "to_address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4307
4307
|
**/
|
|
4308
4308
|
removetagfromaddress: "removetagfromaddress",
|
|
4309
4309
|
/** requestsnapshot "asset_name" block_height
|
|
@@ -4321,7 +4321,7 @@ var methods = {
|
|
|
4321
4321
|
|
|
4322
4322
|
Examples:
|
|
4323
4323
|
> neurai-cli requestsnapshot "TRONCO" 12345
|
|
4324
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "requestsnapshot", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4324
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "requestsnapshot", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4325
4325
|
**/
|
|
4326
4326
|
requestsnapshot: "requestsnapshot",
|
|
4327
4327
|
/** rescanblockchain ("start_height") ("stop_height")
|
|
@@ -4340,7 +4340,7 @@ var methods = {
|
|
|
4340
4340
|
|
|
4341
4341
|
Examples:
|
|
4342
4342
|
> neurai-cli rescanblockchain 100000 120000
|
|
4343
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "rescanblockchain", "params": [100000, 120000] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4343
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "rescanblockchain", "params": [100000, 120000] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4344
4344
|
**/
|
|
4345
4345
|
rescanblockchain: "rescanblockchain",
|
|
4346
4346
|
/** savemempool
|
|
@@ -4349,7 +4349,7 @@ var methods = {
|
|
|
4349
4349
|
|
|
4350
4350
|
Examples:
|
|
4351
4351
|
> neurai-cli savemempool
|
|
4352
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "savemempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4352
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "savemempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4353
4353
|
**/
|
|
4354
4354
|
savemempool: "savemempool",
|
|
4355
4355
|
/** selfrevokedepin "asset_name"
|
|
@@ -4383,7 +4383,7 @@ var methods = {
|
|
|
4383
4383
|
|
|
4384
4384
|
Examples:
|
|
4385
4385
|
> neurai-cli selfrevokedepin "&FRANCE"
|
|
4386
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "selfrevokedepin", "params": ["&FRANCE"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4386
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "selfrevokedepin", "params": ["&FRANCE"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4387
4387
|
**/
|
|
4388
4388
|
selfrevokedepin: "selfrevokedepin",
|
|
4389
4389
|
/** sendfrom "fromaccount" "toaddress" amount ( minconf "comment" "comment_to" )
|
|
@@ -4416,7 +4416,7 @@ var methods = {
|
|
|
4416
4416
|
> neurai-cli sendfrom "tabby" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.01 6 "donation" "seans outpost"
|
|
4417
4417
|
|
|
4418
4418
|
As a json rpc call
|
|
4419
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendfrom", "params": ["tabby", "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd", 0.01, 6, "donation", "seans outpost"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4419
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendfrom", "params": ["tabby", "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd", 0.01, 6, "donation", "seans outpost"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4420
4420
|
**/
|
|
4421
4421
|
sendfrom: "sendfrom",
|
|
4422
4422
|
/** sendfromaddress "from_address" "to_address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
|
|
@@ -4447,7 +4447,7 @@ var methods = {
|
|
|
4447
4447
|
> neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1
|
|
4448
4448
|
> neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "donation" "seans outpost"
|
|
4449
4449
|
> neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "" "" true
|
|
4450
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendfromaddress", "params": ["1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd", 0.1, "donation", "seans outpost"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4450
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendfromaddress", "params": ["1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd", 0.1, "donation", "seans outpost"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4451
4451
|
**/
|
|
4452
4452
|
sendfromaddress: "sendfromaddress",
|
|
4453
4453
|
/** sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] replaceable conf_target "estimate_mode")
|
|
@@ -4493,7 +4493,7 @@ var methods = {
|
|
|
4493
4493
|
> neurai-cli sendmany "" "{\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\":0.01,\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\":0.02}" 1 "" "[\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\",\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\"]"
|
|
4494
4494
|
|
|
4495
4495
|
As a json rpc call
|
|
4496
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendmany", "params": ["", "{\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\":0.01,\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\":0.02}", 6, "testing"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4496
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendmany", "params": ["", "{\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\":0.01,\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\":0.02}", 6, "testing"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4497
4497
|
**/
|
|
4498
4498
|
sendmany: "sendmany",
|
|
4499
4499
|
/** sendmessage "channel_name" "ipfs_hash" (expire_time)
|
|
@@ -4540,7 +4540,7 @@ var methods = {
|
|
|
4540
4540
|
> neurai-cli sendrawtransaction "signedhex"
|
|
4541
4541
|
|
|
4542
4542
|
As a json rpc call
|
|
4543
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendrawtransaction", "params": ["signedhex"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4543
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendrawtransaction", "params": ["signedhex"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4544
4544
|
**/
|
|
4545
4545
|
sendrawtransaction: "sendrawtransaction",
|
|
4546
4546
|
/** sendtoaddress "address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
|
|
@@ -4570,7 +4570,7 @@ var methods = {
|
|
|
4570
4570
|
> neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1
|
|
4571
4571
|
> neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "donation" "seans outpost"
|
|
4572
4572
|
> neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "" "" true
|
|
4573
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendtoaddress", "params": ["1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd", 0.1, "donation", "seans outpost"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4573
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendtoaddress", "params": ["1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd", 0.1, "donation", "seans outpost"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4574
4574
|
**/
|
|
4575
4575
|
sendtoaddress: "sendtoaddress",
|
|
4576
4576
|
/** setaccount "address" "account"
|
|
@@ -4583,7 +4583,7 @@ var methods = {
|
|
|
4583
4583
|
|
|
4584
4584
|
Examples:
|
|
4585
4585
|
> neurai-cli setaccount "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "tabby"
|
|
4586
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setaccount", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", "tabby"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4586
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setaccount", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", "tabby"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4587
4587
|
**/
|
|
4588
4588
|
setaccount: "setaccount",
|
|
4589
4589
|
/** setban "subnet" "add|remove" (bantime) (absolute)
|
|
@@ -4599,7 +4599,7 @@ var methods = {
|
|
|
4599
4599
|
Examples:
|
|
4600
4600
|
> neurai-cli setban "192.168.0.6" "add" 86400
|
|
4601
4601
|
> neurai-cli setban "192.168.0.0/24" "add"
|
|
4602
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setban", "params": ["192.168.0.6", "add", 86400] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4602
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setban", "params": ["192.168.0.6", "add", 86400] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4603
4603
|
**/
|
|
4604
4604
|
setban: "setban",
|
|
4605
4605
|
/** setgenerate generate ( genproclimit )
|
|
@@ -4624,7 +4624,7 @@ var methods = {
|
|
|
4624
4624
|
> neurai-cli setgenerate false
|
|
4625
4625
|
|
|
4626
4626
|
Using json rpc
|
|
4627
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setgenerate", "params": [true, 1] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4627
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setgenerate", "params": [true, 1] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4628
4628
|
**/
|
|
4629
4629
|
setgenerate: "setgenerate",
|
|
4630
4630
|
/** setnetworkactive true|false
|
|
@@ -4647,7 +4647,7 @@ var methods = {
|
|
|
4647
4647
|
|
|
4648
4648
|
Examples:
|
|
4649
4649
|
> neurai-cli settxfee 0.00001
|
|
4650
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "settxfee", "params": [0.00001] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4650
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "settxfee", "params": [0.00001] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4651
4651
|
**/
|
|
4652
4652
|
settxfee: "settxfee",
|
|
4653
4653
|
/** signmessage "address" "message"
|
|
@@ -4673,7 +4673,7 @@ var methods = {
|
|
|
4673
4673
|
> neurai-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
|
|
4674
4674
|
|
|
4675
4675
|
As json rpc
|
|
4676
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signmessage", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4676
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signmessage", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4677
4677
|
**/
|
|
4678
4678
|
signmessage: "signmessage",
|
|
4679
4679
|
/** signmessagewithprivkey "privkey" "message"
|
|
@@ -4696,7 +4696,7 @@ var methods = {
|
|
|
4696
4696
|
> neurai-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
|
|
4697
4697
|
|
|
4698
4698
|
As json rpc
|
|
4699
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signmessagewithprivkey", "params": ["privkey", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4699
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signmessagewithprivkey", "params": ["privkey", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4700
4700
|
**/
|
|
4701
4701
|
signmessagewithprivkey: "signmessagewithprivkey",
|
|
4702
4702
|
/** signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )
|
|
@@ -4752,7 +4752,7 @@ var methods = {
|
|
|
4752
4752
|
|
|
4753
4753
|
Examples:
|
|
4754
4754
|
> neurai-cli signrawtransaction "myhex"
|
|
4755
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signrawtransaction", "params": ["myhex"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4755
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signrawtransaction", "params": ["myhex"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4756
4756
|
**/
|
|
4757
4757
|
signrawtransaction: "signrawtransaction",
|
|
4758
4758
|
/** stop
|
|
@@ -4773,7 +4773,7 @@ var methods = {
|
|
|
4773
4773
|
|
|
4774
4774
|
Examples:
|
|
4775
4775
|
> neurai-cli submitblock "mydata"
|
|
4776
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "submitblock", "params": ["mydata"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4776
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "submitblock", "params": ["mydata"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4777
4777
|
**/
|
|
4778
4778
|
submitblock: "submitblock",
|
|
4779
4779
|
/** subscribetochannel
|
|
@@ -4792,7 +4792,7 @@ var methods = {
|
|
|
4792
4792
|
|
|
4793
4793
|
Examples:
|
|
4794
4794
|
> neurai-cli subscribetochannel "ASSET_NAME!"
|
|
4795
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "subscribetochannel", "params": ["ASSET_NAME!"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4795
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "subscribetochannel", "params": ["ASSET_NAME!"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4796
4796
|
**/
|
|
4797
4797
|
subscribetochannel: "subscribetochannel",
|
|
4798
4798
|
/** testmempoolaccept ["rawtxs"] ( allowhighfees )
|
|
@@ -4829,7 +4829,7 @@ var methods = {
|
|
|
4829
4829
|
> neurai-cli testmempoolaccept "signedhex"
|
|
4830
4830
|
|
|
4831
4831
|
As a json rpc call
|
|
4832
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "testmempoolaccept", "params": [["signedhex"]] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4832
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "testmempoolaccept", "params": [["signedhex"]] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4833
4833
|
**/
|
|
4834
4834
|
testmempoolaccept: "testmempoolaccept",
|
|
4835
4835
|
/** transfer "asset_name" qty "to_address" "message" expire_time "change_address" "asset_change_address"
|
|
@@ -4880,7 +4880,7 @@ var methods = {
|
|
|
4880
4880
|
|
|
4881
4881
|
Examples:
|
|
4882
4882
|
> neurai-cli transferfromaddress "ASSET_NAME" "fromaddress" 20 "address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E", 156545652
|
|
4883
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "transferfromaddress", "params": ["ASSET_NAME" "fromaddress" 20 "address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E", 156545652] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4883
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "transferfromaddress", "params": ["ASSET_NAME" "fromaddress" 20 "address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E", 156545652] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4884
4884
|
**/
|
|
4885
4885
|
transferfromaddress: "transferfromaddress",
|
|
4886
4886
|
/** transferfromaddresses "asset_name" ["from_addresses"] qty "to_address" "message" expire_time "xna_change_address" "asset_change_address"
|
|
@@ -4906,7 +4906,7 @@ var methods = {
|
|
|
4906
4906
|
|
|
4907
4907
|
Examples:
|
|
4908
4908
|
> neurai-cli transferfromaddresses "ASSET_NAME" '["fromaddress1", "fromaddress2"]' 20 "to_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 154652365
|
|
4909
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "transferfromaddresses", "params": ["ASSET_NAME" '["fromaddress1", "fromaddress2"]' 20 "to_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 154652365] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4909
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "transferfromaddresses", "params": ["ASSET_NAME" '["fromaddress1", "fromaddress2"]' 20 "to_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 154652365] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4910
4910
|
**/
|
|
4911
4911
|
transferfromaddresses: "transferfromaddresses",
|
|
4912
4912
|
/** transferqualifier "qualifier_name" qty "to_address" ("change_address") ("message") (expire_time)
|
|
@@ -4951,9 +4951,9 @@ var methods = {
|
|
|
4951
4951
|
|
|
4952
4952
|
Examples:
|
|
4953
4953
|
> neurai-cli unfreezeaddress "$RESTRICTED_ASSET" "address"
|
|
4954
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezeaddress", "params": ["$RESTRICTED_ASSET" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4954
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezeaddress", "params": ["$RESTRICTED_ASSET" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4955
4955
|
> neurai-cli unfreezeaddress "$RESTRICTED_ASSET" "address" "change_address"
|
|
4956
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezeaddress", "params": ["$RESTRICTED_ASSET" "address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4956
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezeaddress", "params": ["$RESTRICTED_ASSET" "address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4957
4957
|
**/
|
|
4958
4958
|
unfreezeaddress: "unfreezeaddress",
|
|
4959
4959
|
/** unfreezedepin "asset_name" "address" ("change_address")
|
|
@@ -4977,7 +4977,7 @@ var methods = {
|
|
|
4977
4977
|
|
|
4978
4978
|
Examples:
|
|
4979
4979
|
> neurai-cli unfreezedepin "&FRANCE" "address"
|
|
4980
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezedepin", "params": ["&FRANCE" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
4980
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezedepin", "params": ["&FRANCE" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
4981
4981
|
**/
|
|
4982
4982
|
unfreezedepin: "unfreezedepin",
|
|
4983
4983
|
/** unfreezerestrictedasset asset_name (change_address) (asset_data)
|
|
@@ -4997,9 +4997,9 @@ var methods = {
|
|
|
4997
4997
|
|
|
4998
4998
|
Examples:
|
|
4999
4999
|
> neurai-cli unfreezerestrictedasset "$RESTRICTED_ASSET"
|
|
5000
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezerestrictedasset", "params": ["$RESTRICTED_ASSET"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5000
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezerestrictedasset", "params": ["$RESTRICTED_ASSET"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5001
5001
|
> neurai-cli unfreezerestrictedasset "$RESTRICTED_ASSET" "change_address"
|
|
5002
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezerestrictedasset", "params": ["$RESTRICTED_ASSET" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5002
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezerestrictedasset", "params": ["$RESTRICTED_ASSET" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5003
5003
|
**/
|
|
5004
5004
|
unfreezerestrictedasset: "unfreezerestrictedasset",
|
|
5005
5005
|
/** unsubscribefromchannel
|
|
@@ -5018,7 +5018,7 @@ var methods = {
|
|
|
5018
5018
|
|
|
5019
5019
|
Examples:
|
|
5020
5020
|
> neurai-cli unsubscribefromchannel "ASSET_NAME!"
|
|
5021
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unsubscribefromchannel", "params": ["ASSET_NAME!"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5021
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unsubscribefromchannel", "params": ["ASSET_NAME!"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5022
5022
|
**/
|
|
5023
5023
|
unsubscribefromchannel: "unsubscribefromchannel",
|
|
5024
5024
|
/** uptime
|
|
@@ -5030,7 +5030,7 @@ var methods = {
|
|
|
5030
5030
|
|
|
5031
5031
|
Examples:
|
|
5032
5032
|
> neurai-cli uptime
|
|
5033
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "uptime", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5033
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "uptime", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5034
5034
|
**/
|
|
5035
5035
|
uptime: "uptime",
|
|
5036
5036
|
/** validateaddress "address"
|
|
@@ -5066,7 +5066,7 @@ var methods = {
|
|
|
5066
5066
|
|
|
5067
5067
|
Examples:
|
|
5068
5068
|
> neurai-cli validateaddress "1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc"
|
|
5069
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "validateaddress", "params": ["1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5069
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "validateaddress", "params": ["1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5070
5070
|
**/
|
|
5071
5071
|
validateaddress: "validateaddress",
|
|
5072
5072
|
/** verifychain ( checklevel nblocks )
|
|
@@ -5082,7 +5082,7 @@ var methods = {
|
|
|
5082
5082
|
|
|
5083
5083
|
Examples:
|
|
5084
5084
|
> neurai-cli verifychain
|
|
5085
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifychain", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5085
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifychain", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5086
5086
|
**/
|
|
5087
5087
|
verifychain: "verifychain",
|
|
5088
5088
|
/** verifymessage "address" "signature" "message"
|
|
@@ -5109,7 +5109,7 @@ var methods = {
|
|
|
5109
5109
|
> neurai-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"
|
|
5110
5110
|
|
|
5111
5111
|
As json rpc
|
|
5112
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifymessage", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", "signature", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5112
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifymessage", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", "signature", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5113
5113
|
**/
|
|
5114
5114
|
verifymessage: "verifymessage",
|
|
5115
5115
|
/** verifytxoutproof "proof"
|
|
@@ -5138,7 +5138,7 @@ var methods = {
|
|
|
5138
5138
|
|
|
5139
5139
|
Examples:
|
|
5140
5140
|
> neurai-cli viewallmessagechannels
|
|
5141
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessagechannels", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5141
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessagechannels", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5142
5142
|
**/
|
|
5143
5143
|
viewallmessagechannels: "viewallmessagechannels",
|
|
5144
5144
|
/** viewallmessages
|
|
@@ -5159,7 +5159,7 @@ var methods = {
|
|
|
5159
5159
|
|
|
5160
5160
|
Examples:
|
|
5161
5161
|
> neurai-cli viewallmessages
|
|
5162
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5162
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5163
5163
|
**/
|
|
5164
5164
|
viewallmessages: "viewallmessages",
|
|
5165
5165
|
/** viewmyrestrictedaddresses
|
|
@@ -5179,7 +5179,7 @@ var methods = {
|
|
|
5179
5179
|
|
|
5180
5180
|
Examples:
|
|
5181
5181
|
> neurai-cli viewmyrestrictedaddresses
|
|
5182
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmyrestrictedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5182
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmyrestrictedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5183
5183
|
**/
|
|
5184
5184
|
viewmyrestrictedaddresses: "viewmyrestrictedaddresses",
|
|
5185
5185
|
/** viewmytaggedaddresses
|
|
@@ -5199,7 +5199,7 @@ var methods = {
|
|
|
5199
5199
|
|
|
5200
5200
|
Examples:
|
|
5201
5201
|
> neurai-cli viewmytaggedaddresses
|
|
5202
|
-
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmytaggedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:
|
|
5202
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmytaggedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:19001/
|
|
5203
5203
|
**/
|
|
5204
5204
|
viewmytaggedaddresses: "viewmytaggedaddresses"
|
|
5205
5205
|
};
|