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