@neuraiproject/neurai-rpc 0.4.1 → 0.4.2
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/LICENSE +1 -1
- package/README.md +5 -5
- package/createDocs.mjs +2 -2
- package/dist/index.cjs +4505 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.mjs +4499 -0
- package/dist/index.mjs.map +1 -0
- package/dist/types.d.ts +177 -0
- package/dist/types.d.ts.map +1 -0
- package/docs.json +163 -163
- package/docs.ts +498 -498
- package/index.ts +2 -2
- package/neurai_methods.md +160 -160
- package/package.json +3 -3
- package/test.js +56 -0
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
interface IMethods {
|
|
2
|
+
abandontransaction: string;
|
|
3
|
+
abortrescan: string;
|
|
4
|
+
addmultisigaddress: string;
|
|
5
|
+
addnode: string;
|
|
6
|
+
addtagtoaddress: string;
|
|
7
|
+
addwitnessaddress: string;
|
|
8
|
+
backupwallet: string;
|
|
9
|
+
bumpfee: string;
|
|
10
|
+
cancelsnapshotrequest: string;
|
|
11
|
+
checkaddressrestriction: string;
|
|
12
|
+
checkaddresstag: string;
|
|
13
|
+
checkglobalrestriction: string;
|
|
14
|
+
clearbanned: string;
|
|
15
|
+
clearmempool: string;
|
|
16
|
+
clearmessages: string;
|
|
17
|
+
combinerawtransaction: string;
|
|
18
|
+
createmultisig: string;
|
|
19
|
+
createrawtransaction: string;
|
|
20
|
+
decodeblock: string;
|
|
21
|
+
decoderawtransaction: string;
|
|
22
|
+
decodescript: string;
|
|
23
|
+
disconnectnode: string;
|
|
24
|
+
distributereward: string;
|
|
25
|
+
dumpprivkey: string;
|
|
26
|
+
dumpwallet: string;
|
|
27
|
+
encryptwallet: string;
|
|
28
|
+
estimatefee: string;
|
|
29
|
+
estimatesmartfee: string;
|
|
30
|
+
freezeaddress: string;
|
|
31
|
+
freezerestrictedasset: string;
|
|
32
|
+
fundrawtransaction: string;
|
|
33
|
+
generate: string;
|
|
34
|
+
generatetoaddress: string;
|
|
35
|
+
getaccount: string;
|
|
36
|
+
getaccountaddress: string;
|
|
37
|
+
getaddednodeinfo: string;
|
|
38
|
+
getaddressbalance: string;
|
|
39
|
+
getaddressdeltas: string;
|
|
40
|
+
getaddressesbyaccount: string;
|
|
41
|
+
getaddressmempool: string;
|
|
42
|
+
getaddresstxids: string;
|
|
43
|
+
getaddressutxos: string;
|
|
44
|
+
getassetdata: string;
|
|
45
|
+
getbalance: string;
|
|
46
|
+
getbestblockhash: string;
|
|
47
|
+
getblock: string;
|
|
48
|
+
getblockchaininfo: string;
|
|
49
|
+
getblockcount: string;
|
|
50
|
+
getblockhash: string;
|
|
51
|
+
getblockhashes: string;
|
|
52
|
+
getblockheader: string;
|
|
53
|
+
getblocktemplate: string;
|
|
54
|
+
getcacheinfo: string;
|
|
55
|
+
getchaintips: string;
|
|
56
|
+
getchaintxstats: string;
|
|
57
|
+
getconnectioncount: string;
|
|
58
|
+
getdifficulty: string;
|
|
59
|
+
getdistributestatus: string;
|
|
60
|
+
getgenerate: string;
|
|
61
|
+
getinfo: string;
|
|
62
|
+
getkawpowhash: string;
|
|
63
|
+
getmasterkeyinfo: string;
|
|
64
|
+
getmemoryinfo: string;
|
|
65
|
+
getmempoolancestors: string;
|
|
66
|
+
getmempooldescendants: string;
|
|
67
|
+
getmempoolentry: string;
|
|
68
|
+
getmempoolinfo: string;
|
|
69
|
+
getmininginfo: string;
|
|
70
|
+
getmywords: string;
|
|
71
|
+
getnettotals: string;
|
|
72
|
+
getnetworkhashps: string;
|
|
73
|
+
getnetworkinfo: string;
|
|
74
|
+
getnewaddress: string;
|
|
75
|
+
getpeerinfo: string;
|
|
76
|
+
getrawchangeaddress: string;
|
|
77
|
+
getrawmempool: string;
|
|
78
|
+
getrawtransaction: string;
|
|
79
|
+
getreceivedbyaccount: string;
|
|
80
|
+
getreceivedbyaddress: string;
|
|
81
|
+
getrpcinfo: string;
|
|
82
|
+
getsnapshot: string;
|
|
83
|
+
getsnapshotrequest: string;
|
|
84
|
+
getspentinfo: string;
|
|
85
|
+
gettransaction: string;
|
|
86
|
+
gettxout: string;
|
|
87
|
+
gettxoutproof: string;
|
|
88
|
+
gettxoutsetinfo: string;
|
|
89
|
+
getunconfirmedbalance: string;
|
|
90
|
+
getverifierstring: string;
|
|
91
|
+
getwalletinfo: string;
|
|
92
|
+
help: string;
|
|
93
|
+
importaddress: string;
|
|
94
|
+
importmulti: string;
|
|
95
|
+
importprivkey: string;
|
|
96
|
+
importprunedfunds: string;
|
|
97
|
+
importpubkey: string;
|
|
98
|
+
importwallet: string;
|
|
99
|
+
issue: string;
|
|
100
|
+
issuequalifierasset: string;
|
|
101
|
+
issuerestrictedasset: string;
|
|
102
|
+
issueunique: string;
|
|
103
|
+
isvalidverifierstring: string;
|
|
104
|
+
keypoolrefill: string;
|
|
105
|
+
listaccounts: string;
|
|
106
|
+
listaddressesbyasset: string;
|
|
107
|
+
listaddressesfortag: string;
|
|
108
|
+
listaddressgroupings: string;
|
|
109
|
+
listaddressrestrictions: string;
|
|
110
|
+
listassetbalancesbyaddress: string;
|
|
111
|
+
listassets: string;
|
|
112
|
+
listbanned: string;
|
|
113
|
+
listglobalrestrictions: string;
|
|
114
|
+
listlockunspent: string;
|
|
115
|
+
listmyassets: string;
|
|
116
|
+
listreceivedbyaccount: string;
|
|
117
|
+
listreceivedbyaddress: string;
|
|
118
|
+
listsinceblock: string;
|
|
119
|
+
listsnapshotrequests: string;
|
|
120
|
+
listtagsforaddress: string;
|
|
121
|
+
listtransactions: string;
|
|
122
|
+
listunspent: string;
|
|
123
|
+
listwallets: string;
|
|
124
|
+
lockunspent: string;
|
|
125
|
+
move: string;
|
|
126
|
+
ping: string;
|
|
127
|
+
pprpcsb: string;
|
|
128
|
+
preciousblock: string;
|
|
129
|
+
prioritisetransaction: string;
|
|
130
|
+
pruneblockchain: string;
|
|
131
|
+
purgesnapshot: string;
|
|
132
|
+
reissue: string;
|
|
133
|
+
reissuerestrictedasset: string;
|
|
134
|
+
removeprunedfunds: string;
|
|
135
|
+
removetagfromaddress: string;
|
|
136
|
+
requestsnapshot: string;
|
|
137
|
+
rescanblockchain: string;
|
|
138
|
+
savemempool: string;
|
|
139
|
+
sendfrom: string;
|
|
140
|
+
sendfromaddress: string;
|
|
141
|
+
sendmany: string;
|
|
142
|
+
sendmessage: string;
|
|
143
|
+
sendrawtransaction: string;
|
|
144
|
+
sendtoaddress: string;
|
|
145
|
+
setaccount: string;
|
|
146
|
+
setban: string;
|
|
147
|
+
setgenerate: string;
|
|
148
|
+
setnetworkactive: string;
|
|
149
|
+
settxfee: string;
|
|
150
|
+
signmessage: string;
|
|
151
|
+
signmessagewithprivkey: string;
|
|
152
|
+
signrawtransaction: string;
|
|
153
|
+
stop: string;
|
|
154
|
+
submitblock: string;
|
|
155
|
+
subscribetochannel: string;
|
|
156
|
+
testmempoolaccept: string;
|
|
157
|
+
transfer: string;
|
|
158
|
+
transferfromaddress: string;
|
|
159
|
+
transferfromaddresses: string;
|
|
160
|
+
transferqualifier: string;
|
|
161
|
+
unfreezeaddress: string;
|
|
162
|
+
unfreezerestrictedasset: string;
|
|
163
|
+
unsubscribefromchannel: string;
|
|
164
|
+
uptime: string;
|
|
165
|
+
validateaddress: string;
|
|
166
|
+
verifychain: string;
|
|
167
|
+
verifymessage: string;
|
|
168
|
+
verifytxoutproof: string;
|
|
169
|
+
viewallmessagechannels: string;
|
|
170
|
+
viewallmessages: string;
|
|
171
|
+
viewmyrestrictedaddresses: string;
|
|
172
|
+
viewmytaggedaddresses: string;
|
|
173
|
+
}
|
|
174
|
+
export const methods: IMethods;
|
|
175
|
+
export function getRPC(username: string, password: string, URL: string): (method: string, params: any[]) => Promise<any>;
|
|
176
|
+
|
|
177
|
+
//# sourceMappingURL=types.d.ts.map
|