@dedot/chaintypes 0.193.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 -4
  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,
@@ -69,7 +69,7 @@ import type {
69
69
  PalletRevivePrimitivesBalanceConversionError,
70
70
  } from './types.js';
71
71
 
72
- export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<Rv> {
72
+ export interface RuntimeApis extends GenericRuntimeApis {
73
73
  /**
74
74
  * @runtimeapi: AuraApi - 0xdd718d5cc53262d4
75
75
  **/
@@ -81,19 +81,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
81
81
  *
82
82
  * @callname: AuraApi_slot_duration
83
83
  **/
84
- slotDuration: GenericRuntimeApiMethod<Rv, () => Promise<SpConsensusSlotsSlotDuration>>;
84
+ slotDuration: GenericRuntimeApiMethod<() => Promise<SpConsensusSlotsSlotDuration>>;
85
85
 
86
86
  /**
87
87
  * Return the current set of authorities.
88
88
  *
89
89
  * @callname: AuraApi_authorities
90
90
  **/
91
- authorities: GenericRuntimeApiMethod<Rv, () => Promise<Array<SpConsensusAuraSr25519AppSr25519Public>>>;
91
+ authorities: GenericRuntimeApiMethod<() => Promise<Array<SpConsensusAuraSr25519AppSr25519Public>>>;
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: RelayParentOffsetApi - 0x04e70521a0d3d2f8
@@ -104,12 +104,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
104
104
  *
105
105
  * @callname: RelayParentOffsetApi_relay_parent_offset
106
106
  **/
107
- relayParentOffset: GenericRuntimeApiMethod<Rv, () => Promise<number>>;
107
+ relayParentOffset: GenericRuntimeApiMethod<() => Promise<number>>;
108
108
 
109
109
  /**
110
110
  * Generic runtime api call
111
111
  **/
112
- [method: string]: GenericRuntimeApiMethod<Rv>;
112
+ [method: string]: GenericRuntimeApiMethod;
113
113
  };
114
114
  /**
115
115
  * @runtimeapi: GetParachainInfo - 0xa2ddb6a58477bf63
@@ -120,12 +120,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
120
120
  *
121
121
  * @callname: GetParachainInfo_parachain_id
122
122
  **/
123
- parachainId: GenericRuntimeApiMethod<Rv, () => Promise<PolkadotParachainPrimitivesPrimitivesId>>;
123
+ parachainId: GenericRuntimeApiMethod<() => Promise<PolkadotParachainPrimitivesPrimitivesId>>;
124
124
 
125
125
  /**
126
126
  * Generic runtime api call
127
127
  **/
128
- [method: string]: GenericRuntimeApiMethod<Rv>;
128
+ [method: string]: GenericRuntimeApiMethod;
129
129
  };
130
130
  /**
131
131
  * @runtimeapi: SlotSchedule - 0x5bfafc20876faaf0
@@ -141,12 +141,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
141
141
  * @callname: SlotSchedule_next_slot_schedule
142
142
  * @param {number} num_cores
143
143
  **/
144
- nextSlotSchedule: GenericRuntimeApiMethod<Rv, (numCores: number) => Promise<CumulusPrimitivesCoreNextSlotSchedule>>;
144
+ nextSlotSchedule: GenericRuntimeApiMethod<(numCores: number) => Promise<CumulusPrimitivesCoreNextSlotSchedule>>;
145
145
 
146
146
  /**
147
147
  * Generic runtime api call
148
148
  **/
149
- [method: string]: GenericRuntimeApiMethod<Rv>;
149
+ [method: string]: GenericRuntimeApiMethod;
150
150
  };
151
151
  /**
152
152
  * @runtimeapi: AuraUnincludedSegmentApi - 0xd7bdd8a272ca0d65
@@ -168,12 +168,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
168
168
  * @param {H256} included_hash
169
169
  * @param {SpConsensusSlotsSlot} slot
170
170
  **/
171
- canBuildUpon: GenericRuntimeApiMethod<Rv, (includedHash: H256, slot: SpConsensusSlotsSlot) => Promise<boolean>>;
171
+ canBuildUpon: GenericRuntimeApiMethod<(includedHash: H256, slot: SpConsensusSlotsSlot) => Promise<boolean>>;
172
172
 
173
173
  /**
174
174
  * Generic runtime api call
175
175
  **/
176
- [method: string]: GenericRuntimeApiMethod<Rv>;
176
+ [method: string]: GenericRuntimeApiMethod;
177
177
  };
178
178
  /**
179
179
  * @runtimeapi: Core - 0xdf6acb689907609b
@@ -184,7 +184,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
184
184
  *
185
185
  * @callname: Core_version
186
186
  **/
187
- version: GenericRuntimeApiMethod<Rv, () => Promise<RuntimeVersion>>;
187
+ version: GenericRuntimeApiMethod<() => Promise<RuntimeVersion>>;
188
188
 
189
189
  /**
190
190
  * Execute the given block.
@@ -192,7 +192,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
192
192
  * @callname: Core_execute_block
193
193
  * @param {SpRuntimeBlockLazyBlock} block
194
194
  **/
195
- executeBlock: GenericRuntimeApiMethod<Rv, (block: SpRuntimeBlockLazyBlock) => Promise<[]>>;
195
+ executeBlock: GenericRuntimeApiMethod<(block: SpRuntimeBlockLazyBlock) => Promise<[]>>;
196
196
 
197
197
  /**
198
198
  * Initialize a block with the given header and return the runtime executive mode.
@@ -200,12 +200,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
200
200
  * @callname: Core_initialize_block
201
201
  * @param {Header} header
202
202
  **/
203
- initializeBlock: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<SpRuntimeExtrinsicInclusionMode>>;
203
+ initializeBlock: GenericRuntimeApiMethod<(header: Header) => Promise<SpRuntimeExtrinsicInclusionMode>>;
204
204
 
205
205
  /**
206
206
  * Generic runtime api call
207
207
  **/
208
- [method: string]: GenericRuntimeApiMethod<Rv>;
208
+ [method: string]: GenericRuntimeApiMethod;
209
209
  };
210
210
  /**
211
211
  * @runtimeapi: Metadata - 0x37e397fc7c91f5e4
@@ -216,7 +216,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
216
216
  *
217
217
  * @callname: Metadata_metadata
218
218
  **/
219
- metadata: GenericRuntimeApiMethod<Rv, () => Promise<SpCoreOpaqueMetadata>>;
219
+ metadata: GenericRuntimeApiMethod<() => Promise<SpCoreOpaqueMetadata>>;
220
220
 
221
221
  /**
222
222
  * Returns the metadata at a given version.
@@ -227,7 +227,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
227
227
  * @callname: Metadata_metadata_at_version
228
228
  * @param {number} version
229
229
  **/
230
- metadataAtVersion: GenericRuntimeApiMethod<Rv, (version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
230
+ metadataAtVersion: GenericRuntimeApiMethod<(version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
231
231
 
232
232
  /**
233
233
  * Returns the supported metadata versions.
@@ -236,12 +236,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
236
236
  *
237
237
  * @callname: Metadata_metadata_versions
238
238
  **/
239
- metadataVersions: GenericRuntimeApiMethod<Rv, () => Promise<Array<number>>>;
239
+ metadataVersions: GenericRuntimeApiMethod<() => Promise<Array<number>>>;
240
240
 
241
241
  /**
242
242
  * Generic runtime api call
243
243
  **/
244
- [method: string]: GenericRuntimeApiMethod<Rv>;
244
+ [method: string]: GenericRuntimeApiMethod;
245
245
  };
246
246
  /**
247
247
  * @runtimeapi: BlockBuilder - 0x40fe3ad401f8959a
@@ -257,7 +257,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
257
257
  * @param {UncheckedExtrinsicLike} extrinsic
258
258
  **/
259
259
  applyExtrinsic: GenericRuntimeApiMethod<
260
- Rv,
261
260
  (
262
261
  extrinsic: UncheckedExtrinsicLike,
263
262
  ) => Promise<Result<Result<[], DispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>
@@ -268,7 +267,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
268
267
  *
269
268
  * @callname: BlockBuilder_finalize_block
270
269
  **/
271
- finalizeBlock: GenericRuntimeApiMethod<Rv, () => Promise<Header>>;
270
+ finalizeBlock: GenericRuntimeApiMethod<() => Promise<Header>>;
272
271
 
273
272
  /**
274
273
  * Generate inherent extrinsics. The inherent data will vary from chain to chain.
@@ -277,7 +276,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
277
276
  * @param {SpInherentsInherentData} inherent
278
277
  **/
279
278
  inherentExtrinsics: GenericRuntimeApiMethod<
280
- Rv,
281
279
  (inherent: SpInherentsInherentData) => Promise<Array<UncheckedExtrinsic>>
282
280
  >;
283
281
 
@@ -289,14 +287,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
289
287
  * @param {SpInherentsInherentData} data
290
288
  **/
291
289
  checkInherents: GenericRuntimeApiMethod<
292
- Rv,
293
290
  (block: SpRuntimeBlockLazyBlock, data: SpInherentsInherentData) => Promise<SpInherentsCheckInherentsResult>
294
291
  >;
295
292
 
296
293
  /**
297
294
  * Generic runtime api call
298
295
  **/
299
- [method: string]: GenericRuntimeApiMethod<Rv>;
296
+ [method: string]: GenericRuntimeApiMethod;
300
297
  };
301
298
  /**
302
299
  * @runtimeapi: TaggedTransactionQueue - 0xd2bc9897eed08f15
@@ -319,7 +316,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
319
316
  * @param {H256} block_hash
320
317
  **/
321
318
  validateTransaction: GenericRuntimeApiMethod<
322
- Rv,
323
319
  (
324
320
  source: SpRuntimeTransactionValidityTransactionSource,
325
321
  tx: UncheckedExtrinsicLike,
@@ -332,7 +328,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
332
328
  /**
333
329
  * Generic runtime api call
334
330
  **/
335
- [method: string]: GenericRuntimeApiMethod<Rv>;
331
+ [method: string]: GenericRuntimeApiMethod;
336
332
  };
337
333
  /**
338
334
  * @runtimeapi: OffchainWorkerApi - 0xf78b278be53f454c
@@ -344,12 +340,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
344
340
  * @callname: OffchainWorkerApi_offchain_worker
345
341
  * @param {Header} header
346
342
  **/
347
- offchainWorker: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<[]>>;
343
+ offchainWorker: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
348
344
 
349
345
  /**
350
346
  * Generic runtime api call
351
347
  **/
352
- [method: string]: GenericRuntimeApiMethod<Rv>;
348
+ [method: string]: GenericRuntimeApiMethod;
353
349
  };
354
350
  /**
355
351
  * @runtimeapi: SessionKeys - 0xab3c0572291feb8b
@@ -367,7 +363,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
367
363
  * @callname: SessionKeys_generate_session_keys
368
364
  * @param {BytesLike | undefined} seed
369
365
  **/
370
- generateSessionKeys: GenericRuntimeApiMethod<Rv, (seed?: BytesLike | undefined) => Promise<Bytes>>;
366
+ generateSessionKeys: GenericRuntimeApiMethod<(seed?: BytesLike | undefined) => Promise<Bytes>>;
371
367
 
372
368
  /**
373
369
  * Decode the given public session keys.
@@ -378,14 +374,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
378
374
  * @param {BytesLike} encoded
379
375
  **/
380
376
  decodeSessionKeys: GenericRuntimeApiMethod<
381
- Rv,
382
377
  (encoded: BytesLike) => Promise<Array<[Bytes, SpCoreCryptoKeyTypeId]> | undefined>
383
378
  >;
384
379
 
385
380
  /**
386
381
  * Generic runtime api call
387
382
  **/
388
- [method: string]: GenericRuntimeApiMethod<Rv>;
383
+ [method: string]: GenericRuntimeApiMethod;
389
384
  };
390
385
  /**
391
386
  * @runtimeapi: AccountNonceApi - 0xbc9d89904f5b923f
@@ -397,12 +392,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
397
392
  * @callname: AccountNonceApi_account_nonce
398
393
  * @param {AccountId32Like} account
399
394
  **/
400
- accountNonce: GenericRuntimeApiMethod<Rv, (account: AccountId32Like) => Promise<number>>;
395
+ accountNonce: GenericRuntimeApiMethod<(account: AccountId32Like) => Promise<number>>;
401
396
 
402
397
  /**
403
398
  * Generic runtime api call
404
399
  **/
405
- [method: string]: GenericRuntimeApiMethod<Rv>;
400
+ [method: string]: GenericRuntimeApiMethod;
406
401
  };
407
402
  /**
408
403
  * @runtimeapi: NftsApi - 0x899a250cbe84f250
@@ -414,14 +409,14 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
414
409
  * @param {number} collection
415
410
  * @param {number} item
416
411
  **/
417
- owner: GenericRuntimeApiMethod<Rv, (collection: number, item: number) => Promise<AccountId32 | undefined>>;
412
+ owner: GenericRuntimeApiMethod<(collection: number, item: number) => Promise<AccountId32 | undefined>>;
418
413
 
419
414
  /**
420
415
  *
421
416
  * @callname: NftsApi_collection_owner
422
417
  * @param {number} collection
423
418
  **/
424
- collectionOwner: GenericRuntimeApiMethod<Rv, (collection: number) => Promise<AccountId32 | undefined>>;
419
+ collectionOwner: GenericRuntimeApiMethod<(collection: number) => Promise<AccountId32 | undefined>>;
425
420
 
426
421
  /**
427
422
  *
@@ -431,7 +426,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
431
426
  * @param {BytesLike} key
432
427
  **/
433
428
  attribute: GenericRuntimeApiMethod<
434
- Rv,
435
429
  (collection: number, item: number, key: BytesLike) => Promise<Bytes | undefined>
436
430
  >;
437
431
 
@@ -444,7 +438,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
444
438
  * @param {BytesLike} key
445
439
  **/
446
440
  customAttribute: GenericRuntimeApiMethod<
447
- Rv,
448
441
  (account: AccountId32Like, collection: number, item: number, key: BytesLike) => Promise<Bytes | undefined>
449
442
  >;
450
443
 
@@ -456,7 +449,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
456
449
  * @param {BytesLike} key
457
450
  **/
458
451
  systemAttribute: GenericRuntimeApiMethod<
459
- Rv,
460
452
  (collection: number, item: number | undefined, key: BytesLike) => Promise<Bytes | undefined>
461
453
  >;
462
454
 
@@ -466,15 +458,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
466
458
  * @param {number} collection
467
459
  * @param {BytesLike} key
468
460
  **/
469
- collectionAttribute: GenericRuntimeApiMethod<
470
- Rv,
471
- (collection: number, key: BytesLike) => Promise<Bytes | undefined>
472
- >;
461
+ collectionAttribute: GenericRuntimeApiMethod<(collection: number, key: BytesLike) => Promise<Bytes | undefined>>;
473
462
 
474
463
  /**
475
464
  * Generic runtime api call
476
465
  **/
477
- [method: string]: GenericRuntimeApiMethod<Rv>;
466
+ [method: string]: GenericRuntimeApiMethod;
478
467
  };
479
468
  /**
480
469
  * @runtimeapi: AssetConversionApi - 0x8a8047a53a8277ec
@@ -493,7 +482,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
493
482
  * @param {boolean} include_fee
494
483
  **/
495
484
  quotePriceTokensForExactTokens: GenericRuntimeApiMethod<
496
- Rv,
497
485
  (
498
486
  asset1: StagingXcmV5Location,
499
487
  asset2: StagingXcmV5Location,
@@ -515,7 +503,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
515
503
  * @param {boolean} include_fee
516
504
  **/
517
505
  quotePriceExactTokensForTokens: GenericRuntimeApiMethod<
518
- Rv,
519
506
  (
520
507
  asset1: StagingXcmV5Location,
521
508
  asset2: StagingXcmV5Location,
@@ -532,14 +519,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
532
519
  * @param {StagingXcmV5Location} asset2
533
520
  **/
534
521
  getReserves: GenericRuntimeApiMethod<
535
- Rv,
536
522
  (asset1: StagingXcmV5Location, asset2: StagingXcmV5Location) => Promise<[bigint, bigint] | undefined>
537
523
  >;
538
524
 
539
525
  /**
540
526
  * Generic runtime api call
541
527
  **/
542
- [method: string]: GenericRuntimeApiMethod<Rv>;
528
+ [method: string]: GenericRuntimeApiMethod;
543
529
  };
544
530
  /**
545
531
  * @runtimeapi: TransactionPaymentApi - 0x37c8bb1350a9a2a8
@@ -552,7 +538,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
552
538
  * @param {number} len
553
539
  **/
554
540
  queryInfo: GenericRuntimeApiMethod<
555
- Rv,
556
541
  (uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
557
542
  >;
558
543
 
@@ -563,7 +548,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
563
548
  * @param {number} len
564
549
  **/
565
550
  queryFeeDetails: GenericRuntimeApiMethod<
566
- Rv,
567
551
  (uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>
568
552
  >;
569
553
 
@@ -572,19 +556,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
572
556
  * @callname: TransactionPaymentApi_query_weight_to_fee
573
557
  * @param {SpWeightsWeightV2Weight} weight
574
558
  **/
575
- queryWeightToFee: GenericRuntimeApiMethod<Rv, (weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
559
+ queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
576
560
 
577
561
  /**
578
562
  *
579
563
  * @callname: TransactionPaymentApi_query_length_to_fee
580
564
  * @param {number} length
581
565
  **/
582
- queryLengthToFee: GenericRuntimeApiMethod<Rv, (length: number) => Promise<bigint>>;
566
+ queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
583
567
 
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: XcmPaymentApi - 0x6ff52ee858e6c5bd
@@ -601,7 +585,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
601
585
  * @param {number} xcm_version
602
586
  **/
603
587
  queryAcceptablePaymentAssets: GenericRuntimeApiMethod<
604
- Rv,
605
588
  (xcmVersion: number) => Promise<Result<Array<XcmVersionedAssetId>, XcmRuntimeApisFeesError>>
606
589
  >;
607
590
 
@@ -616,7 +599,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
616
599
  * @param {XcmVersionedXcm} message
617
600
  **/
618
601
  queryXcmWeight: GenericRuntimeApiMethod<
619
- Rv,
620
602
  (message: XcmVersionedXcm) => Promise<Result<SpWeightsWeightV2Weight, XcmRuntimeApisFeesError>>
621
603
  >;
622
604
 
@@ -633,7 +615,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
633
615
  * @param {XcmVersionedAssetId} asset
634
616
  **/
635
617
  queryWeightToAssetFee: GenericRuntimeApiMethod<
636
- Rv,
637
618
  (weight: SpWeightsWeightV2Weight, asset: XcmVersionedAssetId) => Promise<Result<bigint, XcmRuntimeApisFeesError>>
638
619
  >;
639
620
 
@@ -652,7 +633,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
652
633
  * @param {XcmVersionedXcm} message
653
634
  **/
654
635
  queryDeliveryFees: GenericRuntimeApiMethod<
655
- Rv,
656
636
  (
657
637
  destination: XcmVersionedLocation,
658
638
  message: XcmVersionedXcm,
@@ -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: DryRunApi - 0x91b1c8b16328eb92
@@ -677,7 +657,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
677
657
  * @param {number} result_xcms_version
678
658
  **/
679
659
  dryRunCall: GenericRuntimeApiMethod<
680
- Rv,
681
660
  (
682
661
  origin: AssetHubWestendRuntimeOriginCaller,
683
662
  call: AssetHubWestendRuntimeRuntimeCallLike,
@@ -693,7 +672,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
693
672
  * @param {XcmVersionedXcm} xcm
694
673
  **/
695
674
  dryRunXcm: GenericRuntimeApiMethod<
696
- Rv,
697
675
  (
698
676
  originLocation: XcmVersionedLocation,
699
677
  xcm: XcmVersionedXcm,
@@ -703,7 +681,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
703
681
  /**
704
682
  * Generic runtime api call
705
683
  **/
706
- [method: string]: GenericRuntimeApiMethod<Rv>;
684
+ [method: string]: GenericRuntimeApiMethod;
707
685
  };
708
686
  /**
709
687
  * @runtimeapi: LocationToAccountApi - 0x9ffb505aa738d69c
@@ -716,14 +694,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
716
694
  * @param {XcmVersionedLocation} location
717
695
  **/
718
696
  convertLocation: GenericRuntimeApiMethod<
719
- Rv,
720
697
  (location: XcmVersionedLocation) => Promise<Result<AccountId32, XcmRuntimeApisConversionsError>>
721
698
  >;
722
699
 
723
700
  /**
724
701
  * Generic runtime api call
725
702
  **/
726
- [method: string]: GenericRuntimeApiMethod<Rv>;
703
+ [method: string]: GenericRuntimeApiMethod;
727
704
  };
728
705
  /**
729
706
  * @runtimeapi: TrustedQueryApi - 0x2609be83ac4468dc
@@ -741,7 +718,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
741
718
  * @param {XcmVersionedLocation} location
742
719
  **/
743
720
  isTrustedReserve: GenericRuntimeApiMethod<
744
- Rv,
745
721
  (
746
722
  asset: XcmVersionedAsset,
747
723
  location: XcmVersionedLocation,
@@ -760,7 +736,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
760
736
  * @param {XcmVersionedLocation} location
761
737
  **/
762
738
  isTrustedTeleporter: GenericRuntimeApiMethod<
763
- Rv,
764
739
  (
765
740
  asset: XcmVersionedAsset,
766
741
  location: XcmVersionedLocation,
@@ -770,7 +745,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
770
745
  /**
771
746
  * Generic runtime api call
772
747
  **/
773
- [method: string]: GenericRuntimeApiMethod<Rv>;
748
+ [method: string]: GenericRuntimeApiMethod;
774
749
  };
775
750
  /**
776
751
  * @runtimeapi: AuthorizedAliasersApi - 0x12c8e3d4d7e06de0
@@ -783,7 +758,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
783
758
  * @param {XcmVersionedLocation} target
784
759
  **/
785
760
  authorizedAliasers: GenericRuntimeApiMethod<
786
- Rv,
787
761
  (
788
762
  target: XcmVersionedLocation,
789
763
  ) => Promise<Result<Array<XcmRuntimeApisAuthorizedAliasesOriginAliaser>, XcmRuntimeApisAuthorizedAliasesError>>
@@ -797,7 +771,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
797
771
  * @param {XcmVersionedLocation} target
798
772
  **/
799
773
  isAuthorizedAlias: GenericRuntimeApiMethod<
800
- Rv,
801
774
  (
802
775
  origin: XcmVersionedLocation,
803
776
  target: XcmVersionedLocation,
@@ -807,7 +780,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
807
780
  /**
808
781
  * Generic runtime api call
809
782
  **/
810
- [method: string]: GenericRuntimeApiMethod<Rv>;
783
+ [method: string]: GenericRuntimeApiMethod;
811
784
  };
812
785
  /**
813
786
  * @runtimeapi: TransactionPaymentCallApi - 0xf3ff14d5ab527059
@@ -821,7 +794,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
821
794
  * @param {number} len
822
795
  **/
823
796
  queryCallInfo: GenericRuntimeApiMethod<
824
- Rv,
825
797
  (call: AssetHubWestendRuntimeRuntimeCallLike, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
826
798
  >;
827
799
 
@@ -833,7 +805,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
833
805
  * @param {number} len
834
806
  **/
835
807
  queryCallFeeDetails: GenericRuntimeApiMethod<
836
- Rv,
837
808
  (call: AssetHubWestendRuntimeRuntimeCallLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>
838
809
  >;
839
810
 
@@ -843,7 +814,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
843
814
  * @callname: TransactionPaymentCallApi_query_weight_to_fee
844
815
  * @param {SpWeightsWeightV2Weight} weight
845
816
  **/
846
- queryWeightToFee: GenericRuntimeApiMethod<Rv, (weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
817
+ queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
847
818
 
848
819
  /**
849
820
  * Query the output of the current `LengthToFee` given some input.
@@ -851,12 +822,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
851
822
  * @callname: TransactionPaymentCallApi_query_length_to_fee
852
823
  * @param {number} length
853
824
  **/
854
- queryLengthToFee: GenericRuntimeApiMethod<Rv, (length: number) => Promise<bigint>>;
825
+ queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
855
826
 
856
827
  /**
857
828
  * Generic runtime api call
858
829
  **/
859
- [method: string]: GenericRuntimeApiMethod<Rv>;
830
+ [method: string]: GenericRuntimeApiMethod;
860
831
  };
861
832
  /**
862
833
  * @runtimeapi: FungiblesApi - 0xde92b8a0426b9bf6
@@ -869,14 +840,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
869
840
  * @param {AccountId32Like} account
870
841
  **/
871
842
  queryAccountBalances: GenericRuntimeApiMethod<
872
- Rv,
873
843
  (account: AccountId32Like) => Promise<Result<XcmVersionedAssets, AssetsCommonRuntimeApiFungiblesAccessError>>
874
844
  >;
875
845
 
876
846
  /**
877
847
  * Generic runtime api call
878
848
  **/
879
- [method: string]: GenericRuntimeApiMethod<Rv>;
849
+ [method: string]: GenericRuntimeApiMethod;
880
850
  };
881
851
  /**
882
852
  * @runtimeapi: CollectCollationInfo - 0xea93e3f16f3d6962
@@ -891,12 +861,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
891
861
  * @callname: CollectCollationInfo_collect_collation_info
892
862
  * @param {Header} header
893
863
  **/
894
- collectCollationInfo: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<CumulusPrimitivesCoreCollationInfo>>;
864
+ collectCollationInfo: GenericRuntimeApiMethod<(header: Header) => Promise<CumulusPrimitivesCoreCollationInfo>>;
895
865
 
896
866
  /**
897
867
  * Generic runtime api call
898
868
  **/
899
- [method: string]: GenericRuntimeApiMethod<Rv>;
869
+ [method: string]: GenericRuntimeApiMethod;
900
870
  };
901
871
  /**
902
872
  * @runtimeapi: AssetRewards - 0x65f855d6e093c2f1
@@ -909,12 +879,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
909
879
  *
910
880
  * @callname: AssetRewards_pool_creation_cost
911
881
  **/
912
- poolCreationCost: GenericRuntimeApiMethod<Rv, () => Promise<bigint>>;
882
+ poolCreationCost: GenericRuntimeApiMethod<() => Promise<bigint>>;
913
883
 
914
884
  /**
915
885
  * Generic runtime api call
916
886
  **/
917
- [method: string]: GenericRuntimeApiMethod<Rv>;
887
+ [method: string]: GenericRuntimeApiMethod;
918
888
  };
919
889
  /**
920
890
  * @runtimeapi: NominationPoolsApi - 0x17a6bc0d0062aeb3
@@ -926,7 +896,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
926
896
  * @callname: NominationPoolsApi_pending_rewards
927
897
  * @param {AccountId32Like} who
928
898
  **/
929
- pendingRewards: GenericRuntimeApiMethod<Rv, (who: AccountId32Like) => Promise<bigint>>;
899
+ pendingRewards: GenericRuntimeApiMethod<(who: AccountId32Like) => Promise<bigint>>;
930
900
 
931
901
  /**
932
902
  * Returns the equivalent balance of `points` for a given pool.
@@ -935,7 +905,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
935
905
  * @param {number} pool_id
936
906
  * @param {bigint} points
937
907
  **/
938
- pointsToBalance: GenericRuntimeApiMethod<Rv, (poolId: number, points: bigint) => Promise<bigint>>;
908
+ pointsToBalance: GenericRuntimeApiMethod<(poolId: number, points: bigint) => Promise<bigint>>;
939
909
 
940
910
  /**
941
911
  * Returns the equivalent points of `new_funds` for a given pool.
@@ -944,7 +914,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
944
914
  * @param {number} pool_id
945
915
  * @param {bigint} new_funds
946
916
  **/
947
- balanceToPoints: GenericRuntimeApiMethod<Rv, (poolId: number, newFunds: bigint) => Promise<bigint>>;
917
+ balanceToPoints: GenericRuntimeApiMethod<(poolId: number, newFunds: bigint) => Promise<bigint>>;
948
918
 
949
919
  /**
950
920
  * Returns the pending slash for a given pool.
@@ -952,7 +922,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
952
922
  * @callname: NominationPoolsApi_pool_pending_slash
953
923
  * @param {number} pool_id
954
924
  **/
955
- poolPendingSlash: GenericRuntimeApiMethod<Rv, (poolId: number) => Promise<bigint>>;
925
+ poolPendingSlash: GenericRuntimeApiMethod<(poolId: number) => Promise<bigint>>;
956
926
 
957
927
  /**
958
928
  * Returns the pending slash for a given pool member.
@@ -963,7 +933,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
963
933
  * @callname: NominationPoolsApi_member_pending_slash
964
934
  * @param {AccountId32Like} member
965
935
  **/
966
- memberPendingSlash: GenericRuntimeApiMethod<Rv, (member: AccountId32Like) => Promise<bigint>>;
936
+ memberPendingSlash: GenericRuntimeApiMethod<(member: AccountId32Like) => Promise<bigint>>;
967
937
 
968
938
  /**
969
939
  * Returns true if the pool with `pool_id` needs migration.
@@ -978,7 +948,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
978
948
  * @callname: NominationPoolsApi_pool_needs_delegate_migration
979
949
  * @param {number} pool_id
980
950
  **/
981
- poolNeedsDelegateMigration: GenericRuntimeApiMethod<Rv, (poolId: number) => Promise<boolean>>;
951
+ poolNeedsDelegateMigration: GenericRuntimeApiMethod<(poolId: number) => Promise<boolean>>;
982
952
 
983
953
  /**
984
954
  * Returns true if the delegated funds of the pool `member` needs migration.
@@ -992,7 +962,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
992
962
  * @callname: NominationPoolsApi_member_needs_delegate_migration
993
963
  * @param {AccountId32Like} member
994
964
  **/
995
- memberNeedsDelegateMigration: GenericRuntimeApiMethod<Rv, (member: AccountId32Like) => Promise<boolean>>;
965
+ memberNeedsDelegateMigration: GenericRuntimeApiMethod<(member: AccountId32Like) => Promise<boolean>>;
996
966
 
997
967
  /**
998
968
  * Returns the total contribution of a pool member including any balance that is unbonding.
@@ -1000,7 +970,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1000
970
  * @callname: NominationPoolsApi_member_total_balance
1001
971
  * @param {AccountId32Like} who
1002
972
  **/
1003
- memberTotalBalance: GenericRuntimeApiMethod<Rv, (who: AccountId32Like) => Promise<bigint>>;
973
+ memberTotalBalance: GenericRuntimeApiMethod<(who: AccountId32Like) => Promise<bigint>>;
1004
974
 
1005
975
  /**
1006
976
  * Total balance contributed to the pool.
@@ -1008,7 +978,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1008
978
  * @callname: NominationPoolsApi_pool_balance
1009
979
  * @param {number} pool_id
1010
980
  **/
1011
- poolBalance: GenericRuntimeApiMethod<Rv, (poolId: number) => Promise<bigint>>;
981
+ poolBalance: GenericRuntimeApiMethod<(poolId: number) => Promise<bigint>>;
1012
982
 
1013
983
  /**
1014
984
  * Returns the bonded account and reward account associated with the pool_id.
@@ -1016,12 +986,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1016
986
  * @callname: NominationPoolsApi_pool_accounts
1017
987
  * @param {number} pool_id
1018
988
  **/
1019
- poolAccounts: GenericRuntimeApiMethod<Rv, (poolId: number) => Promise<[AccountId32, AccountId32]>>;
989
+ poolAccounts: GenericRuntimeApiMethod<(poolId: number) => Promise<[AccountId32, AccountId32]>>;
1020
990
 
1021
991
  /**
1022
992
  * Generic runtime api call
1023
993
  **/
1024
- [method: string]: GenericRuntimeApiMethod<Rv>;
994
+ [method: string]: GenericRuntimeApiMethod;
1025
995
  };
1026
996
  /**
1027
997
  * @runtimeapi: StakingApi - 0x18ef58a3b67ba770
@@ -1033,7 +1003,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1033
1003
  * @callname: StakingApi_nominations_quota
1034
1004
  * @param {bigint} balance
1035
1005
  **/
1036
- nominationsQuota: GenericRuntimeApiMethod<Rv, (balance: bigint) => Promise<number>>;
1006
+ nominationsQuota: GenericRuntimeApiMethod<(balance: bigint) => Promise<number>>;
1037
1007
 
1038
1008
  /**
1039
1009
  * Returns the page count of exposures for a validator `account` in a given era.
@@ -1042,7 +1012,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1042
1012
  * @param {number} era
1043
1013
  * @param {AccountId32Like} account
1044
1014
  **/
1045
- erasStakersPageCount: GenericRuntimeApiMethod<Rv, (era: number, account: AccountId32Like) => Promise<number>>;
1015
+ erasStakersPageCount: GenericRuntimeApiMethod<(era: number, account: AccountId32Like) => Promise<number>>;
1046
1016
 
1047
1017
  /**
1048
1018
  * Returns true if a validator `account` has pages to be claimed for the given era.
@@ -1051,12 +1021,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1051
1021
  * @param {number} era
1052
1022
  * @param {AccountId32Like} account
1053
1023
  **/
1054
- pendingRewards: GenericRuntimeApiMethod<Rv, (era: number, account: AccountId32Like) => Promise<boolean>>;
1024
+ pendingRewards: GenericRuntimeApiMethod<(era: number, account: AccountId32Like) => Promise<boolean>>;
1055
1025
 
1056
1026
  /**
1057
1027
  * Generic runtime api call
1058
1028
  **/
1059
- [method: string]: GenericRuntimeApiMethod<Rv>;
1029
+ [method: string]: GenericRuntimeApiMethod;
1060
1030
  };
1061
1031
  /**
1062
1032
  * @runtimeapi: GenesisBuilder - 0xfbc577b9d747efd6
@@ -1077,7 +1047,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1077
1047
  * @callname: GenesisBuilder_build_state
1078
1048
  * @param {BytesLike} json
1079
1049
  **/
1080
- buildState: GenericRuntimeApiMethod<Rv, (json: BytesLike) => Promise<Result<[], string>>>;
1050
+ buildState: GenericRuntimeApiMethod<(json: BytesLike) => Promise<Result<[], string>>>;
1081
1051
 
1082
1052
  /**
1083
1053
  * Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by
@@ -1098,7 +1068,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1098
1068
  * @callname: GenesisBuilder_get_preset
1099
1069
  * @param {string | undefined} id
1100
1070
  **/
1101
- getPreset: GenericRuntimeApiMethod<Rv, (id?: string | undefined) => Promise<Bytes | undefined>>;
1071
+ getPreset: GenericRuntimeApiMethod<(id?: string | undefined) => Promise<Bytes | undefined>>;
1102
1072
 
1103
1073
  /**
1104
1074
  * Returns a list of identifiers for available builtin `RuntimeGenesisConfig` presets.
@@ -1108,12 +1078,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1108
1078
  *
1109
1079
  * @callname: GenesisBuilder_preset_names
1110
1080
  **/
1111
- presetNames: GenericRuntimeApiMethod<Rv, () => Promise<Array<string>>>;
1081
+ presetNames: GenericRuntimeApiMethod<() => Promise<Array<string>>>;
1112
1082
 
1113
1083
  /**
1114
1084
  * Generic runtime api call
1115
1085
  **/
1116
- [method: string]: GenericRuntimeApiMethod<Rv>;
1086
+ [method: string]: GenericRuntimeApiMethod;
1117
1087
  };
1118
1088
  /**
1119
1089
  * @runtimeapi: ReviveApi - 0x8c403e5c4a9fd442
@@ -1126,7 +1096,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1126
1096
  *
1127
1097
  * @callname: ReviveApi_eth_block
1128
1098
  **/
1129
- ethBlock: GenericRuntimeApiMethod<Rv, () => Promise<PalletReviveEvmApiRpcTypesGenBlock>>;
1099
+ ethBlock: GenericRuntimeApiMethod<() => Promise<PalletReviveEvmApiRpcTypesGenBlock>>;
1130
1100
 
1131
1101
  /**
1132
1102
  * Returns the ETH block hash for the given block number.
@@ -1134,7 +1104,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1134
1104
  * @callname: ReviveApi_eth_block_hash
1135
1105
  * @param {U256} number
1136
1106
  **/
1137
- ethBlockHash: GenericRuntimeApiMethod<Rv, (number: U256) => Promise<H256 | undefined>>;
1107
+ ethBlockHash: GenericRuntimeApiMethod<(number: U256) => Promise<H256 | undefined>>;
1138
1108
 
1139
1109
  /**
1140
1110
  * The details needed to reconstruct the receipt information offchain.
@@ -1145,14 +1115,14 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1145
1115
  *
1146
1116
  * @callname: ReviveApi_eth_receipt_data
1147
1117
  **/
1148
- ethReceiptData: GenericRuntimeApiMethod<Rv, () => Promise<Array<PalletReviveEvmBlockHashReceiptGasInfo>>>;
1118
+ ethReceiptData: GenericRuntimeApiMethod<() => Promise<Array<PalletReviveEvmBlockHashReceiptGasInfo>>>;
1149
1119
 
1150
1120
  /**
1151
1121
  * Returns the block gas limit.
1152
1122
  *
1153
1123
  * @callname: ReviveApi_block_gas_limit
1154
1124
  **/
1155
- blockGasLimit: GenericRuntimeApiMethod<Rv, () => Promise<U256>>;
1125
+ blockGasLimit: GenericRuntimeApiMethod<() => Promise<U256>>;
1156
1126
 
1157
1127
  /**
1158
1128
  * Returns the free balance of the given `[H160]` address, using EVM decimals.
@@ -1160,14 +1130,14 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1160
1130
  * @callname: ReviveApi_balance
1161
1131
  * @param {H160} address
1162
1132
  **/
1163
- balance: GenericRuntimeApiMethod<Rv, (address: H160) => Promise<U256>>;
1133
+ balance: GenericRuntimeApiMethod<(address: H160) => Promise<U256>>;
1164
1134
 
1165
1135
  /**
1166
1136
  * Returns the gas price.
1167
1137
  *
1168
1138
  * @callname: ReviveApi_gas_price
1169
1139
  **/
1170
- gasPrice: GenericRuntimeApiMethod<Rv, () => Promise<U256>>;
1140
+ gasPrice: GenericRuntimeApiMethod<() => Promise<U256>>;
1171
1141
 
1172
1142
  /**
1173
1143
  * Returns the nonce of the given `[H160]` address.
@@ -1175,7 +1145,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1175
1145
  * @callname: ReviveApi_nonce
1176
1146
  * @param {H160} address
1177
1147
  **/
1178
- nonce: GenericRuntimeApiMethod<Rv, (address: H160) => Promise<number>>;
1148
+ nonce: GenericRuntimeApiMethod<(address: H160) => Promise<number>>;
1179
1149
 
1180
1150
  /**
1181
1151
  * Perform a call from a specified account to a given contract.
@@ -1191,7 +1161,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1191
1161
  * @param {BytesLike} input_data
1192
1162
  **/
1193
1163
  call: GenericRuntimeApiMethod<
1194
- Rv,
1195
1164
  (
1196
1165
  origin: AccountId32Like,
1197
1166
  dest: H160,
@@ -1217,7 +1186,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1217
1186
  * @param {FixedBytes<32> | undefined} salt
1218
1187
  **/
1219
1188
  instantiate: GenericRuntimeApiMethod<
1220
- Rv,
1221
1189
  (
1222
1190
  origin: AccountId32Like,
1223
1191
  value: bigint,
@@ -1238,7 +1206,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1238
1206
  * @param {PalletReviveEvmApiRpcTypesGenGenericTransaction} tx
1239
1207
  **/
1240
1208
  ethTransact: GenericRuntimeApiMethod<
1241
- Rv,
1242
1209
  (
1243
1210
  tx: PalletReviveEvmApiRpcTypesGenGenericTransaction,
1244
1211
  ) => Promise<Result<PalletRevivePrimitivesEthTransactInfo, PalletRevivePrimitivesEthTransactError>>
@@ -1255,7 +1222,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1255
1222
  * @param {bigint | undefined} storage_deposit_limit
1256
1223
  **/
1257
1224
  uploadCode: GenericRuntimeApiMethod<
1258
- Rv,
1259
1225
  (
1260
1226
  origin: AccountId32Like,
1261
1227
  code: BytesLike,
@@ -1275,7 +1241,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1275
1241
  * @param {FixedBytes<32>} key
1276
1242
  **/
1277
1243
  getStorage: GenericRuntimeApiMethod<
1278
- Rv,
1279
1244
  (
1280
1245
  address: H160,
1281
1246
  key: FixedBytes<32>,
@@ -1294,7 +1259,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1294
1259
  * @param {BytesLike} key
1295
1260
  **/
1296
1261
  getStorageVarKey: GenericRuntimeApiMethod<
1297
- Rv,
1298
1262
  (address: H160, key: BytesLike) => Promise<Result<Bytes | undefined, PalletRevivePrimitivesContractAccessError>>
1299
1263
  >;
1300
1264
 
@@ -1311,7 +1275,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1311
1275
  * @param {PalletReviveEvmApiDebugRpcTypesTracerType} config
1312
1276
  **/
1313
1277
  traceBlock: GenericRuntimeApiMethod<
1314
- Rv,
1315
1278
  (
1316
1279
  block: SpRuntimeBlock,
1317
1280
  config: PalletReviveEvmApiDebugRpcTypesTracerType,
@@ -1332,7 +1295,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1332
1295
  * @param {PalletReviveEvmApiDebugRpcTypesTracerType} config
1333
1296
  **/
1334
1297
  traceTx: GenericRuntimeApiMethod<
1335
- Rv,
1336
1298
  (
1337
1299
  block: SpRuntimeBlock,
1338
1300
  txIndex: number,
@@ -1350,7 +1312,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1350
1312
  * @param {PalletReviveEvmApiDebugRpcTypesTracerType} config
1351
1313
  **/
1352
1314
  traceCall: GenericRuntimeApiMethod<
1353
- Rv,
1354
1315
  (
1355
1316
  tx: PalletReviveEvmApiRpcTypesGenGenericTransaction,
1356
1317
  config: PalletReviveEvmApiDebugRpcTypesTracerType,
@@ -1362,7 +1323,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1362
1323
  *
1363
1324
  * @callname: ReviveApi_block_author
1364
1325
  **/
1365
- blockAuthor: GenericRuntimeApiMethod<Rv, () => Promise<H160>>;
1326
+ blockAuthor: GenericRuntimeApiMethod<() => Promise<H160>>;
1366
1327
 
1367
1328
  /**
1368
1329
  * Get the H160 address associated to this account id
@@ -1370,7 +1331,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1370
1331
  * @callname: ReviveApi_address
1371
1332
  * @param {AccountId32Like} account_id
1372
1333
  **/
1373
- address: GenericRuntimeApiMethod<Rv, (accountId: AccountId32Like) => Promise<H160>>;
1334
+ address: GenericRuntimeApiMethod<(accountId: AccountId32Like) => Promise<H160>>;
1374
1335
 
1375
1336
  /**
1376
1337
  * Get the account id associated to this H160 address.
@@ -1378,14 +1339,14 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1378
1339
  * @callname: ReviveApi_account_id
1379
1340
  * @param {H160} address
1380
1341
  **/
1381
- accountId: GenericRuntimeApiMethod<Rv, (address: H160) => Promise<AccountId32>>;
1342
+ accountId: GenericRuntimeApiMethod<(address: H160) => Promise<AccountId32>>;
1382
1343
 
1383
1344
  /**
1384
1345
  * The address used to call the runtime's pallets dispatchables
1385
1346
  *
1386
1347
  * @callname: ReviveApi_runtime_pallets_address
1387
1348
  **/
1388
- runtimePalletsAddress: GenericRuntimeApiMethod<Rv, () => Promise<H160>>;
1349
+ runtimePalletsAddress: GenericRuntimeApiMethod<() => Promise<H160>>;
1389
1350
 
1390
1351
  /**
1391
1352
  * The code at the specified address taking pre-compiles into account.
@@ -1393,7 +1354,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1393
1354
  * @callname: ReviveApi_code
1394
1355
  * @param {H160} address
1395
1356
  **/
1396
- code: GenericRuntimeApiMethod<Rv, (address: H160) => Promise<Bytes>>;
1357
+ code: GenericRuntimeApiMethod<(address: H160) => Promise<Bytes>>;
1397
1358
 
1398
1359
  /**
1399
1360
  * Construct the new balance and dust components of this EVM balance.
@@ -1402,13 +1363,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
1402
1363
  * @param {U256} balance
1403
1364
  **/
1404
1365
  newBalanceWithDust: GenericRuntimeApiMethod<
1405
- Rv,
1406
1366
  (balance: U256) => Promise<Result<[bigint, number], PalletRevivePrimitivesBalanceConversionError>>
1407
1367
  >;
1408
1368
 
1409
1369
  /**
1410
1370
  * Generic runtime api call
1411
1371
  **/
1412
- [method: string]: GenericRuntimeApiMethod<Rv>;
1372
+ [method: string]: GenericRuntimeApiMethod;
1413
1373
  };
1414
1374
  }