@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,
@@ -77,7 +77,7 @@ import type {
77
77
  SpCoreCryptoKeyTypeId,
78
78
  } from './types.js';
79
79
 
80
- export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<Rv> {
80
+ export interface RuntimeApis extends GenericRuntimeApis {
81
81
  /**
82
82
  * @runtimeapi: Core - 0xdf6acb689907609b
83
83
  **/
@@ -87,7 +87,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
87
87
  *
88
88
  * @callname: Core_version
89
89
  **/
90
- version: GenericRuntimeApiMethod<Rv, () => Promise<RuntimeVersion>>;
90
+ version: GenericRuntimeApiMethod<() => Promise<RuntimeVersion>>;
91
91
 
92
92
  /**
93
93
  * Execute the given block.
@@ -95,7 +95,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
95
95
  * @callname: Core_execute_block
96
96
  * @param {SpRuntimeBlock} block
97
97
  **/
98
- executeBlock: GenericRuntimeApiMethod<Rv, (block: SpRuntimeBlock) => Promise<[]>>;
98
+ executeBlock: GenericRuntimeApiMethod<(block: SpRuntimeBlock) => Promise<[]>>;
99
99
 
100
100
  /**
101
101
  * Initialize a block with the given header and return the runtime executive mode.
@@ -103,12 +103,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
103
103
  * @callname: Core_initialize_block
104
104
  * @param {Header} header
105
105
  **/
106
- initializeBlock: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<SpRuntimeExtrinsicInclusionMode>>;
106
+ initializeBlock: GenericRuntimeApiMethod<(header: Header) => Promise<SpRuntimeExtrinsicInclusionMode>>;
107
107
 
108
108
  /**
109
109
  * Generic runtime api call
110
110
  **/
111
- [method: string]: GenericRuntimeApiMethod<Rv>;
111
+ [method: string]: GenericRuntimeApiMethod;
112
112
  };
113
113
  /**
114
114
  * @runtimeapi: Metadata - 0x37e397fc7c91f5e4
@@ -119,7 +119,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
119
119
  *
120
120
  * @callname: Metadata_metadata
121
121
  **/
122
- metadata: GenericRuntimeApiMethod<Rv, () => Promise<SpCoreOpaqueMetadata>>;
122
+ metadata: GenericRuntimeApiMethod<() => Promise<SpCoreOpaqueMetadata>>;
123
123
 
124
124
  /**
125
125
  * Returns the metadata at a given version.
@@ -130,7 +130,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
130
130
  * @callname: Metadata_metadata_at_version
131
131
  * @param {number} version
132
132
  **/
133
- metadataAtVersion: GenericRuntimeApiMethod<Rv, (version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
133
+ metadataAtVersion: GenericRuntimeApiMethod<(version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
134
134
 
135
135
  /**
136
136
  * Returns the supported metadata versions.
@@ -139,12 +139,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
139
139
  *
140
140
  * @callname: Metadata_metadata_versions
141
141
  **/
142
- metadataVersions: GenericRuntimeApiMethod<Rv, () => Promise<Array<number>>>;
142
+ metadataVersions: GenericRuntimeApiMethod<() => Promise<Array<number>>>;
143
143
 
144
144
  /**
145
145
  * Generic runtime api call
146
146
  **/
147
- [method: string]: GenericRuntimeApiMethod<Rv>;
147
+ [method: string]: GenericRuntimeApiMethod;
148
148
  };
149
149
  /**
150
150
  * @runtimeapi: RuntimeViewFunction - 0xccd9de6396c899ca
@@ -158,7 +158,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
158
158
  * @param {BytesLike} input
159
159
  **/
160
160
  executeViewFunction: GenericRuntimeApiMethod<
161
- Rv,
162
161
  (
163
162
  queryId: FrameSupportViewFunctionsViewFunctionId,
164
163
  input: BytesLike,
@@ -168,7 +167,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
168
167
  /**
169
168
  * Generic runtime api call
170
169
  **/
171
- [method: string]: GenericRuntimeApiMethod<Rv>;
170
+ [method: string]: GenericRuntimeApiMethod;
172
171
  };
173
172
  /**
174
173
  * @runtimeapi: BlockBuilder - 0x40fe3ad401f8959a
@@ -184,7 +183,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
184
183
  * @param {UncheckedExtrinsicLike} extrinsic
185
184
  **/
186
185
  applyExtrinsic: GenericRuntimeApiMethod<
187
- Rv,
188
186
  (
189
187
  extrinsic: UncheckedExtrinsicLike,
190
188
  ) => Promise<Result<Result<[], DispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>
@@ -195,7 +193,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
195
193
  *
196
194
  * @callname: BlockBuilder_finalize_block
197
195
  **/
198
- finalizeBlock: GenericRuntimeApiMethod<Rv, () => Promise<Header>>;
196
+ finalizeBlock: GenericRuntimeApiMethod<() => Promise<Header>>;
199
197
 
200
198
  /**
201
199
  * Generate inherent extrinsics. The inherent data will vary from chain to chain.
@@ -204,7 +202,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
204
202
  * @param {SpInherentsInherentData} inherent
205
203
  **/
206
204
  inherentExtrinsics: GenericRuntimeApiMethod<
207
- Rv,
208
205
  (inherent: SpInherentsInherentData) => Promise<Array<UncheckedExtrinsic>>
209
206
  >;
210
207
 
@@ -216,14 +213,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
216
213
  * @param {SpInherentsInherentData} data
217
214
  **/
218
215
  checkInherents: GenericRuntimeApiMethod<
219
- Rv,
220
216
  (block: SpRuntimeBlock, data: SpInherentsInherentData) => Promise<SpInherentsCheckInherentsResult>
221
217
  >;
222
218
 
223
219
  /**
224
220
  * Generic runtime api call
225
221
  **/
226
- [method: string]: GenericRuntimeApiMethod<Rv>;
222
+ [method: string]: GenericRuntimeApiMethod;
227
223
  };
228
224
  /**
229
225
  * @runtimeapi: TaggedTransactionQueue - 0xd2bc9897eed08f15
@@ -246,7 +242,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
246
242
  * @param {H256} block_hash
247
243
  **/
248
244
  validateTransaction: GenericRuntimeApiMethod<
249
- Rv,
250
245
  (
251
246
  source: SpRuntimeTransactionValidityTransactionSource,
252
247
  tx: UncheckedExtrinsicLike,
@@ -259,7 +254,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
259
254
  /**
260
255
  * Generic runtime api call
261
256
  **/
262
- [method: string]: GenericRuntimeApiMethod<Rv>;
257
+ [method: string]: GenericRuntimeApiMethod;
263
258
  };
264
259
  /**
265
260
  * @runtimeapi: ValidateStatement - 0xbe9fb0c91a8046cf
@@ -273,7 +268,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
273
268
  * @param {SpStatementStoreStatement} statement
274
269
  **/
275
270
  validateStatement: GenericRuntimeApiMethod<
276
- Rv,
277
271
  (
278
272
  source: SpStatementStoreRuntimeApiStatementSource,
279
273
  statement: SpStatementStoreStatement,
@@ -283,7 +277,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
283
277
  /**
284
278
  * Generic runtime api call
285
279
  **/
286
- [method: string]: GenericRuntimeApiMethod<Rv>;
280
+ [method: string]: GenericRuntimeApiMethod;
287
281
  };
288
282
  /**
289
283
  * @runtimeapi: OffchainWorkerApi - 0xf78b278be53f454c
@@ -295,12 +289,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
295
289
  * @callname: OffchainWorkerApi_offchain_worker
296
290
  * @param {Header} header
297
291
  **/
298
- offchainWorker: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<[]>>;
292
+ offchainWorker: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
299
293
 
300
294
  /**
301
295
  * Generic runtime api call
302
296
  **/
303
- [method: string]: GenericRuntimeApiMethod<Rv>;
297
+ [method: string]: GenericRuntimeApiMethod;
304
298
  };
305
299
  /**
306
300
  * @runtimeapi: GrandpaApi - 0xed99c5acb25eedf5
@@ -316,7 +310,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
316
310
  *
317
311
  * @callname: GrandpaApi_grandpa_authorities
318
312
  **/
319
- grandpaAuthorities: GenericRuntimeApiMethod<Rv, () => Promise<Array<[SpConsensusGrandpaAppPublic, bigint]>>>;
313
+ grandpaAuthorities: GenericRuntimeApiMethod<() => Promise<Array<[SpConsensusGrandpaAppPublic, bigint]>>>;
320
314
 
321
315
  /**
322
316
  * Submits an unsigned extrinsic to report an equivocation. The caller
@@ -333,7 +327,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
333
327
  * @param {SpRuntimeOpaqueValue} key_owner_proof
334
328
  **/
335
329
  submitReportEquivocationUnsignedExtrinsic: GenericRuntimeApiMethod<
336
- Rv,
337
330
  (
338
331
  equivocationProof: SpConsensusGrandpaEquivocationProof,
339
332
  keyOwnerProof: SpRuntimeOpaqueValue,
@@ -358,7 +351,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
358
351
  * @param {SpConsensusGrandpaAppPublic} authority_id
359
352
  **/
360
353
  generateKeyOwnershipProof: GenericRuntimeApiMethod<
361
- Rv,
362
354
  (setId: bigint, authorityId: SpConsensusGrandpaAppPublic) => Promise<SpRuntimeOpaqueValue | undefined>
363
355
  >;
364
356
 
@@ -367,12 +359,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
367
359
  *
368
360
  * @callname: GrandpaApi_current_set_id
369
361
  **/
370
- currentSetId: GenericRuntimeApiMethod<Rv, () => Promise<bigint>>;
362
+ currentSetId: GenericRuntimeApiMethod<() => Promise<bigint>>;
371
363
 
372
364
  /**
373
365
  * Generic runtime api call
374
366
  **/
375
- [method: string]: GenericRuntimeApiMethod<Rv>;
367
+ [method: string]: GenericRuntimeApiMethod;
376
368
  };
377
369
  /**
378
370
  * @runtimeapi: NominationPoolsApi - 0x17a6bc0d0062aeb3
@@ -384,7 +376,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
384
376
  * @callname: NominationPoolsApi_pending_rewards
385
377
  * @param {AccountId32Like} who
386
378
  **/
387
- pendingRewards: GenericRuntimeApiMethod<Rv, (who: AccountId32Like) => Promise<bigint>>;
379
+ pendingRewards: GenericRuntimeApiMethod<(who: AccountId32Like) => Promise<bigint>>;
388
380
 
389
381
  /**
390
382
  * Returns the equivalent balance of `points` for a given pool.
@@ -393,7 +385,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
393
385
  * @param {number} pool_id
394
386
  * @param {bigint} points
395
387
  **/
396
- pointsToBalance: GenericRuntimeApiMethod<Rv, (poolId: number, points: bigint) => Promise<bigint>>;
388
+ pointsToBalance: GenericRuntimeApiMethod<(poolId: number, points: bigint) => Promise<bigint>>;
397
389
 
398
390
  /**
399
391
  * Returns the equivalent points of `new_funds` for a given pool.
@@ -402,7 +394,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
402
394
  * @param {number} pool_id
403
395
  * @param {bigint} new_funds
404
396
  **/
405
- balanceToPoints: GenericRuntimeApiMethod<Rv, (poolId: number, newFunds: bigint) => Promise<bigint>>;
397
+ balanceToPoints: GenericRuntimeApiMethod<(poolId: number, newFunds: bigint) => Promise<bigint>>;
406
398
 
407
399
  /**
408
400
  * Returns the pending slash for a given pool.
@@ -410,7 +402,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
410
402
  * @callname: NominationPoolsApi_pool_pending_slash
411
403
  * @param {number} pool_id
412
404
  **/
413
- poolPendingSlash: GenericRuntimeApiMethod<Rv, (poolId: number) => Promise<bigint>>;
405
+ poolPendingSlash: GenericRuntimeApiMethod<(poolId: number) => Promise<bigint>>;
414
406
 
415
407
  /**
416
408
  * Returns the pending slash for a given pool member.
@@ -421,7 +413,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
421
413
  * @callname: NominationPoolsApi_member_pending_slash
422
414
  * @param {AccountId32Like} member
423
415
  **/
424
- memberPendingSlash: GenericRuntimeApiMethod<Rv, (member: AccountId32Like) => Promise<bigint>>;
416
+ memberPendingSlash: GenericRuntimeApiMethod<(member: AccountId32Like) => Promise<bigint>>;
425
417
 
426
418
  /**
427
419
  * Returns true if the pool with `pool_id` needs migration.
@@ -436,7 +428,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
436
428
  * @callname: NominationPoolsApi_pool_needs_delegate_migration
437
429
  * @param {number} pool_id
438
430
  **/
439
- poolNeedsDelegateMigration: GenericRuntimeApiMethod<Rv, (poolId: number) => Promise<boolean>>;
431
+ poolNeedsDelegateMigration: GenericRuntimeApiMethod<(poolId: number) => Promise<boolean>>;
440
432
 
441
433
  /**
442
434
  * Returns true if the delegated funds of the pool `member` needs migration.
@@ -450,7 +442,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
450
442
  * @callname: NominationPoolsApi_member_needs_delegate_migration
451
443
  * @param {AccountId32Like} member
452
444
  **/
453
- memberNeedsDelegateMigration: GenericRuntimeApiMethod<Rv, (member: AccountId32Like) => Promise<boolean>>;
445
+ memberNeedsDelegateMigration: GenericRuntimeApiMethod<(member: AccountId32Like) => Promise<boolean>>;
454
446
 
455
447
  /**
456
448
  * Returns the total contribution of a pool member including any balance that is unbonding.
@@ -458,7 +450,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
458
450
  * @callname: NominationPoolsApi_member_total_balance
459
451
  * @param {AccountId32Like} who
460
452
  **/
461
- memberTotalBalance: GenericRuntimeApiMethod<Rv, (who: AccountId32Like) => Promise<bigint>>;
453
+ memberTotalBalance: GenericRuntimeApiMethod<(who: AccountId32Like) => Promise<bigint>>;
462
454
 
463
455
  /**
464
456
  * Total balance contributed to the pool.
@@ -466,7 +458,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
466
458
  * @callname: NominationPoolsApi_pool_balance
467
459
  * @param {number} pool_id
468
460
  **/
469
- poolBalance: GenericRuntimeApiMethod<Rv, (poolId: number) => Promise<bigint>>;
461
+ poolBalance: GenericRuntimeApiMethod<(poolId: number) => Promise<bigint>>;
470
462
 
471
463
  /**
472
464
  * Returns the bonded account and reward account associated with the pool_id.
@@ -474,12 +466,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
474
466
  * @callname: NominationPoolsApi_pool_accounts
475
467
  * @param {number} pool_id
476
468
  **/
477
- poolAccounts: GenericRuntimeApiMethod<Rv, (poolId: number) => Promise<[AccountId32, AccountId32]>>;
469
+ poolAccounts: GenericRuntimeApiMethod<(poolId: number) => Promise<[AccountId32, AccountId32]>>;
478
470
 
479
471
  /**
480
472
  * Generic runtime api call
481
473
  **/
482
- [method: string]: GenericRuntimeApiMethod<Rv>;
474
+ [method: string]: GenericRuntimeApiMethod;
483
475
  };
484
476
  /**
485
477
  * @runtimeapi: StakingApi - 0x18ef58a3b67ba770
@@ -491,7 +483,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
491
483
  * @callname: StakingApi_nominations_quota
492
484
  * @param {bigint} balance
493
485
  **/
494
- nominationsQuota: GenericRuntimeApiMethod<Rv, (balance: bigint) => Promise<number>>;
486
+ nominationsQuota: GenericRuntimeApiMethod<(balance: bigint) => Promise<number>>;
495
487
 
496
488
  /**
497
489
  * Returns the page count of exposures for a validator `account` in a given era.
@@ -500,7 +492,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
500
492
  * @param {number} era
501
493
  * @param {AccountId32Like} account
502
494
  **/
503
- erasStakersPageCount: GenericRuntimeApiMethod<Rv, (era: number, account: AccountId32Like) => Promise<number>>;
495
+ erasStakersPageCount: GenericRuntimeApiMethod<(era: number, account: AccountId32Like) => Promise<number>>;
504
496
 
505
497
  /**
506
498
  * Returns true if validator `account` has pages to be claimed for the given era.
@@ -509,12 +501,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
509
501
  * @param {number} era
510
502
  * @param {AccountId32Like} account
511
503
  **/
512
- pendingRewards: GenericRuntimeApiMethod<Rv, (era: number, account: AccountId32Like) => Promise<boolean>>;
504
+ pendingRewards: GenericRuntimeApiMethod<(era: number, account: AccountId32Like) => Promise<boolean>>;
513
505
 
514
506
  /**
515
507
  * Generic runtime api call
516
508
  **/
517
- [method: string]: GenericRuntimeApiMethod<Rv>;
509
+ [method: string]: GenericRuntimeApiMethod;
518
510
  };
519
511
  /**
520
512
  * @runtimeapi: BabeApi - 0xcbca25e39f142387
@@ -525,21 +517,21 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
525
517
  *
526
518
  * @callname: BabeApi_configuration
527
519
  **/
528
- configuration: GenericRuntimeApiMethod<Rv, () => Promise<SpConsensusBabeBabeConfiguration>>;
520
+ configuration: GenericRuntimeApiMethod<() => Promise<SpConsensusBabeBabeConfiguration>>;
529
521
 
530
522
  /**
531
523
  * Returns the slot that started the current epoch.
532
524
  *
533
525
  * @callname: BabeApi_current_epoch_start
534
526
  **/
535
- currentEpochStart: GenericRuntimeApiMethod<Rv, () => Promise<SpConsensusSlotsSlot>>;
527
+ currentEpochStart: GenericRuntimeApiMethod<() => Promise<SpConsensusSlotsSlot>>;
536
528
 
537
529
  /**
538
530
  * Returns information regarding the current epoch.
539
531
  *
540
532
  * @callname: BabeApi_current_epoch
541
533
  **/
542
- currentEpoch: GenericRuntimeApiMethod<Rv, () => Promise<SpConsensusBabeEpoch>>;
534
+ currentEpoch: GenericRuntimeApiMethod<() => Promise<SpConsensusBabeEpoch>>;
543
535
 
544
536
  /**
545
537
  * Returns information regarding the next epoch (which was already
@@ -547,7 +539,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
547
539
  *
548
540
  * @callname: BabeApi_next_epoch
549
541
  **/
550
- nextEpoch: GenericRuntimeApiMethod<Rv, () => Promise<SpConsensusBabeEpoch>>;
542
+ nextEpoch: GenericRuntimeApiMethod<() => Promise<SpConsensusBabeEpoch>>;
551
543
 
552
544
  /**
553
545
  * Generates a proof of key ownership for the given authority in the
@@ -567,7 +559,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
567
559
  * @param {SpConsensusBabeAppPublic} authority_id
568
560
  **/
569
561
  generateKeyOwnershipProof: GenericRuntimeApiMethod<
570
- Rv,
571
562
  (
572
563
  slot: SpConsensusSlotsSlot,
573
564
  authorityId: SpConsensusBabeAppPublic,
@@ -589,7 +580,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
589
580
  * @param {SpConsensusBabeOpaqueKeyOwnershipProof} key_owner_proof
590
581
  **/
591
582
  submitReportEquivocationUnsignedExtrinsic: GenericRuntimeApiMethod<
592
- Rv,
593
583
  (
594
584
  equivocationProof: SpConsensusSlotsEquivocationProof,
595
585
  keyOwnerProof: SpConsensusBabeOpaqueKeyOwnershipProof,
@@ -599,7 +589,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
599
589
  /**
600
590
  * Generic runtime api call
601
591
  **/
602
- [method: string]: GenericRuntimeApiMethod<Rv>;
592
+ [method: string]: GenericRuntimeApiMethod;
603
593
  };
604
594
  /**
605
595
  * @runtimeapi: AuthorityDiscoveryApi - 0x687ad44ad37f03c2
@@ -610,12 +600,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
610
600
  *
611
601
  * @callname: AuthorityDiscoveryApi_authorities
612
602
  **/
613
- authorities: GenericRuntimeApiMethod<Rv, () => Promise<Array<SpAuthorityDiscoveryAppPublic>>>;
603
+ authorities: GenericRuntimeApiMethod<() => Promise<Array<SpAuthorityDiscoveryAppPublic>>>;
614
604
 
615
605
  /**
616
606
  * Generic runtime api call
617
607
  **/
618
- [method: string]: GenericRuntimeApiMethod<Rv>;
608
+ [method: string]: GenericRuntimeApiMethod;
619
609
  };
620
610
  /**
621
611
  * @runtimeapi: AccountNonceApi - 0xbc9d89904f5b923f
@@ -627,12 +617,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
627
617
  * @callname: AccountNonceApi_account_nonce
628
618
  * @param {AccountId32Like} account
629
619
  **/
630
- accountNonce: GenericRuntimeApiMethod<Rv, (account: AccountId32Like) => Promise<number>>;
620
+ accountNonce: GenericRuntimeApiMethod<(account: AccountId32Like) => Promise<number>>;
631
621
 
632
622
  /**
633
623
  * Generic runtime api call
634
624
  **/
635
- [method: string]: GenericRuntimeApiMethod<Rv>;
625
+ [method: string]: GenericRuntimeApiMethod;
636
626
  };
637
627
  /**
638
628
  * @runtimeapi: AssetsApi - 0x8453b50b22293977
@@ -644,12 +634,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
644
634
  * @callname: AssetsApi_account_balances
645
635
  * @param {AccountId32Like} account
646
636
  **/
647
- accountBalances: GenericRuntimeApiMethod<Rv, (account: AccountId32Like) => Promise<Array<[number, bigint]>>>;
637
+ accountBalances: GenericRuntimeApiMethod<(account: AccountId32Like) => Promise<Array<[number, bigint]>>>;
648
638
 
649
639
  /**
650
640
  * Generic runtime api call
651
641
  **/
652
- [method: string]: GenericRuntimeApiMethod<Rv>;
642
+ [method: string]: GenericRuntimeApiMethod;
653
643
  };
654
644
  /**
655
645
  * @runtimeapi: ContractsApi - 0x68b66ba122c93fa7
@@ -669,7 +659,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
669
659
  * @param {BytesLike} input_data
670
660
  **/
671
661
  call: GenericRuntimeApiMethod<
672
- Rv,
673
662
  (
674
663
  origin: AccountId32Like,
675
664
  dest: AccountId32Like,
@@ -695,7 +684,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
695
684
  * @param {BytesLike} salt
696
685
  **/
697
686
  instantiate: GenericRuntimeApiMethod<
698
- Rv,
699
687
  (
700
688
  origin: AccountId32Like,
701
689
  value: bigint,
@@ -719,7 +707,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
719
707
  * @param {PalletContractsWasmDeterminism} determinism
720
708
  **/
721
709
  uploadCode: GenericRuntimeApiMethod<
722
- Rv,
723
710
  (
724
711
  origin: AccountId32Like,
725
712
  code: BytesLike,
@@ -740,7 +727,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
740
727
  * @param {BytesLike} key
741
728
  **/
742
729
  getStorage: GenericRuntimeApiMethod<
743
- Rv,
744
730
  (
745
731
  address: AccountId32Like,
746
732
  key: BytesLike,
@@ -750,7 +736,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
750
736
  /**
751
737
  * Generic runtime api call
752
738
  **/
753
- [method: string]: GenericRuntimeApiMethod<Rv>;
739
+ [method: string]: GenericRuntimeApiMethod;
754
740
  };
755
741
  /**
756
742
  * @runtimeapi: ReviveApi - 0x8c403e5c4a9fd442
@@ -761,7 +747,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
761
747
  *
762
748
  * @callname: ReviveApi_block_gas_limit
763
749
  **/
764
- blockGasLimit: GenericRuntimeApiMethod<Rv, () => Promise<U256>>;
750
+ blockGasLimit: GenericRuntimeApiMethod<() => Promise<U256>>;
765
751
 
766
752
  /**
767
753
  * Returns the free balance of the given `[H160]` address, using EVM decimals.
@@ -769,14 +755,14 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
769
755
  * @callname: ReviveApi_balance
770
756
  * @param {H160} address
771
757
  **/
772
- balance: GenericRuntimeApiMethod<Rv, (address: H160) => Promise<U256>>;
758
+ balance: GenericRuntimeApiMethod<(address: H160) => Promise<U256>>;
773
759
 
774
760
  /**
775
761
  * Returns the gas price.
776
762
  *
777
763
  * @callname: ReviveApi_gas_price
778
764
  **/
779
- gasPrice: GenericRuntimeApiMethod<Rv, () => Promise<U256>>;
765
+ gasPrice: GenericRuntimeApiMethod<() => Promise<U256>>;
780
766
 
781
767
  /**
782
768
  * Returns the nonce of the given `[H160]` address.
@@ -784,7 +770,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
784
770
  * @callname: ReviveApi_nonce
785
771
  * @param {H160} address
786
772
  **/
787
- nonce: GenericRuntimeApiMethod<Rv, (address: H160) => Promise<number>>;
773
+ nonce: GenericRuntimeApiMethod<(address: H160) => Promise<number>>;
788
774
 
789
775
  /**
790
776
  * Perform a call from a specified account to a given contract.
@@ -800,7 +786,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
800
786
  * @param {BytesLike} input_data
801
787
  **/
802
788
  call: GenericRuntimeApiMethod<
803
- Rv,
804
789
  (
805
790
  origin: AccountId32Like,
806
791
  dest: H160,
@@ -826,7 +811,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
826
811
  * @param {FixedBytes<32> | undefined} salt
827
812
  **/
828
813
  instantiate: GenericRuntimeApiMethod<
829
- Rv,
830
814
  (
831
815
  origin: AccountId32Like,
832
816
  value: bigint,
@@ -847,7 +831,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
847
831
  * @param {PalletReviveEvmApiRpcTypesGenGenericTransaction} tx
848
832
  **/
849
833
  ethTransact: GenericRuntimeApiMethod<
850
- Rv,
851
834
  (
852
835
  tx: PalletReviveEvmApiRpcTypesGenGenericTransaction,
853
836
  ) => Promise<Result<PalletRevivePrimitivesEthTransactInfo, PalletRevivePrimitivesEthTransactError>>
@@ -864,7 +847,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
864
847
  * @param {bigint | undefined} storage_deposit_limit
865
848
  **/
866
849
  uploadCode: GenericRuntimeApiMethod<
867
- Rv,
868
850
  (
869
851
  origin: AccountId32Like,
870
852
  code: BytesLike,
@@ -884,7 +866,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
884
866
  * @param {FixedBytes<32>} key
885
867
  **/
886
868
  getStorage: GenericRuntimeApiMethod<
887
- Rv,
888
869
  (
889
870
  address: H160,
890
871
  key: FixedBytes<32>,
@@ -904,7 +885,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
904
885
  * @param {PalletReviveEvmApiDebugRpcTypesTracerType} config
905
886
  **/
906
887
  traceBlock: GenericRuntimeApiMethod<
907
- Rv,
908
888
  (
909
889
  block: SpRuntimeBlock,
910
890
  config: PalletReviveEvmApiDebugRpcTypesTracerType,
@@ -925,7 +905,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
925
905
  * @param {PalletReviveEvmApiDebugRpcTypesTracerType} config
926
906
  **/
927
907
  traceTx: GenericRuntimeApiMethod<
928
- Rv,
929
908
  (
930
909
  block: SpRuntimeBlock,
931
910
  txIndex: number,
@@ -943,7 +922,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
943
922
  * @param {PalletReviveEvmApiDebugRpcTypesTracerType} config
944
923
  **/
945
924
  traceCall: GenericRuntimeApiMethod<
946
- Rv,
947
925
  (
948
926
  tx: PalletReviveEvmApiRpcTypesGenGenericTransaction,
949
927
  config: PalletReviveEvmApiDebugRpcTypesTracerType,
@@ -953,7 +931,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
953
931
  /**
954
932
  * Generic runtime api call
955
933
  **/
956
- [method: string]: GenericRuntimeApiMethod<Rv>;
934
+ [method: string]: GenericRuntimeApiMethod;
957
935
  };
958
936
  /**
959
937
  * @runtimeapi: TransactionPaymentApi - 0x37c8bb1350a9a2a8
@@ -966,7 +944,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
966
944
  * @param {number} len
967
945
  **/
968
946
  queryInfo: GenericRuntimeApiMethod<
969
- Rv,
970
947
  (uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
971
948
  >;
972
949
 
@@ -977,7 +954,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
977
954
  * @param {number} len
978
955
  **/
979
956
  queryFeeDetails: GenericRuntimeApiMethod<
980
- Rv,
981
957
  (uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>
982
958
  >;
983
959
 
@@ -986,19 +962,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
986
962
  * @callname: TransactionPaymentApi_query_weight_to_fee
987
963
  * @param {SpWeightsWeightV2Weight} weight
988
964
  **/
989
- queryWeightToFee: GenericRuntimeApiMethod<Rv, (weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
965
+ queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
990
966
 
991
967
  /**
992
968
  *
993
969
  * @callname: TransactionPaymentApi_query_length_to_fee
994
970
  * @param {number} length
995
971
  **/
996
- queryLengthToFee: GenericRuntimeApiMethod<Rv, (length: number) => Promise<bigint>>;
972
+ queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
997
973
 
998
974
  /**
999
975
  * Generic runtime api call
1000
976
  **/
1001
- [method: string]: GenericRuntimeApiMethod<Rv>;
977
+ [method: string]: GenericRuntimeApiMethod;
1002
978
  };
1003
979
  /**
1004
980
  * @runtimeapi: AssetConversionApi - 0x8a8047a53a8277ec
@@ -1017,7 +993,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1017
993
  * @param {boolean} include_fee
1018
994
  **/
1019
995
  quotePriceTokensForExactTokens: GenericRuntimeApiMethod<
1020
- Rv,
1021
996
  (
1022
997
  asset1: FrameSupportTokensFungibleUnionOfNativeOrWithId,
1023
998
  asset2: FrameSupportTokensFungibleUnionOfNativeOrWithId,
@@ -1039,7 +1014,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1039
1014
  * @param {boolean} include_fee
1040
1015
  **/
1041
1016
  quotePriceExactTokensForTokens: GenericRuntimeApiMethod<
1042
- Rv,
1043
1017
  (
1044
1018
  asset1: FrameSupportTokensFungibleUnionOfNativeOrWithId,
1045
1019
  asset2: FrameSupportTokensFungibleUnionOfNativeOrWithId,
@@ -1056,7 +1030,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1056
1030
  * @param {FrameSupportTokensFungibleUnionOfNativeOrWithId} asset2
1057
1031
  **/
1058
1032
  getReserves: GenericRuntimeApiMethod<
1059
- Rv,
1060
1033
  (
1061
1034
  asset1: FrameSupportTokensFungibleUnionOfNativeOrWithId,
1062
1035
  asset2: FrameSupportTokensFungibleUnionOfNativeOrWithId,
@@ -1066,7 +1039,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1066
1039
  /**
1067
1040
  * Generic runtime api call
1068
1041
  **/
1069
- [method: string]: GenericRuntimeApiMethod<Rv>;
1042
+ [method: string]: GenericRuntimeApiMethod;
1070
1043
  };
1071
1044
  /**
1072
1045
  * @runtimeapi: TransactionPaymentCallApi - 0xf3ff14d5ab527059
@@ -1080,7 +1053,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1080
1053
  * @param {number} len
1081
1054
  **/
1082
1055
  queryCallInfo: GenericRuntimeApiMethod<
1083
- Rv,
1084
1056
  (call: KitchensinkRuntimeRuntimeCallLike, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
1085
1057
  >;
1086
1058
 
@@ -1092,7 +1064,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1092
1064
  * @param {number} len
1093
1065
  **/
1094
1066
  queryCallFeeDetails: GenericRuntimeApiMethod<
1095
- Rv,
1096
1067
  (call: KitchensinkRuntimeRuntimeCallLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>
1097
1068
  >;
1098
1069
 
@@ -1102,7 +1073,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1102
1073
  * @callname: TransactionPaymentCallApi_query_weight_to_fee
1103
1074
  * @param {SpWeightsWeightV2Weight} weight
1104
1075
  **/
1105
- queryWeightToFee: GenericRuntimeApiMethod<Rv, (weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
1076
+ queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
1106
1077
 
1107
1078
  /**
1108
1079
  * Query the output of the current `LengthToFee` given some input.
@@ -1110,12 +1081,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1110
1081
  * @callname: TransactionPaymentCallApi_query_length_to_fee
1111
1082
  * @param {number} length
1112
1083
  **/
1113
- queryLengthToFee: GenericRuntimeApiMethod<Rv, (length: number) => Promise<bigint>>;
1084
+ queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
1114
1085
 
1115
1086
  /**
1116
1087
  * Generic runtime api call
1117
1088
  **/
1118
- [method: string]: GenericRuntimeApiMethod<Rv>;
1089
+ [method: string]: GenericRuntimeApiMethod;
1119
1090
  };
1120
1091
  /**
1121
1092
  * @runtimeapi: NftsApi - 0x899a250cbe84f250
@@ -1127,14 +1098,14 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1127
1098
  * @param {number} collection
1128
1099
  * @param {number} item
1129
1100
  **/
1130
- owner: GenericRuntimeApiMethod<Rv, (collection: number, item: number) => Promise<AccountId32 | undefined>>;
1101
+ owner: GenericRuntimeApiMethod<(collection: number, item: number) => Promise<AccountId32 | undefined>>;
1131
1102
 
1132
1103
  /**
1133
1104
  *
1134
1105
  * @callname: NftsApi_collection_owner
1135
1106
  * @param {number} collection
1136
1107
  **/
1137
- collectionOwner: GenericRuntimeApiMethod<Rv, (collection: number) => Promise<AccountId32 | undefined>>;
1108
+ collectionOwner: GenericRuntimeApiMethod<(collection: number) => Promise<AccountId32 | undefined>>;
1138
1109
 
1139
1110
  /**
1140
1111
  *
@@ -1144,7 +1115,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1144
1115
  * @param {BytesLike} key
1145
1116
  **/
1146
1117
  attribute: GenericRuntimeApiMethod<
1147
- Rv,
1148
1118
  (collection: number, item: number, key: BytesLike) => Promise<Bytes | undefined>
1149
1119
  >;
1150
1120
 
@@ -1157,7 +1127,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1157
1127
  * @param {BytesLike} key
1158
1128
  **/
1159
1129
  customAttribute: GenericRuntimeApiMethod<
1160
- Rv,
1161
1130
  (account: AccountId32Like, collection: number, item: number, key: BytesLike) => Promise<Bytes | undefined>
1162
1131
  >;
1163
1132
 
@@ -1169,7 +1138,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1169
1138
  * @param {BytesLike} key
1170
1139
  **/
1171
1140
  systemAttribute: GenericRuntimeApiMethod<
1172
- Rv,
1173
1141
  (collection: number, item: number | undefined, key: BytesLike) => Promise<Bytes | undefined>
1174
1142
  >;
1175
1143
 
@@ -1179,15 +1147,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1179
1147
  * @param {number} collection
1180
1148
  * @param {BytesLike} key
1181
1149
  **/
1182
- collectionAttribute: GenericRuntimeApiMethod<
1183
- Rv,
1184
- (collection: number, key: BytesLike) => Promise<Bytes | undefined>
1185
- >;
1150
+ collectionAttribute: GenericRuntimeApiMethod<(collection: number, key: BytesLike) => Promise<Bytes | undefined>>;
1186
1151
 
1187
1152
  /**
1188
1153
  * Generic runtime api call
1189
1154
  **/
1190
- [method: string]: GenericRuntimeApiMethod<Rv>;
1155
+ [method: string]: GenericRuntimeApiMethod;
1191
1156
  };
1192
1157
  /**
1193
1158
  * @runtimeapi: BeefyApi - 0x49eaaf1b548a0cb0
@@ -1198,14 +1163,14 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1198
1163
  *
1199
1164
  * @callname: BeefyApi_beefy_genesis
1200
1165
  **/
1201
- beefyGenesis: GenericRuntimeApiMethod<Rv, () => Promise<number | undefined>>;
1166
+ beefyGenesis: GenericRuntimeApiMethod<() => Promise<number | undefined>>;
1202
1167
 
1203
1168
  /**
1204
1169
  * Return the current active BEEFY validator set
1205
1170
  *
1206
1171
  * @callname: BeefyApi_validator_set
1207
1172
  **/
1208
- validatorSet: GenericRuntimeApiMethod<Rv, () => Promise<SpConsensusBeefyValidatorSet | undefined>>;
1173
+ validatorSet: GenericRuntimeApiMethod<() => Promise<SpConsensusBeefyValidatorSet | undefined>>;
1209
1174
 
1210
1175
  /**
1211
1176
  * Submits an unsigned extrinsic to report a double voting equivocation. The caller
@@ -1222,7 +1187,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1222
1187
  * @param {SpRuntimeOpaqueValue} key_owner_proof
1223
1188
  **/
1224
1189
  submitReportDoubleVotingUnsignedExtrinsic: GenericRuntimeApiMethod<
1225
- Rv,
1226
1190
  (
1227
1191
  equivocationProof: SpConsensusBeefyDoubleVotingProof,
1228
1192
  keyOwnerProof: SpRuntimeOpaqueValue,
@@ -1244,7 +1208,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1244
1208
  * @param {SpRuntimeOpaqueValue} key_owner_proof
1245
1209
  **/
1246
1210
  submitReportForkVotingUnsignedExtrinsic: GenericRuntimeApiMethod<
1247
- Rv,
1248
1211
  (
1249
1212
  equivocationProof: SpConsensusBeefyForkVotingProofOpaqueValue,
1250
1213
  keyOwnerProof: SpRuntimeOpaqueValue,
@@ -1266,7 +1229,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1266
1229
  * @param {SpRuntimeOpaqueValue} key_owner_proof
1267
1230
  **/
1268
1231
  submitReportFutureBlockVotingUnsignedExtrinsic: GenericRuntimeApiMethod<
1269
- Rv,
1270
1232
  (
1271
1233
  equivocationProof: SpConsensusBeefyFutureBlockVotingProof,
1272
1234
  keyOwnerProof: SpRuntimeOpaqueValue,
@@ -1291,7 +1253,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1291
1253
  * @param {SpConsensusBeefyEcdsaCryptoPublic} authority_id
1292
1254
  **/
1293
1255
  generateKeyOwnershipProof: GenericRuntimeApiMethod<
1294
- Rv,
1295
1256
  (setId: bigint, authorityId: SpConsensusBeefyEcdsaCryptoPublic) => Promise<SpRuntimeOpaqueValue | undefined>
1296
1257
  >;
1297
1258
 
@@ -1304,14 +1265,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1304
1265
  * @param {number | undefined} best_known_block_number
1305
1266
  **/
1306
1267
  generateAncestryProof: GenericRuntimeApiMethod<
1307
- Rv,
1308
1268
  (prevBlockNumber: number, bestKnownBlockNumber?: number | undefined) => Promise<SpRuntimeOpaqueValue | undefined>
1309
1269
  >;
1310
1270
 
1311
1271
  /**
1312
1272
  * Generic runtime api call
1313
1273
  **/
1314
- [method: string]: GenericRuntimeApiMethod<Rv>;
1274
+ [method: string]: GenericRuntimeApiMethod;
1315
1275
  };
1316
1276
  /**
1317
1277
  * @runtimeapi: MmrApi - 0x91d5df18b0d2cf58
@@ -1322,14 +1282,14 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1322
1282
  *
1323
1283
  * @callname: MmrApi_mmr_root
1324
1284
  **/
1325
- mmrRoot: GenericRuntimeApiMethod<Rv, () => Promise<Result<H256, SpMmrPrimitivesError>>>;
1285
+ mmrRoot: GenericRuntimeApiMethod<() => Promise<Result<H256, SpMmrPrimitivesError>>>;
1326
1286
 
1327
1287
  /**
1328
1288
  * Return the number of MMR blocks in the chain.
1329
1289
  *
1330
1290
  * @callname: MmrApi_mmr_leaf_count
1331
1291
  **/
1332
- mmrLeafCount: GenericRuntimeApiMethod<Rv, () => Promise<Result<bigint, SpMmrPrimitivesError>>>;
1292
+ mmrLeafCount: GenericRuntimeApiMethod<() => Promise<Result<bigint, SpMmrPrimitivesError>>>;
1333
1293
 
1334
1294
  /**
1335
1295
  * Generate MMR proof for a series of block numbers. If `best_known_block_number = Some(n)`,
@@ -1340,7 +1300,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1340
1300
  * @param {number | undefined} best_known_block_number
1341
1301
  **/
1342
1302
  generateProof: GenericRuntimeApiMethod<
1343
- Rv,
1344
1303
  (
1345
1304
  blockNumbers: Array<number>,
1346
1305
  bestKnownBlockNumber?: number | undefined,
@@ -1359,7 +1318,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1359
1318
  * @param {SpMmrPrimitivesLeafProof} proof
1360
1319
  **/
1361
1320
  verifyProof: GenericRuntimeApiMethod<
1362
- Rv,
1363
1321
  (
1364
1322
  leaves: Array<SpMmrPrimitivesEncodableOpaqueLeaf>,
1365
1323
  proof: SpMmrPrimitivesLeafProof,
@@ -1381,7 +1339,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1381
1339
  * @param {SpMmrPrimitivesLeafProof} proof
1382
1340
  **/
1383
1341
  verifyProofStateless: GenericRuntimeApiMethod<
1384
- Rv,
1385
1342
  (
1386
1343
  root: H256,
1387
1344
  leaves: Array<SpMmrPrimitivesEncodableOpaqueLeaf>,
@@ -1392,7 +1349,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1392
1349
  /**
1393
1350
  * Generic runtime api call
1394
1351
  **/
1395
- [method: string]: GenericRuntimeApiMethod<Rv>;
1352
+ [method: string]: GenericRuntimeApiMethod;
1396
1353
  };
1397
1354
  /**
1398
1355
  * @runtimeapi: MixnetApi - 0x6fd7c327202e4a8d
@@ -1403,21 +1360,21 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1403
1360
  *
1404
1361
  * @callname: MixnetApi_session_status
1405
1362
  **/
1406
- sessionStatus: GenericRuntimeApiMethod<Rv, () => Promise<SpMixnetSessionStatus>>;
1363
+ sessionStatus: GenericRuntimeApiMethod<() => Promise<SpMixnetSessionStatus>>;
1407
1364
 
1408
1365
  /**
1409
1366
  * Get the mixnode set for the previous session.
1410
1367
  *
1411
1368
  * @callname: MixnetApi_prev_mixnodes
1412
1369
  **/
1413
- prevMixnodes: GenericRuntimeApiMethod<Rv, () => Promise<Result<Array<SpMixnetMixnode>, SpMixnetMixnodesErr>>>;
1370
+ prevMixnodes: GenericRuntimeApiMethod<() => Promise<Result<Array<SpMixnetMixnode>, SpMixnetMixnodesErr>>>;
1414
1371
 
1415
1372
  /**
1416
1373
  * Get the mixnode set for the current session.
1417
1374
  *
1418
1375
  * @callname: MixnetApi_current_mixnodes
1419
1376
  **/
1420
- currentMixnodes: GenericRuntimeApiMethod<Rv, () => Promise<Result<Array<SpMixnetMixnode>, SpMixnetMixnodesErr>>>;
1377
+ currentMixnodes: GenericRuntimeApiMethod<() => Promise<Result<Array<SpMixnetMixnode>, SpMixnetMixnodesErr>>>;
1421
1378
 
1422
1379
  /**
1423
1380
  * Try to register a mixnode for the next session.
@@ -1440,12 +1397,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1440
1397
  * @param {number} session_index
1441
1398
  * @param {SpMixnetMixnode} mixnode
1442
1399
  **/
1443
- maybeRegister: GenericRuntimeApiMethod<Rv, (sessionIndex: number, mixnode: SpMixnetMixnode) => Promise<boolean>>;
1400
+ maybeRegister: GenericRuntimeApiMethod<(sessionIndex: number, mixnode: SpMixnetMixnode) => Promise<boolean>>;
1444
1401
 
1445
1402
  /**
1446
1403
  * Generic runtime api call
1447
1404
  **/
1448
- [method: string]: GenericRuntimeApiMethod<Rv>;
1405
+ [method: string]: GenericRuntimeApiMethod;
1449
1406
  };
1450
1407
  /**
1451
1408
  * @runtimeapi: SessionKeys - 0xab3c0572291feb8b
@@ -1463,7 +1420,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1463
1420
  * @callname: SessionKeys_generate_session_keys
1464
1421
  * @param {BytesLike | undefined} seed
1465
1422
  **/
1466
- generateSessionKeys: GenericRuntimeApiMethod<Rv, (seed?: BytesLike | undefined) => Promise<Bytes>>;
1423
+ generateSessionKeys: GenericRuntimeApiMethod<(seed?: BytesLike | undefined) => Promise<Bytes>>;
1467
1424
 
1468
1425
  /**
1469
1426
  * Decode the given public session keys.
@@ -1474,14 +1431,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1474
1431
  * @param {BytesLike} encoded
1475
1432
  **/
1476
1433
  decodeSessionKeys: GenericRuntimeApiMethod<
1477
- Rv,
1478
1434
  (encoded: BytesLike) => Promise<Array<[Bytes, SpCoreCryptoKeyTypeId]> | undefined>
1479
1435
  >;
1480
1436
 
1481
1437
  /**
1482
1438
  * Generic runtime api call
1483
1439
  **/
1484
- [method: string]: GenericRuntimeApiMethod<Rv>;
1440
+ [method: string]: GenericRuntimeApiMethod;
1485
1441
  };
1486
1442
  /**
1487
1443
  * @runtimeapi: AssetRewards - 0x65f855d6e093c2f1
@@ -1494,12 +1450,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1494
1450
  *
1495
1451
  * @callname: AssetRewards_pool_creation_cost
1496
1452
  **/
1497
- poolCreationCost: GenericRuntimeApiMethod<Rv, () => Promise<bigint>>;
1453
+ poolCreationCost: GenericRuntimeApiMethod<() => Promise<bigint>>;
1498
1454
 
1499
1455
  /**
1500
1456
  * Generic runtime api call
1501
1457
  **/
1502
- [method: string]: GenericRuntimeApiMethod<Rv>;
1458
+ [method: string]: GenericRuntimeApiMethod;
1503
1459
  };
1504
1460
  /**
1505
1461
  * @runtimeapi: GenesisBuilder - 0xfbc577b9d747efd6
@@ -1520,7 +1476,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1520
1476
  * @callname: GenesisBuilder_build_state
1521
1477
  * @param {BytesLike} json
1522
1478
  **/
1523
- buildState: GenericRuntimeApiMethod<Rv, (json: BytesLike) => Promise<Result<[], string>>>;
1479
+ buildState: GenericRuntimeApiMethod<(json: BytesLike) => Promise<Result<[], string>>>;
1524
1480
 
1525
1481
  /**
1526
1482
  * Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by
@@ -1541,7 +1497,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1541
1497
  * @callname: GenesisBuilder_get_preset
1542
1498
  * @param {string | undefined} id
1543
1499
  **/
1544
- getPreset: GenericRuntimeApiMethod<Rv, (id?: string | undefined) => Promise<Bytes | undefined>>;
1500
+ getPreset: GenericRuntimeApiMethod<(id?: string | undefined) => Promise<Bytes | undefined>>;
1545
1501
 
1546
1502
  /**
1547
1503
  * Returns a list of identifiers for available builtin `RuntimeGenesisConfig` presets.
@@ -1551,11 +1507,11 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1551
1507
  *
1552
1508
  * @callname: GenesisBuilder_preset_names
1553
1509
  **/
1554
- presetNames: GenericRuntimeApiMethod<Rv, () => Promise<Array<string>>>;
1510
+ presetNames: GenericRuntimeApiMethod<() => Promise<Array<string>>>;
1555
1511
 
1556
1512
  /**
1557
1513
  * Generic runtime api call
1558
1514
  **/
1559
- [method: string]: GenericRuntimeApiMethod<Rv>;
1515
+ [method: string]: GenericRuntimeApiMethod;
1560
1516
  };
1561
1517
  }