@dedot/chaintypes 0.194.0 → 0.196.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 +15 -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 +15 -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 +15 -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 +16 -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 +15 -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 +16 -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 +15 -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 +15 -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 +16 -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 +17 -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 +16 -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 +16 -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 +15 -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 +16 -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 +15 -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 +16 -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 +16 -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 +15 -17
  165. package/westend/json-rpc.d.ts +3 -3
  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 +16 -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 +15 -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,
@@ -55,9 +55,16 @@ import type {
55
55
  XcmRuntimeApisConversionsError,
56
56
  HydradxTraitsOracleOraclePeriod,
57
57
  HydradxRuntimeEvmAaveTradeExecutorPoolData,
58
+ IsmpHostStateMachine,
59
+ IsmpEventsEvent,
60
+ IsmpConsensusStateMachineHeight,
61
+ IsmpConsensusStateMachineId,
62
+ IsmpRouterRequest,
63
+ IsmpRouterResponse,
64
+ CumulusPalletParachainSystemRelayChainState,
58
65
  } from './types.js';
59
66
 
60
- export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<Rv> {
67
+ export interface RuntimeApis extends GenericRuntimeApis {
61
68
  /**
62
69
  * @runtimeapi: Core - 0xdf6acb689907609b
63
70
  **/
@@ -67,7 +74,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
67
74
  *
68
75
  * @callname: Core_version
69
76
  **/
70
- version: GenericRuntimeApiMethod<Rv, () => Promise<RuntimeVersion>>;
77
+ version: GenericRuntimeApiMethod<() => Promise<RuntimeVersion>>;
71
78
 
72
79
  /**
73
80
  * Execute the given block.
@@ -75,7 +82,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
75
82
  * @callname: Core_execute_block
76
83
  * @param {SpRuntimeBlock} block
77
84
  **/
78
- executeBlock: GenericRuntimeApiMethod<Rv, (block: SpRuntimeBlock) => Promise<[]>>;
85
+ executeBlock: GenericRuntimeApiMethod<(block: SpRuntimeBlock) => Promise<[]>>;
79
86
 
80
87
  /**
81
88
  * Initialize a block with the given header and return the runtime executive mode.
@@ -83,12 +90,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
83
90
  * @callname: Core_initialize_block
84
91
  * @param {Header} header
85
92
  **/
86
- initializeBlock: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<SpRuntimeExtrinsicInclusionMode>>;
93
+ initializeBlock: GenericRuntimeApiMethod<(header: Header) => Promise<SpRuntimeExtrinsicInclusionMode>>;
87
94
 
88
95
  /**
89
96
  * Generic runtime api call
90
97
  **/
91
- [method: string]: GenericRuntimeApiMethod<Rv>;
98
+ [method: string]: GenericRuntimeApiMethod;
92
99
  };
93
100
  /**
94
101
  * @runtimeapi: Metadata - 0x37e397fc7c91f5e4
@@ -99,7 +106,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
99
106
  *
100
107
  * @callname: Metadata_metadata
101
108
  **/
102
- metadata: GenericRuntimeApiMethod<Rv, () => Promise<SpCoreOpaqueMetadata>>;
109
+ metadata: GenericRuntimeApiMethod<() => Promise<SpCoreOpaqueMetadata>>;
103
110
 
104
111
  /**
105
112
  * Returns the metadata at a given version.
@@ -110,7 +117,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
110
117
  * @callname: Metadata_metadata_at_version
111
118
  * @param {number} version
112
119
  **/
113
- metadataAtVersion: GenericRuntimeApiMethod<Rv, (version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
120
+ metadataAtVersion: GenericRuntimeApiMethod<(version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
114
121
 
115
122
  /**
116
123
  * Returns the supported metadata versions.
@@ -119,12 +126,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
119
126
  *
120
127
  * @callname: Metadata_metadata_versions
121
128
  **/
122
- metadataVersions: GenericRuntimeApiMethod<Rv, () => Promise<Array<number>>>;
129
+ metadataVersions: GenericRuntimeApiMethod<() => Promise<Array<number>>>;
123
130
 
124
131
  /**
125
132
  * Generic runtime api call
126
133
  **/
127
- [method: string]: GenericRuntimeApiMethod<Rv>;
134
+ [method: string]: GenericRuntimeApiMethod;
128
135
  };
129
136
  /**
130
137
  * @runtimeapi: BlockBuilder - 0x40fe3ad401f8959a
@@ -140,7 +147,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
140
147
  * @param {FpSelfContainedUncheckedExtrinsic} extrinsic
141
148
  **/
142
149
  applyExtrinsic: GenericRuntimeApiMethod<
143
- Rv,
144
150
  (
145
151
  extrinsic: FpSelfContainedUncheckedExtrinsic,
146
152
  ) => Promise<Result<Result<[], DispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>
@@ -151,7 +157,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
151
157
  *
152
158
  * @callname: BlockBuilder_finalize_block
153
159
  **/
154
- finalizeBlock: GenericRuntimeApiMethod<Rv, () => Promise<Header>>;
160
+ finalizeBlock: GenericRuntimeApiMethod<() => Promise<Header>>;
155
161
 
156
162
  /**
157
163
  * Generate inherent extrinsics. The inherent data will vary from chain to chain.
@@ -160,7 +166,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
160
166
  * @param {SpInherentsInherentData} inherent
161
167
  **/
162
168
  inherentExtrinsics: GenericRuntimeApiMethod<
163
- Rv,
164
169
  (inherent: SpInherentsInherentData) => Promise<Array<FpSelfContainedUncheckedExtrinsic>>
165
170
  >;
166
171
 
@@ -172,14 +177,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
172
177
  * @param {SpInherentsInherentData} data
173
178
  **/
174
179
  checkInherents: GenericRuntimeApiMethod<
175
- Rv,
176
180
  (block: SpRuntimeBlock, data: SpInherentsInherentData) => Promise<SpInherentsCheckInherentsResult>
177
181
  >;
178
182
 
179
183
  /**
180
184
  * Generic runtime api call
181
185
  **/
182
- [method: string]: GenericRuntimeApiMethod<Rv>;
186
+ [method: string]: GenericRuntimeApiMethod;
183
187
  };
184
188
  /**
185
189
  * @runtimeapi: TaggedTransactionQueue - 0xd2bc9897eed08f15
@@ -202,7 +206,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
202
206
  * @param {H256} block_hash
203
207
  **/
204
208
  validateTransaction: GenericRuntimeApiMethod<
205
- Rv,
206
209
  (
207
210
  source: SpRuntimeTransactionValidityTransactionSource,
208
211
  tx: FpSelfContainedUncheckedExtrinsic,
@@ -215,7 +218,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
215
218
  /**
216
219
  * Generic runtime api call
217
220
  **/
218
- [method: string]: GenericRuntimeApiMethod<Rv>;
221
+ [method: string]: GenericRuntimeApiMethod;
219
222
  };
220
223
  /**
221
224
  * @runtimeapi: OffchainWorkerApi - 0xf78b278be53f454c
@@ -227,12 +230,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
227
230
  * @callname: OffchainWorkerApi_offchain_worker
228
231
  * @param {Header} header
229
232
  **/
230
- offchainWorker: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<[]>>;
233
+ offchainWorker: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
231
234
 
232
235
  /**
233
236
  * Generic runtime api call
234
237
  **/
235
- [method: string]: GenericRuntimeApiMethod<Rv>;
238
+ [method: string]: GenericRuntimeApiMethod;
236
239
  };
237
240
  /**
238
241
  * @runtimeapi: SessionKeys - 0xab3c0572291feb8b
@@ -250,7 +253,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
250
253
  * @callname: SessionKeys_generate_session_keys
251
254
  * @param {BytesLike | undefined} seed
252
255
  **/
253
- generateSessionKeys: GenericRuntimeApiMethod<Rv, (seed?: BytesLike | undefined) => Promise<Bytes>>;
256
+ generateSessionKeys: GenericRuntimeApiMethod<(seed?: BytesLike | undefined) => Promise<Bytes>>;
254
257
 
255
258
  /**
256
259
  * Decode the given public session keys.
@@ -261,14 +264,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
261
264
  * @param {BytesLike} encoded
262
265
  **/
263
266
  decodeSessionKeys: GenericRuntimeApiMethod<
264
- Rv,
265
267
  (encoded: BytesLike) => Promise<Array<[Bytes, SpCoreCryptoKeyTypeId]> | undefined>
266
268
  >;
267
269
 
268
270
  /**
269
271
  * Generic runtime api call
270
272
  **/
271
- [method: string]: GenericRuntimeApiMethod<Rv>;
273
+ [method: string]: GenericRuntimeApiMethod;
272
274
  };
273
275
  /**
274
276
  * @runtimeapi: AuraApi - 0xdd718d5cc53262d4
@@ -281,19 +283,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
281
283
  *
282
284
  * @callname: AuraApi_slot_duration
283
285
  **/
284
- slotDuration: GenericRuntimeApiMethod<Rv, () => Promise<SpConsensusSlotsSlotDuration>>;
286
+ slotDuration: GenericRuntimeApiMethod<() => Promise<SpConsensusSlotsSlotDuration>>;
285
287
 
286
288
  /**
287
289
  * Return the current set of authorities.
288
290
  *
289
291
  * @callname: AuraApi_authorities
290
292
  **/
291
- authorities: GenericRuntimeApiMethod<Rv, () => Promise<Array<SpConsensusAuraSr25519AppSr25519Public>>>;
293
+ authorities: GenericRuntimeApiMethod<() => Promise<Array<SpConsensusAuraSr25519AppSr25519Public>>>;
292
294
 
293
295
  /**
294
296
  * Generic runtime api call
295
297
  **/
296
- [method: string]: GenericRuntimeApiMethod<Rv>;
298
+ [method: string]: GenericRuntimeApiMethod;
297
299
  };
298
300
  /**
299
301
  * @runtimeapi: CollectCollationInfo - 0xea93e3f16f3d6962
@@ -308,12 +310,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
308
310
  * @callname: CollectCollationInfo_collect_collation_info
309
311
  * @param {Header} header
310
312
  **/
311
- collectCollationInfo: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<CumulusPrimitivesCoreCollationInfo>>;
313
+ collectCollationInfo: GenericRuntimeApiMethod<(header: Header) => Promise<CumulusPrimitivesCoreCollationInfo>>;
312
314
 
313
315
  /**
314
316
  * Generic runtime api call
315
317
  **/
316
- [method: string]: GenericRuntimeApiMethod<Rv>;
318
+ [method: string]: GenericRuntimeApiMethod;
317
319
  };
318
320
  /**
319
321
  * @runtimeapi: CurrenciesApi - 0x9af86751b70c112d
@@ -326,7 +328,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
326
328
  * @param {AccountId32Like} who
327
329
  **/
328
330
  account: GenericRuntimeApiMethod<
329
- Rv,
330
331
  (assetId: number, who: AccountId32Like) => Promise<PalletCurrenciesRpcRuntimeApiAccountData>
331
332
  >;
332
333
 
@@ -336,7 +337,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
336
337
  * @param {AccountId32Like} who
337
338
  **/
338
339
  accounts: GenericRuntimeApiMethod<
339
- Rv,
340
340
  (who: AccountId32Like) => Promise<Array<[number, PalletCurrenciesRpcRuntimeApiAccountData]>>
341
341
  >;
342
342
 
@@ -346,12 +346,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
346
346
  * @param {number} asset_id
347
347
  * @param {AccountId32Like} who
348
348
  **/
349
- freeBalance: GenericRuntimeApiMethod<Rv, (assetId: number, who: AccountId32Like) => Promise<bigint>>;
349
+ freeBalance: GenericRuntimeApiMethod<(assetId: number, who: AccountId32Like) => Promise<bigint>>;
350
+
351
+ /**
352
+ *
353
+ * @callname: CurrenciesApi_minimum_balance
354
+ * @param {number} asset_id
355
+ **/
356
+ minimumBalance: GenericRuntimeApiMethod<(assetId: number) => Promise<bigint>>;
350
357
 
351
358
  /**
352
359
  * Generic runtime api call
353
360
  **/
354
- [method: string]: GenericRuntimeApiMethod<Rv>;
361
+ [method: string]: GenericRuntimeApiMethod;
355
362
  };
356
363
  /**
357
364
  * @runtimeapi: AccountNonceApi - 0xbc9d89904f5b923f
@@ -363,12 +370,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
363
370
  * @callname: AccountNonceApi_account_nonce
364
371
  * @param {AccountId32Like} account
365
372
  **/
366
- accountNonce: GenericRuntimeApiMethod<Rv, (account: AccountId32Like) => Promise<number>>;
373
+ accountNonce: GenericRuntimeApiMethod<(account: AccountId32Like) => Promise<number>>;
367
374
 
368
375
  /**
369
376
  * Generic runtime api call
370
377
  **/
371
- [method: string]: GenericRuntimeApiMethod<Rv>;
378
+ [method: string]: GenericRuntimeApiMethod;
372
379
  };
373
380
  /**
374
381
  * @runtimeapi: TransactionPaymentApi - 0x37c8bb1350a9a2a8
@@ -381,7 +388,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
381
388
  * @param {number} len
382
389
  **/
383
390
  queryInfo: GenericRuntimeApiMethod<
384
- Rv,
385
391
  (uxt: FpSelfContainedUncheckedExtrinsic, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
386
392
  >;
387
393
 
@@ -392,7 +398,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
392
398
  * @param {number} len
393
399
  **/
394
400
  queryFeeDetails: GenericRuntimeApiMethod<
395
- Rv,
396
401
  (uxt: FpSelfContainedUncheckedExtrinsic, len: number) => Promise<PalletTransactionPaymentFeeDetails>
397
402
  >;
398
403
 
@@ -401,19 +406,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
401
406
  * @callname: TransactionPaymentApi_query_weight_to_fee
402
407
  * @param {SpWeightsWeightV2Weight} weight
403
408
  **/
404
- queryWeightToFee: GenericRuntimeApiMethod<Rv, (weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
409
+ queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
405
410
 
406
411
  /**
407
412
  *
408
413
  * @callname: TransactionPaymentApi_query_length_to_fee
409
414
  * @param {number} length
410
415
  **/
411
- queryLengthToFee: GenericRuntimeApiMethod<Rv, (length: number) => Promise<bigint>>;
416
+ queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
412
417
 
413
418
  /**
414
419
  * Generic runtime api call
415
420
  **/
416
- [method: string]: GenericRuntimeApiMethod<Rv>;
421
+ [method: string]: GenericRuntimeApiMethod;
417
422
  };
418
423
  /**
419
424
  * @runtimeapi: EthereumRuntimeRPCApi - 0x582211f65bb14b89
@@ -424,7 +429,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
424
429
  *
425
430
  * @callname: EthereumRuntimeRPCApi_chain_id
426
431
  **/
427
- chainId: GenericRuntimeApiMethod<Rv, () => Promise<bigint>>;
432
+ chainId: GenericRuntimeApiMethod<() => Promise<bigint>>;
428
433
 
429
434
  /**
430
435
  * Returns pallet_evm::Accounts by address.
@@ -432,14 +437,14 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
432
437
  * @callname: EthereumRuntimeRPCApi_account_basic
433
438
  * @param {H160} address
434
439
  **/
435
- accountBasic: GenericRuntimeApiMethod<Rv, (address: H160) => Promise<EvmBackendBasic>>;
440
+ accountBasic: GenericRuntimeApiMethod<(address: H160) => Promise<EvmBackendBasic>>;
436
441
 
437
442
  /**
438
443
  * Returns FixedGasPrice::min_gas_price
439
444
  *
440
445
  * @callname: EthereumRuntimeRPCApi_gas_price
441
446
  **/
442
- gasPrice: GenericRuntimeApiMethod<Rv, () => Promise<U256>>;
447
+ gasPrice: GenericRuntimeApiMethod<() => Promise<U256>>;
443
448
 
444
449
  /**
445
450
  * For a given account address, returns pallet_evm::AccountCodes.
@@ -447,14 +452,14 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
447
452
  * @callname: EthereumRuntimeRPCApi_account_code_at
448
453
  * @param {H160} address
449
454
  **/
450
- accountCodeAt: GenericRuntimeApiMethod<Rv, (address: H160) => Promise<Bytes>>;
455
+ accountCodeAt: GenericRuntimeApiMethod<(address: H160) => Promise<Bytes>>;
451
456
 
452
457
  /**
453
458
  * Returns the converted FindAuthor::find_author authority id.
454
459
  *
455
460
  * @callname: EthereumRuntimeRPCApi_author
456
461
  **/
457
- author: GenericRuntimeApiMethod<Rv, () => Promise<H160>>;
462
+ author: GenericRuntimeApiMethod<() => Promise<H160>>;
458
463
 
459
464
  /**
460
465
  * For a given account address and index, returns pallet_evm::AccountStorages.
@@ -463,7 +468,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
463
468
  * @param {H160} address
464
469
  * @param {U256} index
465
470
  **/
466
- storageAt: GenericRuntimeApiMethod<Rv, (address: H160, index: U256) => Promise<H256>>;
471
+ storageAt: GenericRuntimeApiMethod<(address: H160, index: U256) => Promise<H256>>;
467
472
 
468
473
  /**
469
474
  *
@@ -480,7 +485,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
480
485
  * @param {Array<[H160, Array<H256>]> | undefined} access_list
481
486
  **/
482
487
  call: GenericRuntimeApiMethod<
483
- Rv,
484
488
  (
485
489
  from: H160,
486
490
  to: H160,
@@ -509,7 +513,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
509
513
  * @param {Array<[H160, Array<H256>]> | undefined} access_list
510
514
  **/
511
515
  create: GenericRuntimeApiMethod<
512
- Rv,
513
516
  (
514
517
  from: H160,
515
518
  data: BytesLike,
@@ -528,28 +531,27 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
528
531
  *
529
532
  * @callname: EthereumRuntimeRPCApi_current_block
530
533
  **/
531
- currentBlock: GenericRuntimeApiMethod<Rv, () => Promise<EthereumBlock | undefined>>;
534
+ currentBlock: GenericRuntimeApiMethod<() => Promise<EthereumBlock | undefined>>;
532
535
 
533
536
  /**
534
537
  * Return the current receipt.
535
538
  *
536
539
  * @callname: EthereumRuntimeRPCApi_current_receipts
537
540
  **/
538
- currentReceipts: GenericRuntimeApiMethod<Rv, () => Promise<Array<EthereumReceiptReceiptV3> | undefined>>;
541
+ currentReceipts: GenericRuntimeApiMethod<() => Promise<Array<EthereumReceiptReceiptV3> | undefined>>;
539
542
 
540
543
  /**
541
544
  * Return the current transaction status.
542
545
  *
543
546
  * @callname: EthereumRuntimeRPCApi_current_transaction_statuses
544
547
  **/
545
- currentTransactionStatuses: GenericRuntimeApiMethod<Rv, () => Promise<Array<FpRpcTransactionStatus> | undefined>>;
548
+ currentTransactionStatuses: GenericRuntimeApiMethod<() => Promise<Array<FpRpcTransactionStatus> | undefined>>;
546
549
 
547
550
  /**
548
551
  *
549
552
  * @callname: EthereumRuntimeRPCApi_current_all
550
553
  **/
551
554
  currentAll: GenericRuntimeApiMethod<
552
- Rv,
553
555
  () => Promise<
554
556
  [
555
557
  EthereumBlock | undefined,
@@ -566,7 +568,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
566
568
  * @param {Array<FpSelfContainedUncheckedExtrinsic>} xts
567
569
  **/
568
570
  extrinsicFilter: GenericRuntimeApiMethod<
569
- Rv,
570
571
  (xts: Array<FpSelfContainedUncheckedExtrinsic>) => Promise<Array<EthereumTransactionTransactionV2>>
571
572
  >;
572
573
 
@@ -575,7 +576,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
575
576
  *
576
577
  * @callname: EthereumRuntimeRPCApi_elasticity
577
578
  **/
578
- elasticity: GenericRuntimeApiMethod<Rv, () => Promise<Permill | undefined>>;
579
+ elasticity: GenericRuntimeApiMethod<() => Promise<Permill | undefined>>;
579
580
 
580
581
  /**
581
582
  * Used to determine if gas limit multiplier for non-transactional calls (eth_call/estimateGas)
@@ -583,7 +584,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
583
584
  *
584
585
  * @callname: EthereumRuntimeRPCApi_gas_limit_multiplier_support
585
586
  **/
586
- gasLimitMultiplierSupport: GenericRuntimeApiMethod<Rv, () => Promise<[]>>;
587
+ gasLimitMultiplierSupport: GenericRuntimeApiMethod<() => Promise<[]>>;
587
588
 
588
589
  /**
589
590
  * Return the pending block.
@@ -592,7 +593,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
592
593
  * @param {Array<FpSelfContainedUncheckedExtrinsic>} xts
593
594
  **/
594
595
  pendingBlock: GenericRuntimeApiMethod<
595
- Rv,
596
596
  (
597
597
  xts: Array<FpSelfContainedUncheckedExtrinsic>,
598
598
  ) => Promise<[EthereumBlock | undefined, Array<FpRpcTransactionStatus> | undefined]>
@@ -608,12 +608,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
608
608
  * @callname: EthereumRuntimeRPCApi_initialize_pending_block
609
609
  * @param {Header} header
610
610
  **/
611
- initializePendingBlock: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<[]>>;
611
+ initializePendingBlock: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
612
612
 
613
613
  /**
614
614
  * Generic runtime api call
615
615
  **/
616
- [method: string]: GenericRuntimeApiMethod<Rv>;
616
+ [method: string]: GenericRuntimeApiMethod;
617
617
  };
618
618
  /**
619
619
  * @runtimeapi: ConvertTransactionRuntimeApi - 0xe65b00e46cedd0aa
@@ -625,14 +625,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
625
625
  * @param {EthereumTransactionTransactionV2} transaction
626
626
  **/
627
627
  convertTransaction: GenericRuntimeApiMethod<
628
- Rv,
629
628
  (transaction: EthereumTransactionTransactionV2) => Promise<FpSelfContainedUncheckedExtrinsic>
630
629
  >;
631
630
 
632
631
  /**
633
632
  * Generic runtime api call
634
633
  **/
635
- [method: string]: GenericRuntimeApiMethod<Rv>;
634
+ [method: string]: GenericRuntimeApiMethod;
636
635
  };
637
636
  /**
638
637
  * @runtimeapi: EvmAccountsApi - 0x0bb67a52fcd040ff
@@ -644,7 +643,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
644
643
  * @callname: EvmAccountsApi_evm_address
645
644
  * @param {AccountId32Like} account_id
646
645
  **/
647
- evmAddress: GenericRuntimeApiMethod<Rv, (accountId: AccountId32Like) => Promise<H160>>;
646
+ evmAddress: GenericRuntimeApiMethod<(accountId: AccountId32Like) => Promise<H160>>;
648
647
 
649
648
  /**
650
649
  * Return the Substrate address bound to the EVM account. If not bound, returns `None`.
@@ -652,7 +651,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
652
651
  * @callname: EvmAccountsApi_bound_account_id
653
652
  * @param {H160} evm_address
654
653
  **/
655
- boundAccountId: GenericRuntimeApiMethod<Rv, (evmAddress: H160) => Promise<AccountId32 | undefined>>;
654
+ boundAccountId: GenericRuntimeApiMethod<(evmAddress: H160) => Promise<AccountId32 | undefined>>;
656
655
 
657
656
  /**
658
657
  * Get the Substrate address from the EVM address.
@@ -661,12 +660,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
661
660
  * @callname: EvmAccountsApi_account_id
662
661
  * @param {H160} evm_address
663
662
  **/
664
- accountId: GenericRuntimeApiMethod<Rv, (evmAddress: H160) => Promise<AccountId32>>;
663
+ accountId: GenericRuntimeApiMethod<(evmAddress: H160) => Promise<AccountId32>>;
665
664
 
666
665
  /**
667
666
  * Generic runtime api call
668
667
  **/
669
- [method: string]: GenericRuntimeApiMethod<Rv>;
668
+ [method: string]: GenericRuntimeApiMethod;
670
669
  };
671
670
  /**
672
671
  * @runtimeapi: Erc20MappingApi - 0x542334fe4fd7cada
@@ -678,7 +677,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
678
677
  * @callname: Erc20MappingApi_asset_address
679
678
  * @param {number} asset_id
680
679
  **/
681
- assetAddress: GenericRuntimeApiMethod<Rv, (assetId: number) => Promise<H160>>;
680
+ assetAddress: GenericRuntimeApiMethod<(assetId: number) => Promise<H160>>;
682
681
 
683
682
  /**
684
683
  * Get the asset id corresponding to EVM address. If not found, returns `None`.
@@ -686,12 +685,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
686
685
  * @callname: Erc20MappingApi_address_to_asset
687
686
  * @param {H160} address
688
687
  **/
689
- addressToAsset: GenericRuntimeApiMethod<Rv, (address: H160) => Promise<number | undefined>>;
688
+ addressToAsset: GenericRuntimeApiMethod<(address: H160) => Promise<number | undefined>>;
690
689
 
691
690
  /**
692
691
  * Generic runtime api call
693
692
  **/
694
- [method: string]: GenericRuntimeApiMethod<Rv>;
693
+ [method: string]: GenericRuntimeApiMethod;
695
694
  };
696
695
  /**
697
696
  * @runtimeapi: XcmPaymentApi - 0x6ff52ee858e6c5bd
@@ -708,7 +707,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
708
707
  * @param {number} xcm_version
709
708
  **/
710
709
  queryAcceptablePaymentAssets: GenericRuntimeApiMethod<
711
- Rv,
712
710
  (xcmVersion: number) => Promise<Result<Array<XcmVersionedAssetId>, XcmRuntimeApisFeesError>>
713
711
  >;
714
712
 
@@ -723,7 +721,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
723
721
  * @param {XcmVersionedXcm} message
724
722
  **/
725
723
  queryXcmWeight: GenericRuntimeApiMethod<
726
- Rv,
727
724
  (message: XcmVersionedXcm) => Promise<Result<SpWeightsWeightV2Weight, XcmRuntimeApisFeesError>>
728
725
  >;
729
726
 
@@ -740,7 +737,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
740
737
  * @param {XcmVersionedAssetId} asset
741
738
  **/
742
739
  queryWeightToAssetFee: GenericRuntimeApiMethod<
743
- Rv,
744
740
  (weight: SpWeightsWeightV2Weight, asset: XcmVersionedAssetId) => Promise<Result<bigint, XcmRuntimeApisFeesError>>
745
741
  >;
746
742
 
@@ -759,7 +755,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
759
755
  * @param {XcmVersionedXcm} message
760
756
  **/
761
757
  queryDeliveryFees: GenericRuntimeApiMethod<
762
- Rv,
763
758
  (
764
759
  destination: XcmVersionedLocation,
765
760
  message: XcmVersionedXcm,
@@ -769,7 +764,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
769
764
  /**
770
765
  * Generic runtime api call
771
766
  **/
772
- [method: string]: GenericRuntimeApiMethod<Rv>;
767
+ [method: string]: GenericRuntimeApiMethod;
773
768
  };
774
769
  /**
775
770
  * @runtimeapi: AuraUnincludedSegmentApi - 0xd7bdd8a272ca0d65
@@ -791,12 +786,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
791
786
  * @param {H256} included_hash
792
787
  * @param {SpConsensusSlotsSlot} slot
793
788
  **/
794
- canBuildUpon: GenericRuntimeApiMethod<Rv, (includedHash: H256, slot: SpConsensusSlotsSlot) => Promise<boolean>>;
789
+ canBuildUpon: GenericRuntimeApiMethod<(includedHash: H256, slot: SpConsensusSlotsSlot) => Promise<boolean>>;
795
790
 
796
791
  /**
797
792
  * Generic runtime api call
798
793
  **/
799
- [method: string]: GenericRuntimeApiMethod<Rv>;
794
+ [method: string]: GenericRuntimeApiMethod;
800
795
  };
801
796
  /**
802
797
  * @runtimeapi: DryRunApi - 0x91b1c8b16328eb92
@@ -810,7 +805,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
810
805
  * @param {HydradxRuntimeRuntimeCallLike} call
811
806
  **/
812
807
  dryRunCall: GenericRuntimeApiMethod<
813
- Rv,
814
808
  (
815
809
  origin: HydradxRuntimeOriginCaller,
816
810
  call: HydradxRuntimeRuntimeCallLike,
@@ -825,7 +819,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
825
819
  * @param {XcmVersionedXcm} xcm
826
820
  **/
827
821
  dryRunXcm: GenericRuntimeApiMethod<
828
- Rv,
829
822
  (
830
823
  originLocation: XcmVersionedLocation,
831
824
  xcm: XcmVersionedXcm,
@@ -835,7 +828,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
835
828
  /**
836
829
  * Generic runtime api call
837
830
  **/
838
- [method: string]: GenericRuntimeApiMethod<Rv>;
831
+ [method: string]: GenericRuntimeApiMethod;
839
832
  };
840
833
  /**
841
834
  * @runtimeapi: LocationToAccountApi - 0x9ffb505aa738d69c
@@ -848,14 +841,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
848
841
  * @param {XcmVersionedLocation} location
849
842
  **/
850
843
  convertLocation: GenericRuntimeApiMethod<
851
- Rv,
852
844
  (location: XcmVersionedLocation) => Promise<Result<AccountId32, XcmRuntimeApisConversionsError>>
853
845
  >;
854
846
 
855
847
  /**
856
848
  * Generic runtime api call
857
849
  **/
858
- [method: string]: GenericRuntimeApiMethod<Rv>;
850
+ [method: string]: GenericRuntimeApiMethod;
859
851
  };
860
852
  /**
861
853
  * @runtimeapi: ChainlinkAdapterApi - 0x2b5f5bcd2460e4f0
@@ -870,7 +862,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
870
862
  * @param {FixedBytes<8>} source
871
863
  **/
872
864
  encodeOracleAddress: GenericRuntimeApiMethod<
873
- Rv,
874
865
  (
875
866
  assetIdA: number,
876
867
  assetIdB: number,
@@ -885,14 +876,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
885
876
  * @param {H160} oracle_address
886
877
  **/
887
878
  decodeOracleAddress: GenericRuntimeApiMethod<
888
- Rv,
889
879
  (oracleAddress: H160) => Promise<[number, number, HydradxTraitsOracleOraclePeriod, FixedBytes<8>] | undefined>
890
880
  >;
891
881
 
892
882
  /**
893
883
  * Generic runtime api call
894
884
  **/
895
- [method: string]: GenericRuntimeApiMethod<Rv>;
885
+ [method: string]: GenericRuntimeApiMethod;
896
886
  };
897
887
  /**
898
888
  * @runtimeapi: AaveTradeExecutor - 0xa2b2b484fcb86943
@@ -902,7 +892,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
902
892
  *
903
893
  * @callname: AaveTradeExecutor_pairs
904
894
  **/
905
- pairs: GenericRuntimeApiMethod<Rv, () => Promise<Array<[number, number]>>>;
895
+ pairs: GenericRuntimeApiMethod<() => Promise<Array<[number, number]>>>;
906
896
 
907
897
  /**
908
898
  *
@@ -910,7 +900,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
910
900
  * @param {number} asset_in
911
901
  * @param {number} asset_out
912
902
  **/
913
- liquidityDepth: GenericRuntimeApiMethod<Rv, (assetIn: number, assetOut: number) => Promise<bigint | undefined>>;
903
+ liquidityDepth: GenericRuntimeApiMethod<(assetIn: number, assetOut: number) => Promise<bigint | undefined>>;
914
904
 
915
905
  /**
916
906
  *
@@ -919,7 +909,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
919
909
  * @param {number} atoken
920
910
  **/
921
911
  pool: GenericRuntimeApiMethod<
922
- Rv,
923
912
  (reserve: number, atoken: number) => Promise<HydradxRuntimeEvmAaveTradeExecutorPoolData>
924
913
  >;
925
914
 
@@ -927,12 +916,115 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
927
916
  *
928
917
  * @callname: AaveTradeExecutor_pools
929
918
  **/
930
- pools: GenericRuntimeApiMethod<Rv, () => Promise<Array<HydradxRuntimeEvmAaveTradeExecutorPoolData>>>;
919
+ pools: GenericRuntimeApiMethod<() => Promise<Array<HydradxRuntimeEvmAaveTradeExecutorPoolData>>>;
920
+
921
+ /**
922
+ * Generic runtime api call
923
+ **/
924
+ [method: string]: GenericRuntimeApiMethod;
925
+ };
926
+ /**
927
+ * @runtimeapi: IsmpRuntimeApi - 0x0ebc8fd84ae20ada
928
+ **/
929
+ ismpRuntimeApi: {
930
+ /**
931
+ * Should return the host's state machine identifier
932
+ *
933
+ * @callname: IsmpRuntimeApi_host_state_machine
934
+ **/
935
+ hostStateMachine: GenericRuntimeApiMethod<() => Promise<IsmpHostStateMachine>>;
936
+
937
+ /**
938
+ * Fetch all ISMP events
939
+ *
940
+ * @callname: IsmpRuntimeApi_block_events
941
+ **/
942
+ blockEvents: GenericRuntimeApiMethod<() => Promise<Array<IsmpEventsEvent>>>;
943
+
944
+ /**
945
+ * Fetch all ISMP events and their extrinsic metadata
946
+ *
947
+ * @callname: IsmpRuntimeApi_block_events_with_metadata
948
+ **/
949
+ blockEventsWithMetadata: GenericRuntimeApiMethod<() => Promise<Array<[IsmpEventsEvent, number | undefined]>>>;
950
+
951
+ /**
952
+ * Return the scale encoded consensus state
953
+ *
954
+ * @callname: IsmpRuntimeApi_consensus_state
955
+ * @param {FixedBytes<4>} id
956
+ **/
957
+ consensusState: GenericRuntimeApiMethod<(id: FixedBytes<4>) => Promise<Bytes | undefined>>;
958
+
959
+ /**
960
+ * Return the timestamp this client was last updated in seconds
961
+ *
962
+ * @callname: IsmpRuntimeApi_state_machine_update_time
963
+ * @param {IsmpConsensusStateMachineHeight} id
964
+ **/
965
+ stateMachineUpdateTime: GenericRuntimeApiMethod<
966
+ (id: IsmpConsensusStateMachineHeight) => Promise<bigint | undefined>
967
+ >;
968
+
969
+ /**
970
+ * Return the challenge period timestamp
971
+ *
972
+ * @callname: IsmpRuntimeApi_challenge_period
973
+ * @param {IsmpConsensusStateMachineId} id
974
+ **/
975
+ challengePeriod: GenericRuntimeApiMethod<(id: IsmpConsensusStateMachineId) => Promise<bigint | undefined>>;
976
+
977
+ /**
978
+ * Return the latest height of the state machine
979
+ *
980
+ * @callname: IsmpRuntimeApi_latest_state_machine_height
981
+ * @param {IsmpConsensusStateMachineId} id
982
+ **/
983
+ latestStateMachineHeight: GenericRuntimeApiMethod<(id: IsmpConsensusStateMachineId) => Promise<bigint | undefined>>;
984
+
985
+ /**
986
+ * Fetch the requests for the given commitments.
987
+ *
988
+ * @callname: IsmpRuntimeApi_requests
989
+ * @param {Array<H256>} request_commitments
990
+ **/
991
+ requests: GenericRuntimeApiMethod<(requestCommitments: Array<H256>) => Promise<Array<IsmpRouterRequest>>>;
992
+
993
+ /**
994
+ * Fetch the responses for the given commitments.
995
+ *
996
+ * @callname: IsmpRuntimeApi_responses
997
+ * @param {Array<H256>} response_commitments
998
+ **/
999
+ responses: GenericRuntimeApiMethod<(responseCommitments: Array<H256>) => Promise<Array<IsmpRouterResponse>>>;
1000
+
1001
+ /**
1002
+ * Generic runtime api call
1003
+ **/
1004
+ [method: string]: GenericRuntimeApiMethod;
1005
+ };
1006
+ /**
1007
+ * @runtimeapi: IsmpParachainApi - 0x5d1df2fe7d4f6bc8
1008
+ **/
1009
+ ismpParachainApi: {
1010
+ /**
1011
+ * Return all the para_ids this runtime is interested in. Used by the inherent provider
1012
+ *
1013
+ * @callname: IsmpParachainApi_para_ids
1014
+ **/
1015
+ paraIds: GenericRuntimeApiMethod<() => Promise<Array<number>>>;
1016
+
1017
+ /**
1018
+ * Return the current relay chain state.
1019
+ *
1020
+ * @callname: IsmpParachainApi_current_relay_chain_state
1021
+ **/
1022
+ currentRelayChainState: GenericRuntimeApiMethod<() => Promise<CumulusPalletParachainSystemRelayChainState>>;
931
1023
 
932
1024
  /**
933
1025
  * Generic runtime api call
934
1026
  **/
935
- [method: string]: GenericRuntimeApiMethod<Rv>;
1027
+ [method: string]: GenericRuntimeApiMethod;
936
1028
  };
937
1029
  /**
938
1030
  * @runtimeapi: GenesisBuilder - 0xfbc577b9d747efd6
@@ -952,7 +1044,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
952
1044
  * @callname: GenesisBuilder_build_state
953
1045
  * @param {BytesLike} json
954
1046
  **/
955
- buildState: GenericRuntimeApiMethod<Rv, (json: BytesLike) => Promise<Result<[], string>>>;
1047
+ buildState: GenericRuntimeApiMethod<(json: BytesLike) => Promise<Result<[], string>>>;
956
1048
 
957
1049
  /**
958
1050
  * Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by
@@ -973,7 +1065,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
973
1065
  * @callname: GenesisBuilder_get_preset
974
1066
  * @param {string | undefined} id
975
1067
  **/
976
- getPreset: GenericRuntimeApiMethod<Rv, (id?: string | undefined) => Promise<Bytes | undefined>>;
1068
+ getPreset: GenericRuntimeApiMethod<(id?: string | undefined) => Promise<Bytes | undefined>>;
977
1069
 
978
1070
  /**
979
1071
  * Returns a list of identifiers for available builtin `RuntimeGenesisConfig` presets.
@@ -983,11 +1075,11 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
983
1075
  *
984
1076
  * @callname: GenesisBuilder_preset_names
985
1077
  **/
986
- presetNames: GenericRuntimeApiMethod<Rv, () => Promise<Array<string>>>;
1078
+ presetNames: GenericRuntimeApiMethod<() => Promise<Array<string>>>;
987
1079
 
988
1080
  /**
989
1081
  * Generic runtime api call
990
1082
  **/
991
- [method: string]: GenericRuntimeApiMethod<Rv>;
1083
+ [method: string]: GenericRuntimeApiMethod;
992
1084
  };
993
1085
  }