@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
  RuntimeVersion,
6
6
  Header,
@@ -44,7 +44,7 @@ import type {
44
44
  PalletContractsPrimitivesContractAccessError,
45
45
  } from './types.js';
46
46
 
47
- export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<Rv> {
47
+ export interface RuntimeApis extends GenericRuntimeApis {
48
48
  /**
49
49
  * @runtimeapi: Core - 0xdf6acb689907609b
50
50
  **/
@@ -54,7 +54,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
54
54
  *
55
55
  * @callname: Core_version
56
56
  **/
57
- version: GenericRuntimeApiMethod<Rv, () => Promise<RuntimeVersion>>;
57
+ version: GenericRuntimeApiMethod<() => Promise<RuntimeVersion>>;
58
58
 
59
59
  /**
60
60
  * Execute the given block.
@@ -62,7 +62,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
62
62
  * @callname: Core_execute_block
63
63
  * @param {SpRuntimeBlock} block
64
64
  **/
65
- executeBlock: GenericRuntimeApiMethod<Rv, (block: SpRuntimeBlock) => Promise<[]>>;
65
+ executeBlock: GenericRuntimeApiMethod<(block: SpRuntimeBlock) => Promise<[]>>;
66
66
 
67
67
  /**
68
68
  * Initialize a block with the given header.
@@ -70,12 +70,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
70
70
  * @callname: Core_initialize_block
71
71
  * @param {Header} header
72
72
  **/
73
- initializeBlock: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<[]>>;
73
+ initializeBlock: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
74
74
 
75
75
  /**
76
76
  * Generic runtime api call
77
77
  **/
78
- [method: string]: GenericRuntimeApiMethod<Rv>;
78
+ [method: string]: GenericRuntimeApiMethod;
79
79
  };
80
80
  /**
81
81
  * @runtimeapi: Metadata - 0x37e397fc7c91f5e4
@@ -86,7 +86,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
86
86
  *
87
87
  * @callname: Metadata_metadata
88
88
  **/
89
- metadata: GenericRuntimeApiMethod<Rv, () => Promise<SpCoreOpaqueMetadata>>;
89
+ metadata: GenericRuntimeApiMethod<() => Promise<SpCoreOpaqueMetadata>>;
90
90
 
91
91
  /**
92
92
  * Returns the metadata at a given version.
@@ -97,7 +97,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
97
97
  * @callname: Metadata_metadata_at_version
98
98
  * @param {number} version
99
99
  **/
100
- metadataAtVersion: GenericRuntimeApiMethod<Rv, (version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
100
+ metadataAtVersion: GenericRuntimeApiMethod<(version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
101
101
 
102
102
  /**
103
103
  * Returns the supported metadata versions.
@@ -106,12 +106,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
106
106
  *
107
107
  * @callname: Metadata_metadata_versions
108
108
  **/
109
- metadataVersions: GenericRuntimeApiMethod<Rv, () => Promise<Array<number>>>;
109
+ metadataVersions: GenericRuntimeApiMethod<() => Promise<Array<number>>>;
110
110
 
111
111
  /**
112
112
  * Generic runtime api call
113
113
  **/
114
- [method: string]: GenericRuntimeApiMethod<Rv>;
114
+ [method: string]: GenericRuntimeApiMethod;
115
115
  };
116
116
  /**
117
117
  * @runtimeapi: BlockBuilder - 0x40fe3ad401f8959a
@@ -127,7 +127,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
127
127
  * @param {UncheckedExtrinsicLike} extrinsic
128
128
  **/
129
129
  applyExtrinsic: GenericRuntimeApiMethod<
130
- Rv,
131
130
  (
132
131
  extrinsic: UncheckedExtrinsicLike,
133
132
  ) => Promise<Result<Result<[], DispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>
@@ -138,7 +137,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
138
137
  *
139
138
  * @callname: BlockBuilder_finalize_block
140
139
  **/
141
- finalizeBlock: GenericRuntimeApiMethod<Rv, () => Promise<Header>>;
140
+ finalizeBlock: GenericRuntimeApiMethod<() => Promise<Header>>;
142
141
 
143
142
  /**
144
143
  * Generate inherent extrinsics. The inherent data will vary from chain to chain.
@@ -147,7 +146,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
147
146
  * @param {SpInherentsInherentData} inherent
148
147
  **/
149
148
  inherentExtrinsics: GenericRuntimeApiMethod<
150
- Rv,
151
149
  (inherent: SpInherentsInherentData) => Promise<Array<UncheckedExtrinsic>>
152
150
  >;
153
151
 
@@ -159,14 +157,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
159
157
  * @param {SpInherentsInherentData} data
160
158
  **/
161
159
  checkInherents: GenericRuntimeApiMethod<
162
- Rv,
163
160
  (block: SpRuntimeBlock, data: SpInherentsInherentData) => Promise<SpInherentsCheckInherentsResult>
164
161
  >;
165
162
 
166
163
  /**
167
164
  * Generic runtime api call
168
165
  **/
169
- [method: string]: GenericRuntimeApiMethod<Rv>;
166
+ [method: string]: GenericRuntimeApiMethod;
170
167
  };
171
168
  /**
172
169
  * @runtimeapi: TaggedTransactionQueue - 0xd2bc9897eed08f15
@@ -189,7 +186,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
189
186
  * @param {H256} block_hash
190
187
  **/
191
188
  validateTransaction: GenericRuntimeApiMethod<
192
- Rv,
193
189
  (
194
190
  source: SpRuntimeTransactionValidityTransactionSource,
195
191
  tx: UncheckedExtrinsicLike,
@@ -202,7 +198,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
202
198
  /**
203
199
  * Generic runtime api call
204
200
  **/
205
- [method: string]: GenericRuntimeApiMethod<Rv>;
201
+ [method: string]: GenericRuntimeApiMethod;
206
202
  };
207
203
  /**
208
204
  * @runtimeapi: AuraApi - 0xdd718d5cc53262d4
@@ -215,19 +211,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
215
211
  *
216
212
  * @callname: AuraApi_slot_duration
217
213
  **/
218
- slotDuration: GenericRuntimeApiMethod<Rv, () => Promise<SpConsensusSlotsSlotDuration>>;
214
+ slotDuration: GenericRuntimeApiMethod<() => Promise<SpConsensusSlotsSlotDuration>>;
219
215
 
220
216
  /**
221
217
  * Return the current set of authorities.
222
218
  *
223
219
  * @callname: AuraApi_authorities
224
220
  **/
225
- authorities: GenericRuntimeApiMethod<Rv, () => Promise<Array<SpConsensusAuraSr25519AppSr25519Public>>>;
221
+ authorities: GenericRuntimeApiMethod<() => Promise<Array<SpConsensusAuraSr25519AppSr25519Public>>>;
226
222
 
227
223
  /**
228
224
  * Generic runtime api call
229
225
  **/
230
- [method: string]: GenericRuntimeApiMethod<Rv>;
226
+ [method: string]: GenericRuntimeApiMethod;
231
227
  };
232
228
  /**
233
229
  * @runtimeapi: OffchainWorkerApi - 0xf78b278be53f454c
@@ -239,12 +235,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
239
235
  * @callname: OffchainWorkerApi_offchain_worker
240
236
  * @param {Header} header
241
237
  **/
242
- offchainWorker: GenericRuntimeApiMethod<Rv, (header: Header) => Promise<[]>>;
238
+ offchainWorker: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
243
239
 
244
240
  /**
245
241
  * Generic runtime api call
246
242
  **/
247
- [method: string]: GenericRuntimeApiMethod<Rv>;
243
+ [method: string]: GenericRuntimeApiMethod;
248
244
  };
249
245
  /**
250
246
  * @runtimeapi: SessionKeys - 0xab3c0572291feb8b
@@ -262,7 +258,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
262
258
  * @callname: SessionKeys_generate_session_keys
263
259
  * @param {BytesLike | undefined} seed
264
260
  **/
265
- generateSessionKeys: GenericRuntimeApiMethod<Rv, (seed?: BytesLike | undefined) => Promise<Bytes>>;
261
+ generateSessionKeys: GenericRuntimeApiMethod<(seed?: BytesLike | undefined) => Promise<Bytes>>;
266
262
 
267
263
  /**
268
264
  * Decode the given public session keys.
@@ -273,14 +269,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
273
269
  * @param {BytesLike} encoded
274
270
  **/
275
271
  decodeSessionKeys: GenericRuntimeApiMethod<
276
- Rv,
277
272
  (encoded: BytesLike) => Promise<Array<[Bytes, SpCoreCryptoKeyTypeId]> | undefined>
278
273
  >;
279
274
 
280
275
  /**
281
276
  * Generic runtime api call
282
277
  **/
283
- [method: string]: GenericRuntimeApiMethod<Rv>;
278
+ [method: string]: GenericRuntimeApiMethod;
284
279
  };
285
280
  /**
286
281
  * @runtimeapi: AccountNonceApi - 0xbc9d89904f5b923f
@@ -292,12 +287,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
292
287
  * @callname: AccountNonceApi_account_nonce
293
288
  * @param {AccountId32Like} account
294
289
  **/
295
- accountNonce: GenericRuntimeApiMethod<Rv, (account: AccountId32Like) => Promise<number>>;
290
+ accountNonce: GenericRuntimeApiMethod<(account: AccountId32Like) => Promise<number>>;
296
291
 
297
292
  /**
298
293
  * Generic runtime api call
299
294
  **/
300
- [method: string]: GenericRuntimeApiMethod<Rv>;
295
+ [method: string]: GenericRuntimeApiMethod;
301
296
  };
302
297
  /**
303
298
  * @runtimeapi: TransactionPaymentApi - 0x37c8bb1350a9a2a8
@@ -310,7 +305,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
310
305
  * @param {number} len
311
306
  **/
312
307
  queryInfo: GenericRuntimeApiMethod<
313
- Rv,
314
308
  (uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
315
309
  >;
316
310
 
@@ -321,7 +315,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
321
315
  * @param {number} len
322
316
  **/
323
317
  queryFeeDetails: GenericRuntimeApiMethod<
324
- Rv,
325
318
  (uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>
326
319
  >;
327
320
 
@@ -330,19 +323,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
330
323
  * @callname: TransactionPaymentApi_query_weight_to_fee
331
324
  * @param {SpWeightsWeightV2Weight} weight
332
325
  **/
333
- queryWeightToFee: GenericRuntimeApiMethod<Rv, (weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
326
+ queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
334
327
 
335
328
  /**
336
329
  *
337
330
  * @callname: TransactionPaymentApi_query_length_to_fee
338
331
  * @param {number} length
339
332
  **/
340
- queryLengthToFee: GenericRuntimeApiMethod<Rv, (length: number) => Promise<bigint>>;
333
+ queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
341
334
 
342
335
  /**
343
336
  * Generic runtime api call
344
337
  **/
345
- [method: string]: GenericRuntimeApiMethod<Rv>;
338
+ [method: string]: GenericRuntimeApiMethod;
346
339
  };
347
340
  /**
348
341
  * @runtimeapi: AlephSessionApi - 0x2be3f75b696ad1f6
@@ -353,7 +346,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
353
346
  * @callname: AlephSessionApi_next_session_authorities
354
347
  **/
355
348
  nextSessionAuthorities: GenericRuntimeApiMethod<
356
- Rv,
357
349
  () => Promise<Result<Array<PrimitivesAppPublic>, PrimitivesApiError>>
358
350
  >;
359
351
 
@@ -361,14 +353,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
361
353
  *
362
354
  * @callname: AlephSessionApi_authorities
363
355
  **/
364
- authorities: GenericRuntimeApiMethod<Rv, () => Promise<Array<PrimitivesAppPublic>>>;
356
+ authorities: GenericRuntimeApiMethod<() => Promise<Array<PrimitivesAppPublic>>>;
365
357
 
366
358
  /**
367
359
  *
368
360
  * @callname: AlephSessionApi_next_session_authority_data
369
361
  **/
370
362
  nextSessionAuthorityData: GenericRuntimeApiMethod<
371
- Rv,
372
363
  () => Promise<Result<PrimitivesSessionAuthorityData, PrimitivesApiError>>
373
364
  >;
374
365
 
@@ -376,37 +367,37 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
376
367
  *
377
368
  * @callname: AlephSessionApi_authority_data
378
369
  **/
379
- authorityData: GenericRuntimeApiMethod<Rv, () => Promise<PrimitivesSessionAuthorityData>>;
370
+ authorityData: GenericRuntimeApiMethod<() => Promise<PrimitivesSessionAuthorityData>>;
380
371
 
381
372
  /**
382
373
  *
383
374
  * @callname: AlephSessionApi_session_period
384
375
  **/
385
- sessionPeriod: GenericRuntimeApiMethod<Rv, () => Promise<number>>;
376
+ sessionPeriod: GenericRuntimeApiMethod<() => Promise<number>>;
386
377
 
387
378
  /**
388
379
  *
389
380
  * @callname: AlephSessionApi_millisecs_per_block
390
381
  **/
391
- millisecsPerBlock: GenericRuntimeApiMethod<Rv, () => Promise<bigint>>;
382
+ millisecsPerBlock: GenericRuntimeApiMethod<() => Promise<bigint>>;
392
383
 
393
384
  /**
394
385
  *
395
386
  * @callname: AlephSessionApi_finality_version
396
387
  **/
397
- finalityVersion: GenericRuntimeApiMethod<Rv, () => Promise<number>>;
388
+ finalityVersion: GenericRuntimeApiMethod<() => Promise<number>>;
398
389
 
399
390
  /**
400
391
  *
401
392
  * @callname: AlephSessionApi_next_session_finality_version
402
393
  **/
403
- nextSessionFinalityVersion: GenericRuntimeApiMethod<Rv, () => Promise<number>>;
394
+ nextSessionFinalityVersion: GenericRuntimeApiMethod<() => Promise<number>>;
404
395
 
405
396
  /**
406
397
  *
407
398
  * @callname: AlephSessionApi_score_submission_period
408
399
  **/
409
- scoreSubmissionPeriod: GenericRuntimeApiMethod<Rv, () => Promise<number>>;
400
+ scoreSubmissionPeriod: GenericRuntimeApiMethod<() => Promise<number>>;
410
401
 
411
402
  /**
412
403
  * Predict finality committee and block producers for the given session. `session` must be
@@ -421,7 +412,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
421
412
  * @param {number} session
422
413
  **/
423
414
  predictSessionCommittee: GenericRuntimeApiMethod<
424
- Rv,
425
415
  (session: number) => Promise<Result<PrimitivesSessionCommittee, PrimitivesSessionValidatorError>>
426
416
  >;
427
417
 
@@ -430,7 +420,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
430
420
  * @callname: AlephSessionApi_next_session_aura_authorities
431
421
  **/
432
422
  nextSessionAuraAuthorities: GenericRuntimeApiMethod<
433
- Rv,
434
423
  () => Promise<Array<[AccountId32, SpConsensusAuraSr25519AppSr25519Public]>>
435
424
  >;
436
425
 
@@ -442,21 +431,21 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
442
431
  * @callname: AlephSessionApi_key_owner
443
432
  * @param {PrimitivesAppPublic} key
444
433
  **/
445
- keyOwner: GenericRuntimeApiMethod<Rv, (key: PrimitivesAppPublic) => Promise<AccountId32 | undefined>>;
434
+ keyOwner: GenericRuntimeApiMethod<(key: PrimitivesAppPublic) => Promise<AccountId32 | undefined>>;
446
435
 
447
436
  /**
448
437
  * Returns inflation from now to now + 1 year. Capped at 100%
449
438
  *
450
439
  * @callname: AlephSessionApi_yearly_inflation
451
440
  **/
452
- yearlyInflation: GenericRuntimeApiMethod<Rv, () => Promise<Perbill>>;
441
+ yearlyInflation: GenericRuntimeApiMethod<() => Promise<Perbill>>;
453
442
 
454
443
  /**
455
444
  * Returns payout. First tuple item is a validators payout, 2nd is the rest.
456
445
  *
457
446
  * @callname: AlephSessionApi_current_era_payout
458
447
  **/
459
- currentEraPayout: GenericRuntimeApiMethod<Rv, () => Promise<[bigint, bigint]>>;
448
+ currentEraPayout: GenericRuntimeApiMethod<() => Promise<[bigint, bigint]>>;
460
449
 
461
450
  /**
462
451
  * Submits score for a nonce in a session of performance of finality committee members.
@@ -466,14 +455,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
466
455
  * @param {PrimitivesCryptoSignatureSet} signature
467
456
  **/
468
457
  submitAbftScore: GenericRuntimeApiMethod<
469
- Rv,
470
458
  (score: PrimitivesScore, signature: PrimitivesCryptoSignatureSet) => Promise<[] | undefined>
471
459
  >;
472
460
 
473
461
  /**
474
462
  * Generic runtime api call
475
463
  **/
476
- [method: string]: GenericRuntimeApiMethod<Rv>;
464
+ [method: string]: GenericRuntimeApiMethod;
477
465
  };
478
466
  /**
479
467
  * @runtimeapi: NominationPoolsApi - 0x17a6bc0d0062aeb3
@@ -485,7 +473,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
485
473
  * @callname: NominationPoolsApi_pending_rewards
486
474
  * @param {AccountId32Like} who
487
475
  **/
488
- pendingRewards: GenericRuntimeApiMethod<Rv, (who: AccountId32Like) => Promise<bigint>>;
476
+ pendingRewards: GenericRuntimeApiMethod<(who: AccountId32Like) => Promise<bigint>>;
489
477
 
490
478
  /**
491
479
  * Returns the equivalent balance of `points` for a given pool.
@@ -494,7 +482,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
494
482
  * @param {number} pool_id
495
483
  * @param {bigint} points
496
484
  **/
497
- pointsToBalance: GenericRuntimeApiMethod<Rv, (poolId: number, points: bigint) => Promise<bigint>>;
485
+ pointsToBalance: GenericRuntimeApiMethod<(poolId: number, points: bigint) => Promise<bigint>>;
498
486
 
499
487
  /**
500
488
  * Returns the equivalent points of `new_funds` for a given pool.
@@ -503,12 +491,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
503
491
  * @param {number} pool_id
504
492
  * @param {bigint} new_funds
505
493
  **/
506
- balanceToPoints: GenericRuntimeApiMethod<Rv, (poolId: number, newFunds: bigint) => Promise<bigint>>;
494
+ balanceToPoints: GenericRuntimeApiMethod<(poolId: number, newFunds: bigint) => Promise<bigint>>;
507
495
 
508
496
  /**
509
497
  * Generic runtime api call
510
498
  **/
511
- [method: string]: GenericRuntimeApiMethod<Rv>;
499
+ [method: string]: GenericRuntimeApiMethod;
512
500
  };
513
501
  /**
514
502
  * @runtimeapi: StakingApi - 0x18ef58a3b67ba770
@@ -520,7 +508,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
520
508
  * @callname: StakingApi_nominations_quota
521
509
  * @param {bigint} balance
522
510
  **/
523
- nominationsQuota: GenericRuntimeApiMethod<Rv, (balance: bigint) => Promise<number>>;
511
+ nominationsQuota: GenericRuntimeApiMethod<(balance: bigint) => Promise<number>>;
524
512
 
525
513
  /**
526
514
  * Returns the page count of exposures for a validator in a given era.
@@ -529,12 +517,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
529
517
  * @param {number} era
530
518
  * @param {AccountId32Like} account
531
519
  **/
532
- erasStakersPageCount: GenericRuntimeApiMethod<Rv, (era: number, account: AccountId32Like) => Promise<number>>;
520
+ erasStakersPageCount: GenericRuntimeApiMethod<(era: number, account: AccountId32Like) => Promise<number>>;
533
521
 
534
522
  /**
535
523
  * Generic runtime api call
536
524
  **/
537
- [method: string]: GenericRuntimeApiMethod<Rv>;
525
+ [method: string]: GenericRuntimeApiMethod;
538
526
  };
539
527
  /**
540
528
  * @runtimeapi: ContractsApi - 0x68b66ba122c93fa7
@@ -554,7 +542,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
554
542
  * @param {BytesLike} input_data
555
543
  **/
556
544
  call: GenericRuntimeApiMethod<
557
- Rv,
558
545
  (
559
546
  origin: AccountId32Like,
560
547
  dest: AccountId32Like,
@@ -580,7 +567,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
580
567
  * @param {BytesLike} salt
581
568
  **/
582
569
  instantiate: GenericRuntimeApiMethod<
583
- Rv,
584
570
  (
585
571
  origin: AccountId32Like,
586
572
  value: bigint,
@@ -604,7 +590,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
604
590
  * @param {PalletContractsWasmDeterminism} determinism
605
591
  **/
606
592
  uploadCode: GenericRuntimeApiMethod<
607
- Rv,
608
593
  (
609
594
  origin: AccountId32Like,
610
595
  code: BytesLike,
@@ -625,7 +610,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
625
610
  * @param {BytesLike} key
626
611
  **/
627
612
  getStorage: GenericRuntimeApiMethod<
628
- Rv,
629
613
  (
630
614
  address: AccountId32Like,
631
615
  key: BytesLike,
@@ -635,7 +619,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
635
619
  /**
636
620
  * Generic runtime api call
637
621
  **/
638
- [method: string]: GenericRuntimeApiMethod<Rv>;
622
+ [method: string]: GenericRuntimeApiMethod;
639
623
  };
640
624
  /**
641
625
  * @runtimeapi: GenesisBuilder - 0xfbc577b9d747efd6
@@ -649,7 +633,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
649
633
  *
650
634
  * @callname: GenesisBuilder_create_default_config
651
635
  **/
652
- createDefaultConfig: GenericRuntimeApiMethod<Rv, () => Promise<Bytes>>;
636
+ createDefaultConfig: GenericRuntimeApiMethod<() => Promise<Bytes>>;
653
637
 
654
638
  /**
655
639
  * Build `GenesisConfig` from a JSON blob not using any defaults and store it in the storage.
@@ -663,11 +647,11 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
663
647
  * @callname: GenesisBuilder_build_config
664
648
  * @param {BytesLike} json
665
649
  **/
666
- buildConfig: GenericRuntimeApiMethod<Rv, (json: BytesLike) => Promise<Result<[], string>>>;
650
+ buildConfig: GenericRuntimeApiMethod<(json: BytesLike) => Promise<Result<[], string>>>;
667
651
 
668
652
  /**
669
653
  * Generic runtime api call
670
654
  **/
671
- [method: string]: GenericRuntimeApiMethod<Rv>;
655
+ [method: string]: GenericRuntimeApiMethod;
672
656
  };
673
657
  }