@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,
@@ -49,7 +49,7 @@ import type {
49
49
  PolkadotParachainPrimitivesPrimitivesId,
50
50
  } from './types.js';
51
51
 
52
- export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<Rv> {
52
+ export interface RuntimeApis extends GenericRuntimeApis {
53
53
  /**
54
54
  * @runtimeapi: AuraApi - 0xdd718d5cc53262d4
55
55
  **/
@@ -61,19 +61,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
61
61
  *
62
62
  * @callname: AuraApi_slot_duration
63
63
  **/
64
- slotDuration: GenericRuntimeApiMethod<Rv, () => Promise<SpConsensusSlotsSlotDuration>>;
64
+ slotDuration: GenericRuntimeApiMethod<() => Promise<SpConsensusSlotsSlotDuration>>;
65
65
 
66
66
  /**
67
67
  * Return the current set of authorities.
68
68
  *
69
69
  * @callname: AuraApi_authorities
70
70
  **/
71
- authorities: GenericRuntimeApiMethod<Rv, () => Promise<Array<SpConsensusAuraSr25519AppSr25519Public>>>;
71
+ authorities: GenericRuntimeApiMethod<() => Promise<Array<SpConsensusAuraSr25519AppSr25519Public>>>;
72
72
 
73
73
  /**
74
74
  * Generic runtime api call
75
75
  **/
76
- [method: string]: GenericRuntimeApiMethod<Rv>;
76
+ [method: string]: GenericRuntimeApiMethod;
77
77
  };
78
78
  /**
79
79
  * @runtimeapi: RelayParentOffsetApi - 0x04e70521a0d3d2f8
@@ -84,12 +84,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
84
84
  *
85
85
  * @callname: RelayParentOffsetApi_relay_parent_offset
86
86
  **/
87
- relayParentOffset: GenericRuntimeApiMethod<Rv, () => Promise<number>>;
87
+ relayParentOffset: GenericRuntimeApiMethod<() => Promise<number>>;
88
88
 
89
89
  /**
90
90
  * Generic runtime api call
91
91
  **/
92
- [method: string]: GenericRuntimeApiMethod<Rv>;
92
+ [method: string]: GenericRuntimeApiMethod;
93
93
  };
94
94
  /**
95
95
  * @runtimeapi: AuraUnincludedSegmentApi - 0xd7bdd8a272ca0d65
@@ -111,12 +111,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
111
111
  * @param {H256} included_hash
112
112
  * @param {SpConsensusSlotsSlot} slot
113
113
  **/
114
- canBuildUpon: GenericRuntimeApiMethod<Rv, (includedHash: H256, slot: SpConsensusSlotsSlot) => Promise<boolean>>;
114
+ canBuildUpon: GenericRuntimeApiMethod<(includedHash: H256, slot: SpConsensusSlotsSlot) => Promise<boolean>>;
115
115
 
116
116
  /**
117
117
  * Generic runtime api call
118
118
  **/
119
- [method: string]: GenericRuntimeApiMethod<Rv>;
119
+ [method: string]: GenericRuntimeApiMethod;
120
120
  };
121
121
  /**
122
122
  * @runtimeapi: Core - 0xdf6acb689907609b
@@ -127,7 +127,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
127
127
  *
128
128
  * @callname: Core_version
129
129
  **/
130
- version: GenericRuntimeApiMethod<Rv, () => Promise<RuntimeVersion>>;
130
+ version: GenericRuntimeApiMethod<() => Promise<RuntimeVersion>>;
131
131
 
132
132
  /**
133
133
  * Execute the given block.
@@ -135,7 +135,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
135
135
  * @callname: Core_execute_block
136
136
  * @param {SpRuntimeBlock} block
137
137
  **/
138
- executeBlock: GenericRuntimeApiMethod<Rv, (block: SpRuntimeBlock) => Promise<[]>>;
138
+ executeBlock: GenericRuntimeApiMethod<(block: SpRuntimeBlock) => Promise<[]>>;
139
139
 
140
140
  /**
141
141
  * Initialize a block with the given header and return the runtime executive mode.
@@ -143,12 +143,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
143
143
  * @callname: Core_initialize_block
144
144
  * @param {Header} header
145
145
  **/
146
- initializeBlock: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<SpRuntimeExtrinsicInclusionMode>>;
146
+ initializeBlock: GenericRuntimeApiMethod<(header: Header) => Promise<SpRuntimeExtrinsicInclusionMode>>;
147
147
 
148
148
  /**
149
149
  * Generic runtime api call
150
150
  **/
151
- [method: string]: GenericRuntimeApiMethod<Rv>;
151
+ [method: string]: GenericRuntimeApiMethod;
152
152
  };
153
153
  /**
154
154
  * @runtimeapi: Metadata - 0x37e397fc7c91f5e4
@@ -159,7 +159,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
159
159
  *
160
160
  * @callname: Metadata_metadata
161
161
  **/
162
- metadata: GenericRuntimeApiMethod<Rv, () => Promise<SpCoreOpaqueMetadata>>;
162
+ metadata: GenericRuntimeApiMethod<() => Promise<SpCoreOpaqueMetadata>>;
163
163
 
164
164
  /**
165
165
  * Returns the metadata at a given version.
@@ -170,7 +170,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
170
170
  * @callname: Metadata_metadata_at_version
171
171
  * @param {number} version
172
172
  **/
173
- metadataAtVersion: GenericRuntimeApiMethod<Rv, (version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
173
+ metadataAtVersion: GenericRuntimeApiMethod<(version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
174
174
 
175
175
  /**
176
176
  * Returns the supported metadata versions.
@@ -179,12 +179,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
179
179
  *
180
180
  * @callname: Metadata_metadata_versions
181
181
  **/
182
- metadataVersions: GenericRuntimeApiMethod<Rv, () => Promise<Array<number>>>;
182
+ metadataVersions: GenericRuntimeApiMethod<() => Promise<Array<number>>>;
183
183
 
184
184
  /**
185
185
  * Generic runtime api call
186
186
  **/
187
- [method: string]: GenericRuntimeApiMethod<Rv>;
187
+ [method: string]: GenericRuntimeApiMethod;
188
188
  };
189
189
  /**
190
190
  * @runtimeapi: BlockBuilder - 0x40fe3ad401f8959a
@@ -200,7 +200,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
200
200
  * @param {UncheckedExtrinsicLike} extrinsic
201
201
  **/
202
202
  applyExtrinsic: GenericRuntimeApiMethod<
203
- Rv,
204
203
  (
205
204
  extrinsic: UncheckedExtrinsicLike,
206
205
  ) => Promise<Result<Result<[], DispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>
@@ -211,7 +210,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
211
210
  *
212
211
  * @callname: BlockBuilder_finalize_block
213
212
  **/
214
- finalizeBlock: GenericRuntimeApiMethod<Rv, () => Promise<Header>>;
213
+ finalizeBlock: GenericRuntimeApiMethod<() => Promise<Header>>;
215
214
 
216
215
  /**
217
216
  * Generate inherent extrinsics. The inherent data will vary from chain to chain.
@@ -220,7 +219,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
220
219
  * @param {SpInherentsInherentData} inherent
221
220
  **/
222
221
  inherentExtrinsics: GenericRuntimeApiMethod<
223
- Rv,
224
222
  (inherent: SpInherentsInherentData) => Promise<Array<UncheckedExtrinsic>>
225
223
  >;
226
224
 
@@ -232,14 +230,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
232
230
  * @param {SpInherentsInherentData} data
233
231
  **/
234
232
  checkInherents: GenericRuntimeApiMethod<
235
- Rv,
236
233
  (block: SpRuntimeBlock, data: SpInherentsInherentData) => Promise<SpInherentsCheckInherentsResult>
237
234
  >;
238
235
 
239
236
  /**
240
237
  * Generic runtime api call
241
238
  **/
242
- [method: string]: GenericRuntimeApiMethod<Rv>;
239
+ [method: string]: GenericRuntimeApiMethod;
243
240
  };
244
241
  /**
245
242
  * @runtimeapi: TaggedTransactionQueue - 0xd2bc9897eed08f15
@@ -262,7 +259,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
262
259
  * @param {H256} block_hash
263
260
  **/
264
261
  validateTransaction: GenericRuntimeApiMethod<
265
- Rv,
266
262
  (
267
263
  source: SpRuntimeTransactionValidityTransactionSource,
268
264
  tx: UncheckedExtrinsicLike,
@@ -275,7 +271,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
275
271
  /**
276
272
  * Generic runtime api call
277
273
  **/
278
- [method: string]: GenericRuntimeApiMethod<Rv>;
274
+ [method: string]: GenericRuntimeApiMethod;
279
275
  };
280
276
  /**
281
277
  * @runtimeapi: OffchainWorkerApi - 0xf78b278be53f454c
@@ -287,12 +283,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
287
283
  * @callname: OffchainWorkerApi_offchain_worker
288
284
  * @param {Header} header
289
285
  **/
290
- offchainWorker: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<[]>>;
286
+ offchainWorker: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
291
287
 
292
288
  /**
293
289
  * Generic runtime api call
294
290
  **/
295
- [method: string]: GenericRuntimeApiMethod<Rv>;
291
+ [method: string]: GenericRuntimeApiMethod;
296
292
  };
297
293
  /**
298
294
  * @runtimeapi: SessionKeys - 0xab3c0572291feb8b
@@ -310,7 +306,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
310
306
  * @callname: SessionKeys_generate_session_keys
311
307
  * @param {BytesLike | undefined} seed
312
308
  **/
313
- generateSessionKeys: GenericRuntimeApiMethod<Rv, (seed?: BytesLike | undefined) => Promise<Bytes>>;
309
+ generateSessionKeys: GenericRuntimeApiMethod<(seed?: BytesLike | undefined) => Promise<Bytes>>;
314
310
 
315
311
  /**
316
312
  * Decode the given public session keys.
@@ -321,14 +317,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
321
317
  * @param {BytesLike} encoded
322
318
  **/
323
319
  decodeSessionKeys: GenericRuntimeApiMethod<
324
- Rv,
325
320
  (encoded: BytesLike) => Promise<Array<[Bytes, SpCoreCryptoKeyTypeId]> | undefined>
326
321
  >;
327
322
 
328
323
  /**
329
324
  * Generic runtime api call
330
325
  **/
331
- [method: string]: GenericRuntimeApiMethod<Rv>;
326
+ [method: string]: GenericRuntimeApiMethod;
332
327
  };
333
328
  /**
334
329
  * @runtimeapi: AccountNonceApi - 0xbc9d89904f5b923f
@@ -340,12 +335,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
340
335
  * @callname: AccountNonceApi_account_nonce
341
336
  * @param {AccountId32Like} account
342
337
  **/
343
- accountNonce: GenericRuntimeApiMethod<Rv, (account: AccountId32Like) => Promise<number>>;
338
+ accountNonce: GenericRuntimeApiMethod<(account: AccountId32Like) => Promise<number>>;
344
339
 
345
340
  /**
346
341
  * Generic runtime api call
347
342
  **/
348
- [method: string]: GenericRuntimeApiMethod<Rv>;
343
+ [method: string]: GenericRuntimeApiMethod;
349
344
  };
350
345
  /**
351
346
  * @runtimeapi: TransactionPaymentApi - 0x37c8bb1350a9a2a8
@@ -358,7 +353,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
358
353
  * @param {number} len
359
354
  **/
360
355
  queryInfo: GenericRuntimeApiMethod<
361
- Rv,
362
356
  (uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
363
357
  >;
364
358
 
@@ -369,7 +363,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
369
363
  * @param {number} len
370
364
  **/
371
365
  queryFeeDetails: GenericRuntimeApiMethod<
372
- Rv,
373
366
  (uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>
374
367
  >;
375
368
 
@@ -378,19 +371,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
378
371
  * @callname: TransactionPaymentApi_query_weight_to_fee
379
372
  * @param {SpWeightsWeightV2Weight} weight
380
373
  **/
381
- queryWeightToFee: GenericRuntimeApiMethod<Rv, (weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
374
+ queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
382
375
 
383
376
  /**
384
377
  *
385
378
  * @callname: TransactionPaymentApi_query_length_to_fee
386
379
  * @param {number} length
387
380
  **/
388
- queryLengthToFee: GenericRuntimeApiMethod<Rv, (length: number) => Promise<bigint>>;
381
+ queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
389
382
 
390
383
  /**
391
384
  * Generic runtime api call
392
385
  **/
393
- [method: string]: GenericRuntimeApiMethod<Rv>;
386
+ [method: string]: GenericRuntimeApiMethod;
394
387
  };
395
388
  /**
396
389
  * @runtimeapi: TransactionPaymentCallApi - 0xf3ff14d5ab527059
@@ -404,7 +397,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
404
397
  * @param {number} len
405
398
  **/
406
399
  queryCallInfo: GenericRuntimeApiMethod<
407
- Rv,
408
400
  (call: PeopleKusamaRuntimeRuntimeCallLike, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
409
401
  >;
410
402
 
@@ -416,7 +408,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
416
408
  * @param {number} len
417
409
  **/
418
410
  queryCallFeeDetails: GenericRuntimeApiMethod<
419
- Rv,
420
411
  (call: PeopleKusamaRuntimeRuntimeCallLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>
421
412
  >;
422
413
 
@@ -426,7 +417,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
426
417
  * @callname: TransactionPaymentCallApi_query_weight_to_fee
427
418
  * @param {SpWeightsWeightV2Weight} weight
428
419
  **/
429
- queryWeightToFee: GenericRuntimeApiMethod<Rv, (weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
420
+ queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
430
421
 
431
422
  /**
432
423
  * Query the output of the current `LengthToFee` given some input.
@@ -434,12 +425,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
434
425
  * @callname: TransactionPaymentCallApi_query_length_to_fee
435
426
  * @param {number} length
436
427
  **/
437
- queryLengthToFee: GenericRuntimeApiMethod<Rv, (length: number) => Promise<bigint>>;
428
+ queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
438
429
 
439
430
  /**
440
431
  * Generic runtime api call
441
432
  **/
442
- [method: string]: GenericRuntimeApiMethod<Rv>;
433
+ [method: string]: GenericRuntimeApiMethod;
443
434
  };
444
435
  /**
445
436
  * @runtimeapi: XcmPaymentApi - 0x6ff52ee858e6c5bd
@@ -456,7 +447,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
456
447
  * @param {number} xcm_version
457
448
  **/
458
449
  queryAcceptablePaymentAssets: GenericRuntimeApiMethod<
459
- Rv,
460
450
  (xcmVersion: number) => Promise<Result<Array<XcmVersionedAssetId>, XcmRuntimeApisFeesError>>
461
451
  >;
462
452
 
@@ -471,7 +461,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
471
461
  * @param {XcmVersionedXcm} message
472
462
  **/
473
463
  queryXcmWeight: GenericRuntimeApiMethod<
474
- Rv,
475
464
  (message: XcmVersionedXcm) => Promise<Result<SpWeightsWeightV2Weight, XcmRuntimeApisFeesError>>
476
465
  >;
477
466
 
@@ -488,7 +477,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
488
477
  * @param {XcmVersionedAssetId} asset
489
478
  **/
490
479
  queryWeightToAssetFee: GenericRuntimeApiMethod<
491
- Rv,
492
480
  (weight: SpWeightsWeightV2Weight, asset: XcmVersionedAssetId) => Promise<Result<bigint, XcmRuntimeApisFeesError>>
493
481
  >;
494
482
 
@@ -507,7 +495,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
507
495
  * @param {XcmVersionedXcm} message
508
496
  **/
509
497
  queryDeliveryFees: GenericRuntimeApiMethod<
510
- Rv,
511
498
  (
512
499
  destination: XcmVersionedLocation,
513
500
  message: XcmVersionedXcm,
@@ -517,7 +504,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
517
504
  /**
518
505
  * Generic runtime api call
519
506
  **/
520
- [method: string]: GenericRuntimeApiMethod<Rv>;
507
+ [method: string]: GenericRuntimeApiMethod;
521
508
  };
522
509
  /**
523
510
  * @runtimeapi: DryRunApi - 0x91b1c8b16328eb92
@@ -532,7 +519,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
532
519
  * @param {number} result_xcms_version
533
520
  **/
534
521
  dryRunCall: GenericRuntimeApiMethod<
535
- Rv,
536
522
  (
537
523
  origin: PeopleKusamaRuntimeOriginCaller,
538
524
  call: PeopleKusamaRuntimeRuntimeCallLike,
@@ -548,7 +534,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
548
534
  * @param {XcmVersionedXcm} xcm
549
535
  **/
550
536
  dryRunXcm: GenericRuntimeApiMethod<
551
- Rv,
552
537
  (
553
538
  originLocation: XcmVersionedLocation,
554
539
  xcm: XcmVersionedXcm,
@@ -558,7 +543,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
558
543
  /**
559
544
  * Generic runtime api call
560
545
  **/
561
- [method: string]: GenericRuntimeApiMethod<Rv>;
546
+ [method: string]: GenericRuntimeApiMethod;
562
547
  };
563
548
  /**
564
549
  * @runtimeapi: LocationToAccountApi - 0x9ffb505aa738d69c
@@ -571,14 +556,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
571
556
  * @param {XcmVersionedLocation} location
572
557
  **/
573
558
  convertLocation: GenericRuntimeApiMethod<
574
- Rv,
575
559
  (location: XcmVersionedLocation) => Promise<Result<AccountId32, XcmRuntimeApisConversionsError>>
576
560
  >;
577
561
 
578
562
  /**
579
563
  * Generic runtime api call
580
564
  **/
581
- [method: string]: GenericRuntimeApiMethod<Rv>;
565
+ [method: string]: GenericRuntimeApiMethod;
582
566
  };
583
567
  /**
584
568
  * @runtimeapi: TrustedQueryApi - 0x2609be83ac4468dc
@@ -596,7 +580,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
596
580
  * @param {XcmVersionedLocation} location
597
581
  **/
598
582
  isTrustedReserve: GenericRuntimeApiMethod<
599
- Rv,
600
583
  (
601
584
  asset: XcmVersionedAsset,
602
585
  location: XcmVersionedLocation,
@@ -615,7 +598,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
615
598
  * @param {XcmVersionedLocation} location
616
599
  **/
617
600
  isTrustedTeleporter: GenericRuntimeApiMethod<
618
- Rv,
619
601
  (
620
602
  asset: XcmVersionedAsset,
621
603
  location: XcmVersionedLocation,
@@ -625,7 +607,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
625
607
  /**
626
608
  * Generic runtime api call
627
609
  **/
628
- [method: string]: GenericRuntimeApiMethod<Rv>;
610
+ [method: string]: GenericRuntimeApiMethod;
629
611
  };
630
612
  /**
631
613
  * @runtimeapi: AuthorizedAliasersApi - 0x12c8e3d4d7e06de0
@@ -638,7 +620,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
638
620
  * @param {XcmVersionedLocation} target
639
621
  **/
640
622
  authorizedAliasers: GenericRuntimeApiMethod<
641
- Rv,
642
623
  (
643
624
  target: XcmVersionedLocation,
644
625
  ) => Promise<Result<Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>, XcmRuntimeApisAuthorizedAliasesError>>
@@ -652,7 +633,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
652
633
  * @param {XcmVersionedLocation} target
653
634
  **/
654
635
  isAuthorizedAlias: GenericRuntimeApiMethod<
655
- Rv,
656
636
  (
657
637
  origin: XcmVersionedLocation,
658
638
  target: XcmVersionedLocation,
@@ -662,7 +642,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
662
642
  /**
663
643
  * Generic runtime api call
664
644
  **/
665
- [method: string]: GenericRuntimeApiMethod<Rv>;
645
+ [method: string]: GenericRuntimeApiMethod;
666
646
  };
667
647
  /**
668
648
  * @runtimeapi: CollectCollationInfo - 0xea93e3f16f3d6962
@@ -677,12 +657,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
677
657
  * @callname: CollectCollationInfo_collect_collation_info
678
658
  * @param {Header} header
679
659
  **/
680
- collectCollationInfo: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<CumulusPrimitivesCoreCollationInfo>>;
660
+ collectCollationInfo: GenericRuntimeApiMethod<(header: Header) => Promise<CumulusPrimitivesCoreCollationInfo>>;
681
661
 
682
662
  /**
683
663
  * Generic runtime api call
684
664
  **/
685
- [method: string]: GenericRuntimeApiMethod<Rv>;
665
+ [method: string]: GenericRuntimeApiMethod;
686
666
  };
687
667
  /**
688
668
  * @runtimeapi: GetParachainInfo - 0xa2ddb6a58477bf63
@@ -693,12 +673,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
693
673
  *
694
674
  * @callname: GetParachainInfo_parachain_id
695
675
  **/
696
- parachainId: GenericRuntimeApiMethod<Rv, () => Promise<PolkadotParachainPrimitivesPrimitivesId>>;
676
+ parachainId: GenericRuntimeApiMethod<() => Promise<PolkadotParachainPrimitivesPrimitivesId>>;
697
677
 
698
678
  /**
699
679
  * Generic runtime api call
700
680
  **/
701
- [method: string]: GenericRuntimeApiMethod<Rv>;
681
+ [method: string]: GenericRuntimeApiMethod;
702
682
  };
703
683
  /**
704
684
  * @runtimeapi: GenesisBuilder - 0xfbc577b9d747efd6
@@ -719,7 +699,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
719
699
  * @callname: GenesisBuilder_build_state
720
700
  * @param {BytesLike} json
721
701
  **/
722
- buildState: GenericRuntimeApiMethod<Rv, (json: BytesLike) => Promise<Result<[], string>>>;
702
+ buildState: GenericRuntimeApiMethod<(json: BytesLike) => Promise<Result<[], string>>>;
723
703
 
724
704
  /**
725
705
  * Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by
@@ -740,7 +720,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
740
720
  * @callname: GenesisBuilder_get_preset
741
721
  * @param {string | undefined} id
742
722
  **/
743
- getPreset: GenericRuntimeApiMethod<Rv, (id?: string | undefined) => Promise<Bytes | undefined>>;
723
+ getPreset: GenericRuntimeApiMethod<(id?: string | undefined) => Promise<Bytes | undefined>>;
744
724
 
745
725
  /**
746
726
  * Returns a list of identifiers for available builtin `RuntimeGenesisConfig` presets.
@@ -750,11 +730,11 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
750
730
  *
751
731
  * @callname: GenesisBuilder_preset_names
752
732
  **/
753
- presetNames: GenericRuntimeApiMethod<Rv, () => Promise<Array<string>>>;
733
+ presetNames: GenericRuntimeApiMethod<() => Promise<Array<string>>>;
754
734
 
755
735
  /**
756
736
  * Generic runtime api call
757
737
  **/
758
- [method: string]: GenericRuntimeApiMethod<Rv>;
738
+ [method: string]: GenericRuntimeApiMethod;
759
739
  };
760
740
  }