@dedot/chaintypes 0.194.0 → 0.195.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/aleph/consts.d.ts +2 -2
  2. package/aleph/errors.d.ts +228 -228
  3. package/aleph/events.d.ts +122 -226
  4. package/aleph/index.d.ts +13 -17
  5. package/aleph/json-rpc.d.ts +3 -3
  6. package/aleph/query.d.ts +171 -207
  7. package/aleph/runtime.d.ts +47 -63
  8. package/aleph/tx.d.ts +377 -550
  9. package/aleph/view-functions.d.ts +2 -2
  10. package/astar/consts.d.ts +2 -2
  11. package/astar/errors.d.ts +431 -431
  12. package/astar/events.d.ts +232 -401
  13. package/astar/index.d.ts +13 -17
  14. package/astar/json-rpc.d.ts +3 -3
  15. package/astar/query.d.ts +243 -289
  16. package/astar/runtime.d.ts +59 -87
  17. package/astar/tx.d.ts +671 -980
  18. package/astar/view-functions.d.ts +2 -2
  19. package/basilisk/consts.d.ts +2 -2
  20. package/basilisk/errors.d.ts +489 -489
  21. package/basilisk/events.d.ts +187 -408
  22. package/basilisk/index.d.ts +13 -17
  23. package/basilisk/json-rpc.d.ts +3 -3
  24. package/basilisk/query.d.ts +213 -272
  25. package/basilisk/runtime.d.ts +27 -28
  26. package/basilisk/tx.d.ts +579 -842
  27. package/basilisk/view-functions.d.ts +2 -2
  28. package/hydration/consts.d.ts +47 -14
  29. package/hydration/errors.d.ts +827 -737
  30. package/hydration/events.d.ts +639 -527
  31. package/hydration/index.d.ts +14 -18
  32. package/hydration/json-rpc.d.ts +3 -3
  33. package/hydration/query.d.ts +530 -396
  34. package/hydration/runtime.d.ts +181 -89
  35. package/hydration/tx.d.ts +1130 -1167
  36. package/hydration/types.d.ts +889 -42
  37. package/hydration/view-functions.d.ts +2 -2
  38. package/kusama/consts.d.ts +2 -2
  39. package/kusama/errors.d.ts +571 -571
  40. package/kusama/events.d.ts +216 -477
  41. package/kusama/index.d.ts +13 -17
  42. package/kusama/json-rpc.d.ts +3 -3
  43. package/kusama/query.d.ts +360 -502
  44. package/kusama/runtime.d.ts +82 -131
  45. package/kusama/tx.d.ts +851 -1246
  46. package/kusama/view-functions.d.ts +7 -12
  47. package/kusama-asset-hub/consts.d.ts +2 -2
  48. package/kusama-asset-hub/errors.d.ts +653 -653
  49. package/kusama-asset-hub/events.d.ts +286 -629
  50. package/kusama-asset-hub/index.d.ts +14 -17
  51. package/kusama-asset-hub/json-rpc.d.ts +3 -3
  52. package/kusama-asset-hub/query.d.ts +316 -448
  53. package/kusama-asset-hub/runtime.d.ts +74 -111
  54. package/kusama-asset-hub/tx.d.ts +1059 -1558
  55. package/kusama-asset-hub/view-functions.d.ts +7 -9
  56. package/kusama-people/consts.d.ts +2 -2
  57. package/kusama-people/errors.d.ts +160 -160
  58. package/kusama-people/events.d.ts +89 -176
  59. package/kusama-people/index.d.ts +13 -17
  60. package/kusama-people/json-rpc.d.ts +3 -3
  61. package/kusama-people/query.d.ts +114 -145
  62. package/kusama-people/runtime.d.ts +45 -65
  63. package/kusama-people/tx.d.ts +246 -356
  64. package/kusama-people/view-functions.d.ts +3 -5
  65. package/moonbeam/consts.d.ts +2 -2
  66. package/moonbeam/errors.d.ts +478 -478
  67. package/moonbeam/events.d.ts +182 -426
  68. package/moonbeam/index.d.ts +13 -17
  69. package/moonbeam/json-rpc.d.ts +11 -3
  70. package/moonbeam/query.d.ts +234 -294
  71. package/moonbeam/runtime.d.ts +61 -89
  72. package/moonbeam/tx.d.ts +618 -901
  73. package/moonbeam/view-functions.d.ts +2 -2
  74. package/package.json +6 -3
  75. package/paseo/consts.d.ts +2 -2
  76. package/paseo/errors.d.ts +513 -513
  77. package/paseo/events.d.ts +197 -430
  78. package/paseo/index.d.ts +14 -18
  79. package/paseo/json-rpc.d.ts +3 -3
  80. package/paseo/query.d.ts +329 -450
  81. package/paseo/runtime.d.ts +107 -131
  82. package/paseo/tx.d.ts +787 -1151
  83. package/paseo/types.d.ts +7 -0
  84. package/paseo/view-functions.d.ts +7 -12
  85. package/paseo-asset-hub/consts.d.ts +2 -2
  86. package/paseo-asset-hub/errors.d.ts +605 -605
  87. package/paseo-asset-hub/events.d.ts +268 -600
  88. package/paseo-asset-hub/index.d.ts +15 -18
  89. package/paseo-asset-hub/json-rpc.d.ts +3 -3
  90. package/paseo-asset-hub/query.d.ts +293 -413
  91. package/paseo-asset-hub/runtime.d.ts +96 -104
  92. package/paseo-asset-hub/tx.d.ts +997 -1466
  93. package/paseo-asset-hub/types.d.ts +7 -0
  94. package/paseo-asset-hub/view-functions.d.ts +7 -9
  95. package/paseo-hydration/consts.d.ts +13 -3
  96. package/paseo-hydration/errors.d.ts +756 -745
  97. package/paseo-hydration/events.d.ts +277 -554
  98. package/paseo-hydration/index.d.ts +14 -18
  99. package/paseo-hydration/json-rpc.d.ts +3 -3
  100. package/paseo-hydration/query.d.ts +321 -411
  101. package/paseo-hydration/runtime.d.ts +95 -106
  102. package/paseo-hydration/tx.d.ts +923 -1226
  103. package/paseo-hydration/types.d.ts +91 -50
  104. package/paseo-hydration/view-functions.d.ts +2 -2
  105. package/paseo-people/consts.d.ts +2 -2
  106. package/paseo-people/errors.d.ts +162 -162
  107. package/paseo-people/events.d.ts +91 -181
  108. package/paseo-people/index.d.ts +14 -18
  109. package/paseo-people/json-rpc.d.ts +3 -3
  110. package/paseo-people/query.d.ts +116 -143
  111. package/paseo-people/runtime.d.ts +70 -65
  112. package/paseo-people/tx.d.ts +257 -372
  113. package/paseo-people/types.d.ts +7 -0
  114. package/paseo-people/view-functions.d.ts +3 -5
  115. package/polkadot/consts.d.ts +2 -2
  116. package/polkadot/errors.d.ts +501 -501
  117. package/polkadot/events.d.ts +195 -426
  118. package/polkadot/index.d.ts +13 -17
  119. package/polkadot/json-rpc.d.ts +3 -3
  120. package/polkadot/query.d.ts +329 -450
  121. package/polkadot/runtime.d.ts +83 -133
  122. package/polkadot/tx.d.ts +765 -1119
  123. package/polkadot/view-functions.d.ts +7 -12
  124. package/polkadot-asset-hub/consts.d.ts +2 -2
  125. package/polkadot-asset-hub/errors.d.ts +554 -554
  126. package/polkadot-asset-hub/events.d.ts +261 -585
  127. package/polkadot-asset-hub/index.d.ts +14 -17
  128. package/polkadot-asset-hub/json-rpc.d.ts +3 -3
  129. package/polkadot-asset-hub/query.d.ts +279 -396
  130. package/polkadot-asset-hub/runtime.d.ts +65 -93
  131. package/polkadot-asset-hub/tx.d.ts +952 -1400
  132. package/polkadot-asset-hub/view-functions.d.ts +7 -9
  133. package/polkadot-people/consts.d.ts +2 -2
  134. package/polkadot-people/errors.d.ts +160 -160
  135. package/polkadot-people/events.d.ts +89 -176
  136. package/polkadot-people/index.d.ts +13 -17
  137. package/polkadot-people/json-rpc.d.ts +3 -3
  138. package/polkadot-people/query.d.ts +114 -145
  139. package/polkadot-people/runtime.d.ts +46 -67
  140. package/polkadot-people/tx.d.ts +246 -356
  141. package/polkadot-people/view-functions.d.ts +3 -5
  142. package/substrate/consts.d.ts +2 -2
  143. package/substrate/errors.d.ts +909 -909
  144. package/substrate/events.d.ts +389 -794
  145. package/substrate/index.d.ts +14 -17
  146. package/substrate/json-rpc.d.ts +3 -3
  147. package/substrate/query.d.ts +458 -572
  148. package/substrate/runtime.d.ts +82 -126
  149. package/substrate/tx.d.ts +1317 -1936
  150. package/substrate/view-functions.d.ts +2 -2
  151. package/vara/consts.d.ts +9 -37
  152. package/vara/errors.d.ts +402 -382
  153. package/vara/events.d.ts +172 -310
  154. package/vara/index.d.ts +14 -18
  155. package/vara/json-rpc.d.ts +7 -3
  156. package/vara/query.d.ts +299 -331
  157. package/vara/runtime.d.ts +61 -79
  158. package/vara/tx.d.ts +573 -754
  159. package/vara/types.d.ts +71 -26
  160. package/vara/view-functions.d.ts +2 -2
  161. package/westend/consts.d.ts +2 -2
  162. package/westend/errors.d.ts +532 -532
  163. package/westend/events.d.ts +205 -462
  164. package/westend/index.d.ts +13 -17
  165. package/westend/json-rpc.d.ts +3 -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 +14 -17
  174. package/westend-asset-hub/json-rpc.d.ts +3 -3
  175. package/westend-asset-hub/query.d.ts +293 -418
  176. package/westend-asset-hub/runtime.d.ts +83 -123
  177. package/westend-asset-hub/tx.d.ts +918 -1348
  178. package/westend-asset-hub/view-functions.d.ts +8 -13
  179. package/westend-people/consts.d.ts +2 -2
  180. package/westend-people/errors.d.ts +160 -160
  181. package/westend-people/events.d.ts +93 -186
  182. package/westend-people/index.d.ts +13 -17
  183. package/westend-people/json-rpc.d.ts +3 -3
  184. package/westend-people/query.d.ts +114 -145
  185. package/westend-people/runtime.d.ts +46 -67
  186. package/westend-people/tx.d.ts +251 -363
  187. package/westend-people/view-functions.d.ts +3 -5
@@ -1,6 +1,6 @@
1
1
  // Generated by dedot cli
2
2
 
3
- import type { GenericRuntimeApis, GenericRuntimeApiMethod, RpcVersion } from 'dedot/types';
3
+ import type { GenericRuntimeApis, GenericRuntimeApiMethod } from 'dedot/types';
4
4
  import type {
5
5
  H256,
6
6
  RuntimeVersion,
@@ -51,7 +51,7 @@ import type {
51
51
  PolkadotParachainPrimitivesPrimitivesId,
52
52
  } from './types.js';
53
53
 
54
- export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<Rv> {
54
+ export interface RuntimeApis extends GenericRuntimeApis {
55
55
  /**
56
56
  * @runtimeapi: AuraApi - 0xdd718d5cc53262d4
57
57
  **/
@@ -63,19 +63,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
63
63
  *
64
64
  * @callname: AuraApi_slot_duration
65
65
  **/
66
- slotDuration: GenericRuntimeApiMethod<Rv, () => Promise<SpConsensusSlotsSlotDuration>>;
66
+ slotDuration: GenericRuntimeApiMethod<() => Promise<SpConsensusSlotsSlotDuration>>;
67
67
 
68
68
  /**
69
69
  * Return the current set of authorities.
70
70
  *
71
71
  * @callname: AuraApi_authorities
72
72
  **/
73
- authorities: GenericRuntimeApiMethod<Rv, () => Promise<Array<SpConsensusAuraSr25519AppSr25519Public>>>;
73
+ authorities: GenericRuntimeApiMethod<() => Promise<Array<SpConsensusAuraSr25519AppSr25519Public>>>;
74
74
 
75
75
  /**
76
76
  * Generic runtime api call
77
77
  **/
78
- [method: string]: GenericRuntimeApiMethod<Rv>;
78
+ [method: string]: GenericRuntimeApiMethod;
79
79
  };
80
80
  /**
81
81
  * @runtimeapi: RelayParentOffsetApi - 0x04e70521a0d3d2f8
@@ -86,12 +86,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
86
86
  *
87
87
  * @callname: RelayParentOffsetApi_relay_parent_offset
88
88
  **/
89
- relayParentOffset: GenericRuntimeApiMethod<Rv, () => Promise<number>>;
89
+ relayParentOffset: GenericRuntimeApiMethod<() => Promise<number>>;
90
90
 
91
91
  /**
92
92
  * Generic runtime api call
93
93
  **/
94
- [method: string]: GenericRuntimeApiMethod<Rv>;
94
+ [method: string]: GenericRuntimeApiMethod;
95
95
  };
96
96
  /**
97
97
  * @runtimeapi: AuraUnincludedSegmentApi - 0xd7bdd8a272ca0d65
@@ -113,12 +113,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
113
113
  * @param {H256} included_hash
114
114
  * @param {SpConsensusSlotsSlot} slot
115
115
  **/
116
- canBuildUpon: GenericRuntimeApiMethod<Rv, (includedHash: H256, slot: SpConsensusSlotsSlot) => Promise<boolean>>;
116
+ canBuildUpon: GenericRuntimeApiMethod<(includedHash: H256, slot: SpConsensusSlotsSlot) => Promise<boolean>>;
117
117
 
118
118
  /**
119
119
  * Generic runtime api call
120
120
  **/
121
- [method: string]: GenericRuntimeApiMethod<Rv>;
121
+ [method: string]: GenericRuntimeApiMethod;
122
122
  };
123
123
  /**
124
124
  * @runtimeapi: Core - 0xdf6acb689907609b
@@ -129,7 +129,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
129
129
  *
130
130
  * @callname: Core_version
131
131
  **/
132
- version: GenericRuntimeApiMethod<Rv, () => Promise<RuntimeVersion>>;
132
+ version: GenericRuntimeApiMethod<() => Promise<RuntimeVersion>>;
133
133
 
134
134
  /**
135
135
  * Execute the given block.
@@ -137,7 +137,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
137
137
  * @callname: Core_execute_block
138
138
  * @param {SpRuntimeBlock} block
139
139
  **/
140
- executeBlock: GenericRuntimeApiMethod<Rv, (block: SpRuntimeBlock) => Promise<[]>>;
140
+ executeBlock: GenericRuntimeApiMethod<(block: SpRuntimeBlock) => Promise<[]>>;
141
141
 
142
142
  /**
143
143
  * Initialize a block with the given header and return the runtime executive mode.
@@ -145,12 +145,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
145
145
  * @callname: Core_initialize_block
146
146
  * @param {Header} header
147
147
  **/
148
- initializeBlock: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<SpRuntimeExtrinsicInclusionMode>>;
148
+ initializeBlock: GenericRuntimeApiMethod<(header: Header) => Promise<SpRuntimeExtrinsicInclusionMode>>;
149
149
 
150
150
  /**
151
151
  * Generic runtime api call
152
152
  **/
153
- [method: string]: GenericRuntimeApiMethod<Rv>;
153
+ [method: string]: GenericRuntimeApiMethod;
154
154
  };
155
155
  /**
156
156
  * @runtimeapi: Metadata - 0x37e397fc7c91f5e4
@@ -161,7 +161,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
161
161
  *
162
162
  * @callname: Metadata_metadata
163
163
  **/
164
- metadata: GenericRuntimeApiMethod<Rv, () => Promise<SpCoreOpaqueMetadata>>;
164
+ metadata: GenericRuntimeApiMethod<() => Promise<SpCoreOpaqueMetadata>>;
165
165
 
166
166
  /**
167
167
  * Returns the metadata at a given version.
@@ -172,7 +172,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
172
172
  * @callname: Metadata_metadata_at_version
173
173
  * @param {number} version
174
174
  **/
175
- metadataAtVersion: GenericRuntimeApiMethod<Rv, (version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
175
+ metadataAtVersion: GenericRuntimeApiMethod<(version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
176
176
 
177
177
  /**
178
178
  * Returns the supported metadata versions.
@@ -181,12 +181,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
181
181
  *
182
182
  * @callname: Metadata_metadata_versions
183
183
  **/
184
- metadataVersions: GenericRuntimeApiMethod<Rv, () => Promise<Array<number>>>;
184
+ metadataVersions: GenericRuntimeApiMethod<() => Promise<Array<number>>>;
185
185
 
186
186
  /**
187
187
  * Generic runtime api call
188
188
  **/
189
- [method: string]: GenericRuntimeApiMethod<Rv>;
189
+ [method: string]: GenericRuntimeApiMethod;
190
190
  };
191
191
  /**
192
192
  * @runtimeapi: BlockBuilder - 0x40fe3ad401f8959a
@@ -202,7 +202,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
202
202
  * @param {UncheckedExtrinsicLike} extrinsic
203
203
  **/
204
204
  applyExtrinsic: GenericRuntimeApiMethod<
205
- Rv,
206
205
  (
207
206
  extrinsic: UncheckedExtrinsicLike,
208
207
  ) => Promise<Result<Result<[], DispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>
@@ -213,7 +212,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
213
212
  *
214
213
  * @callname: BlockBuilder_finalize_block
215
214
  **/
216
- finalizeBlock: GenericRuntimeApiMethod<Rv, () => Promise<Header>>;
215
+ finalizeBlock: GenericRuntimeApiMethod<() => Promise<Header>>;
217
216
 
218
217
  /**
219
218
  * Generate inherent extrinsics. The inherent data will vary from chain to chain.
@@ -222,7 +221,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
222
221
  * @param {SpInherentsInherentData} inherent
223
222
  **/
224
223
  inherentExtrinsics: GenericRuntimeApiMethod<
225
- Rv,
226
224
  (inherent: SpInherentsInherentData) => Promise<Array<UncheckedExtrinsic>>
227
225
  >;
228
226
 
@@ -234,14 +232,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
234
232
  * @param {SpInherentsInherentData} data
235
233
  **/
236
234
  checkInherents: GenericRuntimeApiMethod<
237
- Rv,
238
235
  (block: SpRuntimeBlock, data: SpInherentsInherentData) => Promise<SpInherentsCheckInherentsResult>
239
236
  >;
240
237
 
241
238
  /**
242
239
  * Generic runtime api call
243
240
  **/
244
- [method: string]: GenericRuntimeApiMethod<Rv>;
241
+ [method: string]: GenericRuntimeApiMethod;
245
242
  };
246
243
  /**
247
244
  * @runtimeapi: TaggedTransactionQueue - 0xd2bc9897eed08f15
@@ -264,7 +261,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
264
261
  * @param {H256} block_hash
265
262
  **/
266
263
  validateTransaction: GenericRuntimeApiMethod<
267
- Rv,
268
264
  (
269
265
  source: SpRuntimeTransactionValidityTransactionSource,
270
266
  tx: UncheckedExtrinsicLike,
@@ -277,7 +273,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
277
273
  /**
278
274
  * Generic runtime api call
279
275
  **/
280
- [method: string]: GenericRuntimeApiMethod<Rv>;
276
+ [method: string]: GenericRuntimeApiMethod;
281
277
  };
282
278
  /**
283
279
  * @runtimeapi: OffchainWorkerApi - 0xf78b278be53f454c
@@ -289,12 +285,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
289
285
  * @callname: OffchainWorkerApi_offchain_worker
290
286
  * @param {Header} header
291
287
  **/
292
- offchainWorker: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<[]>>;
288
+ offchainWorker: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
293
289
 
294
290
  /**
295
291
  * Generic runtime api call
296
292
  **/
297
- [method: string]: GenericRuntimeApiMethod<Rv>;
293
+ [method: string]: GenericRuntimeApiMethod;
298
294
  };
299
295
  /**
300
296
  * @runtimeapi: SessionKeys - 0xab3c0572291feb8b
@@ -312,7 +308,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
312
308
  * @callname: SessionKeys_generate_session_keys
313
309
  * @param {BytesLike | undefined} seed
314
310
  **/
315
- generateSessionKeys: GenericRuntimeApiMethod<Rv, (seed?: BytesLike | undefined) => Promise<Bytes>>;
311
+ generateSessionKeys: GenericRuntimeApiMethod<(seed?: BytesLike | undefined) => Promise<Bytes>>;
316
312
 
317
313
  /**
318
314
  * Decode the given public session keys.
@@ -323,14 +319,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
323
319
  * @param {BytesLike} encoded
324
320
  **/
325
321
  decodeSessionKeys: GenericRuntimeApiMethod<
326
- Rv,
327
322
  (encoded: BytesLike) => Promise<Array<[Bytes, SpCoreCryptoKeyTypeId]> | undefined>
328
323
  >;
329
324
 
330
325
  /**
331
326
  * Generic runtime api call
332
327
  **/
333
- [method: string]: GenericRuntimeApiMethod<Rv>;
328
+ [method: string]: GenericRuntimeApiMethod;
334
329
  };
335
330
  /**
336
331
  * @runtimeapi: RuntimeViewFunction - 0xccd9de6396c899ca
@@ -344,7 +339,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
344
339
  * @param {BytesLike} input
345
340
  **/
346
341
  executeViewFunction: GenericRuntimeApiMethod<
347
- Rv,
348
342
  (
349
343
  queryId: FrameSupportViewFunctionsViewFunctionId,
350
344
  input: BytesLike,
@@ -354,7 +348,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
354
348
  /**
355
349
  * Generic runtime api call
356
350
  **/
357
- [method: string]: GenericRuntimeApiMethod<Rv>;
351
+ [method: string]: GenericRuntimeApiMethod;
358
352
  };
359
353
  /**
360
354
  * @runtimeapi: AccountNonceApi - 0xbc9d89904f5b923f
@@ -366,12 +360,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
366
360
  * @callname: AccountNonceApi_account_nonce
367
361
  * @param {AccountId32Like} account
368
362
  **/
369
- accountNonce: GenericRuntimeApiMethod<Rv, (account: AccountId32Like) => Promise<number>>;
363
+ accountNonce: GenericRuntimeApiMethod<(account: AccountId32Like) => Promise<number>>;
370
364
 
371
365
  /**
372
366
  * Generic runtime api call
373
367
  **/
374
- [method: string]: GenericRuntimeApiMethod<Rv>;
368
+ [method: string]: GenericRuntimeApiMethod;
375
369
  };
376
370
  /**
377
371
  * @runtimeapi: TransactionPaymentApi - 0x37c8bb1350a9a2a8
@@ -384,7 +378,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
384
378
  * @param {number} len
385
379
  **/
386
380
  queryInfo: GenericRuntimeApiMethod<
387
- Rv,
388
381
  (uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
389
382
  >;
390
383
 
@@ -395,7 +388,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
395
388
  * @param {number} len
396
389
  **/
397
390
  queryFeeDetails: GenericRuntimeApiMethod<
398
- Rv,
399
391
  (uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>
400
392
  >;
401
393
 
@@ -404,19 +396,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
404
396
  * @callname: TransactionPaymentApi_query_weight_to_fee
405
397
  * @param {SpWeightsWeightV2Weight} weight
406
398
  **/
407
- queryWeightToFee: GenericRuntimeApiMethod<Rv, (weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
399
+ queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
408
400
 
409
401
  /**
410
402
  *
411
403
  * @callname: TransactionPaymentApi_query_length_to_fee
412
404
  * @param {number} length
413
405
  **/
414
- queryLengthToFee: GenericRuntimeApiMethod<Rv, (length: number) => Promise<bigint>>;
406
+ queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
415
407
 
416
408
  /**
417
409
  * Generic runtime api call
418
410
  **/
419
- [method: string]: GenericRuntimeApiMethod<Rv>;
411
+ [method: string]: GenericRuntimeApiMethod;
420
412
  };
421
413
  /**
422
414
  * @runtimeapi: TransactionPaymentCallApi - 0xf3ff14d5ab527059
@@ -430,7 +422,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
430
422
  * @param {number} len
431
423
  **/
432
424
  queryCallInfo: GenericRuntimeApiMethod<
433
- Rv,
434
425
  (call: PeoplePolkadotRuntimeRuntimeCallLike, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
435
426
  >;
436
427
 
@@ -442,7 +433,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
442
433
  * @param {number} len
443
434
  **/
444
435
  queryCallFeeDetails: GenericRuntimeApiMethod<
445
- Rv,
446
436
  (call: PeoplePolkadotRuntimeRuntimeCallLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>
447
437
  >;
448
438
 
@@ -452,7 +442,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
452
442
  * @callname: TransactionPaymentCallApi_query_weight_to_fee
453
443
  * @param {SpWeightsWeightV2Weight} weight
454
444
  **/
455
- queryWeightToFee: GenericRuntimeApiMethod<Rv, (weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
445
+ queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
456
446
 
457
447
  /**
458
448
  * Query the output of the current `LengthToFee` given some input.
@@ -460,12 +450,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
460
450
  * @callname: TransactionPaymentCallApi_query_length_to_fee
461
451
  * @param {number} length
462
452
  **/
463
- queryLengthToFee: GenericRuntimeApiMethod<Rv, (length: number) => Promise<bigint>>;
453
+ queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
464
454
 
465
455
  /**
466
456
  * Generic runtime api call
467
457
  **/
468
- [method: string]: GenericRuntimeApiMethod<Rv>;
458
+ [method: string]: GenericRuntimeApiMethod;
469
459
  };
470
460
  /**
471
461
  * @runtimeapi: XcmPaymentApi - 0x6ff52ee858e6c5bd
@@ -482,7 +472,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
482
472
  * @param {number} xcm_version
483
473
  **/
484
474
  queryAcceptablePaymentAssets: GenericRuntimeApiMethod<
485
- Rv,
486
475
  (xcmVersion: number) => Promise<Result<Array<XcmVersionedAssetId>, XcmRuntimeApisFeesError>>
487
476
  >;
488
477
 
@@ -497,7 +486,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
497
486
  * @param {XcmVersionedXcm} message
498
487
  **/
499
488
  queryXcmWeight: GenericRuntimeApiMethod<
500
- Rv,
501
489
  (message: XcmVersionedXcm) => Promise<Result<SpWeightsWeightV2Weight, XcmRuntimeApisFeesError>>
502
490
  >;
503
491
 
@@ -514,7 +502,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
514
502
  * @param {XcmVersionedAssetId} asset
515
503
  **/
516
504
  queryWeightToAssetFee: GenericRuntimeApiMethod<
517
- Rv,
518
505
  (weight: SpWeightsWeightV2Weight, asset: XcmVersionedAssetId) => Promise<Result<bigint, XcmRuntimeApisFeesError>>
519
506
  >;
520
507
 
@@ -533,7 +520,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
533
520
  * @param {XcmVersionedXcm} message
534
521
  **/
535
522
  queryDeliveryFees: GenericRuntimeApiMethod<
536
- Rv,
537
523
  (
538
524
  destination: XcmVersionedLocation,
539
525
  message: XcmVersionedXcm,
@@ -543,7 +529,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
543
529
  /**
544
530
  * Generic runtime api call
545
531
  **/
546
- [method: string]: GenericRuntimeApiMethod<Rv>;
532
+ [method: string]: GenericRuntimeApiMethod;
547
533
  };
548
534
  /**
549
535
  * @runtimeapi: DryRunApi - 0x91b1c8b16328eb92
@@ -558,7 +544,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
558
544
  * @param {number} result_xcms_version
559
545
  **/
560
546
  dryRunCall: GenericRuntimeApiMethod<
561
- Rv,
562
547
  (
563
548
  origin: PeoplePolkadotRuntimeOriginCaller,
564
549
  call: PeoplePolkadotRuntimeRuntimeCallLike,
@@ -574,7 +559,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
574
559
  * @param {XcmVersionedXcm} xcm
575
560
  **/
576
561
  dryRunXcm: GenericRuntimeApiMethod<
577
- Rv,
578
562
  (
579
563
  originLocation: XcmVersionedLocation,
580
564
  xcm: XcmVersionedXcm,
@@ -584,7 +568,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
584
568
  /**
585
569
  * Generic runtime api call
586
570
  **/
587
- [method: string]: GenericRuntimeApiMethod<Rv>;
571
+ [method: string]: GenericRuntimeApiMethod;
588
572
  };
589
573
  /**
590
574
  * @runtimeapi: LocationToAccountApi - 0x9ffb505aa738d69c
@@ -597,14 +581,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
597
581
  * @param {XcmVersionedLocation} location
598
582
  **/
599
583
  convertLocation: GenericRuntimeApiMethod<
600
- Rv,
601
584
  (location: XcmVersionedLocation) => Promise<Result<AccountId32, XcmRuntimeApisConversionsError>>
602
585
  >;
603
586
 
604
587
  /**
605
588
  * Generic runtime api call
606
589
  **/
607
- [method: string]: GenericRuntimeApiMethod<Rv>;
590
+ [method: string]: GenericRuntimeApiMethod;
608
591
  };
609
592
  /**
610
593
  * @runtimeapi: TrustedQueryApi - 0x2609be83ac4468dc
@@ -622,7 +605,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
622
605
  * @param {XcmVersionedLocation} location
623
606
  **/
624
607
  isTrustedReserve: GenericRuntimeApiMethod<
625
- Rv,
626
608
  (
627
609
  asset: XcmVersionedAsset,
628
610
  location: XcmVersionedLocation,
@@ -641,7 +623,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
641
623
  * @param {XcmVersionedLocation} location
642
624
  **/
643
625
  isTrustedTeleporter: GenericRuntimeApiMethod<
644
- Rv,
645
626
  (
646
627
  asset: XcmVersionedAsset,
647
628
  location: XcmVersionedLocation,
@@ -651,7 +632,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
651
632
  /**
652
633
  * Generic runtime api call
653
634
  **/
654
- [method: string]: GenericRuntimeApiMethod<Rv>;
635
+ [method: string]: GenericRuntimeApiMethod;
655
636
  };
656
637
  /**
657
638
  * @runtimeapi: AuthorizedAliasersApi - 0x12c8e3d4d7e06de0
@@ -664,7 +645,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
664
645
  * @param {XcmVersionedLocation} target
665
646
  **/
666
647
  authorizedAliasers: GenericRuntimeApiMethod<
667
- Rv,
668
648
  (
669
649
  target: XcmVersionedLocation,
670
650
  ) => Promise<Result<Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>, XcmRuntimeApisAuthorizedAliasesError>>
@@ -678,7 +658,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
678
658
  * @param {XcmVersionedLocation} target
679
659
  **/
680
660
  isAuthorizedAlias: GenericRuntimeApiMethod<
681
- Rv,
682
661
  (
683
662
  origin: XcmVersionedLocation,
684
663
  target: XcmVersionedLocation,
@@ -688,7 +667,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
688
667
  /**
689
668
  * Generic runtime api call
690
669
  **/
691
- [method: string]: GenericRuntimeApiMethod<Rv>;
670
+ [method: string]: GenericRuntimeApiMethod;
692
671
  };
693
672
  /**
694
673
  * @runtimeapi: CollectCollationInfo - 0xea93e3f16f3d6962
@@ -703,12 +682,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
703
682
  * @callname: CollectCollationInfo_collect_collation_info
704
683
  * @param {Header} header
705
684
  **/
706
- collectCollationInfo: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<CumulusPrimitivesCoreCollationInfo>>;
685
+ collectCollationInfo: GenericRuntimeApiMethod<(header: Header) => Promise<CumulusPrimitivesCoreCollationInfo>>;
707
686
 
708
687
  /**
709
688
  * Generic runtime api call
710
689
  **/
711
- [method: string]: GenericRuntimeApiMethod<Rv>;
690
+ [method: string]: GenericRuntimeApiMethod;
712
691
  };
713
692
  /**
714
693
  * @runtimeapi: GetParachainInfo - 0xa2ddb6a58477bf63
@@ -719,12 +698,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
719
698
  *
720
699
  * @callname: GetParachainInfo_parachain_id
721
700
  **/
722
- parachainId: GenericRuntimeApiMethod<Rv, () => Promise<PolkadotParachainPrimitivesPrimitivesId>>;
701
+ parachainId: GenericRuntimeApiMethod<() => Promise<PolkadotParachainPrimitivesPrimitivesId>>;
723
702
 
724
703
  /**
725
704
  * Generic runtime api call
726
705
  **/
727
- [method: string]: GenericRuntimeApiMethod<Rv>;
706
+ [method: string]: GenericRuntimeApiMethod;
728
707
  };
729
708
  /**
730
709
  * @runtimeapi: GenesisBuilder - 0xfbc577b9d747efd6
@@ -745,7 +724,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
745
724
  * @callname: GenesisBuilder_build_state
746
725
  * @param {BytesLike} json
747
726
  **/
748
- buildState: GenericRuntimeApiMethod<Rv, (json: BytesLike) => Promise<Result<[], string>>>;
727
+ buildState: GenericRuntimeApiMethod<(json: BytesLike) => Promise<Result<[], string>>>;
749
728
 
750
729
  /**
751
730
  * Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by
@@ -766,7 +745,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
766
745
  * @callname: GenesisBuilder_get_preset
767
746
  * @param {string | undefined} id
768
747
  **/
769
- getPreset: GenericRuntimeApiMethod<Rv, (id?: string | undefined) => Promise<Bytes | undefined>>;
748
+ getPreset: GenericRuntimeApiMethod<(id?: string | undefined) => Promise<Bytes | undefined>>;
770
749
 
771
750
  /**
772
751
  * Returns a list of identifiers for available builtin `RuntimeGenesisConfig` presets.
@@ -776,11 +755,11 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
776
755
  *
777
756
  * @callname: GenesisBuilder_preset_names
778
757
  **/
779
- presetNames: GenericRuntimeApiMethod<Rv, () => Promise<Array<string>>>;
758
+ presetNames: GenericRuntimeApiMethod<() => Promise<Array<string>>>;
780
759
 
781
760
  /**
782
761
  * Generic runtime api call
783
762
  **/
784
- [method: string]: GenericRuntimeApiMethod<Rv>;
763
+ [method: string]: GenericRuntimeApiMethod;
785
764
  };
786
765
  }