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