@neuraiproject/neurai-rpc 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -15,7 +15,7 @@ Result:
15
15
  Examples:
16
16
  > neurai-cli abandontransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
17
17
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abandontransaction", "params": ["1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
18
- **/ abandontransaction: "abandontransaction",
18
+ **/ abandontransaction: 'abandontransaction',
19
19
  /** abortrescan
20
20
 
21
21
  Stops current wallet rescan triggered e.g. by an importprivkey call.
@@ -30,7 +30,7 @@ Abort the running wallet rescan
30
30
 
31
31
  As a JSON-RPC call
32
32
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abortrescan", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
33
- **/ abortrescan: "abortrescan",
33
+ **/ abortrescan: 'abortrescan',
34
34
  /** addmultisigaddress nrequired ["key",...] ( "account" )
35
35
 
36
36
  Add a nrequired-to-sign multisignature address to the wallet.
@@ -56,7 +56,7 @@ Add a multisig address from 2 addresses
56
56
 
57
57
  As json rpc call
58
58
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addmultisigaddress", "params": [2, "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
59
- **/ addmultisigaddress: "addmultisigaddress",
59
+ **/ addmultisigaddress: 'addmultisigaddress',
60
60
  /** addnode "node" "add|remove|onetry"
61
61
 
62
62
  Attempts to add or remove a node from the addnode list.
@@ -71,7 +71,7 @@ Arguments:
71
71
  Examples:
72
72
  > neurai-cli addnode "192.168.0.6:8767" "onetry"
73
73
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addnode", "params": ["192.168.0.6:8767", "onetry"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
74
- **/ addnode: "addnode",
74
+ **/ addnode: 'addnode',
75
75
  /** addtagtoaddress tag_name to_address (change_address) (asset_data)
76
76
 
77
77
  Assign a tag to a address
@@ -90,7 +90,7 @@ Examples:
90
90
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addtagtoaddress", "params": ["#TAG" "to_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
91
91
  > neurai-cli addtagtoaddress "#TAG" "to_address" "change_address"
92
92
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addtagtoaddress", "params": ["#TAG" "to_address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
93
- **/ addtagtoaddress: "addtagtoaddress",
93
+ **/ addtagtoaddress: 'addtagtoaddress',
94
94
  /** addwitnessaddress "address"
95
95
 
96
96
  Add a witness address for a script (with pubkey or redeemscript known).
@@ -102,7 +102,7 @@ Arguments:
102
102
  Result:
103
103
  "witnessaddress", (string) The value of the new address (P2SH of witness script).
104
104
  }
105
- **/ addwitnessaddress: "addwitnessaddress",
105
+ **/ addwitnessaddress: 'addwitnessaddress',
106
106
  /** backupwallet "destination"
107
107
 
108
108
  Safely copies current wallet file to destination, which can be a directory or a path with filename.
@@ -113,8 +113,8 @@ Arguments:
113
113
  Examples:
114
114
  > neurai-cli backupwallet "backup.dat"
115
115
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "backupwallet", "params": ["backup.dat"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
116
- **/ backupwallet: "backupwallet",
117
- /** bumpfee has been deprecated on the XNA Wallet.**/ bumpfee: "bumpfee",
116
+ **/ backupwallet: 'backupwallet',
117
+ /** bumpfee has been deprecated on the XNA Wallet.**/ bumpfee: 'bumpfee',
118
118
  /** cancelsnapshotrequest "asset_name" block_height
119
119
 
120
120
  Cancels the specified snapshot request.
@@ -131,7 +131,7 @@ Result:
131
131
  Examples:
132
132
  > neurai-cli cancelsnapshotrequest "TRONCO" 12345
133
133
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "cancelsnapshotrequest", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
134
- **/ cancelsnapshotrequest: "cancelsnapshotrequest",
134
+ **/ cancelsnapshotrequest: 'cancelsnapshotrequest',
135
135
  /** checkaddressrestriction address restricted_name
136
136
 
137
137
  Checks to see if an address has been frozen by the given restricted asset
@@ -146,7 +146,7 @@ Result:
146
146
  Examples:
147
147
  > neurai-cli checkaddressrestriction "address" "restricted_name"
148
148
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkaddressrestriction", "params": ["address" "restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
149
- **/ checkaddressrestriction: "checkaddressrestriction",
149
+ **/ checkaddressrestriction: 'checkaddressrestriction',
150
150
  /** checkaddresstag address tag_name
151
151
 
152
152
  Checks to see if an address has the given tag
@@ -161,7 +161,7 @@ Result:
161
161
  Examples:
162
162
  > neurai-cli checkaddresstag "address" "tag_name"
163
163
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkaddresstag", "params": ["address" "tag_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
164
- **/ checkaddresstag: "checkaddresstag",
164
+ **/ checkaddresstag: 'checkaddresstag',
165
165
  /** checkglobalrestriction restricted_name
166
166
 
167
167
  Checks to see if a restricted asset is globally frozen
@@ -175,7 +175,7 @@ Result:
175
175
  Examples:
176
176
  > neurai-cli checkglobalrestriction "restricted_name"
177
177
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkglobalrestriction", "params": ["restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
178
- **/ checkglobalrestriction: "checkglobalrestriction",
178
+ **/ checkglobalrestriction: 'checkglobalrestriction',
179
179
  /** clearbanned
180
180
 
181
181
  Clear all banned IPs.
@@ -183,7 +183,7 @@ Clear all banned IPs.
183
183
  Examples:
184
184
  > neurai-cli clearbanned
185
185
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
186
- **/ clearbanned: "clearbanned",
186
+ **/ clearbanned: 'clearbanned',
187
187
  /** clearmempool
188
188
 
189
189
  Removes all transaction from the mempool
@@ -191,7 +191,7 @@ Removes all transaction from the mempool
191
191
  Examples:
192
192
  > neurai-cli clearmempool
193
193
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
194
- **/ clearmempool: "clearmempool",
194
+ **/ clearmempool: 'clearmempool',
195
195
  /** clearmessages
196
196
 
197
197
  Delete current database of messages
@@ -203,7 +203,7 @@ Result:[
203
203
  Examples:
204
204
  > neurai-cli clearmessages
205
205
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
206
- **/ clearmessages: "clearmessages",
206
+ **/ clearmessages: 'clearmessages',
207
207
  /** combinerawtransaction ["hexstring",...]
208
208
 
209
209
  Combine multiple partially signed transactions into one transaction.
@@ -221,7 +221,7 @@ Result:
221
221
 
222
222
  Examples:
223
223
  > neurai-cli combinerawtransaction ["myhex1", "myhex2", "myhex3"]
224
- **/ combinerawtransaction: "combinerawtransaction",
224
+ **/ combinerawtransaction: 'combinerawtransaction',
225
225
  /** createmultisig nrequired ["key",...]
226
226
 
227
227
  Creates a multi-signature address with n signature of m keys required.
@@ -248,7 +248,7 @@ Create a multisig address from 2 addresses
248
248
 
249
249
  As a json rpc call
250
250
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createmultisig", "params": [2, "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
251
- **/ createmultisig: "createmultisig",
251
+ **/ createmultisig: 'createmultisig',
252
252
  /** createrawtransaction [{"txid":"id","vout":n},...] {"address":(amount or object),"data":"hex",...}
253
253
  ( locktime ) ( replaceable )
254
254
 
@@ -493,7 +493,7 @@ Examples:
493
493
  > neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0},{\"txid\":\"myasset\",\"vout\":0}]" "{\"address\":{\"transferwithmessage\":{\"MYASSET\":50,\"message\":\"hash\",\"expire_time\": utc_time}}}"
494
494
  > neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0},{\"txid\":\"myownership\",\"vout\":0}]" "{\"issuer_address\":{\"reissue\":{\"asset_name\":\"MYASSET\",\"asset_quantity\":2000000}}}"
495
495
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createrawtransaction", "params": ["[{\"txid\":\"mycoin\",\"vout\":0}]", "{\"data\":\"00010203\"}"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
496
- **/ createrawtransaction: "createrawtransaction",
496
+ **/ createrawtransaction: 'createrawtransaction',
497
497
  /** decodeblock "blockhex"
498
498
 
499
499
  Arguments:
@@ -521,7 +521,7 @@ Result:
521
521
  Examples:
522
522
  > neurai-cli decodeblock "xxxx"
523
523
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decodeblock", "params": ["xxxx"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
524
- **/ decodeblock: "decodeblock",
524
+ **/ decodeblock: 'decodeblock',
525
525
  /** decoderawtransaction "hexstring"
526
526
 
527
527
  Return a JSON object representing the serialized, hex-encoded transaction.
@@ -577,7 +577,7 @@ Result:
577
577
  Examples:
578
578
  > neurai-cli decoderawtransaction "hexstring"
579
579
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decoderawtransaction", "params": ["hexstring"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
580
- **/ decoderawtransaction: "decoderawtransaction",
580
+ **/ decoderawtransaction: 'decoderawtransaction',
581
581
  /** decodescript "hexstring"
582
582
 
583
583
  Decode a hex-encoded script.
@@ -614,7 +614,7 @@ Result:
614
614
  Examples:
615
615
  > neurai-cli decodescript "hexstring"
616
616
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decodescript", "params": ["hexstring"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
617
- **/ decodescript: "decodescript",
617
+ **/ decodescript: 'decodescript',
618
618
  /** disconnectnode "[address]" [nodeid]
619
619
 
620
620
  Immediately disconnects from the specified peer node.
@@ -632,7 +632,7 @@ Examples:
632
632
  > neurai-cli disconnectnode "" 1
633
633
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "disconnectnode", "params": ["192.168.0.6:8767"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
634
634
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "disconnectnode", "params": ["", 1] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
635
- **/ disconnectnode: "disconnectnode",
635
+ **/ disconnectnode: 'disconnectnode',
636
636
  /** distributereward "asset_name" snapshot_height "distribution_asset_name" gross_distribution_amount ( "exception_addresses" ) ("change_address") ("dry_run")
637
637
 
638
638
  Splits the specified amount of the distribution asset to all owners of asset_name that are not in the optional exclusion_addresses
@@ -668,7 +668,7 @@ Examples:
668
668
  > neurai-cli distributereward "PHATSTACKS" 12345 "DIVIDENDS" 1000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"
669
669
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "distributereward", "params": ["TRONCO" 34987 "DIVIDENDS" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
670
670
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "distributereward", "params": ["PHATSTACKS" 34987 "XNA" 100000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
671
- **/ distributereward: "distributereward",
671
+ **/ distributereward: 'distributereward',
672
672
  /** dumpprivkey "address"
673
673
 
674
674
  Reveals the private key corresponding to 'address'.
@@ -684,7 +684,7 @@ Examples:
684
684
  > neurai-cli dumpprivkey "myaddress"
685
685
  > neurai-cli importprivkey "mykey"
686
686
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpprivkey", "params": ["myaddress"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
687
- **/ dumpprivkey: "dumpprivkey",
687
+ **/ dumpprivkey: 'dumpprivkey',
688
688
  /** dumpwallet "filename"
689
689
 
690
690
  Dumps all wallet keys in a human-readable format to a server-side file. This does not allow overwriting existing files.
@@ -700,7 +700,7 @@ Result:
700
700
  Examples:
701
701
  > neurai-cli dumpwallet "test"
702
702
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpwallet", "params": ["test"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
703
- **/ dumpwallet: "dumpwallet",
703
+ **/ dumpwallet: 'dumpwallet',
704
704
  /** encryptwallet "passphrase"
705
705
 
706
706
  Encrypts the wallet with 'passphrase'. This is for first time encryption.
@@ -729,7 +729,7 @@ Now lock the wallet again by removing the passphrase
729
729
 
730
730
  As a json rpc call
731
731
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "encryptwallet", "params": ["my pass phrase"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
732
- **/ encryptwallet: "encryptwallet",
732
+ **/ encryptwallet: 'encryptwallet',
733
733
  /** estimatefee nblocks
734
734
 
735
735
  DEPRECATED. Please use estimatesmartfee for more intelligent estimates.
@@ -750,7 +750,7 @@ a fee that is high enough to get reliably included in the next block.
750
750
 
751
751
  Example:
752
752
  > neurai-cli estimatefee 6
753
- **/ estimatefee: "estimatefee",
753
+ **/ estimatefee: 'estimatefee',
754
754
  /** estimatesmartfee conf_target ("estimate_mode")
755
755
 
756
756
  Estimates the approximate fee per kilobyte needed for a transaction to begin
@@ -784,7 +784,7 @@ have been observed to make an estimate for any number of blocks.
784
784
 
785
785
  Example:
786
786
  > neurai-cli estimatesmartfee 6
787
- **/ estimatesmartfee: "estimatesmartfee",
787
+ **/ estimatesmartfee: 'estimatesmartfee',
788
788
  /** freezeaddress asset_name address (change_address) (asset_data)
789
789
 
790
790
  Freeze an address from transferring a restricted asset
@@ -803,7 +803,7 @@ Examples:
803
803
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezeaddress", "params": ["$RESTRICTED_ASSET" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
804
804
  > neurai-cli freezeaddress "$RESTRICTED_ASSET" "address" "change_address"
805
805
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezeaddress", "params": ["$RESTRICTED_ASSET" "address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
806
- **/ freezeaddress: "freezeaddress",
806
+ **/ freezeaddress: 'freezeaddress',
807
807
  /** freezerestrictedasset asset_name (change_address) (asset_data)
808
808
 
809
809
  Freeze all trading for a specific restricted asset
@@ -821,7 +821,7 @@ Examples:
821
821
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezerestrictedasset", "params": ["$RESTRICTED_ASSET"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
822
822
  > neurai-cli freezerestrictedasset "$RESTRICTED_ASSET" "change_address"
823
823
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezerestrictedasset", "params": ["$RESTRICTED_ASSET" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
824
- **/ freezerestrictedasset: "freezerestrictedasset",
824
+ **/ freezerestrictedasset: 'freezerestrictedasset',
825
825
  /** fundrawtransaction "hexstring" ( options )
826
826
 
827
827
  Add inputs to a transaction until it has enough in value to meet its out value.
@@ -879,7 +879,7 @@ Sign the transaction
879
879
 
880
880
  Send the transaction
881
881
  > neurai-cli sendrawtransaction "signedtransactionhex"
882
- **/ fundrawtransaction: "fundrawtransaction",
882
+ **/ fundrawtransaction: 'fundrawtransaction',
883
883
  /** generate nblocks ( maxtries )
884
884
 
885
885
  Mine up to nblocks blocks immediately (before the RPC call returns) to an address in the wallet.
@@ -895,7 +895,7 @@ Examples:
895
895
 
896
896
  Generate 11 blocks
897
897
  > neurai-cli generate 11
898
- **/ generate: "generate",
898
+ **/ generate: 'generate',
899
899
  /** generatetoaddress nblocks address (maxtries)
900
900
 
901
901
  Mine blocks immediately to a specified address (before the RPC call returns)
@@ -912,7 +912,7 @@ Examples:
912
912
 
913
913
  Generate 11 blocks to myaddress
914
914
  > neurai-cli generatetoaddress 11 "myaddress"
915
- **/ generatetoaddress: "generatetoaddress",
915
+ **/ generatetoaddress: 'generatetoaddress',
916
916
  /** getaccount "address"
917
917
 
918
918
  DEPRECATED. Returns the account associated with the given address.
@@ -926,7 +926,7 @@ Result:
926
926
  Examples:
927
927
  > neurai-cli getaccount "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX"
928
928
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaccount", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
929
- **/ getaccount: "getaccount",
929
+ **/ getaccount: 'getaccount',
930
930
  /** getaccountaddress "account"
931
931
 
932
932
  DEPRECATED. Returns the current Neurai address for receiving payments to this account.
@@ -942,7 +942,7 @@ Examples:
942
942
  > neurai-cli getaccountaddress ""
943
943
  > neurai-cli getaccountaddress "myaccount"
944
944
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaccountaddress", "params": ["myaccount"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
945
- **/ getaccountaddress: "getaccountaddress",
945
+ **/ getaccountaddress: 'getaccountaddress',
946
946
  /** getaddednodeinfo ( "node" )
947
947
 
948
948
  Returns information about the given added node, or all added nodes
@@ -969,7 +969,7 @@ Result:
969
969
  Examples:
970
970
  > neurai-cli getaddednodeinfo "192.168.0.201"
971
971
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddednodeinfo", "params": ["192.168.0.201"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
972
- **/ getaddednodeinfo: "getaddednodeinfo",
972
+ **/ getaddednodeinfo: 'getaddednodeinfo',
973
973
  /** getaddressbalance
974
974
 
975
975
  Returns the balance for an address(es) (requires addressindex to be enabled).
@@ -1004,7 +1004,7 @@ Examples:
1004
1004
  > neurai-cli getaddressbalance '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
1005
1005
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressbalance", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1006
1006
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressbalance", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1007
- **/ getaddressbalance: "getaddressbalance",
1007
+ **/ getaddressbalance: 'getaddressbalance',
1008
1008
  /** getaddressdeltas
1009
1009
 
1010
1010
  Returns all changes for an address (requires addressindex to be enabled).
@@ -1039,7 +1039,7 @@ Examples:
1039
1039
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressdeltas", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1040
1040
  > neurai-cli getaddressdeltas '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}'
1041
1041
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressdeltas", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1042
- **/ getaddressdeltas: "getaddressdeltas",
1042
+ **/ getaddressdeltas: 'getaddressdeltas',
1043
1043
  /** getaddressesbyaccount "account"
1044
1044
 
1045
1045
  DEPRECATED. Returns the list of addresses for the given account.
@@ -1056,7 +1056,7 @@ Result:
1056
1056
  Examples:
1057
1057
  > neurai-cli getaddressesbyaccount "tabby"
1058
1058
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressesbyaccount", "params": ["tabby"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1059
- **/ getaddressesbyaccount: "getaddressesbyaccount",
1059
+ **/ getaddressesbyaccount: 'getaddressesbyaccount',
1060
1060
  /** getaddressmempool
1061
1061
 
1062
1062
  Returns all mempool deltas for an address (requires addressindex to be enabled).
@@ -1090,7 +1090,7 @@ Examples:
1090
1090
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressmempool", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1091
1091
  > neurai-cli getaddressmempool '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
1092
1092
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressmempool", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1093
- **/ getaddressmempool: "getaddressmempool",
1093
+ **/ getaddressmempool: 'getaddressmempool',
1094
1094
  /** getaddresstxids
1095
1095
 
1096
1096
  Returns the txids for an address(es) (requires addressindex to be enabled).
@@ -1118,7 +1118,7 @@ Examples:
1118
1118
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddresstxids", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1119
1119
  > neurai-cli getaddresstxids '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
1120
1120
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddresstxids", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1121
- **/ getaddresstxids: "getaddresstxids",
1121
+ **/ getaddresstxids: 'getaddresstxids',
1122
1122
  /** getaddressutxos
1123
1123
 
1124
1124
  Returns all unspent outputs for an address (requires addressindex to be enabled).
@@ -1152,7 +1152,7 @@ Examples:
1152
1152
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressutxos", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1153
1153
  > neurai-cli getaddressutxos '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}'
1154
1154
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressutxos", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1155
- **/ getaddressutxos: "getaddressutxos",
1155
+ **/ getaddressutxos: 'getaddressutxos',
1156
1156
  /** getassetdata "asset_name"
1157
1157
 
1158
1158
  Returns assets metadata if that asset exists
@@ -1175,7 +1175,7 @@ Result:
1175
1175
  Examples:
1176
1176
  > neurai-cli getassetdata "ASSET_NAME"
1177
1177
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getassetdata", "params": ["ASSET_NAME"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1178
- **/ getassetdata: "getassetdata",
1178
+ **/ getassetdata: 'getassetdata',
1179
1179
  /** getbalance ( "account" minconf include_watchonly )
1180
1180
 
1181
1181
  If account is not specified, returns the server's total available balance.
@@ -1212,7 +1212,7 @@ The total amount in the wallet at least 6 blocks confirmed
1212
1212
 
1213
1213
  As a json rpc call
1214
1214
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbalance", "params": ["*", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1215
- **/ getbalance: "getbalance",
1215
+ **/ getbalance: 'getbalance',
1216
1216
  /** getbestblockhash
1217
1217
 
1218
1218
  Returns the hash of the best (tip) block in the longest blockchain.
@@ -1223,7 +1223,7 @@ Result:
1223
1223
  Examples:
1224
1224
  > neurai-cli getbestblockhash
1225
1225
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbestblockhash", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1226
- **/ getbestblockhash: "getbestblockhash",
1226
+ **/ getbestblockhash: 'getbestblockhash',
1227
1227
  /** getblock "blockhash" ( verbosity )
1228
1228
 
1229
1229
  If verbosity is 0, returns a string that is serialized, hex-encoded data for block 'hash'.
@@ -1274,7 +1274,7 @@ Result (for verbosity = 2):
1274
1274
  Examples:
1275
1275
  > neurai-cli getblock "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
1276
1276
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblock", "params": ["00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1277
- **/ getblock: "getblock",
1277
+ **/ getblock: 'getblock',
1278
1278
  /** getblockchaininfo
1279
1279
  Returns an object containing various state info regarding blockchain processing.
1280
1280
 
@@ -1324,7 +1324,7 @@ Result:
1324
1324
  Examples:
1325
1325
  > neurai-cli getblockchaininfo
1326
1326
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockchaininfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1327
- **/ getblockchaininfo: "getblockchaininfo",
1327
+ **/ getblockchaininfo: 'getblockchaininfo',
1328
1328
  /** getblockcount
1329
1329
 
1330
1330
  Returns the number of blocks in the longest blockchain.
@@ -1335,7 +1335,7 @@ n (numeric) The current block count
1335
1335
  Examples:
1336
1336
  > neurai-cli getblockcount
1337
1337
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockcount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1338
- **/ getblockcount: "getblockcount",
1338
+ **/ getblockcount: 'getblockcount',
1339
1339
  /** getblockhash height
1340
1340
 
1341
1341
  Returns hash of block in best-block-chain at height provided.
@@ -1349,7 +1349,7 @@ Result:
1349
1349
  Examples:
1350
1350
  > neurai-cli getblockhash 1000
1351
1351
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockhash", "params": [1000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1352
- **/ getblockhash: "getblockhash",
1352
+ **/ getblockhash: 'getblockhash',
1353
1353
  /** getblockhashes timestamp
1354
1354
 
1355
1355
  Returns array of hashes of blocks within the timestamp range provided.
@@ -1378,7 +1378,7 @@ Examples:
1378
1378
  > neurai-cli getblockhashes 1231614698 1231024505
1379
1379
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockhashes", "params": [1231614698, 1231024505] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1380
1380
  > neurai-cli getblockhashes 1231614698 1231024505 '{"noOrphans":false, "logicalTimes":true}'
1381
- **/ getblockhashes: "getblockhashes",
1381
+ **/ getblockhashes: 'getblockhashes',
1382
1382
  /** getblockheader "hash" ( verbose )
1383
1383
 
1384
1384
  If verbose is false, returns a string that is serialized, hex-encoded data for blockheader 'hash'.
@@ -1412,7 +1412,7 @@ Result (for verbose=false):
1412
1412
  Examples:
1413
1413
  > neurai-cli getblockheader "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
1414
1414
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockheader", "params": ["00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1415
- **/ getblockheader: "getblockheader",
1415
+ **/ getblockheader: 'getblockheader',
1416
1416
  /** getblocktemplate ( TemplateRequest )
1417
1417
 
1418
1418
  If the request parameters include a 'mode' key, that is used to explicitly select between the default 'template' request or a 'proposal'.
@@ -1487,7 +1487,7 @@ Result:
1487
1487
  Examples:
1488
1488
  > neurai-cli getblocktemplate
1489
1489
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblocktemplate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1490
- **/ getblocktemplate: "getblocktemplate",
1490
+ **/ getblocktemplate: 'getblocktemplate',
1491
1491
  /** getcacheinfo
1492
1492
 
1493
1493
  Result:
@@ -1506,7 +1506,7 @@ Result:
1506
1506
  Examples:
1507
1507
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getcacheinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1508
1508
  > neurai-cli getcacheinfo
1509
- **/ getcacheinfo: "getcacheinfo",
1509
+ **/ getcacheinfo: 'getcacheinfo',
1510
1510
  /** getchaintips
1511
1511
  Return information about all known tips in the block tree, including the main chain as well as orphaned branches.
1512
1512
 
@@ -1535,7 +1535,7 @@ Possible values for status:
1535
1535
  Examples:
1536
1536
  > neurai-cli getchaintips
1537
1537
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintips", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1538
- **/ getchaintips: "getchaintips",
1538
+ **/ getchaintips: 'getchaintips',
1539
1539
  /** getchaintxstats ( nblocks blockhash )
1540
1540
 
1541
1541
  Compute statistics about the total number and rate of transactions in the chain.
@@ -1557,7 +1557,7 @@ Result:
1557
1557
  Examples:
1558
1558
  > neurai-cli getchaintxstats
1559
1559
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintxstats", "params": [2016] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1560
- **/ getchaintxstats: "getchaintxstats",
1560
+ **/ getchaintxstats: 'getchaintxstats',
1561
1561
  /** getconnectioncount
1562
1562
 
1563
1563
  Returns the number of connections to other nodes.
@@ -1568,7 +1568,7 @@ n (numeric) The connection count
1568
1568
  Examples:
1569
1569
  > neurai-cli getconnectioncount
1570
1570
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getconnectioncount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1571
- **/ getconnectioncount: "getconnectioncount",
1571
+ **/ getconnectioncount: 'getconnectioncount',
1572
1572
  /** getdifficulty
1573
1573
 
1574
1574
  Returns the proof-of-work difficulty as a multiple of the minimum difficulty.
@@ -1579,7 +1579,7 @@ n.nnn (numeric) the proof-of-work difficulty as a multiple of the minimum
1579
1579
  Examples:
1580
1580
  > neurai-cli getdifficulty
1581
1581
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdifficulty", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1582
- **/ getdifficulty: "getdifficulty",
1582
+ **/ getdifficulty: 'getdifficulty',
1583
1583
  /** getdistributestatus "asset_name" snapshot_height "distribution_asset_name" gross_distribution_amount ( "exception_addresses" )
1584
1584
 
1585
1585
  Give information about the status of the distribution
@@ -1596,7 +1596,7 @@ Examples:
1596
1596
  > neurai-cli getdistributestatus "PHATSTACKS" 12345 "DIVIDENDS" 1000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"
1597
1597
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdistributestatus", "params": ["TRONCO" 34987 "DIVIDENDS" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1598
1598
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdistributestatus", "params": ["PHATSTACKS" 34987 "XNA" 100000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1599
- **/ getdistributestatus: "getdistributestatus",
1599
+ **/ getdistributestatus: 'getdistributestatus',
1600
1600
  /** getgenerate
1601
1601
 
1602
1602
  Return if the server is set to generate coins or not. The default is false.
@@ -1609,7 +1609,7 @@ true|false (boolean) If the server is set to generate coins or not
1609
1609
  Examples:
1610
1610
  > neurai-cli getgenerate
1611
1611
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getgenerate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1612
- **/ getgenerate: "getgenerate",
1612
+ **/ getgenerate: 'getgenerate',
1613
1613
  /** getinfo
1614
1614
 
1615
1615
  DEPRECATED. Returns an object containing various state info.
@@ -1638,7 +1638,7 @@ Result:
1638
1638
  Examples:
1639
1639
  > neurai-cli getinfo
1640
1640
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1641
- **/ getinfo: "getinfo",
1641
+ **/ getinfo: 'getinfo',
1642
1642
  /** getkawpowhash "header_hash" "mix_hash" nonce, height, "target"
1643
1643
 
1644
1644
  Get the kawpow hash for a block given its block data
@@ -1655,7 +1655,7 @@ Result:
1655
1655
  Examples:
1656
1656
  > neurai-cli getkawpowhash "header_hash" "mix_hash" "0x100000" 2456
1657
1657
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getkawpowhash", "params": ["header_hash" "mix_hash" "0x100000" 2456] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1658
- **/ getkawpowhash: "getkawpowhash",
1658
+ **/ getkawpowhash: 'getkawpowhash',
1659
1659
  /** getmasterkeyinfo
1660
1660
 
1661
1661
  Fetches and displays the master private key and the master public key.
@@ -1672,7 +1672,7 @@ Result:
1672
1672
  Examples:
1673
1673
  > neurai-cli getmasterkeyinfo
1674
1674
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmasterkeyinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1675
- **/ getmasterkeyinfo: "getmasterkeyinfo",
1675
+ **/ getmasterkeyinfo: 'getmasterkeyinfo',
1676
1676
  /** getmemoryinfo ("mode")
1677
1677
  Returns an object containing information about memory usage.
1678
1678
  Arguments:
@@ -1698,7 +1698,7 @@ Result (mode "mallocinfo"):
1698
1698
  Examples:
1699
1699
  > neurai-cli getmemoryinfo
1700
1700
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmemoryinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1701
- **/ getmemoryinfo: "getmemoryinfo",
1701
+ **/ getmemoryinfo: 'getmemoryinfo',
1702
1702
  /** getmempoolancestors txid (verbose)
1703
1703
 
1704
1704
  If txid is in the mempool, returns all in-mempool ancestors.
@@ -1737,7 +1737,7 @@ Result (for verbose=true):
1737
1737
  Examples:
1738
1738
  > neurai-cli getmempoolancestors "mytxid"
1739
1739
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolancestors", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1740
- **/ getmempoolancestors: "getmempoolancestors",
1740
+ **/ getmempoolancestors: 'getmempoolancestors',
1741
1741
  /** getmempooldescendants txid (verbose)
1742
1742
 
1743
1743
  If txid is in the mempool, returns all in-mempool descendants.
@@ -1776,7 +1776,7 @@ Result (for verbose=true):
1776
1776
  Examples:
1777
1777
  > neurai-cli getmempooldescendants "mytxid"
1778
1778
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempooldescendants", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1779
- **/ getmempooldescendants: "getmempooldescendants",
1779
+ **/ getmempooldescendants: 'getmempooldescendants',
1780
1780
  /** getmempoolentry txid
1781
1781
 
1782
1782
  Returns mempool data for given transaction
@@ -1806,7 +1806,7 @@ Result:
1806
1806
  Examples:
1807
1807
  > neurai-cli getmempoolentry "mytxid"
1808
1808
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolentry", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1809
- **/ getmempoolentry: "getmempoolentry",
1809
+ **/ getmempoolentry: 'getmempoolentry',
1810
1810
  /** getmempoolinfo
1811
1811
 
1812
1812
  Returns details on the active state of the TX memory pool.
@@ -1823,7 +1823,7 @@ Result:
1823
1823
  Examples:
1824
1824
  > neurai-cli getmempoolinfo
1825
1825
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1826
- **/ getmempoolinfo: "getmempoolinfo",
1826
+ **/ getmempoolinfo: 'getmempoolinfo',
1827
1827
  /** getmininginfo
1828
1828
 
1829
1829
  Returns a json object containing mining-related information.
@@ -1844,7 +1844,7 @@ Result:
1844
1844
  Examples:
1845
1845
  > neurai-cli getmininginfo
1846
1846
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmininginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1847
- **/ getmininginfo: "getmininginfo",
1847
+ **/ getmininginfo: 'getmininginfo',
1848
1848
  /** getmywords ( "account" )
1849
1849
 
1850
1850
  Returns the 12 words and passphrase used by BIP39 to generate the wallets private keys
@@ -1857,7 +1857,7 @@ Result:
1857
1857
  Examples:
1858
1858
  > neurai-cli getmywords
1859
1859
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmywords", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1860
- **/ getmywords: "getmywords",
1860
+ **/ getmywords: 'getmywords',
1861
1861
  /** getnettotals
1862
1862
 
1863
1863
  Returns information about network traffic, including bytes in, bytes out,
@@ -1882,7 +1882,7 @@ Result:
1882
1882
  Examples:
1883
1883
  > neurai-cli getnettotals
1884
1884
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnettotals", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1885
- **/ getnettotals: "getnettotals",
1885
+ **/ getnettotals: 'getnettotals',
1886
1886
  /** getnetworkhashps ( nblocks height )
1887
1887
 
1888
1888
  Returns the estimated network hashes per second based on the last n blocks.
@@ -1899,7 +1899,7 @@ x (numeric) Hashes per second estimated
1899
1899
  Examples:
1900
1900
  > neurai-cli getnetworkhashps
1901
1901
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkhashps", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1902
- **/ getnetworkhashps: "getnetworkhashps",
1902
+ **/ getnetworkhashps: 'getnetworkhashps',
1903
1903
  /** getnetworkinfo
1904
1904
  Returns an object containing various state info regarding P2P networking.
1905
1905
 
@@ -1939,7 +1939,7 @@ Result:
1939
1939
  Examples:
1940
1940
  > neurai-cli getnetworkinfo
1941
1941
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1942
- **/ getnetworkinfo: "getnetworkinfo",
1942
+ **/ getnetworkinfo: 'getnetworkinfo',
1943
1943
  /** getnewaddress ( "account" )
1944
1944
 
1945
1945
  Returns a new Neurai address for receiving payments.
@@ -1955,7 +1955,7 @@ Result:
1955
1955
  Examples:
1956
1956
  > neurai-cli getnewaddress
1957
1957
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
1958
- **/ getnewaddress: "getnewaddress",
1958
+ **/ getnewaddress: 'getnewaddress',
1959
1959
  /** getpeerinfo
1960
1960
 
1961
1961
  Returns data about each connected network node as a json array of objects.
@@ -2006,7 +2006,27 @@ Result:
2006
2006
  Examples:
2007
2007
  > neurai-cli getpeerinfo
2008
2008
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpeerinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2009
- **/ getpeerinfo: "getpeerinfo",
2009
+ **/ getpeerinfo: 'getpeerinfo',
2010
+ /** getpubkey "address"
2011
+
2012
+ Returns the public key for an address that has revealed it by spending (requires pubkeyindex to be enabled).
2013
+
2014
+ Arguments:
2015
+ 1. "address" (string, required) The Neurai address
2016
+
2017
+ Result:
2018
+ {
2019
+ "address": "address", (string) The Neurai address
2020
+ "pubkey": "hex", (string) The public key in hex format
2021
+ "revealed": true|false, (boolean) Whether the public key has been revealed
2022
+ "height": n, (numeric) Block height where it was revealed
2023
+ "txid": "hash" (string) Transaction ID where it was revealed
2024
+ }
2025
+
2026
+ Examples:
2027
+ > neurai-cli getpubkey "NXa1b2c3d4e5f6..."
2028
+ > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpubkey", "params": ["NXa1b2c3d4e5f6..."] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2029
+ **/ getpubkey: 'getpubkey',
2010
2030
  /** getrawchangeaddress
2011
2031
 
2012
2032
  Returns a new Neurai address, for receiving change.
@@ -2018,7 +2038,7 @@ Result:
2018
2038
  Examples:
2019
2039
  > neurai-cli getrawchangeaddress
2020
2040
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawchangeaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2021
- **/ getrawchangeaddress: "getrawchangeaddress",
2041
+ **/ getrawchangeaddress: 'getrawchangeaddress',
2022
2042
  /** getrawmempool ( verbose )
2023
2043
 
2024
2044
  Returns all transaction ids in memory pool as a json array of string transaction ids.
@@ -2058,7 +2078,7 @@ Result: (for verbose = true):
2058
2078
  Examples:
2059
2079
  > neurai-cli getrawmempool true
2060
2080
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawmempool", "params": [true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2061
- **/ getrawmempool: "getrawmempool",
2081
+ **/ getrawmempool: 'getrawmempool',
2062
2082
  /** getrawtransaction "txid" ( verbose )
2063
2083
 
2064
2084
  NOTE: By default this function only works for mempool transactions. If the -txindex option is
@@ -2126,7 +2146,7 @@ Examples:
2126
2146
  > neurai-cli getrawtransaction "mytxid"
2127
2147
  > neurai-cli getrawtransaction "mytxid" true
2128
2148
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawtransaction", "params": ["mytxid", true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2129
- **/ getrawtransaction: "getrawtransaction",
2149
+ **/ getrawtransaction: 'getrawtransaction',
2130
2150
  /** getreceivedbyaccount "account" ( minconf )
2131
2151
 
2132
2152
  DEPRECATED. Returns the total amount received by addresses with <account> in transactions with at least [minconf] confirmations.
@@ -2151,7 +2171,7 @@ The amount with at least 6 confirmations
2151
2171
 
2152
2172
  As a json rpc call
2153
2173
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getreceivedbyaccount", "params": ["tabby", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2154
- **/ getreceivedbyaccount: "getreceivedbyaccount",
2174
+ **/ getreceivedbyaccount: 'getreceivedbyaccount',
2155
2175
  /** getreceivedbyaddress "address" ( minconf )
2156
2176
 
2157
2177
  Returns the total amount received by the given address in transactions with at least minconf confirmations.
@@ -2176,7 +2196,7 @@ The amount with at least 6 confirmations
2176
2196
 
2177
2197
  As a json rpc call
2178
2198
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getreceivedbyaddress", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2179
- **/ getreceivedbyaddress: "getreceivedbyaddress",
2199
+ **/ getreceivedbyaddress: 'getreceivedbyaddress',
2180
2200
  /** getrpcinfo
2181
2201
  Returns details of the RPC server.
2182
2202
 
@@ -2192,7 +2212,7 @@ Result:
2192
2212
  }
2193
2213
  > neurai-cli getrpcinfo
2194
2214
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrpcinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2195
- **/ getrpcinfo: "getrpcinfo",
2215
+ **/ getrpcinfo: 'getrpcinfo',
2196
2216
  /** getsnapshot "asset_name" block_height
2197
2217
 
2198
2218
  Returns details for the asset snapshot, at the specified height
@@ -2214,7 +2234,7 @@ Result:
2214
2234
 
2215
2235
  Examples:
2216
2236
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getsnapshot", "params": ["ASSET_NAME" 28546] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2217
- **/ getsnapshot: "getsnapshot",
2237
+ **/ getsnapshot: 'getsnapshot',
2218
2238
  /** getsnapshotrequest "asset_name" block_height
2219
2239
 
2220
2240
  Retrieves the specified snapshot request details.
@@ -2232,7 +2252,7 @@ Result:
2232
2252
  Examples:
2233
2253
  > neurai-cli getsnapshotrequest "TRONCO" 12345
2234
2254
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getsnapshotrequest", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2235
- **/ getsnapshotrequest: "getsnapshotrequest",
2255
+ **/ getsnapshotrequest: 'getsnapshotrequest',
2236
2256
  /** getspentinfo
2237
2257
 
2238
2258
  Returns the txid and index where an output is spent.
@@ -2253,7 +2273,7 @@ Result:
2253
2273
  Examples:
2254
2274
  > neurai-cli getspentinfo '{"txid": "0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9", "index": 0}'
2255
2275
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getspentinfo", "params": [{"txid": "0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9", "index": 0}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2256
- **/ getspentinfo: "getspentinfo",
2276
+ **/ getspentinfo: 'getspentinfo',
2257
2277
  /** gettransaction "txid" ( include_watchonly )
2258
2278
 
2259
2279
  Get detailed information about in-wallet transaction <txid>
@@ -2309,7 +2329,7 @@ Examples:
2309
2329
  > neurai-cli gettransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
2310
2330
  > neurai-cli gettransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d" true
2311
2331
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettransaction", "params": ["1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2312
- **/ gettransaction: "gettransaction",
2332
+ **/ gettransaction: 'gettransaction',
2313
2333
  /** gettxout "txid" n ( include_mempool )
2314
2334
 
2315
2335
  Returns details about an unspent transaction output.
@@ -2347,7 +2367,7 @@ View the details
2347
2367
 
2348
2368
  As a json rpc call
2349
2369
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxout", "params": ["txid", 1] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2350
- **/ gettxout: "gettxout",
2370
+ **/ gettxout: 'gettxout',
2351
2371
  /** gettxoutproof ["txid",...] ( blockhash )
2352
2372
 
2353
2373
  Returns a hex-encoded proof that "txid" was included in a block.
@@ -2367,7 +2387,7 @@ Arguments:
2367
2387
 
2368
2388
  Result:
2369
2389
  "data" (string) A string that is a serialized, hex-encoded data for the proof.
2370
- **/ gettxoutproof: "gettxoutproof",
2390
+ **/ gettxoutproof: 'gettxoutproof',
2371
2391
  /** gettxoutsetinfo
2372
2392
 
2373
2393
  Returns statistics about the unspent transaction output set.
@@ -2388,10 +2408,10 @@ Result:
2388
2408
  Examples:
2389
2409
  > neurai-cli gettxoutsetinfo
2390
2410
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxoutsetinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2391
- **/ gettxoutsetinfo: "gettxoutsetinfo",
2411
+ **/ gettxoutsetinfo: 'gettxoutsetinfo',
2392
2412
  /** getunconfirmedbalance
2393
2413
  Returns the server's total unconfirmed balance
2394
- **/ getunconfirmedbalance: "getunconfirmedbalance",
2414
+ **/ getunconfirmedbalance: 'getunconfirmedbalance',
2395
2415
  /** getverifierstring restricted_name
2396
2416
 
2397
2417
  Retrieve the verifier string that belongs to the given restricted asset
@@ -2405,7 +2425,7 @@ Result:
2405
2425
  Examples:
2406
2426
  > neurai-cli getverifierstring "restricted_name"
2407
2427
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getverifierstring", "params": ["restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2408
- **/ getverifierstring: "getverifierstring",
2428
+ **/ getverifierstring: 'getverifierstring',
2409
2429
  /** getwalletinfo
2410
2430
  Returns an object containing various wallet state info.
2411
2431
 
@@ -2429,7 +2449,7 @@ Result:
2429
2449
  Examples:
2430
2450
  > neurai-cli getwalletinfo
2431
2451
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getwalletinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2432
- **/ getwalletinfo: "getwalletinfo",
2452
+ **/ getwalletinfo: 'getwalletinfo',
2433
2453
  /** help ( "command" )
2434
2454
 
2435
2455
  List all commands, or get help for a specified command.
@@ -2439,7 +2459,7 @@ Arguments:
2439
2459
 
2440
2460
  Result:
2441
2461
  "text" (string) The help text
2442
- **/ help: "help",
2462
+ **/ help: 'help',
2443
2463
  /** importaddress "address" ( "label" rescan p2sh )
2444
2464
 
2445
2465
  Adds a script (in hex) or address that can be watched as if it were in your wallet but cannot be used to spend.
@@ -2466,7 +2486,7 @@ Import using a label without rescan
2466
2486
 
2467
2487
  As a JSON-RPC call
2468
2488
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importaddress", "params": ["myscript", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2469
- **/ importaddress: "importaddress",
2489
+ **/ importaddress: 'importaddress',
2470
2490
  /** importmulti "requests" ( "options" )
2471
2491
 
2472
2492
  Import addresses/scripts (with private or public keys, redeem script (P2SH)), rescanning all addresses in one-shot-only (rescan can be disabled via options).
@@ -2502,7 +2522,7 @@ Examples:
2502
2522
 
2503
2523
  Response is an array with the same size as the input that has the execution result :
2504
2524
  [{ "success": true } , { "success": false, "error": { "code": -1, "message": "Internal Server Error"} }, ... ]
2505
- **/ importmulti: "importmulti",
2525
+ **/ importmulti: 'importmulti',
2506
2526
  /** importprivkey "privkey" ( "label" ) ( rescan )
2507
2527
 
2508
2528
  Adds a private key (as returned by dumpprivkey) to your wallet.
@@ -2530,7 +2550,7 @@ Import using default blank label and without rescan
2530
2550
 
2531
2551
  As a JSON-RPC call
2532
2552
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importprivkey", "params": ["mykey", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2533
- **/ importprivkey: "importprivkey",
2553
+ **/ importprivkey: 'importprivkey',
2534
2554
  /** importprunedfunds
2535
2555
 
2536
2556
  Imports funds without rescan. Corresponding address or script must previously be included in wallet. Aimed towards pruned wallets. The end-user is responsible to import additional transactions that subsequently spend the imported outputs or rescan after the point in the blockchain the transaction is included.
@@ -2538,7 +2558,7 @@ Imports funds without rescan. Corresponding address or script must previously be
2538
2558
  Arguments:
2539
2559
  1. "rawtransaction" (string, required) A raw transaction in hex funding an already-existing address in wallet
2540
2560
  2. "txoutproof" (string, required) The hex output from gettxoutproof that contains the transaction
2541
- **/ importprunedfunds: "importprunedfunds",
2561
+ **/ importprunedfunds: 'importprunedfunds',
2542
2562
  /** importpubkey "pubkey" ( "label" rescan )
2543
2563
 
2544
2564
  Adds a public key (in hex) that can be watched as if it were in your wallet but cannot be used to spend.
@@ -2560,7 +2580,7 @@ Import using a label without rescan
2560
2580
 
2561
2581
  As a JSON-RPC call
2562
2582
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importpubkey", "params": ["mypubkey", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2563
- **/ importpubkey: "importpubkey",
2583
+ **/ importpubkey: 'importpubkey',
2564
2584
  /** importwallet "filename"
2565
2585
 
2566
2586
  Imports keys from a wallet dump file (see dumpwallet).
@@ -2578,7 +2598,7 @@ Import the wallet
2578
2598
 
2579
2599
  Import using the json rpc call
2580
2600
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importwallet", "params": ["test"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2581
- **/ importwallet: "importwallet",
2601
+ **/ importwallet: 'importwallet',
2582
2602
  /** issue "asset_name" qty "( to_address )" "( change_address )" ( units ) ( reissuable ) ( has_ipfs ) "( ipfs_hash )"
2583
2603
 
2584
2604
  Issue an asset, subasset or unique asset.
@@ -2608,7 +2628,7 @@ Examples:
2608
2628
  > neurai-cli issue "ASSET_NAME" 1000 "myaddress" "changeaddress" 8 false true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E
2609
2629
  > neurai-cli issue "ASSET_NAME/SUB_ASSET" 1000 "myaddress" "changeaddress" 2 true
2610
2630
  > neurai-cli issue "ASSET_NAME#uniquetag"
2611
- **/ issue: "issue",
2631
+ **/ issue: 'issue',
2612
2632
  /** issuequalifierasset "asset_name" qty "( to_address )" "( change_address )" ( has_ipfs ) "( ipfs_hash )"
2613
2633
 
2614
2634
  Issue an qualifier or sub qualifier asset
@@ -2637,7 +2657,7 @@ Examples:
2637
2657
  > neurai-cli issuequalifierasset "#ASSET_NAME" 1000 "myaddress" "changeaddress" true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E
2638
2658
  > neurai-cli issuequalifierasset "ASSET_NAME/SUB_QUALIFIER" 1000 "myaddress" "changeaddress"
2639
2659
  > neurai-cli issuequalifierasset "#ASSET_NAME"
2640
- **/ issuequalifierasset: "issuequalifierasset",
2660
+ **/ issuequalifierasset: 'issuequalifierasset',
2641
2661
  /** issuerestrictedasset "asset_name" qty "verifier" "to_address" "( change_address )" (units) ( reissuable ) ( has_ipfs ) "( ipfs_hash )"
2642
2662
 
2643
2663
  Issue a restricted asset.
@@ -2665,7 +2685,7 @@ Examples:
2665
2685
  > neurai-cli issuerestrictedasset "$ASSET_NAME" 1000 "#KYC & !#AML" "myaddress" "changeaddress" 5
2666
2686
  > neurai-cli issuerestrictedasset "$ASSET_NAME" 1000 "#KYC & !#AML" "myaddress" "changeaddress" 8 true
2667
2687
  > neurai-cli issuerestrictedasset "$ASSET_NAME" 1000 "#KYC & !#AML" "myaddress" "changeaddress" 0 false true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E
2668
- **/ issuerestrictedasset: "issuerestrictedasset",
2688
+ **/ issuerestrictedasset: 'issuerestrictedasset',
2669
2689
  /** issueunique "root_name" [asset_tags] ( [ipfs_hashes] ) "( to_address )" "( change_address )"
2670
2690
 
2671
2691
  Issue unique asset(s).
@@ -2687,7 +2707,7 @@ Result:
2687
2707
  Examples:
2688
2708
  > neurai-cli issueunique "MY_ASSET" '["primo","secundo"]'
2689
2709
  > neurai-cli issueunique "MY_ASSET" '["primo","secundo"]' '["first_hash","second_hash"]'
2690
- **/ issueunique: "issueunique",
2710
+ **/ issueunique: 'issueunique',
2691
2711
  /** isvalidverifierstring verifier_string
2692
2712
 
2693
2713
  Checks to see if the given verifier string is valid
@@ -2701,7 +2721,7 @@ Result:
2701
2721
  Examples:
2702
2722
  > neurai-cli isvalidverifierstring "verifier_string"
2703
2723
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "isvalidverifierstring", "params": ["verifier_string"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2704
- **/ isvalidverifierstring: "isvalidverifierstring",
2724
+ **/ isvalidverifierstring: 'isvalidverifierstring',
2705
2725
  /** keypoolrefill ( newsize )
2706
2726
 
2707
2727
  Fills the keypool.
@@ -2712,7 +2732,7 @@ Arguments
2712
2732
  Examples:
2713
2733
  > neurai-cli keypoolrefill
2714
2734
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "keypoolrefill", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2715
- **/ keypoolrefill: "keypoolrefill",
2735
+ **/ keypoolrefill: 'keypoolrefill',
2716
2736
  /** listaccounts ( minconf include_watchonly)
2717
2737
 
2718
2738
  DEPRECATED. Returns Object that has account names as keys, account balances as values.
@@ -2740,7 +2760,7 @@ List account balances for 6 or more confirmations
2740
2760
 
2741
2761
  As json rpc call
2742
2762
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaccounts", "params": [6] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2743
- **/ listaccounts: "listaccounts",
2763
+ **/ listaccounts: 'listaccounts',
2744
2764
  /** listaddressesbyasset "asset_name" (onlytotal) (count) (start)
2745
2765
 
2746
2766
  Returns a list of all address that own the given asset (with balances)
@@ -2760,7 +2780,7 @@ Examples:
2760
2780
  > neurai-cli listaddressesbyasset "ASSET_NAME" false 2 0
2761
2781
  > neurai-cli listaddressesbyasset "ASSET_NAME" true
2762
2782
  > neurai-cli listaddressesbyasset "ASSET_NAME"
2763
- **/ listaddressesbyasset: "listaddressesbyasset",
2783
+ **/ listaddressesbyasset: 'listaddressesbyasset',
2764
2784
  /** listaddressesfortag tag_name
2765
2785
 
2766
2786
  List all addresses that have been assigned a given tag
@@ -2776,7 +2796,7 @@ Result:
2776
2796
  Examples:
2777
2797
  > neurai-cli listaddressesfortag "#TAG"
2778
2798
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressesfortag", "params": ["#TAG"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2779
- **/ listaddressesfortag: "listaddressesfortag",
2799
+ **/ listaddressesfortag: 'listaddressesfortag',
2780
2800
  /** listaddressgroupings
2781
2801
 
2782
2802
  Lists groups of addresses which have had their common ownership
@@ -2799,7 +2819,7 @@ Result:
2799
2819
  Examples:
2800
2820
  > neurai-cli listaddressgroupings
2801
2821
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressgroupings", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2802
- **/ listaddressgroupings: "listaddressgroupings",
2822
+ **/ listaddressgroupings: 'listaddressgroupings',
2803
2823
  /** listaddressrestrictions address
2804
2824
 
2805
2825
  List all assets that have frozen this address
@@ -2815,7 +2835,7 @@ Result:
2815
2835
  Examples:
2816
2836
  > neurai-cli listaddressrestrictions "address"
2817
2837
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressrestrictions", "params": ["address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2818
- **/ listaddressrestrictions: "listaddressrestrictions",
2838
+ **/ listaddressrestrictions: 'listaddressrestrictions',
2819
2839
  /** listassetbalancesbyaddress "address" (onlytotal) (count) (start)
2820
2840
 
2821
2841
  Returns a list of all asset balances for an address.
@@ -2836,7 +2856,7 @@ Examples:
2836
2856
  > neurai-cli listassetbalancesbyaddress "myaddress" false 2 0
2837
2857
  > neurai-cli listassetbalancesbyaddress "myaddress" true
2838
2858
  > neurai-cli listassetbalancesbyaddress "myaddress"
2839
- **/ listassetbalancesbyaddress: "listassetbalancesbyaddress",
2859
+ **/ listassetbalancesbyaddress: 'listassetbalancesbyaddress',
2840
2860
  /** listassets "( asset )" ( verbose ) ( count ) ( start )
2841
2861
 
2842
2862
  Returns a list of all assets
@@ -2873,7 +2893,7 @@ Examples:
2873
2893
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listassets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2874
2894
  > neurai-cli listassets ASSET
2875
2895
  > neurai-cli listassets "ASSET*" true 10 20
2876
- **/ listassets: "listassets",
2896
+ **/ listassets: 'listassets',
2877
2897
  /** listbanned
2878
2898
 
2879
2899
  List all banned IPs/Subnets.
@@ -2881,7 +2901,7 @@ List all banned IPs/Subnets.
2881
2901
  Examples:
2882
2902
  > neurai-cli listbanned
2883
2903
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2884
- **/ listbanned: "listbanned",
2904
+ **/ listbanned: 'listbanned',
2885
2905
  /** listglobalrestrictions
2886
2906
 
2887
2907
  List all global restricted assets
@@ -2894,7 +2914,7 @@ Result:
2894
2914
  Examples:
2895
2915
  > neurai-cli listglobalrestrictions
2896
2916
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listglobalrestrictions", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2897
- **/ listglobalrestrictions: "listglobalrestrictions",
2917
+ **/ listglobalrestrictions: 'listglobalrestrictions',
2898
2918
  /** listlockunspent
2899
2919
 
2900
2920
  Returns list of temporarily unspendable outputs.
@@ -2925,7 +2945,7 @@ Unlock the transaction again
2925
2945
 
2926
2946
  As a json rpc call
2927
2947
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listlockunspent", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2928
- **/ listlockunspent: "listlockunspent",
2948
+ **/ listlockunspent: 'listlockunspent',
2929
2949
  /** listmyassets "( asset )" ( verbose ) ( count ) ( start ) (confs)
2930
2950
 
2931
2951
  Returns a list of all asset that are owned by this wallet
@@ -2966,7 +2986,7 @@ Examples:
2966
2986
  > neurai-cli listmyassets ASSET
2967
2987
  > neurai-cli listmyassets "ASSET*" true 10 20
2968
2988
  > neurai-cli listmyassets "ASSET*" true 10 20 1
2969
- **/ listmyassets: "listmyassets",
2989
+ **/ listmyassets: 'listmyassets',
2970
2990
  /** listreceivedbyaccount ( minconf include_empty include_watchonly)
2971
2991
 
2972
2992
  DEPRECATED. List balances by account.
@@ -2992,7 +3012,7 @@ Examples:
2992
3012
  > neurai-cli listreceivedbyaccount
2993
3013
  > neurai-cli listreceivedbyaccount 6 true
2994
3014
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listreceivedbyaccount", "params": [6, true, true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
2995
- **/ listreceivedbyaccount: "listreceivedbyaccount",
3015
+ **/ listreceivedbyaccount: 'listreceivedbyaccount',
2996
3016
  /** listreceivedbyaddress ( minconf include_empty include_watchonly)
2997
3017
 
2998
3018
  List balances by receiving address.
@@ -3023,7 +3043,7 @@ Examples:
3023
3043
  > neurai-cli listreceivedbyaddress
3024
3044
  > neurai-cli listreceivedbyaddress 6 true
3025
3045
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listreceivedbyaddress", "params": [6, true, true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3026
- **/ listreceivedbyaddress: "listreceivedbyaddress",
3046
+ **/ listreceivedbyaddress: 'listreceivedbyaddress',
3027
3047
  /** listsinceblock ( "blockhash" target_confirmations include_watchonly include_removed )
3028
3048
 
3029
3049
  Get all transactions in blocks since block [blockhash], or all transactions if omitted.
@@ -3073,7 +3093,7 @@ Examples:
3073
3093
  > neurai-cli listsinceblock
3074
3094
  > neurai-cli listsinceblock "000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad" 6
3075
3095
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listsinceblock", "params": ["000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3076
- **/ listsinceblock: "listsinceblock",
3096
+ **/ listsinceblock: 'listsinceblock',
3077
3097
  /** listsnapshotrequests ["asset_name" [block_height]]
3078
3098
 
3079
3099
  List snapshot request details.
@@ -3093,7 +3113,7 @@ Result:
3093
3113
  Examples:
3094
3114
  > neurai-cli listsnapshotrequests
3095
3115
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listsnapshotrequests", "params": ["TRONCO" 345333] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3096
- **/ listsnapshotrequests: "listsnapshotrequests",
3116
+ **/ listsnapshotrequests: 'listsnapshotrequests',
3097
3117
  /** listtagsforaddress address
3098
3118
 
3099
3119
  List all tags assigned to an address
@@ -3109,7 +3129,7 @@ Result:
3109
3129
  Examples:
3110
3130
  > neurai-cli listtagsforaddress "address"
3111
3131
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listtagsforaddress", "params": ["address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3112
- **/ listtagsforaddress: "listtagsforaddress",
3132
+ **/ listtagsforaddress: 'listtagsforaddress',
3113
3133
  /** listtransactions ( "account" count skip include_watchonly)
3114
3134
 
3115
3135
  Returns up to 'count' most recent transactions skipping the first 'from' transactions for account 'account'.
@@ -3172,7 +3192,7 @@ List transactions 100 to 120
3172
3192
 
3173
3193
  As a json rpc call
3174
3194
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listtransactions", "params": ["*", 20, 100] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3175
- **/ listtransactions: "listtransactions",
3195
+ **/ listtransactions: 'listtransactions',
3176
3196
  /** listunspent ( minconf maxconf ["addresses",...] [include_unsafe] [query_options])
3177
3197
 
3178
3198
  Returns array of unspent transaction outputs
@@ -3223,7 +3243,7 @@ Examples
3223
3243
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listunspent", "params": [6, 9999999 "[\"1PGFqEzfmQch1gKD3ra4k18PNj3tTUUSqg\",\"1LtvqCaApEdUGFkpKMM4MstjcaL4dKg8SP\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3224
3244
  > neurai-cli listunspent 6 9999999 '[]' true '{ "minimumAmount": 0.005 }'
3225
3245
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listunspent", "params": [6, 9999999, [] , true, { "minimumAmount": 0.005 } ] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3226
- **/ listunspent: "listunspent",
3246
+ **/ listunspent: 'listunspent',
3227
3247
  /** listwallets
3228
3248
  Returns a list of currently loaded wallets.
3229
3249
  For full information on the wallet, use "getwalletinfo"
@@ -3237,7 +3257,7 @@ Result:
3237
3257
  Examples:
3238
3258
  > neurai-cli listwallets
3239
3259
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listwallets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3240
- **/ listwallets: "listwallets",
3260
+ **/ listwallets: 'listwallets',
3241
3261
  /** lockunspent unlock ([{"txid":"txid","vout":n},...])
3242
3262
 
3243
3263
  Updates list of temporarily unspendable outputs.
@@ -3278,7 +3298,7 @@ Unlock the transaction again
3278
3298
 
3279
3299
  As a json rpc call
3280
3300
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "lockunspent", "params": [false, "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3281
- **/ lockunspent: "lockunspent",
3301
+ **/ lockunspent: 'lockunspent',
3282
3302
  /** move "fromaccount" "toaccount" amount ( minconf "comment" )
3283
3303
 
3284
3304
  DEPRECATED. Move a specified amount from one account in your wallet to another.
@@ -3303,7 +3323,7 @@ Move 0.01 XNA timotei to akiko with a comment and funds have 6 confirmations
3303
3323
 
3304
3324
  As a json rpc call
3305
3325
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "move", "params": ["timotei", "akiko", 0.01, 6, "happy birthday!"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3306
- **/ move: "move",
3326
+ **/ move: 'move',
3307
3327
  /** ping
3308
3328
 
3309
3329
  Requests that a ping be sent to all other nodes, to measure ping time.
@@ -3313,7 +3333,7 @@ Ping command is handled in queue with all other commands, so it measures process
3313
3333
  Examples:
3314
3334
  > neurai-cli ping
3315
3335
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "ping", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3316
- **/ ping: "ping",
3336
+ **/ ping: 'ping',
3317
3337
  /** pprpcsb "header_hash" "mix_hash" "nonce"
3318
3338
 
3319
3339
  Attempts to submit new block to network mined by kawpow gpu miner via rpc.
@@ -3328,7 +3348,7 @@ Result:
3328
3348
  Examples:
3329
3349
  > neurai-cli pprpcsb "header_hash" "mix_hash" 100000
3330
3350
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "pprpcsb", "params": ["header_hash" "mix_hash" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3331
- **/ pprpcsb: "pprpcsb",
3351
+ **/ pprpcsb: 'pprpcsb',
3332
3352
  /** preciousblock "blockhash"
3333
3353
 
3334
3354
  Treats a block as if it were received before others with the same work.
@@ -3345,7 +3365,7 @@ Result:
3345
3365
  Examples:
3346
3366
  > neurai-cli preciousblock "blockhash"
3347
3367
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "preciousblock", "params": ["blockhash"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3348
- **/ preciousblock: "preciousblock",
3368
+ **/ preciousblock: 'preciousblock',
3349
3369
  /** prioritisetransaction <txid> <dummy value> <fee delta>
3350
3370
  Accepts the transaction into mined blocks at a higher (or lower) priority
3351
3371
 
@@ -3363,7 +3383,7 @@ true (boolean) Returns true
3363
3383
  Examples:
3364
3384
  > neurai-cli prioritisetransaction "txid" 0.0 10000
3365
3385
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "prioritisetransaction", "params": ["txid", 0.0, 10000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3366
- **/ prioritisetransaction: "prioritisetransaction",
3386
+ **/ prioritisetransaction: 'prioritisetransaction',
3367
3387
  /** pruneblockchain
3368
3388
 
3369
3389
  Arguments:
@@ -3376,7 +3396,7 @@ n (numeric) Height of the last block pruned.
3376
3396
  Examples:
3377
3397
  > neurai-cli pruneblockchain 1000
3378
3398
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "pruneblockchain", "params": [1000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3379
- **/ pruneblockchain: "pruneblockchain",
3399
+ **/ pruneblockchain: 'pruneblockchain',
3380
3400
  /** purgesnapshot "asset_name" block_height
3381
3401
 
3382
3402
  Removes details for the asset snapshot, at the specified height
@@ -3394,7 +3414,7 @@ Result:
3394
3414
  Examples:
3395
3415
  > neurai-cli purgesnapshot "ASSET_NAME" 28546
3396
3416
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "purgesnapshot", "params": ["ASSET_NAME" 28546] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3397
- **/ purgesnapshot: "purgesnapshot",
3417
+ **/ purgesnapshot: 'purgesnapshot',
3398
3418
  /** reissue "asset_name" qty "to_address" "change_address" ( reissuable ) ( new_units) "( new_ipfs )"
3399
3419
 
3400
3420
  Reissues a quantity of an asset to an owned address if you own the Owner Token
@@ -3415,7 +3435,7 @@ Result:
3415
3435
  Examples:
3416
3436
  > neurai-cli reissue "ASSET_NAME" 20 "address"
3417
3437
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "reissue", "params": ["ASSET_NAME" 20 "address" "change_address" "true" 8 "Qmd286K6pohQcTKYqnS1YhWrCiS4gz7Xi34sdwMe9USZ7u"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3418
- **/ reissue: "reissue",
3438
+ **/ reissue: 'reissue',
3419
3439
  /** reissuerestrictedasset "asset_name" qty to_address ( change_verifier ) ( "new_verifier" ) "( change_address )" ( new_units ) ( reissuable ) "( new_ipfs )"
3420
3440
 
3421
3441
  Reissue an already created restricted asset
@@ -3441,7 +3461,7 @@ Examples:
3441
3461
  > neurai-cli reissuerestrictedasset "$ASSET_NAME" 1000 "myaddress" true "KYC & !AML" "changeaddress"
3442
3462
  > neurai-cli reissuerestrictedasset "$ASSET_NAME" 1000 "myaddress" true "KYC & !AML" "changeaddress" -1 true
3443
3463
  > neurai-cli reissuerestrictedasset "$ASSET_NAME" 1000 "myaddress" false "" "changeaddress" -1 false QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E
3444
- **/ reissuerestrictedasset: "reissuerestrictedasset",
3464
+ **/ reissuerestrictedasset: 'reissuerestrictedasset',
3445
3465
  /** removeprunedfunds "txid"
3446
3466
 
3447
3467
  Deletes the specified transaction from the wallet. Meant for use with pruned wallets and as a companion to importprunedfunds. This will affect wallet balances.
@@ -3454,7 +3474,7 @@ Examples:
3454
3474
 
3455
3475
  As a JSON-RPC call
3456
3476
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removeprunedfunds", "params": ["a8d0c0184dde994a09ec054286f1ce581bebf46446a512166eae7628734ea0a5"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3457
- **/ removeprunedfunds: "removeprunedfunds",
3477
+ **/ removeprunedfunds: 'removeprunedfunds',
3458
3478
  /** removetagfromaddress tag_name to_address (change_address) (asset_data)
3459
3479
 
3460
3480
  Remove a tag from a address
@@ -3473,7 +3493,7 @@ Examples:
3473
3493
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removetagfromaddress", "params": ["#TAG" "to_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3474
3494
  > neurai-cli removetagfromaddress "#TAG" "to_address" "change_address"
3475
3495
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removetagfromaddress", "params": ["#TAG" "to_address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3476
- **/ removetagfromaddress: "removetagfromaddress",
3496
+ **/ removetagfromaddress: 'removetagfromaddress',
3477
3497
  /** requestsnapshot "asset_name" block_height
3478
3498
 
3479
3499
  Schedules a snapshot of the specified asset at the specified block height.
@@ -3490,7 +3510,7 @@ Result:
3490
3510
  Examples:
3491
3511
  > neurai-cli requestsnapshot "TRONCO" 12345
3492
3512
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "requestsnapshot", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3493
- **/ requestsnapshot: "requestsnapshot",
3513
+ **/ requestsnapshot: 'requestsnapshot',
3494
3514
  /** rescanblockchain ("start_height") ("stop_height")
3495
3515
 
3496
3516
  Rescan the local blockchain for wallet related transactions.
@@ -3508,7 +3528,7 @@ Result:
3508
3528
  Examples:
3509
3529
  > neurai-cli rescanblockchain 100000 120000
3510
3530
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "rescanblockchain", "params": [100000, 120000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3511
- **/ rescanblockchain: "rescanblockchain",
3531
+ **/ rescanblockchain: 'rescanblockchain',
3512
3532
  /** savemempool
3513
3533
 
3514
3534
  Dumps the mempool to disk.
@@ -3516,7 +3536,7 @@ Dumps the mempool to disk.
3516
3536
  Examples:
3517
3537
  > neurai-cli savemempool
3518
3538
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "savemempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3519
- **/ savemempool: "savemempool",
3539
+ **/ savemempool: 'savemempool',
3520
3540
  /** sendfrom "fromaccount" "toaddress" amount ( minconf "comment" "comment_to" )
3521
3541
 
3522
3542
  DEPRECATED (use sendtoaddress). Sent an amount from an account to a neurai address.
@@ -3548,7 +3568,7 @@ Send 0.01 from the tabby account to the given address, funds must have at least
3548
3568
 
3549
3569
  As a json rpc call
3550
3570
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendfrom", "params": ["tabby", "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd", 0.01, 6, "donation", "seans outpost"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3551
- **/ sendfrom: "sendfrom",
3571
+ **/ sendfrom: 'sendfrom',
3552
3572
  /** sendfromaddress "from_address" "to_address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
3553
3573
 
3554
3574
  Send an amount from a specific address to a given address. All xna change will get sent back to the from_address
@@ -3578,7 +3598,7 @@ Examples:
3578
3598
  > neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "donation" "seans outpost"
3579
3599
  > neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "" "" true
3580
3600
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendfromaddress", "params": ["1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd", 0.1, "donation", "seans outpost"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3581
- **/ sendfromaddress: "sendfromaddress",
3601
+ **/ sendfromaddress: 'sendfromaddress',
3582
3602
  /** sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] replaceable conf_target "estimate_mode")
3583
3603
 
3584
3604
  Send multiple times. Amounts are double-precision floating point numbers.
@@ -3623,7 +3643,7 @@ Send two amounts to two different addresses, subtract fee from amount:
3623
3643
 
3624
3644
  As a json rpc call
3625
3645
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendmany", "params": ["", "{\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\":0.01,\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\":0.02}", 6, "testing"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3626
- **/ sendmany: "sendmany",
3646
+ **/ sendmany: 'sendmany',
3627
3647
  /** sendmessage "channel_name" "ipfs_hash" (expire_time)
3628
3648
 
3629
3649
  Creates and broadcasts a message transaction to the network for a channel this wallet owns
@@ -3639,7 +3659,7 @@ txid
3639
3659
  Examples:
3640
3660
  > neurai-cli sendmessage "ASSET_NAME!" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
3641
3661
  > neurai-cli sendmessage "ASSET_NAME!" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
3642
- **/ sendmessage: "sendmessage",
3662
+ **/ sendmessage: 'sendmessage',
3643
3663
  /** sendrawtransaction "hexstring" ( allowhighfees )
3644
3664
 
3645
3665
  Submits raw transaction (serialized, hex-encoded) to local node and network.
@@ -3665,7 +3685,7 @@ Send the transaction (signed hex)
3665
3685
 
3666
3686
  As a json rpc call
3667
3687
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendrawtransaction", "params": ["signedhex"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3668
- **/ sendrawtransaction: "sendrawtransaction",
3688
+ **/ sendrawtransaction: 'sendrawtransaction',
3669
3689
  /** sendtoaddress "address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
3670
3690
 
3671
3691
  Send an amount to a given address.
@@ -3694,7 +3714,7 @@ Examples:
3694
3714
  > neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "donation" "seans outpost"
3695
3715
  > neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "" "" true
3696
3716
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendtoaddress", "params": ["1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd", 0.1, "donation", "seans outpost"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3697
- **/ sendtoaddress: "sendtoaddress",
3717
+ **/ sendtoaddress: 'sendtoaddress',
3698
3718
  /** setaccount "address" "account"
3699
3719
 
3700
3720
  DEPRECATED. Sets the account associated with the given address.
@@ -3706,7 +3726,7 @@ Arguments:
3706
3726
  Examples:
3707
3727
  > neurai-cli setaccount "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "tabby"
3708
3728
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setaccount", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", "tabby"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3709
- **/ setaccount: "setaccount",
3729
+ **/ setaccount: 'setaccount',
3710
3730
  /** setban "subnet" "add|remove" (bantime) (absolute)
3711
3731
 
3712
3732
  Attempts to add or remove an IP/Subnet from the banned list.
@@ -3721,7 +3741,7 @@ Examples:
3721
3741
  > neurai-cli setban "192.168.0.6" "add" 86400
3722
3742
  > neurai-cli setban "192.168.0.0/24" "add"
3723
3743
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setban", "params": ["192.168.0.6", "add", 86400] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3724
- **/ setban: "setban",
3744
+ **/ setban: 'setban',
3725
3745
  /** setgenerate generate ( genproclimit )
3726
3746
 
3727
3747
  Set 'generate' true or false to turn generation on or off.
@@ -3745,14 +3765,14 @@ Turn off generation
3745
3765
 
3746
3766
  Using json rpc
3747
3767
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setgenerate", "params": [true, 1] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3748
- **/ setgenerate: "setgenerate",
3768
+ **/ setgenerate: 'setgenerate',
3749
3769
  /** setnetworkactive true|false
3750
3770
 
3751
3771
  Disable/enable all p2p network activity.
3752
3772
 
3753
3773
  Arguments:
3754
3774
  1. "state" (boolean, required) true to enable networking, false to disable
3755
- **/ setnetworkactive: "setnetworkactive",
3775
+ **/ setnetworkactive: 'setnetworkactive',
3756
3776
  /** settxfee amount
3757
3777
 
3758
3778
  Set the transaction fee per kB. Overwrites the paytxfee parameter.
@@ -3766,7 +3786,7 @@ true|false (boolean) Returns true if successful
3766
3786
  Examples:
3767
3787
  > neurai-cli settxfee 0.00001
3768
3788
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "settxfee", "params": [0.00001] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3769
- **/ settxfee: "settxfee",
3789
+ **/ settxfee: 'settxfee',
3770
3790
  /** signmessage "address" "message"
3771
3791
 
3772
3792
  Sign a message with the private key of an address
@@ -3791,7 +3811,7 @@ Verify the signature
3791
3811
 
3792
3812
  As json rpc
3793
3813
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signmessage", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3794
- **/ signmessage: "signmessage",
3814
+ **/ signmessage: 'signmessage',
3795
3815
  /** signmessagewithprivkey "privkey" "message"
3796
3816
 
3797
3817
  Sign a message with the private key of an address
@@ -3813,7 +3833,7 @@ Verify the signature
3813
3833
 
3814
3834
  As json rpc
3815
3835
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signmessagewithprivkey", "params": ["privkey", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3816
- **/ signmessagewithprivkey: "signmessagewithprivkey",
3836
+ **/ signmessagewithprivkey: 'signmessagewithprivkey',
3817
3837
  /** signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )
3818
3838
 
3819
3839
  Sign inputs for raw transaction (serialized, hex-encoded).
@@ -3868,10 +3888,10 @@ Result:
3868
3888
  Examples:
3869
3889
  > neurai-cli signrawtransaction "myhex"
3870
3890
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signrawtransaction", "params": ["myhex"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3871
- **/ signrawtransaction: "signrawtransaction",
3891
+ **/ signrawtransaction: 'signrawtransaction',
3872
3892
  /** stop
3873
3893
 
3874
- Stop Neurai server.**/ stop: "stop",
3894
+ Stop Neurai server.**/ stop: 'stop',
3875
3895
  /** submitblock "hexdata" ( "dummy" )
3876
3896
 
3877
3897
  Attempts to submit new block to network.
@@ -3886,7 +3906,7 @@ Result:
3886
3906
  Examples:
3887
3907
  > neurai-cli submitblock "mydata"
3888
3908
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "submitblock", "params": ["mydata"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3889
- **/ submitblock: "submitblock",
3909
+ **/ submitblock: 'submitblock',
3890
3910
  /** subscribetochannel
3891
3911
 
3892
3912
  Subscribe to a certain message channel
@@ -3901,7 +3921,7 @@ Result:[
3901
3921
  Examples:
3902
3922
  > neurai-cli subscribetochannel "ASSET_NAME!"
3903
3923
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "subscribetochannel", "params": ["ASSET_NAME!"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3904
- **/ subscribetochannel: "subscribetochannel",
3924
+ **/ subscribetochannel: 'subscribetochannel',
3905
3925
  /** testmempoolaccept ["rawtxs"] ( allowhighfees )
3906
3926
 
3907
3927
  Returns if raw transaction (serialized, hex-encoded) would be accepted by mempool.
@@ -3937,7 +3957,7 @@ Test acceptance of the transaction (signed hex)
3937
3957
 
3938
3958
  As a json rpc call
3939
3959
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "testmempoolaccept", "params": [["signedhex"]] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3940
- **/ testmempoolaccept: "testmempoolaccept",
3960
+ **/ testmempoolaccept: 'testmempoolaccept',
3941
3961
  /** transfer "asset_name" qty "to_address" "message" expire_time "change_address" "asset_change_address"
3942
3962
 
3943
3963
  Transfers a quantity of an owned asset to a given address
@@ -3958,7 +3978,7 @@ txid
3958
3978
  Examples:
3959
3979
  > neurai-cli transfer "ASSET_NAME" 20 "address" "" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
3960
3980
  > neurai-cli transfer "ASSET_NAME" 20 "address" "" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
3961
- **/ transfer: "transfer",
3981
+ **/ transfer: 'transfer',
3962
3982
  /** transferfromaddress "asset_name" "from_address" qty "to_address" "message" expire_time "xna_change_address" "asset_change_address"
3963
3983
 
3964
3984
  Transfer a quantity of an owned asset in a specific address to a given address
@@ -3980,7 +4000,7 @@ txid
3980
4000
  Examples:
3981
4001
  > neurai-cli transferfromaddress "ASSET_NAME" "fromaddress" 20 "address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E", 156545652
3982
4002
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "transferfromaddress", "params": ["ASSET_NAME" "fromaddress" 20 "address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E", 156545652] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
3983
- **/ transferfromaddress: "transferfromaddress",
4003
+ **/ transferfromaddress: 'transferfromaddress',
3984
4004
  /** transferfromaddresses "asset_name" ["from_addresses"] qty "to_address" "message" expire_time "xna_change_address" "asset_change_address"
3985
4005
 
3986
4006
  Transfer a quantity of an owned asset in specific address(es) to a given address
@@ -4002,7 +4022,7 @@ txid
4002
4022
  Examples:
4003
4023
  > neurai-cli transferfromaddresses "ASSET_NAME" '["fromaddress1", "fromaddress2"]' 20 "to_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 154652365
4004
4024
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "transferfromaddresses", "params": ["ASSET_NAME" '["fromaddress1", "fromaddress2"]' 20 "to_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 154652365] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4005
- **/ transferfromaddresses: "transferfromaddresses",
4025
+ **/ transferfromaddresses: 'transferfromaddresses',
4006
4026
  /** transferqualifier "qualifier_name" qty "to_address" ("change_address") ("message") (expire_time)
4007
4027
 
4008
4028
  Transfer a qualifier asset owned by this wallet to the given address
@@ -4022,7 +4042,7 @@ txid
4022
4042
  Examples:
4023
4043
  > neurai-cli transferqualifier "#QUALIFIER" 20 "to_address" "" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
4024
4044
  > neurai-cli transferqualifier "#QUALIFIER" 20 "to_address" "change_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
4025
- **/ transferqualifier: "transferqualifier",
4045
+ **/ transferqualifier: 'transferqualifier',
4026
4046
  /** unfreezeaddress asset_name address (change_address) (asset_data)
4027
4047
 
4028
4048
  Unfreeze an address from transferring a restricted asset
@@ -4041,7 +4061,7 @@ Examples:
4041
4061
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezeaddress", "params": ["$RESTRICTED_ASSET" "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4042
4062
  > neurai-cli unfreezeaddress "$RESTRICTED_ASSET" "address" "change_address"
4043
4063
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezeaddress", "params": ["$RESTRICTED_ASSET" "address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4044
- **/ unfreezeaddress: "unfreezeaddress",
4064
+ **/ unfreezeaddress: 'unfreezeaddress',
4045
4065
  /** unfreezerestrictedasset asset_name (change_address) (asset_data)
4046
4066
 
4047
4067
  Unfreeze all trading for a specific restricted asset
@@ -4059,7 +4079,7 @@ Examples:
4059
4079
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezerestrictedasset", "params": ["$RESTRICTED_ASSET"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4060
4080
  > neurai-cli unfreezerestrictedasset "$RESTRICTED_ASSET" "change_address"
4061
4081
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezerestrictedasset", "params": ["$RESTRICTED_ASSET" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4062
- **/ unfreezerestrictedasset: "unfreezerestrictedasset",
4082
+ **/ unfreezerestrictedasset: 'unfreezerestrictedasset',
4063
4083
  /** unsubscribefromchannel
4064
4084
 
4065
4085
  Unsubscribe from a certain message channel
@@ -4074,7 +4094,7 @@ Result:[
4074
4094
  Examples:
4075
4095
  > neurai-cli unsubscribefromchannel "ASSET_NAME!"
4076
4096
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unsubscribefromchannel", "params": ["ASSET_NAME!"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4077
- **/ unsubscribefromchannel: "unsubscribefromchannel",
4097
+ **/ unsubscribefromchannel: 'unsubscribefromchannel',
4078
4098
  /** uptime
4079
4099
 
4080
4100
  Returns the total uptime of the server.
@@ -4085,7 +4105,7 @@ ttt (numeric) The number of seconds that the server has been running
4085
4105
  Examples:
4086
4106
  > neurai-cli uptime
4087
4107
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "uptime", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4088
- **/ uptime: "uptime",
4108
+ **/ uptime: 'uptime',
4089
4109
  /** validateaddress "address"
4090
4110
 
4091
4111
  Return information about the given neurai address.
@@ -4120,7 +4140,7 @@ Result:
4120
4140
  Examples:
4121
4141
  > neurai-cli validateaddress "1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc"
4122
4142
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "validateaddress", "params": ["1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4123
- **/ validateaddress: "validateaddress",
4143
+ **/ validateaddress: 'validateaddress',
4124
4144
  /** verifychain ( checklevel nblocks )
4125
4145
 
4126
4146
  Verifies blockchain database.
@@ -4135,7 +4155,7 @@ true|false (boolean) Verified or not
4135
4155
  Examples:
4136
4156
  > neurai-cli verifychain
4137
4157
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifychain", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4138
- **/ verifychain: "verifychain",
4158
+ **/ verifychain: 'verifychain',
4139
4159
  /** verifymessage "address" "signature" "message"
4140
4160
 
4141
4161
  Verify a signed message
@@ -4161,7 +4181,7 @@ Verify the signature
4161
4181
 
4162
4182
  As json rpc
4163
4183
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifymessage", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", "signature", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4164
- **/ verifymessage: "verifymessage",
4184
+ **/ verifymessage: 'verifymessage',
4165
4185
  /** verifytxoutproof "proof"
4166
4186
 
4167
4187
  Verifies that a proof points to a transaction in a block, returning the transaction it commits to
@@ -4172,7 +4192,7 @@ Arguments:
4172
4192
 
4173
4193
  Result:
4174
4194
  ["txid"] (array, strings) The txid(s) which the proof commits to, or empty array if the proof is invalid
4175
- **/ verifytxoutproof: "verifytxoutproof",
4195
+ **/ verifytxoutproof: 'verifytxoutproof',
4176
4196
  /** viewallmessagechannels
4177
4197
 
4178
4198
  View all message channels the wallet is subscribed to
@@ -4185,7 +4205,7 @@ Result:[
4185
4205
  Examples:
4186
4206
  > neurai-cli viewallmessagechannels
4187
4207
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessagechannels", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4188
- **/ viewallmessagechannels: "viewallmessagechannels",
4208
+ **/ viewallmessagechannels: 'viewallmessagechannels',
4189
4209
  /** viewallmessages
4190
4210
 
4191
4211
  View all messages that the wallet contains
@@ -4202,7 +4222,7 @@ Result:
4202
4222
  Examples:
4203
4223
  > neurai-cli viewallmessages
4204
4224
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4205
- **/ viewallmessages: "viewallmessages",
4225
+ **/ viewallmessages: 'viewallmessages',
4206
4226
  /** viewmyrestrictedaddresses
4207
4227
 
4208
4228
  View all addresses this wallet owns that have been restricted
@@ -4218,7 +4238,7 @@ Result:
4218
4238
  Examples:
4219
4239
  > neurai-cli viewmyrestrictedaddresses
4220
4240
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmyrestrictedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4221
- **/ viewmyrestrictedaddresses: "viewmyrestrictedaddresses",
4241
+ **/ viewmyrestrictedaddresses: 'viewmyrestrictedaddresses',
4222
4242
  /** viewmytaggedaddresses
4223
4243
 
4224
4244
  View all addresses this wallet owns that have been tagged
@@ -4234,7 +4254,7 @@ Result:
4234
4254
  Examples:
4235
4255
  > neurai-cli viewmytaggedaddresses
4236
4256
  > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmytaggedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
4237
- **/ viewmytaggedaddresses: "viewmytaggedaddresses"
4257
+ **/ viewmytaggedaddresses: 'viewmytaggedaddresses'
4238
4258
  };
4239
4259
 
4240
4260
 
@@ -4286,7 +4306,7 @@ function $c3f6c693698dc7cd$export$eb94c228b080d168(username, password, URL) {
4286
4306
  originalError: e,
4287
4307
  type: "ServerUnreachable",
4288
4308
  error: "Could not communicate with Neurai core node",
4289
- description: "Are you sure that the URL is correct? The URL is usually mainnet = http://127.0.0.1:8766 and testnet = http://127.0.0.1:18766"
4309
+ description: "Are you sure that the URL is correct? The URL is usually mainnet = http://127.0.0.1:19001 and testnet = http://127.0.0.1:19101"
4290
4310
  });
4291
4311
  });
4292
4312
  } catch (e) {