@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,
@@ -53,7 +53,7 @@ import type {
53
53
  SpStatementStoreStatement,
54
54
  } from './types.js';
55
55
 
56
- export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<Rv> {
56
+ export interface RuntimeApis extends GenericRuntimeApis {
57
57
  /**
58
58
  * @runtimeapi: AuraApi - 0xdd718d5cc53262d4
59
59
  **/
@@ -65,19 +65,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
65
65
  *
66
66
  * @callname: AuraApi_slot_duration
67
67
  **/
68
- slotDuration: GenericRuntimeApiMethod<Rv, () => Promise<SpConsensusSlotsSlotDuration>>;
68
+ slotDuration: GenericRuntimeApiMethod<() => Promise<SpConsensusSlotsSlotDuration>>;
69
69
 
70
70
  /**
71
71
  * Return the current set of authorities.
72
72
  *
73
73
  * @callname: AuraApi_authorities
74
74
  **/
75
- authorities: GenericRuntimeApiMethod<Rv, () => Promise<Array<SpConsensusAuraSr25519AppSr25519Public>>>;
75
+ authorities: GenericRuntimeApiMethod<() => Promise<Array<SpConsensusAuraSr25519AppSr25519Public>>>;
76
76
 
77
77
  /**
78
78
  * Generic runtime api call
79
79
  **/
80
- [method: string]: GenericRuntimeApiMethod<Rv>;
80
+ [method: string]: GenericRuntimeApiMethod;
81
81
  };
82
82
  /**
83
83
  * @runtimeapi: RelayParentOffsetApi - 0x04e70521a0d3d2f8
@@ -88,12 +88,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
88
88
  *
89
89
  * @callname: RelayParentOffsetApi_relay_parent_offset
90
90
  **/
91
- relayParentOffset: GenericRuntimeApiMethod<Rv, () => Promise<number>>;
91
+ relayParentOffset: GenericRuntimeApiMethod<() => Promise<number>>;
92
92
 
93
93
  /**
94
94
  * Generic runtime api call
95
95
  **/
96
- [method: string]: GenericRuntimeApiMethod<Rv>;
96
+ [method: string]: GenericRuntimeApiMethod;
97
97
  };
98
98
  /**
99
99
  * @runtimeapi: AuraUnincludedSegmentApi - 0xd7bdd8a272ca0d65
@@ -115,12 +115,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
115
115
  * @param {H256} included_hash
116
116
  * @param {SpConsensusSlotsSlot} slot
117
117
  **/
118
- canBuildUpon: GenericRuntimeApiMethod<Rv, (includedHash: H256, slot: SpConsensusSlotsSlot) => Promise<boolean>>;
118
+ canBuildUpon: GenericRuntimeApiMethod<(includedHash: H256, slot: SpConsensusSlotsSlot) => Promise<boolean>>;
119
119
 
120
120
  /**
121
121
  * Generic runtime api call
122
122
  **/
123
- [method: string]: GenericRuntimeApiMethod<Rv>;
123
+ [method: string]: GenericRuntimeApiMethod;
124
124
  };
125
125
  /**
126
126
  * @runtimeapi: Core - 0xdf6acb689907609b
@@ -131,7 +131,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
131
131
  *
132
132
  * @callname: Core_version
133
133
  **/
134
- version: GenericRuntimeApiMethod<Rv, () => Promise<RuntimeVersion>>;
134
+ version: GenericRuntimeApiMethod<() => Promise<RuntimeVersion>>;
135
135
 
136
136
  /**
137
137
  * Execute the given block.
@@ -139,7 +139,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
139
139
  * @callname: Core_execute_block
140
140
  * @param {SpRuntimeBlock} block
141
141
  **/
142
- executeBlock: GenericRuntimeApiMethod<Rv, (block: SpRuntimeBlock) => Promise<[]>>;
142
+ executeBlock: GenericRuntimeApiMethod<(block: SpRuntimeBlock) => Promise<[]>>;
143
143
 
144
144
  /**
145
145
  * Initialize a block with the given header and return the runtime executive mode.
@@ -147,12 +147,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
147
147
  * @callname: Core_initialize_block
148
148
  * @param {Header} header
149
149
  **/
150
- initializeBlock: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<SpRuntimeExtrinsicInclusionMode>>;
150
+ initializeBlock: GenericRuntimeApiMethod<(header: Header) => Promise<SpRuntimeExtrinsicInclusionMode>>;
151
151
 
152
152
  /**
153
153
  * Generic runtime api call
154
154
  **/
155
- [method: string]: GenericRuntimeApiMethod<Rv>;
155
+ [method: string]: GenericRuntimeApiMethod;
156
156
  };
157
157
  /**
158
158
  * @runtimeapi: Metadata - 0x37e397fc7c91f5e4
@@ -163,7 +163,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
163
163
  *
164
164
  * @callname: Metadata_metadata
165
165
  **/
166
- metadata: GenericRuntimeApiMethod<Rv, () => Promise<SpCoreOpaqueMetadata>>;
166
+ metadata: GenericRuntimeApiMethod<() => Promise<SpCoreOpaqueMetadata>>;
167
167
 
168
168
  /**
169
169
  * Returns the metadata at a given version.
@@ -174,7 +174,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
174
174
  * @callname: Metadata_metadata_at_version
175
175
  * @param {number} version
176
176
  **/
177
- metadataAtVersion: GenericRuntimeApiMethod<Rv, (version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
177
+ metadataAtVersion: GenericRuntimeApiMethod<(version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
178
178
 
179
179
  /**
180
180
  * Returns the supported metadata versions.
@@ -183,12 +183,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
183
183
  *
184
184
  * @callname: Metadata_metadata_versions
185
185
  **/
186
- metadataVersions: GenericRuntimeApiMethod<Rv, () => Promise<Array<number>>>;
186
+ metadataVersions: GenericRuntimeApiMethod<() => Promise<Array<number>>>;
187
187
 
188
188
  /**
189
189
  * Generic runtime api call
190
190
  **/
191
- [method: string]: GenericRuntimeApiMethod<Rv>;
191
+ [method: string]: GenericRuntimeApiMethod;
192
192
  };
193
193
  /**
194
194
  * @runtimeapi: BlockBuilder - 0x40fe3ad401f8959a
@@ -204,7 +204,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
204
204
  * @param {UncheckedExtrinsicLike} extrinsic
205
205
  **/
206
206
  applyExtrinsic: GenericRuntimeApiMethod<
207
- Rv,
208
207
  (
209
208
  extrinsic: UncheckedExtrinsicLike,
210
209
  ) => Promise<Result<Result<[], DispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>
@@ -215,7 +214,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
215
214
  *
216
215
  * @callname: BlockBuilder_finalize_block
217
216
  **/
218
- finalizeBlock: GenericRuntimeApiMethod<Rv, () => Promise<Header>>;
217
+ finalizeBlock: GenericRuntimeApiMethod<() => Promise<Header>>;
219
218
 
220
219
  /**
221
220
  * Generate inherent extrinsics. The inherent data will vary from chain to chain.
@@ -224,7 +223,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
224
223
  * @param {SpInherentsInherentData} inherent
225
224
  **/
226
225
  inherentExtrinsics: GenericRuntimeApiMethod<
227
- Rv,
228
226
  (inherent: SpInherentsInherentData) => Promise<Array<UncheckedExtrinsic>>
229
227
  >;
230
228
 
@@ -236,14 +234,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
236
234
  * @param {SpInherentsInherentData} data
237
235
  **/
238
236
  checkInherents: GenericRuntimeApiMethod<
239
- Rv,
240
237
  (block: SpRuntimeBlock, data: SpInherentsInherentData) => Promise<SpInherentsCheckInherentsResult>
241
238
  >;
242
239
 
243
240
  /**
244
241
  * Generic runtime api call
245
242
  **/
246
- [method: string]: GenericRuntimeApiMethod<Rv>;
243
+ [method: string]: GenericRuntimeApiMethod;
247
244
  };
248
245
  /**
249
246
  * @runtimeapi: TaggedTransactionQueue - 0xd2bc9897eed08f15
@@ -266,7 +263,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
266
263
  * @param {H256} block_hash
267
264
  **/
268
265
  validateTransaction: GenericRuntimeApiMethod<
269
- Rv,
270
266
  (
271
267
  source: SpRuntimeTransactionValidityTransactionSource,
272
268
  tx: UncheckedExtrinsicLike,
@@ -279,7 +275,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
279
275
  /**
280
276
  * Generic runtime api call
281
277
  **/
282
- [method: string]: GenericRuntimeApiMethod<Rv>;
278
+ [method: string]: GenericRuntimeApiMethod;
283
279
  };
284
280
  /**
285
281
  * @runtimeapi: OffchainWorkerApi - 0xf78b278be53f454c
@@ -291,12 +287,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
291
287
  * @callname: OffchainWorkerApi_offchain_worker
292
288
  * @param {Header} header
293
289
  **/
294
- offchainWorker: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<[]>>;
290
+ offchainWorker: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
295
291
 
296
292
  /**
297
293
  * Generic runtime api call
298
294
  **/
299
- [method: string]: GenericRuntimeApiMethod<Rv>;
295
+ [method: string]: GenericRuntimeApiMethod;
300
296
  };
301
297
  /**
302
298
  * @runtimeapi: SessionKeys - 0xab3c0572291feb8b
@@ -314,7 +310,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
314
310
  * @callname: SessionKeys_generate_session_keys
315
311
  * @param {BytesLike | undefined} seed
316
312
  **/
317
- generateSessionKeys: GenericRuntimeApiMethod<Rv, (seed?: BytesLike | undefined) => Promise<Bytes>>;
313
+ generateSessionKeys: GenericRuntimeApiMethod<(seed?: BytesLike | undefined) => Promise<Bytes>>;
318
314
 
319
315
  /**
320
316
  * Decode the given public session keys.
@@ -325,14 +321,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
325
321
  * @param {BytesLike} encoded
326
322
  **/
327
323
  decodeSessionKeys: GenericRuntimeApiMethod<
328
- Rv,
329
324
  (encoded: BytesLike) => Promise<Array<[Bytes, SpCoreCryptoKeyTypeId]> | undefined>
330
325
  >;
331
326
 
332
327
  /**
333
328
  * Generic runtime api call
334
329
  **/
335
- [method: string]: GenericRuntimeApiMethod<Rv>;
330
+ [method: string]: GenericRuntimeApiMethod;
336
331
  };
337
332
  /**
338
333
  * @runtimeapi: AccountNonceApi - 0xbc9d89904f5b923f
@@ -344,12 +339,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
344
339
  * @callname: AccountNonceApi_account_nonce
345
340
  * @param {AccountId32Like} account
346
341
  **/
347
- accountNonce: GenericRuntimeApiMethod<Rv, (account: AccountId32Like) => Promise<number>>;
342
+ accountNonce: GenericRuntimeApiMethod<(account: AccountId32Like) => Promise<number>>;
348
343
 
349
344
  /**
350
345
  * Generic runtime api call
351
346
  **/
352
- [method: string]: GenericRuntimeApiMethod<Rv>;
347
+ [method: string]: GenericRuntimeApiMethod;
353
348
  };
354
349
  /**
355
350
  * @runtimeapi: TransactionPaymentApi - 0x37c8bb1350a9a2a8
@@ -362,7 +357,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
362
357
  * @param {number} len
363
358
  **/
364
359
  queryInfo: GenericRuntimeApiMethod<
365
- Rv,
366
360
  (uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
367
361
  >;
368
362
 
@@ -373,7 +367,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
373
367
  * @param {number} len
374
368
  **/
375
369
  queryFeeDetails: GenericRuntimeApiMethod<
376
- Rv,
377
370
  (uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>
378
371
  >;
379
372
 
@@ -382,19 +375,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
382
375
  * @callname: TransactionPaymentApi_query_weight_to_fee
383
376
  * @param {SpWeightsWeightV2Weight} weight
384
377
  **/
385
- queryWeightToFee: GenericRuntimeApiMethod<Rv, (weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
378
+ queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
386
379
 
387
380
  /**
388
381
  *
389
382
  * @callname: TransactionPaymentApi_query_length_to_fee
390
383
  * @param {number} length
391
384
  **/
392
- queryLengthToFee: GenericRuntimeApiMethod<Rv, (length: number) => Promise<bigint>>;
385
+ queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
393
386
 
394
387
  /**
395
388
  * Generic runtime api call
396
389
  **/
397
- [method: string]: GenericRuntimeApiMethod<Rv>;
390
+ [method: string]: GenericRuntimeApiMethod;
398
391
  };
399
392
  /**
400
393
  * @runtimeapi: TransactionPaymentCallApi - 0xf3ff14d5ab527059
@@ -408,7 +401,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
408
401
  * @param {number} len
409
402
  **/
410
403
  queryCallInfo: GenericRuntimeApiMethod<
411
- Rv,
412
404
  (call: PeopleWestendRuntimeRuntimeCallLike, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
413
405
  >;
414
406
 
@@ -420,7 +412,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
420
412
  * @param {number} len
421
413
  **/
422
414
  queryCallFeeDetails: GenericRuntimeApiMethod<
423
- Rv,
424
415
  (call: PeopleWestendRuntimeRuntimeCallLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>
425
416
  >;
426
417
 
@@ -430,7 +421,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
430
421
  * @callname: TransactionPaymentCallApi_query_weight_to_fee
431
422
  * @param {SpWeightsWeightV2Weight} weight
432
423
  **/
433
- queryWeightToFee: GenericRuntimeApiMethod<Rv, (weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
424
+ queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
434
425
 
435
426
  /**
436
427
  * Query the output of the current `LengthToFee` given some input.
@@ -438,12 +429,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
438
429
  * @callname: TransactionPaymentCallApi_query_length_to_fee
439
430
  * @param {number} length
440
431
  **/
441
- queryLengthToFee: GenericRuntimeApiMethod<Rv, (length: number) => Promise<bigint>>;
432
+ queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
442
433
 
443
434
  /**
444
435
  * Generic runtime api call
445
436
  **/
446
- [method: string]: GenericRuntimeApiMethod<Rv>;
437
+ [method: string]: GenericRuntimeApiMethod;
447
438
  };
448
439
  /**
449
440
  * @runtimeapi: XcmPaymentApi - 0x6ff52ee858e6c5bd
@@ -460,7 +451,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
460
451
  * @param {number} xcm_version
461
452
  **/
462
453
  queryAcceptablePaymentAssets: GenericRuntimeApiMethod<
463
- Rv,
464
454
  (xcmVersion: number) => Promise<Result<Array<XcmVersionedAssetId>, XcmRuntimeApisFeesError>>
465
455
  >;
466
456
 
@@ -475,7 +465,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
475
465
  * @param {XcmVersionedXcm} message
476
466
  **/
477
467
  queryXcmWeight: GenericRuntimeApiMethod<
478
- Rv,
479
468
  (message: XcmVersionedXcm) => Promise<Result<SpWeightsWeightV2Weight, XcmRuntimeApisFeesError>>
480
469
  >;
481
470
 
@@ -492,7 +481,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
492
481
  * @param {XcmVersionedAssetId} asset
493
482
  **/
494
483
  queryWeightToAssetFee: GenericRuntimeApiMethod<
495
- Rv,
496
484
  (weight: SpWeightsWeightV2Weight, asset: XcmVersionedAssetId) => Promise<Result<bigint, XcmRuntimeApisFeesError>>
497
485
  >;
498
486
 
@@ -511,7 +499,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
511
499
  * @param {XcmVersionedXcm} message
512
500
  **/
513
501
  queryDeliveryFees: GenericRuntimeApiMethod<
514
- Rv,
515
502
  (
516
503
  destination: XcmVersionedLocation,
517
504
  message: XcmVersionedXcm,
@@ -521,7 +508,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
521
508
  /**
522
509
  * Generic runtime api call
523
510
  **/
524
- [method: string]: GenericRuntimeApiMethod<Rv>;
511
+ [method: string]: GenericRuntimeApiMethod;
525
512
  };
526
513
  /**
527
514
  * @runtimeapi: DryRunApi - 0x91b1c8b16328eb92
@@ -536,7 +523,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
536
523
  * @param {number} result_xcms_version
537
524
  **/
538
525
  dryRunCall: GenericRuntimeApiMethod<
539
- Rv,
540
526
  (
541
527
  origin: PeopleWestendRuntimeOriginCaller,
542
528
  call: PeopleWestendRuntimeRuntimeCallLike,
@@ -552,7 +538,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
552
538
  * @param {XcmVersionedXcm} xcm
553
539
  **/
554
540
  dryRunXcm: GenericRuntimeApiMethod<
555
- Rv,
556
541
  (
557
542
  originLocation: XcmVersionedLocation,
558
543
  xcm: XcmVersionedXcm,
@@ -562,7 +547,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
562
547
  /**
563
548
  * Generic runtime api call
564
549
  **/
565
- [method: string]: GenericRuntimeApiMethod<Rv>;
550
+ [method: string]: GenericRuntimeApiMethod;
566
551
  };
567
552
  /**
568
553
  * @runtimeapi: LocationToAccountApi - 0x9ffb505aa738d69c
@@ -575,14 +560,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
575
560
  * @param {XcmVersionedLocation} location
576
561
  **/
577
562
  convertLocation: GenericRuntimeApiMethod<
578
- Rv,
579
563
  (location: XcmVersionedLocation) => Promise<Result<AccountId32, XcmRuntimeApisConversionsError>>
580
564
  >;
581
565
 
582
566
  /**
583
567
  * Generic runtime api call
584
568
  **/
585
- [method: string]: GenericRuntimeApiMethod<Rv>;
569
+ [method: string]: GenericRuntimeApiMethod;
586
570
  };
587
571
  /**
588
572
  * @runtimeapi: TrustedQueryApi - 0x2609be83ac4468dc
@@ -600,7 +584,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
600
584
  * @param {XcmVersionedLocation} location
601
585
  **/
602
586
  isTrustedReserve: GenericRuntimeApiMethod<
603
- Rv,
604
587
  (
605
588
  asset: XcmVersionedAsset,
606
589
  location: XcmVersionedLocation,
@@ -619,7 +602,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
619
602
  * @param {XcmVersionedLocation} location
620
603
  **/
621
604
  isTrustedTeleporter: GenericRuntimeApiMethod<
622
- Rv,
623
605
  (
624
606
  asset: XcmVersionedAsset,
625
607
  location: XcmVersionedLocation,
@@ -629,7 +611,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
629
611
  /**
630
612
  * Generic runtime api call
631
613
  **/
632
- [method: string]: GenericRuntimeApiMethod<Rv>;
614
+ [method: string]: GenericRuntimeApiMethod;
633
615
  };
634
616
  /**
635
617
  * @runtimeapi: AuthorizedAliasersApi - 0x12c8e3d4d7e06de0
@@ -642,7 +624,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
642
624
  * @param {XcmVersionedLocation} target
643
625
  **/
644
626
  authorizedAliasers: GenericRuntimeApiMethod<
645
- Rv,
646
627
  (
647
628
  target: XcmVersionedLocation,
648
629
  ) => Promise<Result<Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>, XcmRuntimeApisAuthorizedAliasesError>>
@@ -656,7 +637,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
656
637
  * @param {XcmVersionedLocation} target
657
638
  **/
658
639
  isAuthorizedAlias: GenericRuntimeApiMethod<
659
- Rv,
660
640
  (
661
641
  origin: XcmVersionedLocation,
662
642
  target: XcmVersionedLocation,
@@ -666,7 +646,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
666
646
  /**
667
647
  * Generic runtime api call
668
648
  **/
669
- [method: string]: GenericRuntimeApiMethod<Rv>;
649
+ [method: string]: GenericRuntimeApiMethod;
670
650
  };
671
651
  /**
672
652
  * @runtimeapi: CollectCollationInfo - 0xea93e3f16f3d6962
@@ -681,12 +661,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
681
661
  * @callname: CollectCollationInfo_collect_collation_info
682
662
  * @param {Header} header
683
663
  **/
684
- collectCollationInfo: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<CumulusPrimitivesCoreCollationInfo>>;
664
+ collectCollationInfo: GenericRuntimeApiMethod<(header: Header) => Promise<CumulusPrimitivesCoreCollationInfo>>;
685
665
 
686
666
  /**
687
667
  * Generic runtime api call
688
668
  **/
689
- [method: string]: GenericRuntimeApiMethod<Rv>;
669
+ [method: string]: GenericRuntimeApiMethod;
690
670
  };
691
671
  /**
692
672
  * @runtimeapi: GenesisBuilder - 0xfbc577b9d747efd6
@@ -707,7 +687,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
707
687
  * @callname: GenesisBuilder_build_state
708
688
  * @param {BytesLike} json
709
689
  **/
710
- buildState: GenericRuntimeApiMethod<Rv, (json: BytesLike) => Promise<Result<[], string>>>;
690
+ buildState: GenericRuntimeApiMethod<(json: BytesLike) => Promise<Result<[], string>>>;
711
691
 
712
692
  /**
713
693
  * Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by
@@ -728,7 +708,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
728
708
  * @callname: GenesisBuilder_get_preset
729
709
  * @param {string | undefined} id
730
710
  **/
731
- getPreset: GenericRuntimeApiMethod<Rv, (id?: string | undefined) => Promise<Bytes | undefined>>;
711
+ getPreset: GenericRuntimeApiMethod<(id?: string | undefined) => Promise<Bytes | undefined>>;
732
712
 
733
713
  /**
734
714
  * Returns a list of identifiers for available builtin `RuntimeGenesisConfig` presets.
@@ -738,12 +718,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
738
718
  *
739
719
  * @callname: GenesisBuilder_preset_names
740
720
  **/
741
- presetNames: GenericRuntimeApiMethod<Rv, () => Promise<Array<string>>>;
721
+ presetNames: GenericRuntimeApiMethod<() => Promise<Array<string>>>;
742
722
 
743
723
  /**
744
724
  * Generic runtime api call
745
725
  **/
746
- [method: string]: GenericRuntimeApiMethod<Rv>;
726
+ [method: string]: GenericRuntimeApiMethod;
747
727
  };
748
728
  /**
749
729
  * @runtimeapi: GetParachainInfo - 0xa2ddb6a58477bf63
@@ -754,12 +734,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
754
734
  *
755
735
  * @callname: GetParachainInfo_parachain_id
756
736
  **/
757
- parachainId: GenericRuntimeApiMethod<Rv, () => Promise<PolkadotParachainPrimitivesPrimitivesId>>;
737
+ parachainId: GenericRuntimeApiMethod<() => Promise<PolkadotParachainPrimitivesPrimitivesId>>;
758
738
 
759
739
  /**
760
740
  * Generic runtime api call
761
741
  **/
762
- [method: string]: GenericRuntimeApiMethod<Rv>;
742
+ [method: string]: GenericRuntimeApiMethod;
763
743
  };
764
744
  /**
765
745
  * @runtimeapi: ValidateStatement - 0xbe9fb0c91a8046cf
@@ -773,7 +753,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
773
753
  * @param {SpStatementStoreStatement} statement
774
754
  **/
775
755
  validateStatement: GenericRuntimeApiMethod<
776
- Rv,
777
756
  (
778
757
  source: SpStatementStoreRuntimeApiStatementSource,
779
758
  statement: SpStatementStoreStatement,
@@ -783,6 +762,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
783
762
  /**
784
763
  * Generic runtime api call
785
764
  **/
786
- [method: string]: GenericRuntimeApiMethod<Rv>;
765
+ [method: string]: GenericRuntimeApiMethod;
787
766
  };
788
767
  }