@dedot/chaintypes 0.193.0 → 0.195.0

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 (187) hide show
  1. package/aleph/consts.d.ts +2 -2
  2. package/aleph/errors.d.ts +228 -228
  3. package/aleph/events.d.ts +122 -226
  4. package/aleph/index.d.ts +13 -17
  5. package/aleph/json-rpc.d.ts +3 -3
  6. package/aleph/query.d.ts +171 -207
  7. package/aleph/runtime.d.ts +47 -63
  8. package/aleph/tx.d.ts +377 -550
  9. package/aleph/view-functions.d.ts +2 -2
  10. package/astar/consts.d.ts +2 -2
  11. package/astar/errors.d.ts +431 -431
  12. package/astar/events.d.ts +232 -401
  13. package/astar/index.d.ts +13 -17
  14. package/astar/json-rpc.d.ts +3 -3
  15. package/astar/query.d.ts +243 -289
  16. package/astar/runtime.d.ts +59 -87
  17. package/astar/tx.d.ts +671 -980
  18. package/astar/view-functions.d.ts +2 -2
  19. package/basilisk/consts.d.ts +2 -2
  20. package/basilisk/errors.d.ts +489 -489
  21. package/basilisk/events.d.ts +187 -408
  22. package/basilisk/index.d.ts +13 -17
  23. package/basilisk/json-rpc.d.ts +3 -3
  24. package/basilisk/query.d.ts +213 -272
  25. package/basilisk/runtime.d.ts +27 -28
  26. package/basilisk/tx.d.ts +579 -842
  27. package/basilisk/view-functions.d.ts +2 -2
  28. package/hydration/consts.d.ts +47 -14
  29. package/hydration/errors.d.ts +827 -737
  30. package/hydration/events.d.ts +639 -527
  31. package/hydration/index.d.ts +14 -18
  32. package/hydration/json-rpc.d.ts +3 -3
  33. package/hydration/query.d.ts +530 -396
  34. package/hydration/runtime.d.ts +181 -89
  35. package/hydration/tx.d.ts +1130 -1167
  36. package/hydration/types.d.ts +889 -42
  37. package/hydration/view-functions.d.ts +2 -2
  38. package/kusama/consts.d.ts +2 -2
  39. package/kusama/errors.d.ts +571 -571
  40. package/kusama/events.d.ts +216 -477
  41. package/kusama/index.d.ts +13 -17
  42. package/kusama/json-rpc.d.ts +3 -3
  43. package/kusama/query.d.ts +360 -502
  44. package/kusama/runtime.d.ts +82 -131
  45. package/kusama/tx.d.ts +851 -1246
  46. package/kusama/view-functions.d.ts +7 -12
  47. package/kusama-asset-hub/consts.d.ts +2 -2
  48. package/kusama-asset-hub/errors.d.ts +653 -653
  49. package/kusama-asset-hub/events.d.ts +286 -629
  50. package/kusama-asset-hub/index.d.ts +14 -17
  51. package/kusama-asset-hub/json-rpc.d.ts +3 -3
  52. package/kusama-asset-hub/query.d.ts +316 -448
  53. package/kusama-asset-hub/runtime.d.ts +74 -111
  54. package/kusama-asset-hub/tx.d.ts +1059 -1558
  55. package/kusama-asset-hub/view-functions.d.ts +7 -9
  56. package/kusama-people/consts.d.ts +2 -2
  57. package/kusama-people/errors.d.ts +160 -160
  58. package/kusama-people/events.d.ts +89 -176
  59. package/kusama-people/index.d.ts +13 -17
  60. package/kusama-people/json-rpc.d.ts +3 -3
  61. package/kusama-people/query.d.ts +114 -145
  62. package/kusama-people/runtime.d.ts +45 -65
  63. package/kusama-people/tx.d.ts +246 -356
  64. package/kusama-people/view-functions.d.ts +3 -5
  65. package/moonbeam/consts.d.ts +2 -2
  66. package/moonbeam/errors.d.ts +478 -478
  67. package/moonbeam/events.d.ts +182 -426
  68. package/moonbeam/index.d.ts +13 -17
  69. package/moonbeam/json-rpc.d.ts +11 -3
  70. package/moonbeam/query.d.ts +234 -294
  71. package/moonbeam/runtime.d.ts +61 -89
  72. package/moonbeam/tx.d.ts +618 -901
  73. package/moonbeam/view-functions.d.ts +2 -2
  74. package/package.json +6 -3
  75. package/paseo/consts.d.ts +2 -2
  76. package/paseo/errors.d.ts +513 -513
  77. package/paseo/events.d.ts +197 -430
  78. package/paseo/index.d.ts +14 -18
  79. package/paseo/json-rpc.d.ts +3 -3
  80. package/paseo/query.d.ts +329 -450
  81. package/paseo/runtime.d.ts +107 -131
  82. package/paseo/tx.d.ts +787 -1151
  83. package/paseo/types.d.ts +7 -0
  84. package/paseo/view-functions.d.ts +7 -12
  85. package/paseo-asset-hub/consts.d.ts +2 -2
  86. package/paseo-asset-hub/errors.d.ts +605 -605
  87. package/paseo-asset-hub/events.d.ts +268 -600
  88. package/paseo-asset-hub/index.d.ts +15 -18
  89. package/paseo-asset-hub/json-rpc.d.ts +3 -3
  90. package/paseo-asset-hub/query.d.ts +293 -413
  91. package/paseo-asset-hub/runtime.d.ts +96 -104
  92. package/paseo-asset-hub/tx.d.ts +997 -1466
  93. package/paseo-asset-hub/types.d.ts +7 -0
  94. package/paseo-asset-hub/view-functions.d.ts +7 -9
  95. package/paseo-hydration/consts.d.ts +13 -3
  96. package/paseo-hydration/errors.d.ts +756 -745
  97. package/paseo-hydration/events.d.ts +277 -554
  98. package/paseo-hydration/index.d.ts +14 -18
  99. package/paseo-hydration/json-rpc.d.ts +3 -3
  100. package/paseo-hydration/query.d.ts +321 -411
  101. package/paseo-hydration/runtime.d.ts +95 -106
  102. package/paseo-hydration/tx.d.ts +923 -1226
  103. package/paseo-hydration/types.d.ts +91 -50
  104. package/paseo-hydration/view-functions.d.ts +2 -2
  105. package/paseo-people/consts.d.ts +2 -2
  106. package/paseo-people/errors.d.ts +162 -162
  107. package/paseo-people/events.d.ts +91 -181
  108. package/paseo-people/index.d.ts +14 -18
  109. package/paseo-people/json-rpc.d.ts +3 -3
  110. package/paseo-people/query.d.ts +116 -143
  111. package/paseo-people/runtime.d.ts +70 -65
  112. package/paseo-people/tx.d.ts +257 -372
  113. package/paseo-people/types.d.ts +7 -0
  114. package/paseo-people/view-functions.d.ts +3 -5
  115. package/polkadot/consts.d.ts +2 -2
  116. package/polkadot/errors.d.ts +501 -501
  117. package/polkadot/events.d.ts +195 -426
  118. package/polkadot/index.d.ts +13 -17
  119. package/polkadot/json-rpc.d.ts +3 -3
  120. package/polkadot/query.d.ts +329 -450
  121. package/polkadot/runtime.d.ts +83 -133
  122. package/polkadot/tx.d.ts +765 -1119
  123. package/polkadot/view-functions.d.ts +7 -12
  124. package/polkadot-asset-hub/consts.d.ts +2 -2
  125. package/polkadot-asset-hub/errors.d.ts +554 -554
  126. package/polkadot-asset-hub/events.d.ts +261 -585
  127. package/polkadot-asset-hub/index.d.ts +14 -17
  128. package/polkadot-asset-hub/json-rpc.d.ts +3 -3
  129. package/polkadot-asset-hub/query.d.ts +279 -396
  130. package/polkadot-asset-hub/runtime.d.ts +65 -93
  131. package/polkadot-asset-hub/tx.d.ts +952 -1400
  132. package/polkadot-asset-hub/view-functions.d.ts +7 -9
  133. package/polkadot-people/consts.d.ts +2 -2
  134. package/polkadot-people/errors.d.ts +160 -160
  135. package/polkadot-people/events.d.ts +89 -176
  136. package/polkadot-people/index.d.ts +13 -17
  137. package/polkadot-people/json-rpc.d.ts +3 -3
  138. package/polkadot-people/query.d.ts +114 -145
  139. package/polkadot-people/runtime.d.ts +46 -67
  140. package/polkadot-people/tx.d.ts +246 -356
  141. package/polkadot-people/view-functions.d.ts +3 -5
  142. package/substrate/consts.d.ts +2 -2
  143. package/substrate/errors.d.ts +909 -909
  144. package/substrate/events.d.ts +389 -794
  145. package/substrate/index.d.ts +14 -17
  146. package/substrate/json-rpc.d.ts +3 -3
  147. package/substrate/query.d.ts +458 -572
  148. package/substrate/runtime.d.ts +82 -126
  149. package/substrate/tx.d.ts +1317 -1936
  150. package/substrate/view-functions.d.ts +2 -2
  151. package/vara/consts.d.ts +9 -37
  152. package/vara/errors.d.ts +402 -382
  153. package/vara/events.d.ts +172 -310
  154. package/vara/index.d.ts +14 -18
  155. package/vara/json-rpc.d.ts +7 -3
  156. package/vara/query.d.ts +299 -331
  157. package/vara/runtime.d.ts +61 -79
  158. package/vara/tx.d.ts +573 -754
  159. package/vara/types.d.ts +71 -26
  160. package/vara/view-functions.d.ts +2 -2
  161. package/westend/consts.d.ts +2 -2
  162. package/westend/errors.d.ts +532 -532
  163. package/westend/events.d.ts +205 -462
  164. package/westend/index.d.ts +13 -17
  165. package/westend/json-rpc.d.ts +3 -4
  166. package/westend/query.d.ts +312 -434
  167. package/westend/runtime.d.ts +83 -135
  168. package/westend/tx.d.ts +807 -1179
  169. package/westend/view-functions.d.ts +7 -12
  170. package/westend-asset-hub/consts.d.ts +2 -2
  171. package/westend-asset-hub/errors.d.ts +605 -605
  172. package/westend-asset-hub/events.d.ts +265 -614
  173. package/westend-asset-hub/index.d.ts +14 -17
  174. package/westend-asset-hub/json-rpc.d.ts +3 -3
  175. package/westend-asset-hub/query.d.ts +293 -418
  176. package/westend-asset-hub/runtime.d.ts +83 -123
  177. package/westend-asset-hub/tx.d.ts +918 -1348
  178. package/westend-asset-hub/view-functions.d.ts +8 -13
  179. package/westend-people/consts.d.ts +2 -2
  180. package/westend-people/errors.d.ts +160 -160
  181. package/westend-people/events.d.ts +93 -186
  182. package/westend-people/index.d.ts +13 -17
  183. package/westend-people/json-rpc.d.ts +3 -3
  184. package/westend-people/query.d.ts +114 -145
  185. package/westend-people/runtime.d.ts +46 -67
  186. package/westend-people/tx.d.ts +251 -363
  187. package/westend-people/view-functions.d.ts +3 -5
@@ -1,6 +1,6 @@
1
1
  // Generated by dedot cli
2
2
 
3
- import type { GenericRuntimeApis, GenericRuntimeApiMethod, RpcVersion } from 'dedot/types';
3
+ import type { GenericRuntimeApis, GenericRuntimeApiMethod } from 'dedot/types';
4
4
  import type {
5
5
  RuntimeVersion,
6
6
  Header,
@@ -64,7 +64,7 @@ import type {
64
64
  CumulusPalletParachainSystemRelayChainState,
65
65
  } from './types.js';
66
66
 
67
- export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<Rv> {
67
+ export interface RuntimeApis extends GenericRuntimeApis {
68
68
  /**
69
69
  * @runtimeapi: Core - 0xdf6acb689907609b
70
70
  **/
@@ -74,7 +74,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
74
74
  *
75
75
  * @callname: Core_version
76
76
  **/
77
- version: GenericRuntimeApiMethod<Rv, () => Promise<RuntimeVersion>>;
77
+ version: GenericRuntimeApiMethod<() => Promise<RuntimeVersion>>;
78
78
 
79
79
  /**
80
80
  * Execute the given block.
@@ -82,7 +82,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
82
82
  * @callname: Core_execute_block
83
83
  * @param {SpRuntimeBlock} block
84
84
  **/
85
- executeBlock: GenericRuntimeApiMethod<Rv, (block: SpRuntimeBlock) => Promise<[]>>;
85
+ executeBlock: GenericRuntimeApiMethod<(block: SpRuntimeBlock) => Promise<[]>>;
86
86
 
87
87
  /**
88
88
  * Initialize a block with the given header and return the runtime executive mode.
@@ -90,12 +90,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
90
90
  * @callname: Core_initialize_block
91
91
  * @param {Header} header
92
92
  **/
93
- initializeBlock: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<SpRuntimeExtrinsicInclusionMode>>;
93
+ initializeBlock: GenericRuntimeApiMethod<(header: Header) => Promise<SpRuntimeExtrinsicInclusionMode>>;
94
94
 
95
95
  /**
96
96
  * Generic runtime api call
97
97
  **/
98
- [method: string]: GenericRuntimeApiMethod<Rv>;
98
+ [method: string]: GenericRuntimeApiMethod;
99
99
  };
100
100
  /**
101
101
  * @runtimeapi: Metadata - 0x37e397fc7c91f5e4
@@ -106,7 +106,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
106
106
  *
107
107
  * @callname: Metadata_metadata
108
108
  **/
109
- metadata: GenericRuntimeApiMethod<Rv, () => Promise<SpCoreOpaqueMetadata>>;
109
+ metadata: GenericRuntimeApiMethod<() => Promise<SpCoreOpaqueMetadata>>;
110
110
 
111
111
  /**
112
112
  * Returns the metadata at a given version.
@@ -117,7 +117,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
117
117
  * @callname: Metadata_metadata_at_version
118
118
  * @param {number} version
119
119
  **/
120
- metadataAtVersion: GenericRuntimeApiMethod<Rv, (version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
120
+ metadataAtVersion: GenericRuntimeApiMethod<(version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
121
121
 
122
122
  /**
123
123
  * Returns the supported metadata versions.
@@ -126,12 +126,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
126
126
  *
127
127
  * @callname: Metadata_metadata_versions
128
128
  **/
129
- metadataVersions: GenericRuntimeApiMethod<Rv, () => Promise<Array<number>>>;
129
+ metadataVersions: GenericRuntimeApiMethod<() => Promise<Array<number>>>;
130
130
 
131
131
  /**
132
132
  * Generic runtime api call
133
133
  **/
134
- [method: string]: GenericRuntimeApiMethod<Rv>;
134
+ [method: string]: GenericRuntimeApiMethod;
135
135
  };
136
136
  /**
137
137
  * @runtimeapi: BlockBuilder - 0x40fe3ad401f8959a
@@ -147,7 +147,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
147
147
  * @param {FpSelfContainedUncheckedExtrinsic} extrinsic
148
148
  **/
149
149
  applyExtrinsic: GenericRuntimeApiMethod<
150
- Rv,
151
150
  (
152
151
  extrinsic: FpSelfContainedUncheckedExtrinsic,
153
152
  ) => Promise<Result<Result<[], DispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>
@@ -158,7 +157,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
158
157
  *
159
158
  * @callname: BlockBuilder_finalize_block
160
159
  **/
161
- finalizeBlock: GenericRuntimeApiMethod<Rv, () => Promise<Header>>;
160
+ finalizeBlock: GenericRuntimeApiMethod<() => Promise<Header>>;
162
161
 
163
162
  /**
164
163
  * Generate inherent extrinsics. The inherent data will vary from chain to chain.
@@ -167,7 +166,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
167
166
  * @param {SpInherentsInherentData} inherent
168
167
  **/
169
168
  inherentExtrinsics: GenericRuntimeApiMethod<
170
- Rv,
171
169
  (inherent: SpInherentsInherentData) => Promise<Array<FpSelfContainedUncheckedExtrinsic>>
172
170
  >;
173
171
 
@@ -179,14 +177,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
179
177
  * @param {SpInherentsInherentData} data
180
178
  **/
181
179
  checkInherents: GenericRuntimeApiMethod<
182
- Rv,
183
180
  (block: SpRuntimeBlock, data: SpInherentsInherentData) => Promise<SpInherentsCheckInherentsResult>
184
181
  >;
185
182
 
186
183
  /**
187
184
  * Generic runtime api call
188
185
  **/
189
- [method: string]: GenericRuntimeApiMethod<Rv>;
186
+ [method: string]: GenericRuntimeApiMethod;
190
187
  };
191
188
  /**
192
189
  * @runtimeapi: TaggedTransactionQueue - 0xd2bc9897eed08f15
@@ -209,7 +206,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
209
206
  * @param {H256} block_hash
210
207
  **/
211
208
  validateTransaction: GenericRuntimeApiMethod<
212
- Rv,
213
209
  (
214
210
  source: SpRuntimeTransactionValidityTransactionSource,
215
211
  tx: FpSelfContainedUncheckedExtrinsic,
@@ -222,7 +218,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
222
218
  /**
223
219
  * Generic runtime api call
224
220
  **/
225
- [method: string]: GenericRuntimeApiMethod<Rv>;
221
+ [method: string]: GenericRuntimeApiMethod;
226
222
  };
227
223
  /**
228
224
  * @runtimeapi: OffchainWorkerApi - 0xf78b278be53f454c
@@ -234,12 +230,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
234
230
  * @callname: OffchainWorkerApi_offchain_worker
235
231
  * @param {Header} header
236
232
  **/
237
- offchainWorker: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<[]>>;
233
+ offchainWorker: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
238
234
 
239
235
  /**
240
236
  * Generic runtime api call
241
237
  **/
242
- [method: string]: GenericRuntimeApiMethod<Rv>;
238
+ [method: string]: GenericRuntimeApiMethod;
243
239
  };
244
240
  /**
245
241
  * @runtimeapi: SessionKeys - 0xab3c0572291feb8b
@@ -257,7 +253,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
257
253
  * @callname: SessionKeys_generate_session_keys
258
254
  * @param {BytesLike | undefined} seed
259
255
  **/
260
- generateSessionKeys: GenericRuntimeApiMethod<Rv, (seed?: BytesLike | undefined) => Promise<Bytes>>;
256
+ generateSessionKeys: GenericRuntimeApiMethod<(seed?: BytesLike | undefined) => Promise<Bytes>>;
261
257
 
262
258
  /**
263
259
  * Decode the given public session keys.
@@ -268,14 +264,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
268
264
  * @param {BytesLike} encoded
269
265
  **/
270
266
  decodeSessionKeys: GenericRuntimeApiMethod<
271
- Rv,
272
267
  (encoded: BytesLike) => Promise<Array<[Bytes, SpCoreCryptoKeyTypeId]> | undefined>
273
268
  >;
274
269
 
275
270
  /**
276
271
  * Generic runtime api call
277
272
  **/
278
- [method: string]: GenericRuntimeApiMethod<Rv>;
273
+ [method: string]: GenericRuntimeApiMethod;
279
274
  };
280
275
  /**
281
276
  * @runtimeapi: AuraApi - 0xdd718d5cc53262d4
@@ -288,19 +283,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
288
283
  *
289
284
  * @callname: AuraApi_slot_duration
290
285
  **/
291
- slotDuration: GenericRuntimeApiMethod<Rv, () => Promise<SpConsensusSlotsSlotDuration>>;
286
+ slotDuration: GenericRuntimeApiMethod<() => Promise<SpConsensusSlotsSlotDuration>>;
292
287
 
293
288
  /**
294
289
  * Return the current set of authorities.
295
290
  *
296
291
  * @callname: AuraApi_authorities
297
292
  **/
298
- authorities: GenericRuntimeApiMethod<Rv, () => Promise<Array<SpConsensusAuraSr25519AppSr25519Public>>>;
293
+ authorities: GenericRuntimeApiMethod<() => Promise<Array<SpConsensusAuraSr25519AppSr25519Public>>>;
299
294
 
300
295
  /**
301
296
  * Generic runtime api call
302
297
  **/
303
- [method: string]: GenericRuntimeApiMethod<Rv>;
298
+ [method: string]: GenericRuntimeApiMethod;
304
299
  };
305
300
  /**
306
301
  * @runtimeapi: CollectCollationInfo - 0xea93e3f16f3d6962
@@ -315,12 +310,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
315
310
  * @callname: CollectCollationInfo_collect_collation_info
316
311
  * @param {Header} header
317
312
  **/
318
- collectCollationInfo: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<CumulusPrimitivesCoreCollationInfo>>;
313
+ collectCollationInfo: GenericRuntimeApiMethod<(header: Header) => Promise<CumulusPrimitivesCoreCollationInfo>>;
319
314
 
320
315
  /**
321
316
  * Generic runtime api call
322
317
  **/
323
- [method: string]: GenericRuntimeApiMethod<Rv>;
318
+ [method: string]: GenericRuntimeApiMethod;
324
319
  };
325
320
  /**
326
321
  * @runtimeapi: CurrenciesApi - 0x9af86751b70c112d
@@ -333,7 +328,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
333
328
  * @param {AccountId32Like} who
334
329
  **/
335
330
  account: GenericRuntimeApiMethod<
336
- Rv,
337
331
  (assetId: number, who: AccountId32Like) => Promise<PalletCurrenciesRpcRuntimeApiAccountData>
338
332
  >;
339
333
 
@@ -343,7 +337,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
343
337
  * @param {AccountId32Like} who
344
338
  **/
345
339
  accounts: GenericRuntimeApiMethod<
346
- Rv,
347
340
  (who: AccountId32Like) => Promise<Array<[number, PalletCurrenciesRpcRuntimeApiAccountData]>>
348
341
  >;
349
342
 
@@ -353,19 +346,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
353
346
  * @param {number} asset_id
354
347
  * @param {AccountId32Like} who
355
348
  **/
356
- freeBalance: GenericRuntimeApiMethod<Rv, (assetId: number, who: AccountId32Like) => Promise<bigint>>;
349
+ freeBalance: GenericRuntimeApiMethod<(assetId: number, who: AccountId32Like) => Promise<bigint>>;
357
350
 
358
351
  /**
359
352
  *
360
353
  * @callname: CurrenciesApi_minimum_balance
361
354
  * @param {number} asset_id
362
355
  **/
363
- minimumBalance: GenericRuntimeApiMethod<Rv, (assetId: number) => Promise<bigint>>;
356
+ minimumBalance: GenericRuntimeApiMethod<(assetId: number) => Promise<bigint>>;
364
357
 
365
358
  /**
366
359
  * Generic runtime api call
367
360
  **/
368
- [method: string]: GenericRuntimeApiMethod<Rv>;
361
+ [method: string]: GenericRuntimeApiMethod;
369
362
  };
370
363
  /**
371
364
  * @runtimeapi: AccountNonceApi - 0xbc9d89904f5b923f
@@ -377,12 +370,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
377
370
  * @callname: AccountNonceApi_account_nonce
378
371
  * @param {AccountId32Like} account
379
372
  **/
380
- accountNonce: GenericRuntimeApiMethod<Rv, (account: AccountId32Like) => Promise<number>>;
373
+ accountNonce: GenericRuntimeApiMethod<(account: AccountId32Like) => Promise<number>>;
381
374
 
382
375
  /**
383
376
  * Generic runtime api call
384
377
  **/
385
- [method: string]: GenericRuntimeApiMethod<Rv>;
378
+ [method: string]: GenericRuntimeApiMethod;
386
379
  };
387
380
  /**
388
381
  * @runtimeapi: TransactionPaymentApi - 0x37c8bb1350a9a2a8
@@ -395,7 +388,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
395
388
  * @param {number} len
396
389
  **/
397
390
  queryInfo: GenericRuntimeApiMethod<
398
- Rv,
399
391
  (uxt: FpSelfContainedUncheckedExtrinsic, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
400
392
  >;
401
393
 
@@ -406,7 +398,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
406
398
  * @param {number} len
407
399
  **/
408
400
  queryFeeDetails: GenericRuntimeApiMethod<
409
- Rv,
410
401
  (uxt: FpSelfContainedUncheckedExtrinsic, len: number) => Promise<PalletTransactionPaymentFeeDetails>
411
402
  >;
412
403
 
@@ -415,19 +406,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
415
406
  * @callname: TransactionPaymentApi_query_weight_to_fee
416
407
  * @param {SpWeightsWeightV2Weight} weight
417
408
  **/
418
- queryWeightToFee: GenericRuntimeApiMethod<Rv, (weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
409
+ queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
419
410
 
420
411
  /**
421
412
  *
422
413
  * @callname: TransactionPaymentApi_query_length_to_fee
423
414
  * @param {number} length
424
415
  **/
425
- queryLengthToFee: GenericRuntimeApiMethod<Rv, (length: number) => Promise<bigint>>;
416
+ queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
426
417
 
427
418
  /**
428
419
  * Generic runtime api call
429
420
  **/
430
- [method: string]: GenericRuntimeApiMethod<Rv>;
421
+ [method: string]: GenericRuntimeApiMethod;
431
422
  };
432
423
  /**
433
424
  * @runtimeapi: EthereumRuntimeRPCApi - 0x582211f65bb14b89
@@ -438,7 +429,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
438
429
  *
439
430
  * @callname: EthereumRuntimeRPCApi_chain_id
440
431
  **/
441
- chainId: GenericRuntimeApiMethod<Rv, () => Promise<bigint>>;
432
+ chainId: GenericRuntimeApiMethod<() => Promise<bigint>>;
442
433
 
443
434
  /**
444
435
  * Returns pallet_evm::Accounts by address.
@@ -446,14 +437,14 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
446
437
  * @callname: EthereumRuntimeRPCApi_account_basic
447
438
  * @param {H160} address
448
439
  **/
449
- accountBasic: GenericRuntimeApiMethod<Rv, (address: H160) => Promise<EvmBackendBasic>>;
440
+ accountBasic: GenericRuntimeApiMethod<(address: H160) => Promise<EvmBackendBasic>>;
450
441
 
451
442
  /**
452
443
  * Returns FixedGasPrice::min_gas_price
453
444
  *
454
445
  * @callname: EthereumRuntimeRPCApi_gas_price
455
446
  **/
456
- gasPrice: GenericRuntimeApiMethod<Rv, () => Promise<U256>>;
447
+ gasPrice: GenericRuntimeApiMethod<() => Promise<U256>>;
457
448
 
458
449
  /**
459
450
  * For a given account address, returns pallet_evm::AccountCodes.
@@ -461,14 +452,14 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
461
452
  * @callname: EthereumRuntimeRPCApi_account_code_at
462
453
  * @param {H160} address
463
454
  **/
464
- accountCodeAt: GenericRuntimeApiMethod<Rv, (address: H160) => Promise<Bytes>>;
455
+ accountCodeAt: GenericRuntimeApiMethod<(address: H160) => Promise<Bytes>>;
465
456
 
466
457
  /**
467
458
  * Returns the converted FindAuthor::find_author authority id.
468
459
  *
469
460
  * @callname: EthereumRuntimeRPCApi_author
470
461
  **/
471
- author: GenericRuntimeApiMethod<Rv, () => Promise<H160>>;
462
+ author: GenericRuntimeApiMethod<() => Promise<H160>>;
472
463
 
473
464
  /**
474
465
  * For a given account address and index, returns pallet_evm::AccountStorages.
@@ -477,7 +468,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
477
468
  * @param {H160} address
478
469
  * @param {U256} index
479
470
  **/
480
- storageAt: GenericRuntimeApiMethod<Rv, (address: H160, index: U256) => Promise<H256>>;
471
+ storageAt: GenericRuntimeApiMethod<(address: H160, index: U256) => Promise<H256>>;
481
472
 
482
473
  /**
483
474
  *
@@ -494,7 +485,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
494
485
  * @param {Array<[H160, Array<H256>]> | undefined} access_list
495
486
  **/
496
487
  call: GenericRuntimeApiMethod<
497
- Rv,
498
488
  (
499
489
  from: H160,
500
490
  to: H160,
@@ -523,7 +513,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
523
513
  * @param {Array<[H160, Array<H256>]> | undefined} access_list
524
514
  **/
525
515
  create: GenericRuntimeApiMethod<
526
- Rv,
527
516
  (
528
517
  from: H160,
529
518
  data: BytesLike,
@@ -542,28 +531,27 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
542
531
  *
543
532
  * @callname: EthereumRuntimeRPCApi_current_block
544
533
  **/
545
- currentBlock: GenericRuntimeApiMethod<Rv, () => Promise<EthereumBlock | undefined>>;
534
+ currentBlock: GenericRuntimeApiMethod<() => Promise<EthereumBlock | undefined>>;
546
535
 
547
536
  /**
548
537
  * Return the current receipt.
549
538
  *
550
539
  * @callname: EthereumRuntimeRPCApi_current_receipts
551
540
  **/
552
- currentReceipts: GenericRuntimeApiMethod<Rv, () => Promise<Array<EthereumReceiptReceiptV3> | undefined>>;
541
+ currentReceipts: GenericRuntimeApiMethod<() => Promise<Array<EthereumReceiptReceiptV3> | undefined>>;
553
542
 
554
543
  /**
555
544
  * Return the current transaction status.
556
545
  *
557
546
  * @callname: EthereumRuntimeRPCApi_current_transaction_statuses
558
547
  **/
559
- currentTransactionStatuses: GenericRuntimeApiMethod<Rv, () => Promise<Array<FpRpcTransactionStatus> | undefined>>;
548
+ currentTransactionStatuses: GenericRuntimeApiMethod<() => Promise<Array<FpRpcTransactionStatus> | undefined>>;
560
549
 
561
550
  /**
562
551
  *
563
552
  * @callname: EthereumRuntimeRPCApi_current_all
564
553
  **/
565
554
  currentAll: GenericRuntimeApiMethod<
566
- Rv,
567
555
  () => Promise<
568
556
  [
569
557
  EthereumBlock | undefined,
@@ -580,7 +568,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
580
568
  * @param {Array<FpSelfContainedUncheckedExtrinsic>} xts
581
569
  **/
582
570
  extrinsicFilter: GenericRuntimeApiMethod<
583
- Rv,
584
571
  (xts: Array<FpSelfContainedUncheckedExtrinsic>) => Promise<Array<EthereumTransactionTransactionV2>>
585
572
  >;
586
573
 
@@ -589,7 +576,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
589
576
  *
590
577
  * @callname: EthereumRuntimeRPCApi_elasticity
591
578
  **/
592
- elasticity: GenericRuntimeApiMethod<Rv, () => Promise<Permill | undefined>>;
579
+ elasticity: GenericRuntimeApiMethod<() => Promise<Permill | undefined>>;
593
580
 
594
581
  /**
595
582
  * Used to determine if gas limit multiplier for non-transactional calls (eth_call/estimateGas)
@@ -597,7 +584,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
597
584
  *
598
585
  * @callname: EthereumRuntimeRPCApi_gas_limit_multiplier_support
599
586
  **/
600
- gasLimitMultiplierSupport: GenericRuntimeApiMethod<Rv, () => Promise<[]>>;
587
+ gasLimitMultiplierSupport: GenericRuntimeApiMethod<() => Promise<[]>>;
601
588
 
602
589
  /**
603
590
  * Return the pending block.
@@ -606,7 +593,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
606
593
  * @param {Array<FpSelfContainedUncheckedExtrinsic>} xts
607
594
  **/
608
595
  pendingBlock: GenericRuntimeApiMethod<
609
- Rv,
610
596
  (
611
597
  xts: Array<FpSelfContainedUncheckedExtrinsic>,
612
598
  ) => Promise<[EthereumBlock | undefined, Array<FpRpcTransactionStatus> | undefined]>
@@ -622,12 +608,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
622
608
  * @callname: EthereumRuntimeRPCApi_initialize_pending_block
623
609
  * @param {Header} header
624
610
  **/
625
- initializePendingBlock: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<[]>>;
611
+ initializePendingBlock: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
626
612
 
627
613
  /**
628
614
  * Generic runtime api call
629
615
  **/
630
- [method: string]: GenericRuntimeApiMethod<Rv>;
616
+ [method: string]: GenericRuntimeApiMethod;
631
617
  };
632
618
  /**
633
619
  * @runtimeapi: ConvertTransactionRuntimeApi - 0xe65b00e46cedd0aa
@@ -639,14 +625,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
639
625
  * @param {EthereumTransactionTransactionV2} transaction
640
626
  **/
641
627
  convertTransaction: GenericRuntimeApiMethod<
642
- Rv,
643
628
  (transaction: EthereumTransactionTransactionV2) => Promise<FpSelfContainedUncheckedExtrinsic>
644
629
  >;
645
630
 
646
631
  /**
647
632
  * Generic runtime api call
648
633
  **/
649
- [method: string]: GenericRuntimeApiMethod<Rv>;
634
+ [method: string]: GenericRuntimeApiMethod;
650
635
  };
651
636
  /**
652
637
  * @runtimeapi: EvmAccountsApi - 0x0bb67a52fcd040ff
@@ -658,7 +643,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
658
643
  * @callname: EvmAccountsApi_evm_address
659
644
  * @param {AccountId32Like} account_id
660
645
  **/
661
- evmAddress: GenericRuntimeApiMethod<Rv, (accountId: AccountId32Like) => Promise<H160>>;
646
+ evmAddress: GenericRuntimeApiMethod<(accountId: AccountId32Like) => Promise<H160>>;
662
647
 
663
648
  /**
664
649
  * Return the Substrate address bound to the EVM account. If not bound, returns `None`.
@@ -666,7 +651,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
666
651
  * @callname: EvmAccountsApi_bound_account_id
667
652
  * @param {H160} evm_address
668
653
  **/
669
- boundAccountId: GenericRuntimeApiMethod<Rv, (evmAddress: H160) => Promise<AccountId32 | undefined>>;
654
+ boundAccountId: GenericRuntimeApiMethod<(evmAddress: H160) => Promise<AccountId32 | undefined>>;
670
655
 
671
656
  /**
672
657
  * Get the Substrate address from the EVM address.
@@ -675,12 +660,30 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
675
660
  * @callname: EvmAccountsApi_account_id
676
661
  * @param {H160} evm_address
677
662
  **/
678
- accountId: GenericRuntimeApiMethod<Rv, (evmAddress: H160) => Promise<AccountId32>>;
663
+ accountId: GenericRuntimeApiMethod<(evmAddress: H160) => Promise<AccountId32>>;
679
664
 
680
665
  /**
681
666
  * Generic runtime api call
682
667
  **/
683
- [method: string]: GenericRuntimeApiMethod<Rv>;
668
+ [method: string]: GenericRuntimeApiMethod;
669
+ };
670
+ /**
671
+ * @runtimeapi: DusterApi - 0x34a3d488166b5a55
672
+ **/
673
+ dusterApi: {
674
+ /**
675
+ * Check if an account is whitelisted (protected from dusting).
676
+ * Returns true if the account is whitelisted, false otherwise.
677
+ *
678
+ * @callname: DusterApi_is_whitelisted
679
+ * @param {AccountId32Like} account
680
+ **/
681
+ isWhitelisted: GenericRuntimeApiMethod<(account: AccountId32Like) => Promise<boolean>>;
682
+
683
+ /**
684
+ * Generic runtime api call
685
+ **/
686
+ [method: string]: GenericRuntimeApiMethod;
684
687
  };
685
688
  /**
686
689
  * @runtimeapi: Erc20MappingApi - 0x542334fe4fd7cada
@@ -692,7 +695,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
692
695
  * @callname: Erc20MappingApi_asset_address
693
696
  * @param {number} asset_id
694
697
  **/
695
- assetAddress: GenericRuntimeApiMethod<Rv, (assetId: number) => Promise<H160>>;
698
+ assetAddress: GenericRuntimeApiMethod<(assetId: number) => Promise<H160>>;
696
699
 
697
700
  /**
698
701
  * Get the asset id corresponding to EVM address. If not found, returns `None`.
@@ -700,12 +703,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
700
703
  * @callname: Erc20MappingApi_address_to_asset
701
704
  * @param {H160} address
702
705
  **/
703
- addressToAsset: GenericRuntimeApiMethod<Rv, (address: H160) => Promise<number | undefined>>;
706
+ addressToAsset: GenericRuntimeApiMethod<(address: H160) => Promise<number | undefined>>;
704
707
 
705
708
  /**
706
709
  * Generic runtime api call
707
710
  **/
708
- [method: string]: GenericRuntimeApiMethod<Rv>;
711
+ [method: string]: GenericRuntimeApiMethod;
709
712
  };
710
713
  /**
711
714
  * @runtimeapi: XcmPaymentApi - 0x6ff52ee858e6c5bd
@@ -722,7 +725,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
722
725
  * @param {number} xcm_version
723
726
  **/
724
727
  queryAcceptablePaymentAssets: GenericRuntimeApiMethod<
725
- Rv,
726
728
  (xcmVersion: number) => Promise<Result<Array<XcmVersionedAssetId>, XcmRuntimeApisFeesError>>
727
729
  >;
728
730
 
@@ -737,7 +739,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
737
739
  * @param {XcmVersionedXcm} message
738
740
  **/
739
741
  queryXcmWeight: GenericRuntimeApiMethod<
740
- Rv,
741
742
  (message: XcmVersionedXcm) => Promise<Result<SpWeightsWeightV2Weight, XcmRuntimeApisFeesError>>
742
743
  >;
743
744
 
@@ -754,7 +755,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
754
755
  * @param {XcmVersionedAssetId} asset
755
756
  **/
756
757
  queryWeightToAssetFee: GenericRuntimeApiMethod<
757
- Rv,
758
758
  (weight: SpWeightsWeightV2Weight, asset: XcmVersionedAssetId) => Promise<Result<bigint, XcmRuntimeApisFeesError>>
759
759
  >;
760
760
 
@@ -773,7 +773,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
773
773
  * @param {XcmVersionedXcm} message
774
774
  **/
775
775
  queryDeliveryFees: GenericRuntimeApiMethod<
776
- Rv,
777
776
  (
778
777
  destination: XcmVersionedLocation,
779
778
  message: XcmVersionedXcm,
@@ -783,7 +782,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
783
782
  /**
784
783
  * Generic runtime api call
785
784
  **/
786
- [method: string]: GenericRuntimeApiMethod<Rv>;
785
+ [method: string]: GenericRuntimeApiMethod;
787
786
  };
788
787
  /**
789
788
  * @runtimeapi: AuraUnincludedSegmentApi - 0xd7bdd8a272ca0d65
@@ -805,12 +804,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
805
804
  * @param {H256} included_hash
806
805
  * @param {SpConsensusSlotsSlot} slot
807
806
  **/
808
- canBuildUpon: GenericRuntimeApiMethod<Rv, (includedHash: H256, slot: SpConsensusSlotsSlot) => Promise<boolean>>;
807
+ canBuildUpon: GenericRuntimeApiMethod<(includedHash: H256, slot: SpConsensusSlotsSlot) => Promise<boolean>>;
809
808
 
810
809
  /**
811
810
  * Generic runtime api call
812
811
  **/
813
- [method: string]: GenericRuntimeApiMethod<Rv>;
812
+ [method: string]: GenericRuntimeApiMethod;
814
813
  };
815
814
  /**
816
815
  * @runtimeapi: DryRunApi - 0x91b1c8b16328eb92
@@ -824,7 +823,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
824
823
  * @param {HydradxRuntimeRuntimeCallLike} call
825
824
  **/
826
825
  dryRunCall: GenericRuntimeApiMethod<
827
- Rv,
828
826
  (
829
827
  origin: HydradxRuntimeOriginCaller,
830
828
  call: HydradxRuntimeRuntimeCallLike,
@@ -839,7 +837,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
839
837
  * @param {XcmVersionedXcm} xcm
840
838
  **/
841
839
  dryRunXcm: GenericRuntimeApiMethod<
842
- Rv,
843
840
  (
844
841
  originLocation: XcmVersionedLocation,
845
842
  xcm: XcmVersionedXcm,
@@ -849,7 +846,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
849
846
  /**
850
847
  * Generic runtime api call
851
848
  **/
852
- [method: string]: GenericRuntimeApiMethod<Rv>;
849
+ [method: string]: GenericRuntimeApiMethod;
853
850
  };
854
851
  /**
855
852
  * @runtimeapi: LocationToAccountApi - 0x9ffb505aa738d69c
@@ -862,14 +859,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
862
859
  * @param {XcmVersionedLocation} location
863
860
  **/
864
861
  convertLocation: GenericRuntimeApiMethod<
865
- Rv,
866
862
  (location: XcmVersionedLocation) => Promise<Result<AccountId32, XcmRuntimeApisConversionsError>>
867
863
  >;
868
864
 
869
865
  /**
870
866
  * Generic runtime api call
871
867
  **/
872
- [method: string]: GenericRuntimeApiMethod<Rv>;
868
+ [method: string]: GenericRuntimeApiMethod;
873
869
  };
874
870
  /**
875
871
  * @runtimeapi: ChainlinkAdapterApi - 0x2b5f5bcd2460e4f0
@@ -884,7 +880,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
884
880
  * @param {FixedBytes<8>} source
885
881
  **/
886
882
  encodeOracleAddress: GenericRuntimeApiMethod<
887
- Rv,
888
883
  (
889
884
  assetIdA: number,
890
885
  assetIdB: number,
@@ -899,14 +894,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
899
894
  * @param {H160} oracle_address
900
895
  **/
901
896
  decodeOracleAddress: GenericRuntimeApiMethod<
902
- Rv,
903
897
  (oracleAddress: H160) => Promise<[number, number, HydradxTraitsOracleOraclePeriod, FixedBytes<8>] | undefined>
904
898
  >;
905
899
 
906
900
  /**
907
901
  * Generic runtime api call
908
902
  **/
909
- [method: string]: GenericRuntimeApiMethod<Rv>;
903
+ [method: string]: GenericRuntimeApiMethod;
910
904
  };
911
905
  /**
912
906
  * @runtimeapi: AaveTradeExecutor - 0xa2b2b484fcb86943
@@ -916,7 +910,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
916
910
  *
917
911
  * @callname: AaveTradeExecutor_pairs
918
912
  **/
919
- pairs: GenericRuntimeApiMethod<Rv, () => Promise<Array<[number, number]>>>;
913
+ pairs: GenericRuntimeApiMethod<() => Promise<Array<[number, number]>>>;
920
914
 
921
915
  /**
922
916
  *
@@ -924,7 +918,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
924
918
  * @param {number} asset_in
925
919
  * @param {number} asset_out
926
920
  **/
927
- liquidityDepth: GenericRuntimeApiMethod<Rv, (assetIn: number, assetOut: number) => Promise<bigint | undefined>>;
921
+ liquidityDepth: GenericRuntimeApiMethod<(assetIn: number, assetOut: number) => Promise<bigint | undefined>>;
928
922
 
929
923
  /**
930
924
  *
@@ -933,7 +927,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
933
927
  * @param {number} atoken
934
928
  **/
935
929
  pool: GenericRuntimeApiMethod<
936
- Rv,
937
930
  (reserve: number, atoken: number) => Promise<HydradxRuntimeEvmAaveTradeExecutorPoolData>
938
931
  >;
939
932
 
@@ -941,12 +934,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
941
934
  *
942
935
  * @callname: AaveTradeExecutor_pools
943
936
  **/
944
- pools: GenericRuntimeApiMethod<Rv, () => Promise<Array<HydradxRuntimeEvmAaveTradeExecutorPoolData>>>;
937
+ pools: GenericRuntimeApiMethod<() => Promise<Array<HydradxRuntimeEvmAaveTradeExecutorPoolData>>>;
945
938
 
946
939
  /**
947
940
  * Generic runtime api call
948
941
  **/
949
- [method: string]: GenericRuntimeApiMethod<Rv>;
942
+ [method: string]: GenericRuntimeApiMethod;
950
943
  };
951
944
  /**
952
945
  * @runtimeapi: IsmpRuntimeApi - 0x0ebc8fd84ae20ada
@@ -957,21 +950,21 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
957
950
  *
958
951
  * @callname: IsmpRuntimeApi_host_state_machine
959
952
  **/
960
- hostStateMachine: GenericRuntimeApiMethod<Rv, () => Promise<IsmpHostStateMachine>>;
953
+ hostStateMachine: GenericRuntimeApiMethod<() => Promise<IsmpHostStateMachine>>;
961
954
 
962
955
  /**
963
956
  * Fetch all ISMP events
964
957
  *
965
958
  * @callname: IsmpRuntimeApi_block_events
966
959
  **/
967
- blockEvents: GenericRuntimeApiMethod<Rv, () => Promise<Array<IsmpEventsEvent>>>;
960
+ blockEvents: GenericRuntimeApiMethod<() => Promise<Array<IsmpEventsEvent>>>;
968
961
 
969
962
  /**
970
963
  * Fetch all ISMP events and their extrinsic metadata
971
964
  *
972
965
  * @callname: IsmpRuntimeApi_block_events_with_metadata
973
966
  **/
974
- blockEventsWithMetadata: GenericRuntimeApiMethod<Rv, () => Promise<Array<[IsmpEventsEvent, number | undefined]>>>;
967
+ blockEventsWithMetadata: GenericRuntimeApiMethod<() => Promise<Array<[IsmpEventsEvent, number | undefined]>>>;
975
968
 
976
969
  /**
977
970
  * Return the scale encoded consensus state
@@ -979,7 +972,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
979
972
  * @callname: IsmpRuntimeApi_consensus_state
980
973
  * @param {FixedBytes<4>} id
981
974
  **/
982
- consensusState: GenericRuntimeApiMethod<Rv, (id: FixedBytes<4>) => Promise<Bytes | undefined>>;
975
+ consensusState: GenericRuntimeApiMethod<(id: FixedBytes<4>) => Promise<Bytes | undefined>>;
983
976
 
984
977
  /**
985
978
  * Return the timestamp this client was last updated in seconds
@@ -988,7 +981,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
988
981
  * @param {IsmpConsensusStateMachineHeight} id
989
982
  **/
990
983
  stateMachineUpdateTime: GenericRuntimeApiMethod<
991
- Rv,
992
984
  (id: IsmpConsensusStateMachineHeight) => Promise<bigint | undefined>
993
985
  >;
994
986
 
@@ -998,7 +990,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
998
990
  * @callname: IsmpRuntimeApi_challenge_period
999
991
  * @param {IsmpConsensusStateMachineId} id
1000
992
  **/
1001
- challengePeriod: GenericRuntimeApiMethod<Rv, (id: IsmpConsensusStateMachineId) => Promise<bigint | undefined>>;
993
+ challengePeriod: GenericRuntimeApiMethod<(id: IsmpConsensusStateMachineId) => Promise<bigint | undefined>>;
1002
994
 
1003
995
  /**
1004
996
  * Return the latest height of the state machine
@@ -1006,10 +998,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1006
998
  * @callname: IsmpRuntimeApi_latest_state_machine_height
1007
999
  * @param {IsmpConsensusStateMachineId} id
1008
1000
  **/
1009
- latestStateMachineHeight: GenericRuntimeApiMethod<
1010
- Rv,
1011
- (id: IsmpConsensusStateMachineId) => Promise<bigint | undefined>
1012
- >;
1001
+ latestStateMachineHeight: GenericRuntimeApiMethod<(id: IsmpConsensusStateMachineId) => Promise<bigint | undefined>>;
1013
1002
 
1014
1003
  /**
1015
1004
  * Fetch the requests for the given commitments.
@@ -1017,7 +1006,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1017
1006
  * @callname: IsmpRuntimeApi_requests
1018
1007
  * @param {Array<H256>} request_commitments
1019
1008
  **/
1020
- requests: GenericRuntimeApiMethod<Rv, (requestCommitments: Array<H256>) => Promise<Array<IsmpRouterRequest>>>;
1009
+ requests: GenericRuntimeApiMethod<(requestCommitments: Array<H256>) => Promise<Array<IsmpRouterRequest>>>;
1021
1010
 
1022
1011
  /**
1023
1012
  * Fetch the responses for the given commitments.
@@ -1025,12 +1014,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1025
1014
  * @callname: IsmpRuntimeApi_responses
1026
1015
  * @param {Array<H256>} response_commitments
1027
1016
  **/
1028
- responses: GenericRuntimeApiMethod<Rv, (responseCommitments: Array<H256>) => Promise<Array<IsmpRouterResponse>>>;
1017
+ responses: GenericRuntimeApiMethod<(responseCommitments: Array<H256>) => Promise<Array<IsmpRouterResponse>>>;
1029
1018
 
1030
1019
  /**
1031
1020
  * Generic runtime api call
1032
1021
  **/
1033
- [method: string]: GenericRuntimeApiMethod<Rv>;
1022
+ [method: string]: GenericRuntimeApiMethod;
1034
1023
  };
1035
1024
  /**
1036
1025
  * @runtimeapi: IsmpParachainApi - 0x5d1df2fe7d4f6bc8
@@ -1041,19 +1030,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1041
1030
  *
1042
1031
  * @callname: IsmpParachainApi_para_ids
1043
1032
  **/
1044
- paraIds: GenericRuntimeApiMethod<Rv, () => Promise<Array<number>>>;
1033
+ paraIds: GenericRuntimeApiMethod<() => Promise<Array<number>>>;
1045
1034
 
1046
1035
  /**
1047
1036
  * Return the current relay chain state.
1048
1037
  *
1049
1038
  * @callname: IsmpParachainApi_current_relay_chain_state
1050
1039
  **/
1051
- currentRelayChainState: GenericRuntimeApiMethod<Rv, () => Promise<CumulusPalletParachainSystemRelayChainState>>;
1040
+ currentRelayChainState: GenericRuntimeApiMethod<() => Promise<CumulusPalletParachainSystemRelayChainState>>;
1052
1041
 
1053
1042
  /**
1054
1043
  * Generic runtime api call
1055
1044
  **/
1056
- [method: string]: GenericRuntimeApiMethod<Rv>;
1045
+ [method: string]: GenericRuntimeApiMethod;
1057
1046
  };
1058
1047
  /**
1059
1048
  * @runtimeapi: GenesisBuilder - 0xfbc577b9d747efd6
@@ -1073,7 +1062,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1073
1062
  * @callname: GenesisBuilder_build_state
1074
1063
  * @param {BytesLike} json
1075
1064
  **/
1076
- buildState: GenericRuntimeApiMethod<Rv, (json: BytesLike) => Promise<Result<[], string>>>;
1065
+ buildState: GenericRuntimeApiMethod<(json: BytesLike) => Promise<Result<[], string>>>;
1077
1066
 
1078
1067
  /**
1079
1068
  * Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by
@@ -1094,7 +1083,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1094
1083
  * @callname: GenesisBuilder_get_preset
1095
1084
  * @param {string | undefined} id
1096
1085
  **/
1097
- getPreset: GenericRuntimeApiMethod<Rv, (id?: string | undefined) => Promise<Bytes | undefined>>;
1086
+ getPreset: GenericRuntimeApiMethod<(id?: string | undefined) => Promise<Bytes | undefined>>;
1098
1087
 
1099
1088
  /**
1100
1089
  * Returns a list of identifiers for available builtin `RuntimeGenesisConfig` presets.
@@ -1104,11 +1093,11 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1104
1093
  *
1105
1094
  * @callname: GenesisBuilder_preset_names
1106
1095
  **/
1107
- presetNames: GenericRuntimeApiMethod<Rv, () => Promise<Array<string>>>;
1096
+ presetNames: GenericRuntimeApiMethod<() => Promise<Array<string>>>;
1108
1097
 
1109
1098
  /**
1110
1099
  * Generic runtime api call
1111
1100
  **/
1112
- [method: string]: GenericRuntimeApiMethod<Rv>;
1101
+ [method: string]: GenericRuntimeApiMethod;
1113
1102
  };
1114
1103
  }