@dedot/chaintypes 0.0.1-alpha.22

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.
Files changed (280) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +3 -0
  3. package/aleph/consts.d.ts +533 -0
  4. package/aleph/consts.js +2 -0
  5. package/aleph/errors.d.ts +822 -0
  6. package/aleph/errors.js +2 -0
  7. package/aleph/events.d.ts +997 -0
  8. package/aleph/events.js +2 -0
  9. package/aleph/index.d.ts +19 -0
  10. package/aleph/index.js +3 -0
  11. package/aleph/query.d.ts +1271 -0
  12. package/aleph/query.js +2 -0
  13. package/aleph/rpc.d.ts +575 -0
  14. package/aleph/rpc.js +2 -0
  15. package/aleph/runtime.d.ts +410 -0
  16. package/aleph/runtime.js +2 -0
  17. package/aleph/tx.d.ts +2206 -0
  18. package/aleph/tx.js +2 -0
  19. package/aleph/types.d.ts +5560 -0
  20. package/aleph/types.js +2 -0
  21. package/astar/consts.d.ts +679 -0
  22. package/astar/consts.js +2 -0
  23. package/astar/errors.d.ts +1317 -0
  24. package/astar/errors.js +2 -0
  25. package/astar/events.d.ts +1707 -0
  26. package/astar/events.js +2 -0
  27. package/astar/index.d.ts +19 -0
  28. package/astar/index.js +3 -0
  29. package/astar/query.d.ts +1474 -0
  30. package/astar/query.js +2 -0
  31. package/astar/rpc.d.ts +775 -0
  32. package/astar/rpc.js +2 -0
  33. package/astar/runtime.d.ts +262 -0
  34. package/astar/runtime.js +2 -0
  35. package/astar/tx.d.ts +4810 -0
  36. package/astar/tx.js +2 -0
  37. package/astar/types.d.ts +12338 -0
  38. package/astar/types.js +2 -0
  39. package/cjs/aleph/consts.js +3 -0
  40. package/cjs/aleph/errors.js +3 -0
  41. package/cjs/aleph/events.js +3 -0
  42. package/cjs/aleph/index.js +19 -0
  43. package/cjs/aleph/query.js +3 -0
  44. package/cjs/aleph/rpc.js +3 -0
  45. package/cjs/aleph/runtime.js +3 -0
  46. package/cjs/aleph/tx.js +3 -0
  47. package/cjs/aleph/types.js +3 -0
  48. package/cjs/astar/consts.js +3 -0
  49. package/cjs/astar/errors.js +3 -0
  50. package/cjs/astar/events.js +3 -0
  51. package/cjs/astar/index.js +19 -0
  52. package/cjs/astar/query.js +3 -0
  53. package/cjs/astar/rpc.js +3 -0
  54. package/cjs/astar/runtime.js +3 -0
  55. package/cjs/astar/tx.js +3 -0
  56. package/cjs/astar/types.js +3 -0
  57. package/cjs/index.js +2 -0
  58. package/cjs/kusama/consts.js +3 -0
  59. package/cjs/kusama/errors.js +3 -0
  60. package/cjs/kusama/events.js +3 -0
  61. package/cjs/kusama/index.js +19 -0
  62. package/cjs/kusama/query.js +3 -0
  63. package/cjs/kusama/rpc.js +3 -0
  64. package/cjs/kusama/runtime.js +3 -0
  65. package/cjs/kusama/tx.js +3 -0
  66. package/cjs/kusama/types.js +3 -0
  67. package/cjs/kusamaAssetHub/consts.js +3 -0
  68. package/cjs/kusamaAssetHub/errors.js +3 -0
  69. package/cjs/kusamaAssetHub/events.js +3 -0
  70. package/cjs/kusamaAssetHub/index.js +19 -0
  71. package/cjs/kusamaAssetHub/query.js +3 -0
  72. package/cjs/kusamaAssetHub/rpc.js +3 -0
  73. package/cjs/kusamaAssetHub/runtime.js +3 -0
  74. package/cjs/kusamaAssetHub/tx.js +3 -0
  75. package/cjs/kusamaAssetHub/types.js +3 -0
  76. package/cjs/moonbeam/consts.js +3 -0
  77. package/cjs/moonbeam/errors.js +3 -0
  78. package/cjs/moonbeam/events.js +3 -0
  79. package/cjs/moonbeam/index.js +19 -0
  80. package/cjs/moonbeam/query.js +3 -0
  81. package/cjs/moonbeam/rpc.js +3 -0
  82. package/cjs/moonbeam/runtime.js +3 -0
  83. package/cjs/moonbeam/tx.js +3 -0
  84. package/cjs/moonbeam/types.js +3 -0
  85. package/cjs/package.json +1 -0
  86. package/cjs/packageInfo.js +5 -0
  87. package/cjs/polkadot/consts.js +3 -0
  88. package/cjs/polkadot/errors.js +3 -0
  89. package/cjs/polkadot/events.js +3 -0
  90. package/cjs/polkadot/index.js +19 -0
  91. package/cjs/polkadot/query.js +3 -0
  92. package/cjs/polkadot/rpc.js +3 -0
  93. package/cjs/polkadot/runtime.js +3 -0
  94. package/cjs/polkadot/tx.js +3 -0
  95. package/cjs/polkadot/types.js +3 -0
  96. package/cjs/polkadotAssetHub/consts.js +3 -0
  97. package/cjs/polkadotAssetHub/errors.js +3 -0
  98. package/cjs/polkadotAssetHub/events.js +3 -0
  99. package/cjs/polkadotAssetHub/index.js +19 -0
  100. package/cjs/polkadotAssetHub/query.js +3 -0
  101. package/cjs/polkadotAssetHub/rpc.js +3 -0
  102. package/cjs/polkadotAssetHub/runtime.js +3 -0
  103. package/cjs/polkadotAssetHub/tx.js +3 -0
  104. package/cjs/polkadotAssetHub/types.js +3 -0
  105. package/cjs/rococoAssetHub/consts.js +3 -0
  106. package/cjs/rococoAssetHub/errors.js +3 -0
  107. package/cjs/rococoAssetHub/events.js +3 -0
  108. package/cjs/rococoAssetHub/index.js +19 -0
  109. package/cjs/rococoAssetHub/query.js +3 -0
  110. package/cjs/rococoAssetHub/rpc.js +3 -0
  111. package/cjs/rococoAssetHub/runtime.js +3 -0
  112. package/cjs/rococoAssetHub/tx.js +3 -0
  113. package/cjs/rococoAssetHub/types.js +3 -0
  114. package/cjs/substrate/consts.js +3 -0
  115. package/cjs/substrate/errors.js +3 -0
  116. package/cjs/substrate/events.js +3 -0
  117. package/cjs/substrate/index.js +19 -0
  118. package/cjs/substrate/query.js +3 -0
  119. package/cjs/substrate/rpc.js +3 -0
  120. package/cjs/substrate/runtime.js +3 -0
  121. package/cjs/substrate/tx.js +3 -0
  122. package/cjs/substrate/types.js +3 -0
  123. package/cjs/westendAssetHub/consts.js +3 -0
  124. package/cjs/westendAssetHub/errors.js +3 -0
  125. package/cjs/westendAssetHub/events.js +3 -0
  126. package/cjs/westendAssetHub/index.js +19 -0
  127. package/cjs/westendAssetHub/query.js +3 -0
  128. package/cjs/westendAssetHub/rpc.js +3 -0
  129. package/cjs/westendAssetHub/runtime.js +3 -0
  130. package/cjs/westendAssetHub/tx.js +3 -0
  131. package/cjs/westendAssetHub/types.js +3 -0
  132. package/index.d.ts +5 -0
  133. package/index.js +1 -0
  134. package/kusama/consts.d.ts +1427 -0
  135. package/kusama/consts.js +2 -0
  136. package/kusama/errors.d.ts +2494 -0
  137. package/kusama/errors.js +2 -0
  138. package/kusama/events.d.ts +2960 -0
  139. package/kusama/events.js +2 -0
  140. package/kusama/index.d.ts +19 -0
  141. package/kusama/index.js +3 -0
  142. package/kusama/query.d.ts +3251 -0
  143. package/kusama/query.js +2 -0
  144. package/kusama/rpc.d.ts +726 -0
  145. package/kusama/rpc.js +2 -0
  146. package/kusama/runtime.d.ts +844 -0
  147. package/kusama/runtime.js +2 -0
  148. package/kusama/tx.d.ts +6014 -0
  149. package/kusama/tx.js +2 -0
  150. package/kusama/types.d.ts +15903 -0
  151. package/kusama/types.js +2 -0
  152. package/kusamaAssetHub/consts.d.ts +632 -0
  153. package/kusamaAssetHub/consts.js +2 -0
  154. package/kusamaAssetHub/errors.d.ts +1164 -0
  155. package/kusamaAssetHub/errors.js +2 -0
  156. package/kusamaAssetHub/events.d.ts +2162 -0
  157. package/kusamaAssetHub/events.js +2 -0
  158. package/kusamaAssetHub/index.d.ts +19 -0
  159. package/kusamaAssetHub/index.js +3 -0
  160. package/kusamaAssetHub/query.d.ts +1301 -0
  161. package/kusamaAssetHub/query.js +2 -0
  162. package/kusamaAssetHub/rpc.d.ts +590 -0
  163. package/kusamaAssetHub/rpc.js +2 -0
  164. package/kusamaAssetHub/runtime.d.ts +402 -0
  165. package/kusamaAssetHub/runtime.js +2 -0
  166. package/kusamaAssetHub/tx.d.ts +4217 -0
  167. package/kusamaAssetHub/tx.js +2 -0
  168. package/kusamaAssetHub/types.d.ts +10418 -0
  169. package/kusamaAssetHub/types.js +2 -0
  170. package/moonbeam/consts.d.ts +961 -0
  171. package/moonbeam/consts.js +2 -0
  172. package/moonbeam/errors.d.ts +1797 -0
  173. package/moonbeam/errors.js +2 -0
  174. package/moonbeam/events.d.ts +2840 -0
  175. package/moonbeam/events.js +2 -0
  176. package/moonbeam/index.d.ts +19 -0
  177. package/moonbeam/index.js +3 -0
  178. package/moonbeam/query.d.ts +2027 -0
  179. package/moonbeam/query.js +2 -0
  180. package/moonbeam/rpc.d.ts +809 -0
  181. package/moonbeam/rpc.js +2 -0
  182. package/moonbeam/runtime.d.ts +506 -0
  183. package/moonbeam/runtime.js +2 -0
  184. package/moonbeam/tx.d.ts +5205 -0
  185. package/moonbeam/tx.js +2 -0
  186. package/moonbeam/types.d.ts +12349 -0
  187. package/moonbeam/types.js +2 -0
  188. package/package.json +33 -0
  189. package/packageInfo.d.ts +4 -0
  190. package/packageInfo.js +3 -0
  191. package/polkadot/consts.d.ts +1160 -0
  192. package/polkadot/consts.js +2 -0
  193. package/polkadot/errors.d.ts +2020 -0
  194. package/polkadot/errors.js +2 -0
  195. package/polkadot/events.d.ts +2235 -0
  196. package/polkadot/events.js +2 -0
  197. package/polkadot/index.d.ts +19 -0
  198. package/polkadot/index.js +3 -0
  199. package/polkadot/query.d.ts +2811 -0
  200. package/polkadot/query.js +2 -0
  201. package/polkadot/rpc.d.ts +726 -0
  202. package/polkadot/rpc.js +2 -0
  203. package/polkadot/runtime.d.ts +844 -0
  204. package/polkadot/runtime.js +2 -0
  205. package/polkadot/tx.d.ts +5009 -0
  206. package/polkadot/tx.js +2 -0
  207. package/polkadot/types.d.ts +13729 -0
  208. package/polkadot/types.js +2 -0
  209. package/polkadotAssetHub/consts.d.ts +524 -0
  210. package/polkadotAssetHub/consts.js +2 -0
  211. package/polkadotAssetHub/errors.d.ts +925 -0
  212. package/polkadotAssetHub/errors.js +2 -0
  213. package/polkadotAssetHub/events.d.ts +1787 -0
  214. package/polkadotAssetHub/events.js +2 -0
  215. package/polkadotAssetHub/index.d.ts +19 -0
  216. package/polkadotAssetHub/index.js +3 -0
  217. package/polkadotAssetHub/query.d.ts +1222 -0
  218. package/polkadotAssetHub/query.js +2 -0
  219. package/polkadotAssetHub/rpc.d.ts +590 -0
  220. package/polkadotAssetHub/rpc.js +2 -0
  221. package/polkadotAssetHub/runtime.d.ts +359 -0
  222. package/polkadotAssetHub/runtime.js +2 -0
  223. package/polkadotAssetHub/tx.d.ts +3492 -0
  224. package/polkadotAssetHub/tx.js +2 -0
  225. package/polkadotAssetHub/types.d.ts +9164 -0
  226. package/polkadotAssetHub/types.js +2 -0
  227. package/rococoAssetHub/consts.d.ts +658 -0
  228. package/rococoAssetHub/consts.js +2 -0
  229. package/rococoAssetHub/errors.d.ts +1231 -0
  230. package/rococoAssetHub/errors.js +2 -0
  231. package/rococoAssetHub/events.d.ts +2172 -0
  232. package/rococoAssetHub/events.js +2 -0
  233. package/rococoAssetHub/index.d.ts +19 -0
  234. package/rococoAssetHub/index.js +3 -0
  235. package/rococoAssetHub/query.d.ts +1269 -0
  236. package/rococoAssetHub/query.js +2 -0
  237. package/rococoAssetHub/rpc.d.ts +590 -0
  238. package/rococoAssetHub/rpc.js +2 -0
  239. package/rococoAssetHub/runtime.d.ts +428 -0
  240. package/rococoAssetHub/runtime.js +2 -0
  241. package/rococoAssetHub/tx.d.ts +4307 -0
  242. package/rococoAssetHub/tx.js +2 -0
  243. package/rococoAssetHub/types.d.ts +11066 -0
  244. package/rococoAssetHub/types.js +2 -0
  245. package/substrate/consts.d.ts +1971 -0
  246. package/substrate/consts.js +2 -0
  247. package/substrate/errors.d.ts +3337 -0
  248. package/substrate/errors.js +2 -0
  249. package/substrate/events.d.ts +4777 -0
  250. package/substrate/events.js +2 -0
  251. package/substrate/index.d.ts +19 -0
  252. package/substrate/index.js +3 -0
  253. package/substrate/query.d.ts +3350 -0
  254. package/substrate/query.js +2 -0
  255. package/substrate/rpc.d.ts +718 -0
  256. package/substrate/rpc.js +2 -0
  257. package/substrate/runtime.d.ts +708 -0
  258. package/substrate/runtime.js +2 -0
  259. package/substrate/tx.d.ts +8800 -0
  260. package/substrate/tx.js +2 -0
  261. package/substrate/types.d.ts +20332 -0
  262. package/substrate/types.js +2 -0
  263. package/westendAssetHub/consts.d.ts +658 -0
  264. package/westendAssetHub/consts.js +2 -0
  265. package/westendAssetHub/errors.d.ts +1231 -0
  266. package/westendAssetHub/errors.js +2 -0
  267. package/westendAssetHub/events.d.ts +2172 -0
  268. package/westendAssetHub/events.js +2 -0
  269. package/westendAssetHub/index.d.ts +19 -0
  270. package/westendAssetHub/index.js +3 -0
  271. package/westendAssetHub/query.d.ts +1269 -0
  272. package/westendAssetHub/query.js +2 -0
  273. package/westendAssetHub/rpc.d.ts +590 -0
  274. package/westendAssetHub/rpc.js +2 -0
  275. package/westendAssetHub/runtime.d.ts +456 -0
  276. package/westendAssetHub/runtime.js +2 -0
  277. package/westendAssetHub/tx.d.ts +4307 -0
  278. package/westendAssetHub/tx.js +2 -0
  279. package/westendAssetHub/types.d.ts +11062 -0
  280. package/westendAssetHub/types.js +2 -0
@@ -0,0 +1,809 @@
1
+ import type { GenericRpcCalls, Unsub, Callback, GenericRpcCall, ExtrinsicOrHash, StorageKind, RpcMethods, ReadProof, StorageChangeSet, TraceBlockResponse, ChainType, Health, NodeRole, PeerInfo, ChainProperties, SyncState, NetworkState } from '@dedot/types';
2
+ import type { Bytes, Hash, TransactionStatus, Option, SignedBlock, BlockHash, BlockNumber, Header, StorageKey, PrefixedStorageKey, StorageData, FeeDetails, RuntimeDispatchInfo, Metadata, RuntimeVersion, ApplyExtrinsicResult } from '@dedot/codecs';
3
+ export interface RpcCalls extends GenericRpcCalls {
4
+ author: {
5
+ /**
6
+ * Checks if the keystore has private keys for the given public key and key type. Returns `true` if a private key could be found.
7
+ *
8
+ * @rpcname: author_hasKey
9
+ * @param {Bytes} publicKey
10
+ * @param {string} keyType
11
+ **/
12
+ hasKey: GenericRpcCall<(publicKey: Bytes, keyType: string) => Promise<boolean>>;
13
+ /**
14
+ * Checks if the keystore has private keys for the given session public keys. `session_keys` is the SCALE encoded session keys object from the runtime. Returns `true` iff all private keys could be found.
15
+ *
16
+ * @rpcname: author_hasSessionKeys
17
+ * @param {Bytes} sessionKeys
18
+ **/
19
+ hasSessionKeys: GenericRpcCall<(sessionKeys: Bytes) => Promise<boolean>>;
20
+ /**
21
+ * Insert a key into the keystore.
22
+ *
23
+ * @rpcname: author_insertKey
24
+ * @param {string} keyType
25
+ * @param {string} suri
26
+ * @param {Bytes} publicKey
27
+ **/
28
+ insertKey: GenericRpcCall<(keyType: string, suri: string, publicKey: Bytes) => Promise<void>>;
29
+ /**
30
+ * Returns all pending extrinsics, potentially grouped by sender.
31
+ *
32
+ * @rpcname: author_pendingExtrinsics
33
+ **/
34
+ pendingExtrinsics: GenericRpcCall<() => Promise<Array<Bytes>>>;
35
+ /**
36
+ * Remove given extrinsic from the pool and temporarily ban it to prevent reimporting.
37
+ *
38
+ * @rpcname: author_removeExtrinsic
39
+ * @param {Array<ExtrinsicOrHash>} bytesOrHash
40
+ **/
41
+ removeExtrinsic: GenericRpcCall<(bytesOrHash: Array<ExtrinsicOrHash>) => Promise<Array<Hash>>>;
42
+ /**
43
+ * Generate new session keys and returns the corresponding public keys.
44
+ *
45
+ * @rpcname: author_rotateKeys
46
+ **/
47
+ rotateKeys: GenericRpcCall<() => Promise<Bytes>>;
48
+ /**
49
+ * Submit and subscribe to watch an extrinsic until unsubscribed
50
+ *
51
+ * @pubsub: author_extrinsicUpdate, author_submitAndWatchExtrinsic, author_unwatchExtrinsic
52
+ * @param {Bytes} extrinsic
53
+ **/
54
+ submitAndWatchExtrinsic: GenericRpcCall<(extrinsic: Bytes, callback: Callback<TransactionStatus>) => Promise<Unsub>>;
55
+ /**
56
+ * Submit hex-encoded extrinsic for inclusion in block.
57
+ *
58
+ * @rpcname: author_submitExtrinsic
59
+ * @param {Bytes} extrinsic
60
+ **/
61
+ submitExtrinsic: GenericRpcCall<(extrinsic: Bytes) => Promise<Hash>>;
62
+ [method: string]: GenericRpcCall;
63
+ };
64
+ chainHead: {
65
+ /**
66
+ * @rpcname: chainHead_unstable_body
67
+ **/
68
+ unstable_body: GenericRpcCall;
69
+ /**
70
+ * @rpcname: chainHead_unstable_call
71
+ **/
72
+ unstable_call: GenericRpcCall;
73
+ /**
74
+ * @rpcname: chainHead_unstable_continue
75
+ **/
76
+ unstable_continue: GenericRpcCall;
77
+ /**
78
+ * @rpcname: chainHead_unstable_follow
79
+ **/
80
+ unstable_follow: GenericRpcCall;
81
+ /**
82
+ * @rpcname: chainHead_unstable_genesisHash
83
+ **/
84
+ unstable_genesisHash: GenericRpcCall;
85
+ /**
86
+ * @rpcname: chainHead_unstable_header
87
+ **/
88
+ unstable_header: GenericRpcCall;
89
+ /**
90
+ * @rpcname: chainHead_unstable_stopOperation
91
+ **/
92
+ unstable_stopOperation: GenericRpcCall;
93
+ /**
94
+ * @rpcname: chainHead_unstable_storage
95
+ **/
96
+ unstable_storage: GenericRpcCall;
97
+ /**
98
+ * @rpcname: chainHead_unstable_unfollow
99
+ **/
100
+ unstable_unfollow: GenericRpcCall;
101
+ /**
102
+ * @rpcname: chainHead_unstable_unpin
103
+ **/
104
+ unstable_unpin: GenericRpcCall;
105
+ [method: string]: GenericRpcCall;
106
+ };
107
+ chain: {
108
+ /**
109
+ * Get header and body of a relay chain block
110
+ *
111
+ * @rpcname: chain_getBlock
112
+ * @param {BlockHash} at
113
+ **/
114
+ getBlock: GenericRpcCall<(at?: BlockHash) => Promise<Option<SignedBlock>>>;
115
+ /**
116
+ * Get the block hash for a specific block
117
+ *
118
+ * @rpcname: chain_getBlockHash
119
+ * @param {BlockNumber} blockNumber
120
+ **/
121
+ getBlockHash: GenericRpcCall<(blockNumber?: BlockNumber) => Promise<Option<BlockHash>>>;
122
+ /**
123
+ * Get hash of the last finalized block in the canon chain
124
+ *
125
+ * @rpcname: chain_getFinalizedHead
126
+ **/
127
+ getFinalizedHead: GenericRpcCall<() => Promise<BlockHash>>;
128
+ /**
129
+ * Retrieves the header for a specific block
130
+ *
131
+ * @rpcname: chain_getHeader
132
+ * @param {BlockHash} at
133
+ **/
134
+ getHeader: GenericRpcCall<(at?: BlockHash) => Promise<Option<Header>>>;
135
+ /**
136
+ * All head subscription.
137
+ *
138
+ * @pubsub: chain_allHead, chain_subscribeAllHeads, chain_unsubscribeAllHeads
139
+ **/
140
+ subscribeAllHeads: GenericRpcCall<(callback: Callback<Header>) => Promise<Unsub>>;
141
+ /**
142
+ * Retrieves the best finalized header via subscription
143
+ *
144
+ * @pubsub: chain_finalizedHead, chain_subscribeFinalizedHeads, chain_unsubscribeFinalizedHeads
145
+ **/
146
+ subscribeFinalizedHeads: GenericRpcCall<(callback: Callback<Header>) => Promise<Unsub>>;
147
+ /**
148
+ * Retrieves the best header via subscription
149
+ *
150
+ * @pubsub: chain_newHead, chain_subscribeNewHeads, chain_unsubscribeNewHeads
151
+ **/
152
+ subscribeNewHeads: GenericRpcCall<(callback: Callback<Header>) => Promise<Unsub>>;
153
+ [method: string]: GenericRpcCall;
154
+ };
155
+ childstate: {
156
+ /**
157
+ * Returns the keys with prefix from a child storage, leave empty to get all the keys
158
+ *
159
+ * @rpcname: childstate_getKeys
160
+ * @deprecated: Please use `getKeysPaged` with proper paging support
161
+ * @param {PrefixedStorageKey} childStorageKey
162
+ * @param {StorageKey} prefix
163
+ * @param {BlockHash} at
164
+ **/
165
+ getKeys: GenericRpcCall<(childStorageKey: PrefixedStorageKey, prefix: StorageKey, at?: BlockHash) => Promise<Array<StorageKey>>>;
166
+ /**
167
+ * Returns the keys with prefix from a child storage with pagination support.
168
+ * Up to `count` keys will be returned.
169
+ * If `start_key` is passed, return next keys in storage in lexicographic order.
170
+ *
171
+ * @rpcname: childstate_getKeysPaged
172
+ * @param {PrefixedStorageKey} childStorageKey
173
+ * @param {Option<StorageKey>} prefix
174
+ * @param {number} count
175
+ * @param {StorageKey} startKey
176
+ * @param {BlockHash} at
177
+ **/
178
+ getKeysPaged: GenericRpcCall<(childStorageKey: PrefixedStorageKey, prefix: Option<StorageKey>, count: number, startKey?: StorageKey, at?: BlockHash) => Promise<Array<StorageKey>>>;
179
+ /**
180
+ * Returns a child storage entry at specific block's state.
181
+ *
182
+ * @rpcname: childstate_getStorage
183
+ * @param {PrefixedStorageKey} childStorageKey
184
+ * @param {StorageKey} key
185
+ * @param {BlockHash} at
186
+ **/
187
+ getStorage: GenericRpcCall<(childStorageKey: PrefixedStorageKey, key: StorageKey, at?: BlockHash) => Promise<Option<StorageData>>>;
188
+ /**
189
+ * Returns child storage entries for multiple keys at a specific block's state.
190
+ *
191
+ * @rpcname: childstate_getStorageEntries
192
+ * @param {PrefixedStorageKey} childStorageKey
193
+ * @param {Array<StorageKey>} keys
194
+ * @param {BlockHash} at
195
+ **/
196
+ getStorageEntries: GenericRpcCall<(childStorageKey: PrefixedStorageKey, keys: Array<StorageKey>, at?: BlockHash) => Promise<Array<Option<StorageData>>>>;
197
+ /**
198
+ * Returns the hash of a child storage entry at a block's state.
199
+ *
200
+ * @rpcname: childstate_getStorageHash
201
+ * @param {PrefixedStorageKey} childStorageKey
202
+ * @param {StorageKey} key
203
+ * @param {BlockHash} at
204
+ **/
205
+ getStorageHash: GenericRpcCall<(childStorageKey: PrefixedStorageKey, key: StorageKey, at?: BlockHash) => Promise<Option<Hash>>>;
206
+ /**
207
+ * Returns the size of a child storage entry at a block's state
208
+ *
209
+ * @rpcname: childstate_getStorageSize
210
+ * @param {PrefixedStorageKey} childStorageKey
211
+ * @param {StorageKey} key
212
+ * @param {BlockHash} at
213
+ **/
214
+ getStorageSize: GenericRpcCall<(childStorageKey: PrefixedStorageKey, key: StorageKey, at?: BlockHash) => Promise<Option<number>>>;
215
+ [method: string]: GenericRpcCall;
216
+ };
217
+ debug: {
218
+ /**
219
+ * @rpcname: debug_traceBlockByHash
220
+ **/
221
+ traceBlockByHash: GenericRpcCall;
222
+ /**
223
+ * @rpcname: debug_traceBlockByNumber
224
+ **/
225
+ traceBlockByNumber: GenericRpcCall;
226
+ /**
227
+ * @rpcname: debug_traceTransaction
228
+ **/
229
+ traceTransaction: GenericRpcCall;
230
+ [method: string]: GenericRpcCall;
231
+ };
232
+ eth: {
233
+ /**
234
+ * @rpcname: eth_accounts
235
+ **/
236
+ accounts: GenericRpcCall;
237
+ /**
238
+ * @rpcname: eth_blockNumber
239
+ **/
240
+ blockNumber: GenericRpcCall;
241
+ /**
242
+ * @rpcname: eth_call
243
+ **/
244
+ call: GenericRpcCall;
245
+ /**
246
+ * @rpcname: eth_chainId
247
+ **/
248
+ chainId: GenericRpcCall;
249
+ /**
250
+ * @rpcname: eth_coinbase
251
+ **/
252
+ coinbase: GenericRpcCall;
253
+ /**
254
+ * @rpcname: eth_estimateGas
255
+ **/
256
+ estimateGas: GenericRpcCall;
257
+ /**
258
+ * @rpcname: eth_feeHistory
259
+ **/
260
+ feeHistory: GenericRpcCall;
261
+ /**
262
+ * @rpcname: eth_gasPrice
263
+ **/
264
+ gasPrice: GenericRpcCall;
265
+ /**
266
+ * @rpcname: eth_getBalance
267
+ **/
268
+ getBalance: GenericRpcCall;
269
+ /**
270
+ * @rpcname: eth_getBlockByHash
271
+ **/
272
+ getBlockByHash: GenericRpcCall;
273
+ /**
274
+ * @rpcname: eth_getBlockByNumber
275
+ **/
276
+ getBlockByNumber: GenericRpcCall;
277
+ /**
278
+ * @rpcname: eth_getBlockReceipts
279
+ **/
280
+ getBlockReceipts: GenericRpcCall;
281
+ /**
282
+ * @rpcname: eth_getBlockTransactionCountByHash
283
+ **/
284
+ getBlockTransactionCountByHash: GenericRpcCall;
285
+ /**
286
+ * @rpcname: eth_getBlockTransactionCountByNumber
287
+ **/
288
+ getBlockTransactionCountByNumber: GenericRpcCall;
289
+ /**
290
+ * @rpcname: eth_getCode
291
+ **/
292
+ getCode: GenericRpcCall;
293
+ /**
294
+ * @rpcname: eth_getFilterChanges
295
+ **/
296
+ getFilterChanges: GenericRpcCall;
297
+ /**
298
+ * @rpcname: eth_getFilterLogs
299
+ **/
300
+ getFilterLogs: GenericRpcCall;
301
+ /**
302
+ * @rpcname: eth_getLogs
303
+ **/
304
+ getLogs: GenericRpcCall;
305
+ /**
306
+ * @rpcname: eth_getStorageAt
307
+ **/
308
+ getStorageAt: GenericRpcCall;
309
+ /**
310
+ * @rpcname: eth_getTransactionByBlockHashAndIndex
311
+ **/
312
+ getTransactionByBlockHashAndIndex: GenericRpcCall;
313
+ /**
314
+ * @rpcname: eth_getTransactionByBlockNumberAndIndex
315
+ **/
316
+ getTransactionByBlockNumberAndIndex: GenericRpcCall;
317
+ /**
318
+ * @rpcname: eth_getTransactionByHash
319
+ **/
320
+ getTransactionByHash: GenericRpcCall;
321
+ /**
322
+ * @rpcname: eth_getTransactionCount
323
+ **/
324
+ getTransactionCount: GenericRpcCall;
325
+ /**
326
+ * @rpcname: eth_getTransactionReceipt
327
+ **/
328
+ getTransactionReceipt: GenericRpcCall;
329
+ /**
330
+ * @rpcname: eth_getUncleByBlockHashAndIndex
331
+ **/
332
+ getUncleByBlockHashAndIndex: GenericRpcCall;
333
+ /**
334
+ * @rpcname: eth_getUncleByBlockNumberAndIndex
335
+ **/
336
+ getUncleByBlockNumberAndIndex: GenericRpcCall;
337
+ /**
338
+ * @rpcname: eth_getUncleCountByBlockHash
339
+ **/
340
+ getUncleCountByBlockHash: GenericRpcCall;
341
+ /**
342
+ * @rpcname: eth_getUncleCountByBlockNumber
343
+ **/
344
+ getUncleCountByBlockNumber: GenericRpcCall;
345
+ /**
346
+ * @rpcname: eth_getWork
347
+ **/
348
+ getWork: GenericRpcCall;
349
+ /**
350
+ * @rpcname: eth_hashrate
351
+ **/
352
+ hashrate: GenericRpcCall;
353
+ /**
354
+ * @rpcname: eth_maxPriorityFeePerGas
355
+ **/
356
+ maxPriorityFeePerGas: GenericRpcCall;
357
+ /**
358
+ * @rpcname: eth_mining
359
+ **/
360
+ mining: GenericRpcCall;
361
+ /**
362
+ * @rpcname: eth_newBlockFilter
363
+ **/
364
+ newBlockFilter: GenericRpcCall;
365
+ /**
366
+ * @rpcname: eth_newFilter
367
+ **/
368
+ newFilter: GenericRpcCall;
369
+ /**
370
+ * @rpcname: eth_newPendingTransactionFilter
371
+ **/
372
+ newPendingTransactionFilter: GenericRpcCall;
373
+ /**
374
+ * @rpcname: eth_protocolVersion
375
+ **/
376
+ protocolVersion: GenericRpcCall;
377
+ /**
378
+ * @rpcname: eth_sendRawTransaction
379
+ **/
380
+ sendRawTransaction: GenericRpcCall;
381
+ /**
382
+ * @rpcname: eth_sendTransaction
383
+ **/
384
+ sendTransaction: GenericRpcCall;
385
+ /**
386
+ * @rpcname: eth_submitHashrate
387
+ **/
388
+ submitHashrate: GenericRpcCall;
389
+ /**
390
+ * @rpcname: eth_submitWork
391
+ **/
392
+ submitWork: GenericRpcCall;
393
+ /**
394
+ * @rpcname: eth_subscribe
395
+ **/
396
+ subscribe: GenericRpcCall;
397
+ /**
398
+ * @rpcname: eth_syncing
399
+ **/
400
+ syncing: GenericRpcCall;
401
+ /**
402
+ * @rpcname: eth_uninstallFilter
403
+ **/
404
+ uninstallFilter: GenericRpcCall;
405
+ /**
406
+ * @rpcname: eth_unsubscribe
407
+ **/
408
+ unsubscribe: GenericRpcCall;
409
+ [method: string]: GenericRpcCall;
410
+ };
411
+ moon: {
412
+ /**
413
+ * @rpcname: moon_isBlockFinalized
414
+ **/
415
+ isBlockFinalized: GenericRpcCall;
416
+ /**
417
+ * @rpcname: moon_isTxFinalized
418
+ **/
419
+ isTxFinalized: GenericRpcCall;
420
+ [method: string]: GenericRpcCall;
421
+ };
422
+ net: {
423
+ /**
424
+ * @rpcname: net_listening
425
+ **/
426
+ listening: GenericRpcCall;
427
+ /**
428
+ * @rpcname: net_peerCount
429
+ **/
430
+ peerCount: GenericRpcCall;
431
+ /**
432
+ * @rpcname: net_version
433
+ **/
434
+ version: GenericRpcCall;
435
+ [method: string]: GenericRpcCall;
436
+ };
437
+ offchain: {
438
+ /**
439
+ * Get offchain local storage under given key and prefix.
440
+ *
441
+ * @rpcname: offchain_localStorageGet
442
+ * @param {StorageKind} kind
443
+ * @param {Bytes} key
444
+ **/
445
+ localStorageGet: GenericRpcCall<(kind: StorageKind, key: Bytes) => Promise<Option<Bytes>>>;
446
+ /**
447
+ * Set offchain local storage under given key and prefix.
448
+ *
449
+ * @rpcname: offchain_localStorageSet
450
+ * @param {StorageKind} kind
451
+ * @param {Bytes} key
452
+ * @param {Bytes} value
453
+ **/
454
+ localStorageSet: GenericRpcCall<(kind: StorageKind, key: Bytes, value: Bytes) => Promise<void>>;
455
+ [method: string]: GenericRpcCall;
456
+ };
457
+ payment: {
458
+ /**
459
+ * Query the detailed fee of a given encoded extrinsic
460
+ *
461
+ * @rpcname: payment_queryFeeDetails
462
+ * @param {Bytes} extrinsic
463
+ * @param {BlockHash} at
464
+ **/
465
+ queryFeeDetails: GenericRpcCall<(extrinsic: Bytes, at?: BlockHash) => Promise<FeeDetails>>;
466
+ /**
467
+ * Retrieves the fee information for an encoded extrinsic
468
+ *
469
+ * @rpcname: payment_queryInfo
470
+ * @param {Bytes} extrinsic
471
+ * @param {BlockHash} at
472
+ **/
473
+ queryInfo: GenericRpcCall<(extrinsic: Bytes, at?: BlockHash) => Promise<RuntimeDispatchInfo>>;
474
+ [method: string]: GenericRpcCall;
475
+ };
476
+ rpc: {
477
+ /**
478
+ * Retrieves the list of RPC methods that are exposed by the node
479
+ *
480
+ * @rpcname: rpc_methods
481
+ **/
482
+ methods: GenericRpcCall<() => Promise<RpcMethods>>;
483
+ [method: string]: GenericRpcCall;
484
+ };
485
+ state: {
486
+ /**
487
+ * Call a method from the runtime API at a block's state.
488
+ *
489
+ * @rpcname: state_call
490
+ * @param {string} method
491
+ * @param {Bytes} data
492
+ * @param {BlockHash} at
493
+ **/
494
+ call: GenericRpcCall<(method: string, data: Bytes, at?: BlockHash) => Promise<Bytes>>;
495
+ /**
496
+ * Returns proof of storage for child key entries at a specific block state.
497
+ *
498
+ * @rpcname: state_getChildReadProof
499
+ * @param {PrefixedStorageKey} childStorageKey
500
+ * @param {Array<StorageKey>} keys
501
+ * @param {BlockHash} at
502
+ **/
503
+ getChildReadProof: GenericRpcCall<(childStorageKey: PrefixedStorageKey, keys: Array<StorageKey>, at?: BlockHash) => Promise<ReadProof>>;
504
+ /**
505
+ * Returns the keys with prefix, leave empty to get all the keys.
506
+ *
507
+ * @rpcname: state_getKeys
508
+ * @deprecated: Please use `getKeysPaged` with proper paging support
509
+ * @param {StorageKey} prefix
510
+ * @param {BlockHash} at
511
+ **/
512
+ getKeys: GenericRpcCall<(prefix: StorageKey, at?: BlockHash) => Promise<Array<StorageKey>>>;
513
+ /**
514
+ * Returns the keys with prefix with pagination support. Up to `count` keys will be returned. If `start_key` is passed, return next keys in storage in lexicographic order.
515
+ *
516
+ * @rpcname: state_getKeysPaged
517
+ * @param {Option<StorageKey>} prefix
518
+ * @param {number} count
519
+ * @param {StorageKey} startKey
520
+ * @param {BlockHash} at
521
+ **/
522
+ getKeysPaged: GenericRpcCall<(prefix: Option<StorageKey>, count: number, startKey?: StorageKey, at?: BlockHash) => Promise<Array<StorageKey>>>;
523
+ /**
524
+ * Returns the runtime metadata
525
+ *
526
+ * @rpcname: state_getMetadata
527
+ * @param {BlockHash} at
528
+ **/
529
+ getMetadata: GenericRpcCall<(at?: BlockHash) => Promise<Metadata>>;
530
+ /**
531
+ * Returns the keys with prefix, leave empty to get all the keys
532
+ *
533
+ * @rpcname: state_getPairs
534
+ * @deprecated: Please use `getKeysPaged` with proper paging support
535
+ * @param {StorageKey} prefix
536
+ * @param {BlockHash} at
537
+ **/
538
+ getPairs: GenericRpcCall<(prefix: StorageKey, at?: BlockHash) => Promise<Array<[StorageKey, StorageData]>>>;
539
+ /**
540
+ * Returns proof of storage entries at a specific block's state.
541
+ *
542
+ * @rpcname: state_getReadProof
543
+ * @param {Array<StorageKey>} keys
544
+ * @param {BlockHash} at
545
+ **/
546
+ getReadProof: GenericRpcCall<(keys: Array<StorageKey>, at?: BlockHash) => Promise<ReadProof>>;
547
+ /**
548
+ * Get the runtime version.
549
+ *
550
+ * @rpcname: state_getRuntimeVersion
551
+ **/
552
+ getRuntimeVersion: GenericRpcCall<() => Promise<RuntimeVersion>>;
553
+ /**
554
+ * Returns a storage entry at a specific block's state.
555
+ *
556
+ * @rpcname: state_getStorage
557
+ * @param {StorageKey} key
558
+ * @param {BlockHash} at
559
+ **/
560
+ getStorage: GenericRpcCall<(key: StorageKey, at?: BlockHash) => Promise<Option<StorageData>>>;
561
+ /**
562
+ * Returns the hash of a storage entry at a block's state.
563
+ *
564
+ * @rpcname: state_getStorageHash
565
+ * @param {StorageKey} key
566
+ * @param {BlockHash} at
567
+ **/
568
+ getStorageHash: GenericRpcCall<(key: StorageKey, at?: BlockHash) => Promise<Option<Hash>>>;
569
+ /**
570
+ * Returns the hash of a storage entry at a block's state.
571
+ *
572
+ * @rpcname: state_getStorageSize
573
+ * @param {StorageKey} key
574
+ * @param {BlockHash} at
575
+ **/
576
+ getStorageSize: GenericRpcCall<(key: StorageKey, at?: BlockHash) => Promise<Option<bigint>>>;
577
+ /**
578
+ * Query historical storage entries (by key) starting from a block given as the second parameter. NOTE: The first returned result contains the initial state of storage for all keys. Subsequent values in the vector represent changes to the previous state (diffs). WARNING: The time complexity of this query is O(|keys|*dist(block, hash)), and the memory complexity is O(dist(block, hash)) -- use with caution.
579
+ *
580
+ * @rpcname: state_queryStorage
581
+ * @param {Array<StorageKey>} keys
582
+ * @param {Hash} fromBlock
583
+ * @param {BlockHash} at
584
+ **/
585
+ queryStorage: GenericRpcCall<(keys: Array<StorageKey>, fromBlock: Hash, at?: BlockHash) => Promise<Array<StorageChangeSet>>>;
586
+ /**
587
+ * Query storage entries (by key) at a block hash given as the second parameter. NOTE: Each StorageChangeSet in the result corresponds to exactly one element -- the storage value under an input key at the input block hash.
588
+ *
589
+ * @rpcname: state_queryStorageAt
590
+ * @param {Array<StorageKey>} keys
591
+ * @param {BlockHash} at
592
+ **/
593
+ queryStorageAt: GenericRpcCall<(keys: Array<StorageKey>, at?: BlockHash) => Promise<Array<StorageChangeSet>>>;
594
+ /**
595
+ * New runtime version subscription
596
+ *
597
+ * @pubsub: state_runtimeVersion, state_subscribeRuntimeVersion, state_unsubscribeRuntimeVersion
598
+ **/
599
+ subscribeRuntimeVersion: GenericRpcCall<(callback: Callback<RuntimeVersion>) => Promise<Unsub>>;
600
+ /**
601
+ * Subscribes to storage changes for the provided keys
602
+ *
603
+ * @pubsub: state_storage, state_subscribeStorage, state_unsubscribeStorage
604
+ * @param {Array<StorageKey>} keys
605
+ **/
606
+ subscribeStorage: GenericRpcCall<(keys: Array<StorageKey>, callback: Callback<StorageChangeSet>) => Promise<Unsub>>;
607
+ /**
608
+ * The `traceBlock` RPC provides a way to trace the re-execution of a single block, collecting Spans and Events from both the client and the relevant WASM runtime.
609
+ *
610
+ * @rpcname: state_traceBlock
611
+ * @param {Hash} block
612
+ * @param {Option<string>} targets
613
+ * @param {Option<string>} storage_keys
614
+ * @param {Option<string>} methods
615
+ **/
616
+ traceBlock: GenericRpcCall<(block: Hash, targets: Option<string>, storage_keys: Option<string>, methods: Option<string>) => Promise<TraceBlockResponse>>;
617
+ [method: string]: GenericRpcCall;
618
+ };
619
+ system: {
620
+ /**
621
+ * Returns the next valid index (aka nonce) for given account.
622
+ *
623
+ * This method takes into consideration all pending transactions
624
+ * currently in the pool and if no transactions are found in the pool
625
+ * it fallbacks to query the index from the runtime (aka. state nonce).
626
+ *
627
+ * @rpcname: system_accountNextIndex
628
+ * @param {string} address
629
+ **/
630
+ accountNextIndex: GenericRpcCall<(address: string) => Promise<number>>;
631
+ /**
632
+ * Adds the supplied directives to the current log filter
633
+ *
634
+ * The syntax is identical to the CLI `<target>=<level>`:
635
+ *
636
+ * `sync=debug,state=trace`
637
+ *
638
+ * @rpcname: system_addLogFilter
639
+ * @param {string} directives
640
+ **/
641
+ addLogFilter: GenericRpcCall<(directives: string) => Promise<void>>;
642
+ /**
643
+ * Adds a reserved peer. Returns the empty string or an error. The string
644
+ * parameter should encode a `p2p` multiaddr.
645
+ *
646
+ * `/ip4/198.51.100.19/tcp/30333/p2p/QmSk5HQbn6LhUwDiNMseVUjuRYhEtYj4aUZ6WfWoGURpdV`
647
+ * is an example of a valid, passing multiaddr with PeerId attached.
648
+ *
649
+ * @rpcname: system_addReservedPeer
650
+ * @param {string} peer
651
+ **/
652
+ addReservedPeer: GenericRpcCall<(peer: string) => Promise<void>>;
653
+ /**
654
+ * Get the chain's name. Given as a string identifier.
655
+ *
656
+ * @rpcname: system_chain
657
+ **/
658
+ chain: GenericRpcCall<() => Promise<string>>;
659
+ /**
660
+ * Get the chain's type.
661
+ *
662
+ * @rpcname: system_chainType
663
+ **/
664
+ chainType: GenericRpcCall<() => Promise<ChainType>>;
665
+ /**
666
+ * Dry run an extrinsic at a given block. Return SCALE encoded ApplyExtrinsicResult.
667
+ *
668
+ * @rpcname: system_dryRun
669
+ * @param {Bytes} extrinsic
670
+ * @param {BlockHash} at
671
+ **/
672
+ dryRun: GenericRpcCall<(extrinsic: Bytes, at?: BlockHash) => Promise<ApplyExtrinsicResult>>;
673
+ /**
674
+ * Return health status of the node.
675
+ *
676
+ * Node is considered healthy if it is:
677
+ * - connected to some peers (unless running in dev mode)
678
+ * - not performing a major sync
679
+ *
680
+ * @rpcname: system_health
681
+ **/
682
+ health: GenericRpcCall<() => Promise<Health>>;
683
+ /**
684
+ * Returns the multi-addresses that the local node is listening on
685
+ *
686
+ * The addresses include a trailing `/p2p/` with the local PeerId, and are thus suitable to
687
+ * be passed to `addReservedPeer` or as a bootnode address for example.
688
+ *
689
+ * @rpcname: system_localListenAddresses
690
+ **/
691
+ localListenAddresses: GenericRpcCall<() => Promise<Array<string>>>;
692
+ /**
693
+ * Returns the base58-encoded PeerId of the node.
694
+ *
695
+ * @rpcname: system_localPeerId
696
+ **/
697
+ localPeerId: GenericRpcCall<() => Promise<string>>;
698
+ /**
699
+ * Get the node's implementation name. Plain old string.
700
+ *
701
+ * @rpcname: system_name
702
+ **/
703
+ name: GenericRpcCall<() => Promise<string>>;
704
+ /**
705
+ * Returns the roles the node is running as
706
+ *
707
+ * @rpcname: system_nodeRoles
708
+ **/
709
+ nodeRoles: GenericRpcCall<() => Promise<Array<NodeRole>>>;
710
+ /**
711
+ * Returns the currently connected peers
712
+ *
713
+ * @rpcname: system_peers
714
+ **/
715
+ peers: GenericRpcCall<() => Promise<Array<PeerInfo>>>;
716
+ /**
717
+ * Get a custom set of properties as a JSON object, defined in the chain spec.
718
+ *
719
+ * @rpcname: system_properties
720
+ **/
721
+ properties: GenericRpcCall<() => Promise<ChainProperties>>;
722
+ /**
723
+ * Remove a reserved peer. Returns the empty string or an error. The string
724
+ * should encode only the PeerId e.g. `QmSk5HQbn6LhUwDiNMseVUjuRYhEtYj4aUZ6WfWoGURpdV`.
725
+ *
726
+ * @rpcname: system_removeReservedPeer
727
+ * @param {string} peerId
728
+ **/
729
+ removeReservedPeer: GenericRpcCall<(peerId: string) => Promise<void>>;
730
+ /**
731
+ * Returns the list of reserved peers
732
+ *
733
+ * @rpcname: system_reservedPeers
734
+ **/
735
+ reservedPeers: GenericRpcCall<() => Promise<Array<string>>>;
736
+ /**
737
+ * Resets the log filter to Substrate defaults
738
+ *
739
+ * @rpcname: system_resetLogFilter
740
+ **/
741
+ resetLogFilter: GenericRpcCall<() => Promise<void>>;
742
+ /**
743
+ * Returns the state of the syncing of the node: starting block, current best block, highest known block.
744
+ *
745
+ * @rpcname: system_syncState
746
+ **/
747
+ syncState: GenericRpcCall<() => Promise<SyncState>>;
748
+ /**
749
+ * Returns current state of the network.
750
+ *
751
+ * **Warning**: This API is not stable. Please do not programmatically interpret its output,
752
+ * as its format might change at any time.
753
+ *
754
+ * @rpcname: system_unstable_networkState
755
+ **/
756
+ unstable_networkState: GenericRpcCall<() => Promise<NetworkState>>;
757
+ /**
758
+ * Get the node implementation's version. Should be a semver string.
759
+ *
760
+ * @rpcname: system_version
761
+ **/
762
+ version: GenericRpcCall<() => Promise<string>>;
763
+ [method: string]: GenericRpcCall;
764
+ };
765
+ trace: {
766
+ /**
767
+ * @rpcname: trace_filter
768
+ **/
769
+ filter: GenericRpcCall;
770
+ [method: string]: GenericRpcCall;
771
+ };
772
+ transaction: {
773
+ /**
774
+ * @rpcname: transaction_unstable_submitAndWatch
775
+ **/
776
+ unstable_submitAndWatch: GenericRpcCall;
777
+ /**
778
+ * @rpcname: transaction_unstable_unwatch
779
+ **/
780
+ unstable_unwatch: GenericRpcCall;
781
+ [method: string]: GenericRpcCall;
782
+ };
783
+ txpool: {
784
+ /**
785
+ * @rpcname: txpool_content
786
+ **/
787
+ content: GenericRpcCall;
788
+ /**
789
+ * @rpcname: txpool_inspect
790
+ **/
791
+ inspect: GenericRpcCall;
792
+ /**
793
+ * @rpcname: txpool_status
794
+ **/
795
+ status: GenericRpcCall;
796
+ [method: string]: GenericRpcCall;
797
+ };
798
+ web3: {
799
+ /**
800
+ * @rpcname: web3_clientVersion
801
+ **/
802
+ clientVersion: GenericRpcCall;
803
+ /**
804
+ * @rpcname: web3_sha3
805
+ **/
806
+ sha3: GenericRpcCall;
807
+ [method: string]: GenericRpcCall;
808
+ };
809
+ }