@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.
- package/aleph/consts.d.ts +2 -2
- package/aleph/errors.d.ts +228 -228
- package/aleph/events.d.ts +122 -226
- package/aleph/index.d.ts +13 -17
- package/aleph/json-rpc.d.ts +3 -3
- package/aleph/query.d.ts +171 -207
- package/aleph/runtime.d.ts +47 -63
- package/aleph/tx.d.ts +377 -550
- package/aleph/view-functions.d.ts +2 -2
- package/astar/consts.d.ts +2 -2
- package/astar/errors.d.ts +431 -431
- package/astar/events.d.ts +232 -401
- package/astar/index.d.ts +13 -17
- package/astar/json-rpc.d.ts +3 -3
- package/astar/query.d.ts +243 -289
- package/astar/runtime.d.ts +59 -87
- package/astar/tx.d.ts +671 -980
- package/astar/view-functions.d.ts +2 -2
- package/basilisk/consts.d.ts +2 -2
- package/basilisk/errors.d.ts +489 -489
- package/basilisk/events.d.ts +187 -408
- package/basilisk/index.d.ts +13 -17
- package/basilisk/json-rpc.d.ts +3 -3
- package/basilisk/query.d.ts +213 -272
- package/basilisk/runtime.d.ts +27 -28
- package/basilisk/tx.d.ts +579 -842
- package/basilisk/view-functions.d.ts +2 -2
- package/hydration/consts.d.ts +47 -14
- package/hydration/errors.d.ts +827 -737
- package/hydration/events.d.ts +639 -527
- package/hydration/index.d.ts +14 -18
- package/hydration/json-rpc.d.ts +3 -3
- package/hydration/query.d.ts +530 -396
- package/hydration/runtime.d.ts +181 -89
- package/hydration/tx.d.ts +1130 -1167
- package/hydration/types.d.ts +889 -42
- package/hydration/view-functions.d.ts +2 -2
- package/kusama/consts.d.ts +2 -2
- package/kusama/errors.d.ts +571 -571
- package/kusama/events.d.ts +216 -477
- package/kusama/index.d.ts +13 -17
- package/kusama/json-rpc.d.ts +3 -3
- package/kusama/query.d.ts +360 -502
- package/kusama/runtime.d.ts +82 -131
- package/kusama/tx.d.ts +851 -1246
- package/kusama/view-functions.d.ts +7 -12
- package/kusama-asset-hub/consts.d.ts +2 -2
- package/kusama-asset-hub/errors.d.ts +653 -653
- package/kusama-asset-hub/events.d.ts +286 -629
- package/kusama-asset-hub/index.d.ts +14 -17
- package/kusama-asset-hub/json-rpc.d.ts +3 -3
- package/kusama-asset-hub/query.d.ts +316 -448
- package/kusama-asset-hub/runtime.d.ts +74 -111
- package/kusama-asset-hub/tx.d.ts +1059 -1558
- package/kusama-asset-hub/view-functions.d.ts +7 -9
- package/kusama-people/consts.d.ts +2 -2
- package/kusama-people/errors.d.ts +160 -160
- package/kusama-people/events.d.ts +89 -176
- package/kusama-people/index.d.ts +13 -17
- package/kusama-people/json-rpc.d.ts +3 -3
- package/kusama-people/query.d.ts +114 -145
- package/kusama-people/runtime.d.ts +45 -65
- package/kusama-people/tx.d.ts +246 -356
- package/kusama-people/view-functions.d.ts +3 -5
- package/moonbeam/consts.d.ts +2 -2
- package/moonbeam/errors.d.ts +478 -478
- package/moonbeam/events.d.ts +182 -426
- package/moonbeam/index.d.ts +13 -17
- package/moonbeam/json-rpc.d.ts +11 -3
- package/moonbeam/query.d.ts +234 -294
- package/moonbeam/runtime.d.ts +61 -89
- package/moonbeam/tx.d.ts +618 -901
- package/moonbeam/view-functions.d.ts +2 -2
- package/package.json +6 -3
- package/paseo/consts.d.ts +2 -2
- package/paseo/errors.d.ts +513 -513
- package/paseo/events.d.ts +197 -430
- package/paseo/index.d.ts +14 -18
- package/paseo/json-rpc.d.ts +3 -3
- package/paseo/query.d.ts +329 -450
- package/paseo/runtime.d.ts +107 -131
- package/paseo/tx.d.ts +787 -1151
- package/paseo/types.d.ts +7 -0
- package/paseo/view-functions.d.ts +7 -12
- package/paseo-asset-hub/consts.d.ts +2 -2
- package/paseo-asset-hub/errors.d.ts +605 -605
- package/paseo-asset-hub/events.d.ts +268 -600
- package/paseo-asset-hub/index.d.ts +15 -18
- package/paseo-asset-hub/json-rpc.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +293 -413
- package/paseo-asset-hub/runtime.d.ts +96 -104
- package/paseo-asset-hub/tx.d.ts +997 -1466
- package/paseo-asset-hub/types.d.ts +7 -0
- package/paseo-asset-hub/view-functions.d.ts +7 -9
- package/paseo-hydration/consts.d.ts +13 -3
- package/paseo-hydration/errors.d.ts +756 -745
- package/paseo-hydration/events.d.ts +277 -554
- package/paseo-hydration/index.d.ts +14 -18
- package/paseo-hydration/json-rpc.d.ts +3 -3
- package/paseo-hydration/query.d.ts +321 -411
- package/paseo-hydration/runtime.d.ts +95 -106
- package/paseo-hydration/tx.d.ts +923 -1226
- package/paseo-hydration/types.d.ts +91 -50
- package/paseo-hydration/view-functions.d.ts +2 -2
- package/paseo-people/consts.d.ts +2 -2
- package/paseo-people/errors.d.ts +162 -162
- package/paseo-people/events.d.ts +91 -181
- package/paseo-people/index.d.ts +14 -18
- package/paseo-people/json-rpc.d.ts +3 -3
- package/paseo-people/query.d.ts +116 -143
- package/paseo-people/runtime.d.ts +70 -65
- package/paseo-people/tx.d.ts +257 -372
- package/paseo-people/types.d.ts +7 -0
- package/paseo-people/view-functions.d.ts +3 -5
- package/polkadot/consts.d.ts +2 -2
- package/polkadot/errors.d.ts +501 -501
- package/polkadot/events.d.ts +195 -426
- package/polkadot/index.d.ts +13 -17
- package/polkadot/json-rpc.d.ts +3 -3
- package/polkadot/query.d.ts +329 -450
- package/polkadot/runtime.d.ts +83 -133
- package/polkadot/tx.d.ts +765 -1119
- package/polkadot/view-functions.d.ts +7 -12
- package/polkadot-asset-hub/consts.d.ts +2 -2
- package/polkadot-asset-hub/errors.d.ts +554 -554
- package/polkadot-asset-hub/events.d.ts +261 -585
- package/polkadot-asset-hub/index.d.ts +14 -17
- package/polkadot-asset-hub/json-rpc.d.ts +3 -3
- package/polkadot-asset-hub/query.d.ts +279 -396
- package/polkadot-asset-hub/runtime.d.ts +65 -93
- package/polkadot-asset-hub/tx.d.ts +952 -1400
- package/polkadot-asset-hub/view-functions.d.ts +7 -9
- package/polkadot-people/consts.d.ts +2 -2
- package/polkadot-people/errors.d.ts +160 -160
- package/polkadot-people/events.d.ts +89 -176
- package/polkadot-people/index.d.ts +13 -17
- package/polkadot-people/json-rpc.d.ts +3 -3
- package/polkadot-people/query.d.ts +114 -145
- package/polkadot-people/runtime.d.ts +46 -67
- package/polkadot-people/tx.d.ts +246 -356
- package/polkadot-people/view-functions.d.ts +3 -5
- package/substrate/consts.d.ts +2 -2
- package/substrate/errors.d.ts +909 -909
- package/substrate/events.d.ts +389 -794
- package/substrate/index.d.ts +14 -17
- package/substrate/json-rpc.d.ts +3 -3
- package/substrate/query.d.ts +458 -572
- package/substrate/runtime.d.ts +82 -126
- package/substrate/tx.d.ts +1317 -1936
- package/substrate/view-functions.d.ts +2 -2
- package/vara/consts.d.ts +9 -37
- package/vara/errors.d.ts +402 -382
- package/vara/events.d.ts +172 -310
- package/vara/index.d.ts +14 -18
- package/vara/json-rpc.d.ts +7 -3
- package/vara/query.d.ts +299 -331
- package/vara/runtime.d.ts +61 -79
- package/vara/tx.d.ts +573 -754
- package/vara/types.d.ts +71 -26
- package/vara/view-functions.d.ts +2 -2
- package/westend/consts.d.ts +2 -2
- package/westend/errors.d.ts +532 -532
- package/westend/events.d.ts +205 -462
- package/westend/index.d.ts +13 -17
- package/westend/json-rpc.d.ts +3 -4
- package/westend/query.d.ts +312 -434
- package/westend/runtime.d.ts +83 -135
- package/westend/tx.d.ts +807 -1179
- package/westend/view-functions.d.ts +7 -12
- package/westend-asset-hub/consts.d.ts +2 -2
- package/westend-asset-hub/errors.d.ts +605 -605
- package/westend-asset-hub/events.d.ts +265 -614
- package/westend-asset-hub/index.d.ts +14 -17
- package/westend-asset-hub/json-rpc.d.ts +3 -3
- package/westend-asset-hub/query.d.ts +293 -418
- package/westend-asset-hub/runtime.d.ts +83 -123
- package/westend-asset-hub/tx.d.ts +918 -1348
- package/westend-asset-hub/view-functions.d.ts +8 -13
- package/westend-people/consts.d.ts +2 -2
- package/westend-people/errors.d.ts +160 -160
- package/westend-people/events.d.ts +93 -186
- package/westend-people/index.d.ts +13 -17
- package/westend-people/json-rpc.d.ts +3 -3
- package/westend-people/query.d.ts +114 -145
- package/westend-people/runtime.d.ts +46 -67
- package/westend-people/tx.d.ts +251 -363
- package/westend-people/view-functions.d.ts +3 -5
package/moonbeam/runtime.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
|
-
import type { GenericRuntimeApis, GenericRuntimeApiMethod
|
|
3
|
+
import type { GenericRuntimeApis, GenericRuntimeApiMethod } from 'dedot/types';
|
|
4
4
|
import type {
|
|
5
5
|
Result,
|
|
6
6
|
H256,
|
|
@@ -60,7 +60,7 @@ import type {
|
|
|
60
60
|
XcmRuntimeApisConversionsError,
|
|
61
61
|
} from './types.js';
|
|
62
62
|
|
|
63
|
-
export interface RuntimeApis
|
|
63
|
+
export interface RuntimeApis extends GenericRuntimeApis {
|
|
64
64
|
/**
|
|
65
65
|
* @runtimeapi: TaggedTransactionQueue - 0xd2bc9897eed08f15
|
|
66
66
|
**/
|
|
@@ -82,7 +82,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
82
82
|
* @param {H256} block_hash
|
|
83
83
|
**/
|
|
84
84
|
validateTransaction: GenericRuntimeApiMethod<
|
|
85
|
-
Rv,
|
|
86
85
|
(
|
|
87
86
|
source: SpRuntimeTransactionValidityTransactionSource,
|
|
88
87
|
tx: FpSelfContainedUncheckedExtrinsic,
|
|
@@ -95,7 +94,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
95
94
|
/**
|
|
96
95
|
* Generic runtime api call
|
|
97
96
|
**/
|
|
98
|
-
[method: string]: GenericRuntimeApiMethod
|
|
97
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
99
98
|
};
|
|
100
99
|
/**
|
|
101
100
|
* @runtimeapi: UnincludedSegmentApi - 0xd0399cd053adda2b
|
|
@@ -117,12 +116,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
117
116
|
* @param {H256} included_hash
|
|
118
117
|
* @param {SpConsensusSlotsSlot} slot
|
|
119
118
|
**/
|
|
120
|
-
canBuildUpon: GenericRuntimeApiMethod<
|
|
119
|
+
canBuildUpon: GenericRuntimeApiMethod<(includedHash: H256, slot: SpConsensusSlotsSlot) => Promise<boolean>>;
|
|
121
120
|
|
|
122
121
|
/**
|
|
123
122
|
* Generic runtime api call
|
|
124
123
|
**/
|
|
125
|
-
[method: string]: GenericRuntimeApiMethod
|
|
124
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
126
125
|
};
|
|
127
126
|
/**
|
|
128
127
|
* @runtimeapi: KusamaFinalityApi - 0xdd5c5617e520964d
|
|
@@ -133,7 +132,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
133
132
|
*
|
|
134
133
|
* @callname: KusamaFinalityApi_best_finalized
|
|
135
134
|
**/
|
|
136
|
-
bestFinalized: GenericRuntimeApiMethod<
|
|
135
|
+
bestFinalized: GenericRuntimeApiMethod<() => Promise<BpRuntimeHeaderId | undefined>>;
|
|
137
136
|
|
|
138
137
|
/**
|
|
139
138
|
* Returns free headers interval, if it is configured in the runtime.
|
|
@@ -144,19 +143,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
144
143
|
*
|
|
145
144
|
* @callname: KusamaFinalityApi_free_headers_interval
|
|
146
145
|
**/
|
|
147
|
-
freeHeadersInterval: GenericRuntimeApiMethod<
|
|
146
|
+
freeHeadersInterval: GenericRuntimeApiMethod<() => Promise<number | undefined>>;
|
|
148
147
|
|
|
149
148
|
/**
|
|
150
149
|
* Returns the justifications accepted in the current block.
|
|
151
150
|
*
|
|
152
151
|
* @callname: KusamaFinalityApi_synced_headers_grandpa_info
|
|
153
152
|
**/
|
|
154
|
-
syncedHeadersGrandpaInfo: GenericRuntimeApiMethod<
|
|
153
|
+
syncedHeadersGrandpaInfo: GenericRuntimeApiMethod<() => Promise<Array<BpHeaderChainHeaderFinalityInfo>>>;
|
|
155
154
|
|
|
156
155
|
/**
|
|
157
156
|
* Generic runtime api call
|
|
158
157
|
**/
|
|
159
|
-
[method: string]: GenericRuntimeApiMethod
|
|
158
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
160
159
|
};
|
|
161
160
|
/**
|
|
162
161
|
* @runtimeapi: MoonriverKusamaFinalityApi - 0x597206dd17637029
|
|
@@ -167,7 +166,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
167
166
|
*
|
|
168
167
|
* @callname: MoonriverKusamaFinalityApi_best_finalized
|
|
169
168
|
**/
|
|
170
|
-
bestFinalized: GenericRuntimeApiMethod<
|
|
169
|
+
bestFinalized: GenericRuntimeApiMethod<() => Promise<BpRuntimeHeaderId | undefined>>;
|
|
171
170
|
|
|
172
171
|
/**
|
|
173
172
|
* Returns free headers interval, if it is configured in the runtime.
|
|
@@ -178,12 +177,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
178
177
|
*
|
|
179
178
|
* @callname: MoonriverKusamaFinalityApi_free_headers_interval
|
|
180
179
|
**/
|
|
181
|
-
freeHeadersInterval: GenericRuntimeApiMethod<
|
|
180
|
+
freeHeadersInterval: GenericRuntimeApiMethod<() => Promise<number | undefined>>;
|
|
182
181
|
|
|
183
182
|
/**
|
|
184
183
|
* Generic runtime api call
|
|
185
184
|
**/
|
|
186
|
-
[method: string]: GenericRuntimeApiMethod
|
|
185
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
187
186
|
};
|
|
188
187
|
/**
|
|
189
188
|
* @runtimeapi: ToMoonriverKusamaOutboundLaneApi - 0xad8e997e04156ad4
|
|
@@ -202,14 +201,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
202
201
|
* @param {bigint} end
|
|
203
202
|
**/
|
|
204
203
|
messageDetails: GenericRuntimeApiMethod<
|
|
205
|
-
Rv,
|
|
206
204
|
(lane: BpMessagesLaneHashedLaneId, begin: bigint, end: bigint) => Promise<Array<BpMessagesOutboundMessageDetails>>
|
|
207
205
|
>;
|
|
208
206
|
|
|
209
207
|
/**
|
|
210
208
|
* Generic runtime api call
|
|
211
209
|
**/
|
|
212
|
-
[method: string]: GenericRuntimeApiMethod
|
|
210
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
213
211
|
};
|
|
214
212
|
/**
|
|
215
213
|
* @runtimeapi: FromMoonriverKusamaInboundLaneApi - 0xaceed5723e524773
|
|
@@ -223,7 +221,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
223
221
|
* @param {Array<[BytesLike, BpMessagesOutboundMessageDetails]>} messages
|
|
224
222
|
**/
|
|
225
223
|
messageDetails: GenericRuntimeApiMethod<
|
|
226
|
-
Rv,
|
|
227
224
|
(
|
|
228
225
|
lane: BpMessagesLaneHashedLaneId,
|
|
229
226
|
messages: Array<[BytesLike, BpMessagesOutboundMessageDetails]>,
|
|
@@ -233,7 +230,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
233
230
|
/**
|
|
234
231
|
* Generic runtime api call
|
|
235
232
|
**/
|
|
236
|
-
[method: string]: GenericRuntimeApiMethod
|
|
233
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
237
234
|
};
|
|
238
235
|
/**
|
|
239
236
|
* @runtimeapi: Core - 0xdf6acb689907609b
|
|
@@ -244,7 +241,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
244
241
|
*
|
|
245
242
|
* @callname: Core_version
|
|
246
243
|
**/
|
|
247
|
-
version: GenericRuntimeApiMethod<
|
|
244
|
+
version: GenericRuntimeApiMethod<() => Promise<RuntimeVersion>>;
|
|
248
245
|
|
|
249
246
|
/**
|
|
250
247
|
* Execute the given block.
|
|
@@ -252,7 +249,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
252
249
|
* @callname: Core_execute_block
|
|
253
250
|
* @param {SpRuntimeBlock} block
|
|
254
251
|
**/
|
|
255
|
-
executeBlock: GenericRuntimeApiMethod<
|
|
252
|
+
executeBlock: GenericRuntimeApiMethod<(block: SpRuntimeBlock) => Promise<[]>>;
|
|
256
253
|
|
|
257
254
|
/**
|
|
258
255
|
* Initialize a block with the given header and return the runtime executive mode.
|
|
@@ -260,12 +257,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
260
257
|
* @callname: Core_initialize_block
|
|
261
258
|
* @param {Header} header
|
|
262
259
|
**/
|
|
263
|
-
initializeBlock: GenericRuntimeApiMethod<
|
|
260
|
+
initializeBlock: GenericRuntimeApiMethod<(header: Header) => Promise<SpRuntimeExtrinsicInclusionMode>>;
|
|
264
261
|
|
|
265
262
|
/**
|
|
266
263
|
* Generic runtime api call
|
|
267
264
|
**/
|
|
268
|
-
[method: string]: GenericRuntimeApiMethod
|
|
265
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
269
266
|
};
|
|
270
267
|
/**
|
|
271
268
|
* @runtimeapi: Metadata - 0x37e397fc7c91f5e4
|
|
@@ -276,7 +273,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
276
273
|
*
|
|
277
274
|
* @callname: Metadata_metadata
|
|
278
275
|
**/
|
|
279
|
-
metadata: GenericRuntimeApiMethod<
|
|
276
|
+
metadata: GenericRuntimeApiMethod<() => Promise<SpCoreOpaqueMetadata>>;
|
|
280
277
|
|
|
281
278
|
/**
|
|
282
279
|
* Returns the metadata at a given version.
|
|
@@ -287,7 +284,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
287
284
|
* @callname: Metadata_metadata_at_version
|
|
288
285
|
* @param {number} version
|
|
289
286
|
**/
|
|
290
|
-
metadataAtVersion: GenericRuntimeApiMethod<
|
|
287
|
+
metadataAtVersion: GenericRuntimeApiMethod<(version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
|
|
291
288
|
|
|
292
289
|
/**
|
|
293
290
|
* Returns the supported metadata versions.
|
|
@@ -296,12 +293,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
296
293
|
*
|
|
297
294
|
* @callname: Metadata_metadata_versions
|
|
298
295
|
**/
|
|
299
|
-
metadataVersions: GenericRuntimeApiMethod<
|
|
296
|
+
metadataVersions: GenericRuntimeApiMethod<() => Promise<Array<number>>>;
|
|
300
297
|
|
|
301
298
|
/**
|
|
302
299
|
* Generic runtime api call
|
|
303
300
|
**/
|
|
304
|
-
[method: string]: GenericRuntimeApiMethod
|
|
301
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
305
302
|
};
|
|
306
303
|
/**
|
|
307
304
|
* @runtimeapi: BlockBuilder - 0x40fe3ad401f8959a
|
|
@@ -317,7 +314,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
317
314
|
* @param {FpSelfContainedUncheckedExtrinsic} extrinsic
|
|
318
315
|
**/
|
|
319
316
|
applyExtrinsic: GenericRuntimeApiMethod<
|
|
320
|
-
Rv,
|
|
321
317
|
(
|
|
322
318
|
extrinsic: FpSelfContainedUncheckedExtrinsic,
|
|
323
319
|
) => Promise<Result<Result<[], DispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>
|
|
@@ -328,7 +324,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
328
324
|
*
|
|
329
325
|
* @callname: BlockBuilder_finalize_block
|
|
330
326
|
**/
|
|
331
|
-
finalizeBlock: GenericRuntimeApiMethod<
|
|
327
|
+
finalizeBlock: GenericRuntimeApiMethod<() => Promise<Header>>;
|
|
332
328
|
|
|
333
329
|
/**
|
|
334
330
|
* Generate inherent extrinsics. The inherent data will vary from chain to chain.
|
|
@@ -337,7 +333,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
337
333
|
* @param {SpInherentsInherentData} inherent
|
|
338
334
|
**/
|
|
339
335
|
inherentExtrinsics: GenericRuntimeApiMethod<
|
|
340
|
-
Rv,
|
|
341
336
|
(inherent: SpInherentsInherentData) => Promise<Array<FpSelfContainedUncheckedExtrinsic>>
|
|
342
337
|
>;
|
|
343
338
|
|
|
@@ -349,14 +344,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
349
344
|
* @param {SpInherentsInherentData} data
|
|
350
345
|
**/
|
|
351
346
|
checkInherents: GenericRuntimeApiMethod<
|
|
352
|
-
Rv,
|
|
353
347
|
(block: SpRuntimeBlock, data: SpInherentsInherentData) => Promise<SpInherentsCheckInherentsResult>
|
|
354
348
|
>;
|
|
355
349
|
|
|
356
350
|
/**
|
|
357
351
|
* Generic runtime api call
|
|
358
352
|
**/
|
|
359
|
-
[method: string]: GenericRuntimeApiMethod
|
|
353
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
360
354
|
};
|
|
361
355
|
/**
|
|
362
356
|
* @runtimeapi: OffchainWorkerApi - 0xf78b278be53f454c
|
|
@@ -368,12 +362,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
368
362
|
* @callname: OffchainWorkerApi_offchain_worker
|
|
369
363
|
* @param {Header} header
|
|
370
364
|
**/
|
|
371
|
-
offchainWorker: GenericRuntimeApiMethod<
|
|
365
|
+
offchainWorker: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
|
|
372
366
|
|
|
373
367
|
/**
|
|
374
368
|
* Generic runtime api call
|
|
375
369
|
**/
|
|
376
|
-
[method: string]: GenericRuntimeApiMethod
|
|
370
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
377
371
|
};
|
|
378
372
|
/**
|
|
379
373
|
* @runtimeapi: SessionKeys - 0xab3c0572291feb8b
|
|
@@ -391,7 +385,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
391
385
|
* @callname: SessionKeys_generate_session_keys
|
|
392
386
|
* @param {BytesLike | undefined} seed
|
|
393
387
|
**/
|
|
394
|
-
generateSessionKeys: GenericRuntimeApiMethod<
|
|
388
|
+
generateSessionKeys: GenericRuntimeApiMethod<(seed?: BytesLike | undefined) => Promise<Bytes>>;
|
|
395
389
|
|
|
396
390
|
/**
|
|
397
391
|
* Decode the given public session keys.
|
|
@@ -402,14 +396,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
402
396
|
* @param {BytesLike} encoded
|
|
403
397
|
**/
|
|
404
398
|
decodeSessionKeys: GenericRuntimeApiMethod<
|
|
405
|
-
Rv,
|
|
406
399
|
(encoded: BytesLike) => Promise<Array<[Bytes, SpCoreCryptoKeyTypeId]> | undefined>
|
|
407
400
|
>;
|
|
408
401
|
|
|
409
402
|
/**
|
|
410
403
|
* Generic runtime api call
|
|
411
404
|
**/
|
|
412
|
-
[method: string]: GenericRuntimeApiMethod
|
|
405
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
413
406
|
};
|
|
414
407
|
/**
|
|
415
408
|
* @runtimeapi: GenesisBuilder - 0xfbc577b9d747efd6
|
|
@@ -430,7 +423,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
430
423
|
* @callname: GenesisBuilder_build_state
|
|
431
424
|
* @param {BytesLike} json
|
|
432
425
|
**/
|
|
433
|
-
buildState: GenericRuntimeApiMethod<
|
|
426
|
+
buildState: GenericRuntimeApiMethod<(json: BytesLike) => Promise<Result<[], string>>>;
|
|
434
427
|
|
|
435
428
|
/**
|
|
436
429
|
* Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by
|
|
@@ -451,7 +444,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
451
444
|
* @callname: GenesisBuilder_get_preset
|
|
452
445
|
* @param {string | undefined} id
|
|
453
446
|
**/
|
|
454
|
-
getPreset: GenericRuntimeApiMethod<
|
|
447
|
+
getPreset: GenericRuntimeApiMethod<(id?: string | undefined) => Promise<Bytes | undefined>>;
|
|
455
448
|
|
|
456
449
|
/**
|
|
457
450
|
* Returns a list of identifiers for available builtin `RuntimeGenesisConfig` presets.
|
|
@@ -461,12 +454,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
461
454
|
*
|
|
462
455
|
* @callname: GenesisBuilder_preset_names
|
|
463
456
|
**/
|
|
464
|
-
presetNames: GenericRuntimeApiMethod<
|
|
457
|
+
presetNames: GenericRuntimeApiMethod<() => Promise<Array<string>>>;
|
|
465
458
|
|
|
466
459
|
/**
|
|
467
460
|
* Generic runtime api call
|
|
468
461
|
**/
|
|
469
|
-
[method: string]: GenericRuntimeApiMethod
|
|
462
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
470
463
|
};
|
|
471
464
|
/**
|
|
472
465
|
* @runtimeapi: AccountNonceApi - 0xbc9d89904f5b923f
|
|
@@ -478,12 +471,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
478
471
|
* @callname: AccountNonceApi_account_nonce
|
|
479
472
|
* @param {AccountId20Like} account
|
|
480
473
|
**/
|
|
481
|
-
accountNonce: GenericRuntimeApiMethod<
|
|
474
|
+
accountNonce: GenericRuntimeApiMethod<(account: AccountId20Like) => Promise<number>>;
|
|
482
475
|
|
|
483
476
|
/**
|
|
484
477
|
* Generic runtime api call
|
|
485
478
|
**/
|
|
486
|
-
[method: string]: GenericRuntimeApiMethod
|
|
479
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
487
480
|
};
|
|
488
481
|
/**
|
|
489
482
|
* @runtimeapi: DebugRuntimeApi - 0xbd78255d4feeea1f
|
|
@@ -497,7 +490,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
497
490
|
* @param {Header} header
|
|
498
491
|
**/
|
|
499
492
|
traceTransaction: GenericRuntimeApiMethod<
|
|
500
|
-
Rv,
|
|
501
493
|
(
|
|
502
494
|
extrinsics: Array<FpSelfContainedUncheckedExtrinsic>,
|
|
503
495
|
transaction: EthereumTransactionTransactionV3,
|
|
@@ -513,7 +505,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
513
505
|
* @param {Header} header
|
|
514
506
|
**/
|
|
515
507
|
traceBlock: GenericRuntimeApiMethod<
|
|
516
|
-
Rv,
|
|
517
508
|
(
|
|
518
509
|
extrinsics: Array<FpSelfContainedUncheckedExtrinsic>,
|
|
519
510
|
knownTransactions: Array<H256>,
|
|
@@ -537,7 +528,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
537
528
|
* @param {Array<EthereumTransactionEip7702AuthorizationListItem> | undefined} authorization_list
|
|
538
529
|
**/
|
|
539
530
|
traceCall: GenericRuntimeApiMethod<
|
|
540
|
-
Rv,
|
|
541
531
|
(
|
|
542
532
|
header: Header,
|
|
543
533
|
from: H160,
|
|
@@ -556,7 +546,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
556
546
|
/**
|
|
557
547
|
* Generic runtime api call
|
|
558
548
|
**/
|
|
559
|
-
[method: string]: GenericRuntimeApiMethod
|
|
549
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
560
550
|
};
|
|
561
551
|
/**
|
|
562
552
|
* @runtimeapi: TxPoolRuntimeApi - 0xa33d43f58731ad84
|
|
@@ -569,7 +559,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
569
559
|
* @param {Array<FpSelfContainedUncheckedExtrinsic>} xt_future
|
|
570
560
|
**/
|
|
571
561
|
extrinsicFilter: GenericRuntimeApiMethod<
|
|
572
|
-
Rv,
|
|
573
562
|
(
|
|
574
563
|
xtReady: Array<FpSelfContainedUncheckedExtrinsic>,
|
|
575
564
|
xtFuture: Array<FpSelfContainedUncheckedExtrinsic>,
|
|
@@ -579,7 +568,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
579
568
|
/**
|
|
580
569
|
* Generic runtime api call
|
|
581
570
|
**/
|
|
582
|
-
[method: string]: GenericRuntimeApiMethod
|
|
571
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
583
572
|
};
|
|
584
573
|
/**
|
|
585
574
|
* @runtimeapi: EthereumRuntimeRPCApi - 0x582211f65bb14b89
|
|
@@ -590,7 +579,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
590
579
|
*
|
|
591
580
|
* @callname: EthereumRuntimeRPCApi_chain_id
|
|
592
581
|
**/
|
|
593
|
-
chainId: GenericRuntimeApiMethod<
|
|
582
|
+
chainId: GenericRuntimeApiMethod<() => Promise<bigint>>;
|
|
594
583
|
|
|
595
584
|
/**
|
|
596
585
|
* Returns pallet_evm::Accounts by address.
|
|
@@ -598,14 +587,14 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
598
587
|
* @callname: EthereumRuntimeRPCApi_account_basic
|
|
599
588
|
* @param {H160} address
|
|
600
589
|
**/
|
|
601
|
-
accountBasic: GenericRuntimeApiMethod<
|
|
590
|
+
accountBasic: GenericRuntimeApiMethod<(address: H160) => Promise<EvmBackendBasic>>;
|
|
602
591
|
|
|
603
592
|
/**
|
|
604
593
|
* Returns FixedGasPrice::min_gas_price
|
|
605
594
|
*
|
|
606
595
|
* @callname: EthereumRuntimeRPCApi_gas_price
|
|
607
596
|
**/
|
|
608
|
-
gasPrice: GenericRuntimeApiMethod<
|
|
597
|
+
gasPrice: GenericRuntimeApiMethod<() => Promise<U256>>;
|
|
609
598
|
|
|
610
599
|
/**
|
|
611
600
|
* For a given account address, returns pallet_evm::AccountCodes.
|
|
@@ -613,14 +602,14 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
613
602
|
* @callname: EthereumRuntimeRPCApi_account_code_at
|
|
614
603
|
* @param {H160} address
|
|
615
604
|
**/
|
|
616
|
-
accountCodeAt: GenericRuntimeApiMethod<
|
|
605
|
+
accountCodeAt: GenericRuntimeApiMethod<(address: H160) => Promise<Bytes>>;
|
|
617
606
|
|
|
618
607
|
/**
|
|
619
608
|
* Returns the converted FindAuthor::find_author authority id.
|
|
620
609
|
*
|
|
621
610
|
* @callname: EthereumRuntimeRPCApi_author
|
|
622
611
|
**/
|
|
623
|
-
author: GenericRuntimeApiMethod<
|
|
612
|
+
author: GenericRuntimeApiMethod<() => Promise<H160>>;
|
|
624
613
|
|
|
625
614
|
/**
|
|
626
615
|
* For a given account address and index, returns pallet_evm::AccountStorages.
|
|
@@ -629,7 +618,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
629
618
|
* @param {H160} address
|
|
630
619
|
* @param {U256} index
|
|
631
620
|
**/
|
|
632
|
-
storageAt: GenericRuntimeApiMethod<
|
|
621
|
+
storageAt: GenericRuntimeApiMethod<(address: H160, index: U256) => Promise<H256>>;
|
|
633
622
|
|
|
634
623
|
/**
|
|
635
624
|
*
|
|
@@ -647,7 +636,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
647
636
|
* @param {Array<EthereumTransactionEip7702AuthorizationListItem> | undefined} authorization_list
|
|
648
637
|
**/
|
|
649
638
|
call: GenericRuntimeApiMethod<
|
|
650
|
-
Rv,
|
|
651
639
|
(
|
|
652
640
|
from: H160,
|
|
653
641
|
to: H160,
|
|
@@ -678,7 +666,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
678
666
|
* @param {Array<EthereumTransactionEip7702AuthorizationListItem> | undefined} authorization_list
|
|
679
667
|
**/
|
|
680
668
|
create: GenericRuntimeApiMethod<
|
|
681
|
-
Rv,
|
|
682
669
|
(
|
|
683
670
|
from: H160,
|
|
684
671
|
data: BytesLike,
|
|
@@ -698,28 +685,27 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
698
685
|
*
|
|
699
686
|
* @callname: EthereumRuntimeRPCApi_current_block
|
|
700
687
|
**/
|
|
701
|
-
currentBlock: GenericRuntimeApiMethod<
|
|
688
|
+
currentBlock: GenericRuntimeApiMethod<() => Promise<EthereumBlock | undefined>>;
|
|
702
689
|
|
|
703
690
|
/**
|
|
704
691
|
* Return the current receipt.
|
|
705
692
|
*
|
|
706
693
|
* @callname: EthereumRuntimeRPCApi_current_receipts
|
|
707
694
|
**/
|
|
708
|
-
currentReceipts: GenericRuntimeApiMethod<
|
|
695
|
+
currentReceipts: GenericRuntimeApiMethod<() => Promise<Array<EthereumReceiptReceiptV4> | undefined>>;
|
|
709
696
|
|
|
710
697
|
/**
|
|
711
698
|
* Return the current transaction status.
|
|
712
699
|
*
|
|
713
700
|
* @callname: EthereumRuntimeRPCApi_current_transaction_statuses
|
|
714
701
|
**/
|
|
715
|
-
currentTransactionStatuses: GenericRuntimeApiMethod<
|
|
702
|
+
currentTransactionStatuses: GenericRuntimeApiMethod<() => Promise<Array<FpRpcTransactionStatus> | undefined>>;
|
|
716
703
|
|
|
717
704
|
/**
|
|
718
705
|
*
|
|
719
706
|
* @callname: EthereumRuntimeRPCApi_current_all
|
|
720
707
|
**/
|
|
721
708
|
currentAll: GenericRuntimeApiMethod<
|
|
722
|
-
Rv,
|
|
723
709
|
() => Promise<
|
|
724
710
|
[
|
|
725
711
|
EthereumBlock | undefined,
|
|
@@ -736,7 +722,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
736
722
|
* @param {Array<FpSelfContainedUncheckedExtrinsic>} xts
|
|
737
723
|
**/
|
|
738
724
|
extrinsicFilter: GenericRuntimeApiMethod<
|
|
739
|
-
Rv,
|
|
740
725
|
(xts: Array<FpSelfContainedUncheckedExtrinsic>) => Promise<Array<EthereumTransactionTransactionV3>>
|
|
741
726
|
>;
|
|
742
727
|
|
|
@@ -745,7 +730,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
745
730
|
*
|
|
746
731
|
* @callname: EthereumRuntimeRPCApi_elasticity
|
|
747
732
|
**/
|
|
748
|
-
elasticity: GenericRuntimeApiMethod<
|
|
733
|
+
elasticity: GenericRuntimeApiMethod<() => Promise<Permill | undefined>>;
|
|
749
734
|
|
|
750
735
|
/**
|
|
751
736
|
* Used to determine if gas limit multiplier for non-transactional calls (eth_call/estimateGas)
|
|
@@ -753,7 +738,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
753
738
|
*
|
|
754
739
|
* @callname: EthereumRuntimeRPCApi_gas_limit_multiplier_support
|
|
755
740
|
**/
|
|
756
|
-
gasLimitMultiplierSupport: GenericRuntimeApiMethod<
|
|
741
|
+
gasLimitMultiplierSupport: GenericRuntimeApiMethod<() => Promise<[]>>;
|
|
757
742
|
|
|
758
743
|
/**
|
|
759
744
|
* Return the pending block.
|
|
@@ -762,7 +747,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
762
747
|
* @param {Array<FpSelfContainedUncheckedExtrinsic>} xts
|
|
763
748
|
**/
|
|
764
749
|
pendingBlock: GenericRuntimeApiMethod<
|
|
765
|
-
Rv,
|
|
766
750
|
(
|
|
767
751
|
xts: Array<FpSelfContainedUncheckedExtrinsic>,
|
|
768
752
|
) => Promise<[EthereumBlock | undefined, Array<FpRpcTransactionStatus> | undefined]>
|
|
@@ -778,12 +762,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
778
762
|
* @callname: EthereumRuntimeRPCApi_initialize_pending_block
|
|
779
763
|
* @param {Header} header
|
|
780
764
|
**/
|
|
781
|
-
initializePendingBlock: GenericRuntimeApiMethod<
|
|
765
|
+
initializePendingBlock: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
|
|
782
766
|
|
|
783
767
|
/**
|
|
784
768
|
* Generic runtime api call
|
|
785
769
|
**/
|
|
786
|
-
[method: string]: GenericRuntimeApiMethod
|
|
770
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
787
771
|
};
|
|
788
772
|
/**
|
|
789
773
|
* @runtimeapi: ConvertTransactionRuntimeApi - 0xe65b00e46cedd0aa
|
|
@@ -795,14 +779,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
795
779
|
* @param {EthereumTransactionTransactionV3} transaction
|
|
796
780
|
**/
|
|
797
781
|
convertTransaction: GenericRuntimeApiMethod<
|
|
798
|
-
Rv,
|
|
799
782
|
(transaction: EthereumTransactionTransactionV3) => Promise<FpSelfContainedUncheckedExtrinsic>
|
|
800
783
|
>;
|
|
801
784
|
|
|
802
785
|
/**
|
|
803
786
|
* Generic runtime api call
|
|
804
787
|
**/
|
|
805
|
-
[method: string]: GenericRuntimeApiMethod
|
|
788
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
806
789
|
};
|
|
807
790
|
/**
|
|
808
791
|
* @runtimeapi: TransactionPaymentApi - 0x37c8bb1350a9a2a8
|
|
@@ -815,7 +798,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
815
798
|
* @param {number} len
|
|
816
799
|
**/
|
|
817
800
|
queryInfo: GenericRuntimeApiMethod<
|
|
818
|
-
Rv,
|
|
819
801
|
(uxt: FpSelfContainedUncheckedExtrinsic, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
|
|
820
802
|
>;
|
|
821
803
|
|
|
@@ -826,7 +808,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
826
808
|
* @param {number} len
|
|
827
809
|
**/
|
|
828
810
|
queryFeeDetails: GenericRuntimeApiMethod<
|
|
829
|
-
Rv,
|
|
830
811
|
(uxt: FpSelfContainedUncheckedExtrinsic, len: number) => Promise<PalletTransactionPaymentFeeDetails>
|
|
831
812
|
>;
|
|
832
813
|
|
|
@@ -835,19 +816,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
835
816
|
* @callname: TransactionPaymentApi_query_weight_to_fee
|
|
836
817
|
* @param {SpWeightsWeightV2Weight} weight
|
|
837
818
|
**/
|
|
838
|
-
queryWeightToFee: GenericRuntimeApiMethod<
|
|
819
|
+
queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
|
|
839
820
|
|
|
840
821
|
/**
|
|
841
822
|
*
|
|
842
823
|
* @callname: TransactionPaymentApi_query_length_to_fee
|
|
843
824
|
* @param {number} length
|
|
844
825
|
**/
|
|
845
|
-
queryLengthToFee: GenericRuntimeApiMethod<
|
|
826
|
+
queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
|
|
846
827
|
|
|
847
828
|
/**
|
|
848
829
|
* Generic runtime api call
|
|
849
830
|
**/
|
|
850
|
-
[method: string]: GenericRuntimeApiMethod
|
|
831
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
851
832
|
};
|
|
852
833
|
/**
|
|
853
834
|
* @runtimeapi: NimbusApi - 0x2aa62120049dd2d2
|
|
@@ -861,14 +842,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
861
842
|
* @param {Header} parent_header
|
|
862
843
|
**/
|
|
863
844
|
canAuthor: GenericRuntimeApiMethod<
|
|
864
|
-
Rv,
|
|
865
845
|
(author: NimbusPrimitivesNimbusCryptoPublic, relayParent: number, parentHeader: Header) => Promise<boolean>
|
|
866
846
|
>;
|
|
867
847
|
|
|
868
848
|
/**
|
|
869
849
|
* Generic runtime api call
|
|
870
850
|
**/
|
|
871
|
-
[method: string]: GenericRuntimeApiMethod
|
|
851
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
872
852
|
};
|
|
873
853
|
/**
|
|
874
854
|
* @runtimeapi: CollectCollationInfo - 0xea93e3f16f3d6962
|
|
@@ -883,12 +863,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
883
863
|
* @callname: CollectCollationInfo_collect_collation_info
|
|
884
864
|
* @param {Header} header
|
|
885
865
|
**/
|
|
886
|
-
collectCollationInfo: GenericRuntimeApiMethod<
|
|
866
|
+
collectCollationInfo: GenericRuntimeApiMethod<(header: Header) => Promise<CumulusPrimitivesCoreCollationInfo>>;
|
|
887
867
|
|
|
888
868
|
/**
|
|
889
869
|
* Generic runtime api call
|
|
890
870
|
**/
|
|
891
|
-
[method: string]: GenericRuntimeApiMethod
|
|
871
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
892
872
|
};
|
|
893
873
|
/**
|
|
894
874
|
* @runtimeapi: VrfApi - 0xba8173bf23b2e6f8
|
|
@@ -898,7 +878,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
898
878
|
*
|
|
899
879
|
* @callname: VrfApi_get_last_vrf_output
|
|
900
880
|
**/
|
|
901
|
-
getLastVrfOutput: GenericRuntimeApiMethod<
|
|
881
|
+
getLastVrfOutput: GenericRuntimeApiMethod<() => Promise<H256 | undefined>>;
|
|
902
882
|
|
|
903
883
|
/**
|
|
904
884
|
*
|
|
@@ -906,14 +886,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
906
886
|
* @param {NimbusPrimitivesNimbusCryptoPublic} nimbus_id
|
|
907
887
|
**/
|
|
908
888
|
vrfKeyLookup: GenericRuntimeApiMethod<
|
|
909
|
-
Rv,
|
|
910
889
|
(nimbusId: NimbusPrimitivesNimbusCryptoPublic) => Promise<SessionKeysPrimitivesVrfVrfCryptoPublic | undefined>
|
|
911
890
|
>;
|
|
912
891
|
|
|
913
892
|
/**
|
|
914
893
|
* Generic runtime api call
|
|
915
894
|
**/
|
|
916
|
-
[method: string]: GenericRuntimeApiMethod
|
|
895
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
917
896
|
};
|
|
918
897
|
/**
|
|
919
898
|
* @runtimeapi: XcmPaymentApi - 0x6ff52ee858e6c5bd
|
|
@@ -930,7 +909,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
930
909
|
* @param {number} xcm_version
|
|
931
910
|
**/
|
|
932
911
|
queryAcceptablePaymentAssets: GenericRuntimeApiMethod<
|
|
933
|
-
Rv,
|
|
934
912
|
(xcmVersion: number) => Promise<Result<Array<XcmVersionedAssetId>, XcmRuntimeApisFeesError>>
|
|
935
913
|
>;
|
|
936
914
|
|
|
@@ -945,7 +923,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
945
923
|
* @param {XcmVersionedXcm} message
|
|
946
924
|
**/
|
|
947
925
|
queryXcmWeight: GenericRuntimeApiMethod<
|
|
948
|
-
Rv,
|
|
949
926
|
(message: XcmVersionedXcm) => Promise<Result<SpWeightsWeightV2Weight, XcmRuntimeApisFeesError>>
|
|
950
927
|
>;
|
|
951
928
|
|
|
@@ -962,7 +939,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
962
939
|
* @param {XcmVersionedAssetId} asset
|
|
963
940
|
**/
|
|
964
941
|
queryWeightToAssetFee: GenericRuntimeApiMethod<
|
|
965
|
-
Rv,
|
|
966
942
|
(weight: SpWeightsWeightV2Weight, asset: XcmVersionedAssetId) => Promise<Result<bigint, XcmRuntimeApisFeesError>>
|
|
967
943
|
>;
|
|
968
944
|
|
|
@@ -981,7 +957,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
981
957
|
* @param {XcmVersionedXcm} message
|
|
982
958
|
**/
|
|
983
959
|
queryDeliveryFees: GenericRuntimeApiMethod<
|
|
984
|
-
Rv,
|
|
985
960
|
(
|
|
986
961
|
destination: XcmVersionedLocation,
|
|
987
962
|
message: XcmVersionedXcm,
|
|
@@ -991,7 +966,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
991
966
|
/**
|
|
992
967
|
* Generic runtime api call
|
|
993
968
|
**/
|
|
994
|
-
[method: string]: GenericRuntimeApiMethod
|
|
969
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
995
970
|
};
|
|
996
971
|
/**
|
|
997
972
|
* @runtimeapi: DryRunApi - 0x91b1c8b16328eb92
|
|
@@ -1006,7 +981,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1006
981
|
* @param {number} result_xcms_version
|
|
1007
982
|
**/
|
|
1008
983
|
dryRunCall: GenericRuntimeApiMethod<
|
|
1009
|
-
Rv,
|
|
1010
984
|
(
|
|
1011
985
|
origin: MoonbeamRuntimeOriginCaller,
|
|
1012
986
|
call: MoonbeamRuntimeRuntimeCallLike,
|
|
@@ -1022,7 +996,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1022
996
|
* @param {XcmVersionedXcm} xcm
|
|
1023
997
|
**/
|
|
1024
998
|
dryRunXcm: GenericRuntimeApiMethod<
|
|
1025
|
-
Rv,
|
|
1026
999
|
(
|
|
1027
1000
|
originLocation: XcmVersionedLocation,
|
|
1028
1001
|
xcm: XcmVersionedXcm,
|
|
@@ -1032,7 +1005,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1032
1005
|
/**
|
|
1033
1006
|
* Generic runtime api call
|
|
1034
1007
|
**/
|
|
1035
|
-
[method: string]: GenericRuntimeApiMethod
|
|
1008
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
1036
1009
|
};
|
|
1037
1010
|
/**
|
|
1038
1011
|
* @runtimeapi: LocationToAccountApi - 0x9ffb505aa738d69c
|
|
@@ -1045,13 +1018,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1045
1018
|
* @param {XcmVersionedLocation} location
|
|
1046
1019
|
**/
|
|
1047
1020
|
convertLocation: GenericRuntimeApiMethod<
|
|
1048
|
-
Rv,
|
|
1049
1021
|
(location: XcmVersionedLocation) => Promise<Result<AccountId20, XcmRuntimeApisConversionsError>>
|
|
1050
1022
|
>;
|
|
1051
1023
|
|
|
1052
1024
|
/**
|
|
1053
1025
|
* Generic runtime api call
|
|
1054
1026
|
**/
|
|
1055
|
-
[method: string]: GenericRuntimeApiMethod
|
|
1027
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
1056
1028
|
};
|
|
1057
1029
|
}
|