@dedot/chaintypes 0.194.0 → 0.196.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 +15 -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 +15 -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 +15 -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 +16 -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 +15 -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 +16 -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 +15 -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 +15 -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 +16 -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 +17 -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 +16 -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 +16 -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 +15 -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 +16 -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 +15 -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 +16 -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 +16 -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 +15 -17
- package/westend/json-rpc.d.ts +3 -3
- 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 +16 -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 +15 -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/paseo/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
|
RuntimeVersion,
|
|
6
6
|
Header,
|
|
@@ -74,6 +74,8 @@ import type {
|
|
|
74
74
|
SpConsensusSlotsEquivocationProof,
|
|
75
75
|
SpAuthorityDiscoveryAppPublic,
|
|
76
76
|
SpCoreCryptoKeyTypeId,
|
|
77
|
+
FrameSupportViewFunctionsViewFunctionDispatchError,
|
|
78
|
+
FrameSupportViewFunctionsViewFunctionId,
|
|
77
79
|
PalletTransactionPaymentRuntimeDispatchInfo,
|
|
78
80
|
PalletTransactionPaymentFeeDetails,
|
|
79
81
|
SpWeightsWeightV2Weight,
|
|
@@ -90,7 +92,7 @@ import type {
|
|
|
90
92
|
XcmRuntimeApisConversionsError,
|
|
91
93
|
} from './types.js';
|
|
92
94
|
|
|
93
|
-
export interface RuntimeApis
|
|
95
|
+
export interface RuntimeApis extends GenericRuntimeApis {
|
|
94
96
|
/**
|
|
95
97
|
* @runtimeapi: Inflation - 0xc51ff1fa3f5d0cca
|
|
96
98
|
**/
|
|
@@ -103,12 +105,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
103
105
|
*
|
|
104
106
|
* @callname: Inflation_experimental_inflation_prediction_info
|
|
105
107
|
**/
|
|
106
|
-
experimentalInflationPredictionInfo: GenericRuntimeApiMethod<
|
|
108
|
+
experimentalInflationPredictionInfo: GenericRuntimeApiMethod<() => Promise<RelayCommonApisInflationInfo>>;
|
|
107
109
|
|
|
108
110
|
/**
|
|
109
111
|
* Generic runtime api call
|
|
110
112
|
**/
|
|
111
|
-
[method: string]: GenericRuntimeApiMethod
|
|
113
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
112
114
|
};
|
|
113
115
|
/**
|
|
114
116
|
* @runtimeapi: Core - 0xdf6acb689907609b
|
|
@@ -119,7 +121,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
119
121
|
*
|
|
120
122
|
* @callname: Core_version
|
|
121
123
|
**/
|
|
122
|
-
version: GenericRuntimeApiMethod<
|
|
124
|
+
version: GenericRuntimeApiMethod<() => Promise<RuntimeVersion>>;
|
|
123
125
|
|
|
124
126
|
/**
|
|
125
127
|
* Execute the given block.
|
|
@@ -127,7 +129,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
127
129
|
* @callname: Core_execute_block
|
|
128
130
|
* @param {SpRuntimeBlock} block
|
|
129
131
|
**/
|
|
130
|
-
executeBlock: GenericRuntimeApiMethod<
|
|
132
|
+
executeBlock: GenericRuntimeApiMethod<(block: SpRuntimeBlock) => Promise<[]>>;
|
|
131
133
|
|
|
132
134
|
/**
|
|
133
135
|
* Initialize a block with the given header and return the runtime executive mode.
|
|
@@ -135,12 +137,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
135
137
|
* @callname: Core_initialize_block
|
|
136
138
|
* @param {Header} header
|
|
137
139
|
**/
|
|
138
|
-
initializeBlock: GenericRuntimeApiMethod<
|
|
140
|
+
initializeBlock: GenericRuntimeApiMethod<(header: Header) => Promise<SpRuntimeExtrinsicInclusionMode>>;
|
|
139
141
|
|
|
140
142
|
/**
|
|
141
143
|
* Generic runtime api call
|
|
142
144
|
**/
|
|
143
|
-
[method: string]: GenericRuntimeApiMethod
|
|
145
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
144
146
|
};
|
|
145
147
|
/**
|
|
146
148
|
* @runtimeapi: Metadata - 0x37e397fc7c91f5e4
|
|
@@ -151,7 +153,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
151
153
|
*
|
|
152
154
|
* @callname: Metadata_metadata
|
|
153
155
|
**/
|
|
154
|
-
metadata: GenericRuntimeApiMethod<
|
|
156
|
+
metadata: GenericRuntimeApiMethod<() => Promise<SpCoreOpaqueMetadata>>;
|
|
155
157
|
|
|
156
158
|
/**
|
|
157
159
|
* Returns the metadata at a given version.
|
|
@@ -162,7 +164,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
162
164
|
* @callname: Metadata_metadata_at_version
|
|
163
165
|
* @param {number} version
|
|
164
166
|
**/
|
|
165
|
-
metadataAtVersion: GenericRuntimeApiMethod<
|
|
167
|
+
metadataAtVersion: GenericRuntimeApiMethod<(version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
|
|
166
168
|
|
|
167
169
|
/**
|
|
168
170
|
* Returns the supported metadata versions.
|
|
@@ -171,12 +173,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
171
173
|
*
|
|
172
174
|
* @callname: Metadata_metadata_versions
|
|
173
175
|
**/
|
|
174
|
-
metadataVersions: GenericRuntimeApiMethod<
|
|
176
|
+
metadataVersions: GenericRuntimeApiMethod<() => Promise<Array<number>>>;
|
|
175
177
|
|
|
176
178
|
/**
|
|
177
179
|
* Generic runtime api call
|
|
178
180
|
**/
|
|
179
|
-
[method: string]: GenericRuntimeApiMethod
|
|
181
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
180
182
|
};
|
|
181
183
|
/**
|
|
182
184
|
* @runtimeapi: BlockBuilder - 0x40fe3ad401f8959a
|
|
@@ -192,7 +194,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
192
194
|
* @param {UncheckedExtrinsicLike} extrinsic
|
|
193
195
|
**/
|
|
194
196
|
applyExtrinsic: GenericRuntimeApiMethod<
|
|
195
|
-
Rv,
|
|
196
197
|
(
|
|
197
198
|
extrinsic: UncheckedExtrinsicLike,
|
|
198
199
|
) => Promise<Result<Result<[], DispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>
|
|
@@ -203,7 +204,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
203
204
|
*
|
|
204
205
|
* @callname: BlockBuilder_finalize_block
|
|
205
206
|
**/
|
|
206
|
-
finalizeBlock: GenericRuntimeApiMethod<
|
|
207
|
+
finalizeBlock: GenericRuntimeApiMethod<() => Promise<Header>>;
|
|
207
208
|
|
|
208
209
|
/**
|
|
209
210
|
* Generate inherent extrinsics. The inherent data will vary from chain to chain.
|
|
@@ -212,7 +213,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
212
213
|
* @param {SpInherentsInherentData} inherent
|
|
213
214
|
**/
|
|
214
215
|
inherentExtrinsics: GenericRuntimeApiMethod<
|
|
215
|
-
Rv,
|
|
216
216
|
(inherent: SpInherentsInherentData) => Promise<Array<UncheckedExtrinsic>>
|
|
217
217
|
>;
|
|
218
218
|
|
|
@@ -224,14 +224,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
224
224
|
* @param {SpInherentsInherentData} data
|
|
225
225
|
**/
|
|
226
226
|
checkInherents: GenericRuntimeApiMethod<
|
|
227
|
-
Rv,
|
|
228
227
|
(block: SpRuntimeBlock, data: SpInherentsInherentData) => Promise<SpInherentsCheckInherentsResult>
|
|
229
228
|
>;
|
|
230
229
|
|
|
231
230
|
/**
|
|
232
231
|
* Generic runtime api call
|
|
233
232
|
**/
|
|
234
|
-
[method: string]: GenericRuntimeApiMethod
|
|
233
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
235
234
|
};
|
|
236
235
|
/**
|
|
237
236
|
* @runtimeapi: NominationPoolsApi - 0x17a6bc0d0062aeb3
|
|
@@ -243,7 +242,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
243
242
|
* @callname: NominationPoolsApi_pending_rewards
|
|
244
243
|
* @param {AccountId32Like} who
|
|
245
244
|
**/
|
|
246
|
-
pendingRewards: GenericRuntimeApiMethod<
|
|
245
|
+
pendingRewards: GenericRuntimeApiMethod<(who: AccountId32Like) => Promise<bigint>>;
|
|
247
246
|
|
|
248
247
|
/**
|
|
249
248
|
* Returns the equivalent balance of `points` for a given pool.
|
|
@@ -252,7 +251,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
252
251
|
* @param {number} pool_id
|
|
253
252
|
* @param {bigint} points
|
|
254
253
|
**/
|
|
255
|
-
pointsToBalance: GenericRuntimeApiMethod<
|
|
254
|
+
pointsToBalance: GenericRuntimeApiMethod<(poolId: number, points: bigint) => Promise<bigint>>;
|
|
256
255
|
|
|
257
256
|
/**
|
|
258
257
|
* Returns the equivalent points of `new_funds` for a given pool.
|
|
@@ -261,7 +260,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
261
260
|
* @param {number} pool_id
|
|
262
261
|
* @param {bigint} new_funds
|
|
263
262
|
**/
|
|
264
|
-
balanceToPoints: GenericRuntimeApiMethod<
|
|
263
|
+
balanceToPoints: GenericRuntimeApiMethod<(poolId: number, newFunds: bigint) => Promise<bigint>>;
|
|
265
264
|
|
|
266
265
|
/**
|
|
267
266
|
* Returns the pending slash for a given pool.
|
|
@@ -269,7 +268,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
269
268
|
* @callname: NominationPoolsApi_pool_pending_slash
|
|
270
269
|
* @param {number} pool_id
|
|
271
270
|
**/
|
|
272
|
-
poolPendingSlash: GenericRuntimeApiMethod<
|
|
271
|
+
poolPendingSlash: GenericRuntimeApiMethod<(poolId: number) => Promise<bigint>>;
|
|
273
272
|
|
|
274
273
|
/**
|
|
275
274
|
* Returns the pending slash for a given pool member.
|
|
@@ -280,7 +279,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
280
279
|
* @callname: NominationPoolsApi_member_pending_slash
|
|
281
280
|
* @param {AccountId32Like} member
|
|
282
281
|
**/
|
|
283
|
-
memberPendingSlash: GenericRuntimeApiMethod<
|
|
282
|
+
memberPendingSlash: GenericRuntimeApiMethod<(member: AccountId32Like) => Promise<bigint>>;
|
|
284
283
|
|
|
285
284
|
/**
|
|
286
285
|
* Returns true if the pool with `pool_id` needs migration.
|
|
@@ -295,7 +294,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
295
294
|
* @callname: NominationPoolsApi_pool_needs_delegate_migration
|
|
296
295
|
* @param {number} pool_id
|
|
297
296
|
**/
|
|
298
|
-
poolNeedsDelegateMigration: GenericRuntimeApiMethod<
|
|
297
|
+
poolNeedsDelegateMigration: GenericRuntimeApiMethod<(poolId: number) => Promise<boolean>>;
|
|
299
298
|
|
|
300
299
|
/**
|
|
301
300
|
* Returns true if the delegated funds of the pool `member` needs migration.
|
|
@@ -309,7 +308,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
309
308
|
* @callname: NominationPoolsApi_member_needs_delegate_migration
|
|
310
309
|
* @param {AccountId32Like} member
|
|
311
310
|
**/
|
|
312
|
-
memberNeedsDelegateMigration: GenericRuntimeApiMethod<
|
|
311
|
+
memberNeedsDelegateMigration: GenericRuntimeApiMethod<(member: AccountId32Like) => Promise<boolean>>;
|
|
313
312
|
|
|
314
313
|
/**
|
|
315
314
|
* Returns the total contribution of a pool member including any balance that is unbonding.
|
|
@@ -317,7 +316,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
317
316
|
* @callname: NominationPoolsApi_member_total_balance
|
|
318
317
|
* @param {AccountId32Like} who
|
|
319
318
|
**/
|
|
320
|
-
memberTotalBalance: GenericRuntimeApiMethod<
|
|
319
|
+
memberTotalBalance: GenericRuntimeApiMethod<(who: AccountId32Like) => Promise<bigint>>;
|
|
321
320
|
|
|
322
321
|
/**
|
|
323
322
|
* Total balance contributed to the pool.
|
|
@@ -325,7 +324,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
325
324
|
* @callname: NominationPoolsApi_pool_balance
|
|
326
325
|
* @param {number} pool_id
|
|
327
326
|
**/
|
|
328
|
-
poolBalance: GenericRuntimeApiMethod<
|
|
327
|
+
poolBalance: GenericRuntimeApiMethod<(poolId: number) => Promise<bigint>>;
|
|
329
328
|
|
|
330
329
|
/**
|
|
331
330
|
* Returns the bonded account and reward account associated with the pool_id.
|
|
@@ -333,12 +332,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
333
332
|
* @callname: NominationPoolsApi_pool_accounts
|
|
334
333
|
* @param {number} pool_id
|
|
335
334
|
**/
|
|
336
|
-
poolAccounts: GenericRuntimeApiMethod<
|
|
335
|
+
poolAccounts: GenericRuntimeApiMethod<(poolId: number) => Promise<[AccountId32, AccountId32]>>;
|
|
337
336
|
|
|
338
337
|
/**
|
|
339
338
|
* Generic runtime api call
|
|
340
339
|
**/
|
|
341
|
-
[method: string]: GenericRuntimeApiMethod
|
|
340
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
342
341
|
};
|
|
343
342
|
/**
|
|
344
343
|
* @runtimeapi: StakingApi - 0x18ef58a3b67ba770
|
|
@@ -350,7 +349,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
350
349
|
* @callname: StakingApi_nominations_quota
|
|
351
350
|
* @param {bigint} balance
|
|
352
351
|
**/
|
|
353
|
-
nominationsQuota: GenericRuntimeApiMethod<
|
|
352
|
+
nominationsQuota: GenericRuntimeApiMethod<(balance: bigint) => Promise<number>>;
|
|
354
353
|
|
|
355
354
|
/**
|
|
356
355
|
* Returns the page count of exposures for a validator `account` in a given era.
|
|
@@ -359,7 +358,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
359
358
|
* @param {number} era
|
|
360
359
|
* @param {AccountId32Like} account
|
|
361
360
|
**/
|
|
362
|
-
erasStakersPageCount: GenericRuntimeApiMethod<
|
|
361
|
+
erasStakersPageCount: GenericRuntimeApiMethod<(era: number, account: AccountId32Like) => Promise<number>>;
|
|
363
362
|
|
|
364
363
|
/**
|
|
365
364
|
* Returns true if validator `account` has pages to be claimed for the given era.
|
|
@@ -368,12 +367,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
368
367
|
* @param {number} era
|
|
369
368
|
* @param {AccountId32Like} account
|
|
370
369
|
**/
|
|
371
|
-
pendingRewards: GenericRuntimeApiMethod<
|
|
370
|
+
pendingRewards: GenericRuntimeApiMethod<(era: number, account: AccountId32Like) => Promise<boolean>>;
|
|
372
371
|
|
|
373
372
|
/**
|
|
374
373
|
* Generic runtime api call
|
|
375
374
|
**/
|
|
376
|
-
[method: string]: GenericRuntimeApiMethod
|
|
375
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
377
376
|
};
|
|
378
377
|
/**
|
|
379
378
|
* @runtimeapi: TaggedTransactionQueue - 0xd2bc9897eed08f15
|
|
@@ -396,7 +395,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
396
395
|
* @param {H256} block_hash
|
|
397
396
|
**/
|
|
398
397
|
validateTransaction: GenericRuntimeApiMethod<
|
|
399
|
-
Rv,
|
|
400
398
|
(
|
|
401
399
|
source: SpRuntimeTransactionValidityTransactionSource,
|
|
402
400
|
tx: UncheckedExtrinsicLike,
|
|
@@ -409,7 +407,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
409
407
|
/**
|
|
410
408
|
* Generic runtime api call
|
|
411
409
|
**/
|
|
412
|
-
[method: string]: GenericRuntimeApiMethod
|
|
410
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
413
411
|
};
|
|
414
412
|
/**
|
|
415
413
|
* @runtimeapi: OffchainWorkerApi - 0xf78b278be53f454c
|
|
@@ -421,12 +419,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
421
419
|
* @callname: OffchainWorkerApi_offchain_worker
|
|
422
420
|
* @param {Header} header
|
|
423
421
|
**/
|
|
424
|
-
offchainWorker: GenericRuntimeApiMethod<
|
|
422
|
+
offchainWorker: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
|
|
425
423
|
|
|
426
424
|
/**
|
|
427
425
|
* Generic runtime api call
|
|
428
426
|
**/
|
|
429
|
-
[method: string]: GenericRuntimeApiMethod
|
|
427
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
430
428
|
};
|
|
431
429
|
/**
|
|
432
430
|
* @runtimeapi: ParachainHost - 0xaf2c0297a23e6d3d
|
|
@@ -437,7 +435,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
437
435
|
*
|
|
438
436
|
* @callname: ParachainHost_validators
|
|
439
437
|
**/
|
|
440
|
-
validators: GenericRuntimeApiMethod<
|
|
438
|
+
validators: GenericRuntimeApiMethod<() => Promise<Array<PolkadotPrimitivesV8ValidatorAppPublic>>>;
|
|
441
439
|
|
|
442
440
|
/**
|
|
443
441
|
* Returns the validator groups and rotation info localized based on the hypothetical child
|
|
@@ -447,7 +445,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
447
445
|
* @callname: ParachainHost_validator_groups
|
|
448
446
|
**/
|
|
449
447
|
validatorGroups: GenericRuntimeApiMethod<
|
|
450
|
-
Rv,
|
|
451
448
|
() => Promise<[Array<Array<PolkadotPrimitivesV8ValidatorIndex>>, PolkadotPrimitivesV8GroupRotationInfo]>
|
|
452
449
|
>;
|
|
453
450
|
|
|
@@ -457,7 +454,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
457
454
|
*
|
|
458
455
|
* @callname: ParachainHost_availability_cores
|
|
459
456
|
**/
|
|
460
|
-
availabilityCores: GenericRuntimeApiMethod<
|
|
457
|
+
availabilityCores: GenericRuntimeApiMethod<() => Promise<Array<PolkadotPrimitivesVstagingCoreState>>>;
|
|
461
458
|
|
|
462
459
|
/**
|
|
463
460
|
* Yields the persisted validation data for the given `ParaId` along with an assumption that
|
|
@@ -471,7 +468,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
471
468
|
* @param {PolkadotPrimitivesV8OccupiedCoreAssumption} assumption
|
|
472
469
|
**/
|
|
473
470
|
persistedValidationData: GenericRuntimeApiMethod<
|
|
474
|
-
Rv,
|
|
475
471
|
(
|
|
476
472
|
paraId: PolkadotParachainPrimitivesPrimitivesId,
|
|
477
473
|
assumption: PolkadotPrimitivesV8OccupiedCoreAssumption,
|
|
@@ -488,7 +484,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
488
484
|
* @param {H256} expected_persisted_validation_data_hash
|
|
489
485
|
**/
|
|
490
486
|
assumedValidationData: GenericRuntimeApiMethod<
|
|
491
|
-
Rv,
|
|
492
487
|
(
|
|
493
488
|
paraId: PolkadotParachainPrimitivesPrimitivesId,
|
|
494
489
|
expectedPersistedValidationDataHash: H256,
|
|
@@ -506,7 +501,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
506
501
|
* @param {PolkadotPrimitivesV8CandidateCommitments} outputs
|
|
507
502
|
**/
|
|
508
503
|
checkValidationOutputs: GenericRuntimeApiMethod<
|
|
509
|
-
Rv,
|
|
510
504
|
(
|
|
511
505
|
paraId: PolkadotParachainPrimitivesPrimitivesId,
|
|
512
506
|
outputs: PolkadotPrimitivesV8CandidateCommitments,
|
|
@@ -520,7 +514,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
520
514
|
*
|
|
521
515
|
* @callname: ParachainHost_session_index_for_child
|
|
522
516
|
**/
|
|
523
|
-
sessionIndexForChild: GenericRuntimeApiMethod<
|
|
517
|
+
sessionIndexForChild: GenericRuntimeApiMethod<() => Promise<number>>;
|
|
524
518
|
|
|
525
519
|
/**
|
|
526
520
|
* Fetch the validation code used by a para, making the given `OccupiedCoreAssumption`.
|
|
@@ -533,7 +527,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
533
527
|
* @param {PolkadotPrimitivesV8OccupiedCoreAssumption} assumption
|
|
534
528
|
**/
|
|
535
529
|
validationCode: GenericRuntimeApiMethod<
|
|
536
|
-
Rv,
|
|
537
530
|
(
|
|
538
531
|
paraId: PolkadotParachainPrimitivesPrimitivesId,
|
|
539
532
|
assumption: PolkadotPrimitivesV8OccupiedCoreAssumption,
|
|
@@ -548,7 +541,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
548
541
|
* @param {PolkadotParachainPrimitivesPrimitivesId} para_id
|
|
549
542
|
**/
|
|
550
543
|
candidatePendingAvailability: GenericRuntimeApiMethod<
|
|
551
|
-
Rv,
|
|
552
544
|
(
|
|
553
545
|
paraId: PolkadotParachainPrimitivesPrimitivesId,
|
|
554
546
|
) => Promise<PolkadotPrimitivesVstagingCommittedCandidateReceiptV2 | undefined>
|
|
@@ -559,7 +551,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
559
551
|
*
|
|
560
552
|
* @callname: ParachainHost_candidate_events
|
|
561
553
|
**/
|
|
562
|
-
candidateEvents: GenericRuntimeApiMethod<
|
|
554
|
+
candidateEvents: GenericRuntimeApiMethod<() => Promise<Array<PolkadotPrimitivesVstagingCandidateEvent>>>;
|
|
563
555
|
|
|
564
556
|
/**
|
|
565
557
|
* Get all the pending inbound messages in the downward message queue for a para.
|
|
@@ -568,7 +560,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
568
560
|
* @param {PolkadotParachainPrimitivesPrimitivesId} recipient
|
|
569
561
|
**/
|
|
570
562
|
dmqContents: GenericRuntimeApiMethod<
|
|
571
|
-
Rv,
|
|
572
563
|
(
|
|
573
564
|
recipient: PolkadotParachainPrimitivesPrimitivesId,
|
|
574
565
|
) => Promise<Array<PolkadotCorePrimitivesInboundDownwardMessage>>
|
|
@@ -582,7 +573,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
582
573
|
* @param {PolkadotParachainPrimitivesPrimitivesId} recipient
|
|
583
574
|
**/
|
|
584
575
|
inboundHrmpChannelsContents: GenericRuntimeApiMethod<
|
|
585
|
-
Rv,
|
|
586
576
|
(
|
|
587
577
|
recipient: PolkadotParachainPrimitivesPrimitivesId,
|
|
588
578
|
) => Promise<Array<[PolkadotParachainPrimitivesPrimitivesId, Array<PolkadotCorePrimitivesInboundHrmpMessage>]>>
|
|
@@ -595,7 +585,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
595
585
|
* @param {PolkadotParachainPrimitivesPrimitivesValidationCodeHash} hash
|
|
596
586
|
**/
|
|
597
587
|
validationCodeByHash: GenericRuntimeApiMethod<
|
|
598
|
-
Rv,
|
|
599
588
|
(
|
|
600
589
|
hash: PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
|
|
601
590
|
) => Promise<PolkadotParachainPrimitivesPrimitivesValidationCode | undefined>
|
|
@@ -606,7 +595,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
606
595
|
*
|
|
607
596
|
* @callname: ParachainHost_on_chain_votes
|
|
608
597
|
**/
|
|
609
|
-
onChainVotes: GenericRuntimeApiMethod<
|
|
598
|
+
onChainVotes: GenericRuntimeApiMethod<() => Promise<PolkadotPrimitivesVstagingScrapedOnChainVotes | undefined>>;
|
|
610
599
|
|
|
611
600
|
/**
|
|
612
601
|
* Get the session info for the given session, if stored.
|
|
@@ -616,7 +605,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
616
605
|
* @callname: ParachainHost_session_info
|
|
617
606
|
* @param {number} index
|
|
618
607
|
**/
|
|
619
|
-
sessionInfo: GenericRuntimeApiMethod<
|
|
608
|
+
sessionInfo: GenericRuntimeApiMethod<(index: number) => Promise<PolkadotPrimitivesV8SessionInfo | undefined>>;
|
|
620
609
|
|
|
621
610
|
/**
|
|
622
611
|
* Submits a PVF pre-checking statement into the transaction pool.
|
|
@@ -628,7 +617,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
628
617
|
* @param {PolkadotPrimitivesV8ValidatorAppSignature} signature
|
|
629
618
|
**/
|
|
630
619
|
submitPvfCheckStatement: GenericRuntimeApiMethod<
|
|
631
|
-
Rv,
|
|
632
620
|
(stmt: PolkadotPrimitivesV8PvfCheckStatement, signature: PolkadotPrimitivesV8ValidatorAppSignature) => Promise<[]>
|
|
633
621
|
>;
|
|
634
622
|
|
|
@@ -640,7 +628,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
640
628
|
* @callname: ParachainHost_pvfs_require_precheck
|
|
641
629
|
**/
|
|
642
630
|
pvfsRequirePrecheck: GenericRuntimeApiMethod<
|
|
643
|
-
Rv,
|
|
644
631
|
() => Promise<Array<PolkadotParachainPrimitivesPrimitivesValidationCodeHash>>
|
|
645
632
|
>;
|
|
646
633
|
|
|
@@ -654,7 +641,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
654
641
|
* @param {PolkadotPrimitivesV8OccupiedCoreAssumption} assumption
|
|
655
642
|
**/
|
|
656
643
|
validationCodeHash: GenericRuntimeApiMethod<
|
|
657
|
-
Rv,
|
|
658
644
|
(
|
|
659
645
|
paraId: PolkadotParachainPrimitivesPrimitivesId,
|
|
660
646
|
assumption: PolkadotPrimitivesV8OccupiedCoreAssumption,
|
|
@@ -667,7 +653,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
667
653
|
* @callname: ParachainHost_disputes
|
|
668
654
|
**/
|
|
669
655
|
disputes: GenericRuntimeApiMethod<
|
|
670
|
-
Rv,
|
|
671
656
|
() => Promise<Array<[number, PolkadotCorePrimitivesCandidateHash, PolkadotPrimitivesV8DisputeState]>>
|
|
672
657
|
>;
|
|
673
658
|
|
|
@@ -678,7 +663,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
678
663
|
* @param {number} session_index
|
|
679
664
|
**/
|
|
680
665
|
sessionExecutorParams: GenericRuntimeApiMethod<
|
|
681
|
-
Rv,
|
|
682
666
|
(sessionIndex: number) => Promise<PolkadotPrimitivesV8ExecutorParams | undefined>
|
|
683
667
|
>;
|
|
684
668
|
|
|
@@ -689,7 +673,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
689
673
|
* @callname: ParachainHost_unapplied_slashes
|
|
690
674
|
**/
|
|
691
675
|
unappliedSlashes: GenericRuntimeApiMethod<
|
|
692
|
-
Rv,
|
|
693
676
|
() => Promise<Array<[number, PolkadotCorePrimitivesCandidateHash, PolkadotPrimitivesV8SlashingPendingSlashes]>>
|
|
694
677
|
>;
|
|
695
678
|
|
|
@@ -701,7 +684,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
701
684
|
* @param {PolkadotPrimitivesV8ValidatorAppPublic} validator_id
|
|
702
685
|
**/
|
|
703
686
|
keyOwnershipProof: GenericRuntimeApiMethod<
|
|
704
|
-
Rv,
|
|
705
687
|
(
|
|
706
688
|
validatorId: PolkadotPrimitivesV8ValidatorAppPublic,
|
|
707
689
|
) => Promise<PolkadotPrimitivesV8SlashingOpaqueKeyOwnershipProof | undefined>
|
|
@@ -717,7 +699,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
717
699
|
* @param {PolkadotPrimitivesV8SlashingOpaqueKeyOwnershipProof} key_ownership_proof
|
|
718
700
|
**/
|
|
719
701
|
submitReportDisputeLost: GenericRuntimeApiMethod<
|
|
720
|
-
Rv,
|
|
721
702
|
(
|
|
722
703
|
disputeProof: PolkadotPrimitivesV8SlashingDisputeProof,
|
|
723
704
|
keyOwnershipProof: PolkadotPrimitivesV8SlashingOpaqueKeyOwnershipProof,
|
|
@@ -730,7 +711,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
730
711
|
*
|
|
731
712
|
* @callname: ParachainHost_minimum_backing_votes
|
|
732
713
|
**/
|
|
733
|
-
minimumBackingVotes: GenericRuntimeApiMethod<
|
|
714
|
+
minimumBackingVotes: GenericRuntimeApiMethod<() => Promise<number>>;
|
|
734
715
|
|
|
735
716
|
/**
|
|
736
717
|
* Returns the state of parachain backing for a given para.
|
|
@@ -739,7 +720,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
739
720
|
* @param {PolkadotParachainPrimitivesPrimitivesId} __runtime_api_generated_name_0__
|
|
740
721
|
**/
|
|
741
722
|
paraBackingState: GenericRuntimeApiMethod<
|
|
742
|
-
Rv,
|
|
743
723
|
(
|
|
744
724
|
runtimeApiGeneratedName0: PolkadotParachainPrimitivesPrimitivesId,
|
|
745
725
|
) => Promise<PolkadotPrimitivesVstagingAsyncBackingBackingState | undefined>
|
|
@@ -750,14 +730,14 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
750
730
|
*
|
|
751
731
|
* @callname: ParachainHost_async_backing_params
|
|
752
732
|
**/
|
|
753
|
-
asyncBackingParams: GenericRuntimeApiMethod<
|
|
733
|
+
asyncBackingParams: GenericRuntimeApiMethod<() => Promise<PolkadotPrimitivesV8AsyncBackingAsyncBackingParams>>;
|
|
754
734
|
|
|
755
735
|
/**
|
|
756
736
|
* Returns a list of all disabled validators at the given block.
|
|
757
737
|
*
|
|
758
738
|
* @callname: ParachainHost_disabled_validators
|
|
759
739
|
**/
|
|
760
|
-
disabledValidators: GenericRuntimeApiMethod<
|
|
740
|
+
disabledValidators: GenericRuntimeApiMethod<() => Promise<Array<PolkadotPrimitivesV8ValidatorIndex>>>;
|
|
761
741
|
|
|
762
742
|
/**
|
|
763
743
|
* Get node features.
|
|
@@ -765,14 +745,14 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
765
745
|
*
|
|
766
746
|
* @callname: ParachainHost_node_features
|
|
767
747
|
**/
|
|
768
|
-
nodeFeatures: GenericRuntimeApiMethod<
|
|
748
|
+
nodeFeatures: GenericRuntimeApiMethod<() => Promise<BitSequence>>;
|
|
769
749
|
|
|
770
750
|
/**
|
|
771
751
|
* Approval voting configuration parameters
|
|
772
752
|
*
|
|
773
753
|
* @callname: ParachainHost_approval_voting_params
|
|
774
754
|
**/
|
|
775
|
-
approvalVotingParams: GenericRuntimeApiMethod<
|
|
755
|
+
approvalVotingParams: GenericRuntimeApiMethod<() => Promise<PolkadotPrimitivesV8ApprovalVotingParams>>;
|
|
776
756
|
|
|
777
757
|
/**
|
|
778
758
|
* Claim queue
|
|
@@ -780,7 +760,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
780
760
|
* @callname: ParachainHost_claim_queue
|
|
781
761
|
**/
|
|
782
762
|
claimQueue: GenericRuntimeApiMethod<
|
|
783
|
-
Rv,
|
|
784
763
|
() => Promise<Array<[PolkadotPrimitivesV8CoreIndex, Array<PolkadotParachainPrimitivesPrimitivesId>]>>
|
|
785
764
|
>;
|
|
786
765
|
|
|
@@ -791,7 +770,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
791
770
|
* @param {PolkadotParachainPrimitivesPrimitivesId} para_id
|
|
792
771
|
**/
|
|
793
772
|
candidatesPendingAvailability: GenericRuntimeApiMethod<
|
|
794
|
-
Rv,
|
|
795
773
|
(
|
|
796
774
|
paraId: PolkadotParachainPrimitivesPrimitivesId,
|
|
797
775
|
) => Promise<Array<PolkadotPrimitivesVstagingCommittedCandidateReceiptV2>>
|
|
@@ -802,7 +780,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
802
780
|
*
|
|
803
781
|
* @callname: ParachainHost_validation_code_bomb_limit
|
|
804
782
|
**/
|
|
805
|
-
validationCodeBombLimit: GenericRuntimeApiMethod<
|
|
783
|
+
validationCodeBombLimit: GenericRuntimeApiMethod<() => Promise<number>>;
|
|
806
784
|
|
|
807
785
|
/**
|
|
808
786
|
* Returns the constraints on the actions that can be taken by a new parachain
|
|
@@ -812,7 +790,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
812
790
|
* @param {PolkadotParachainPrimitivesPrimitivesId} para_id
|
|
813
791
|
**/
|
|
814
792
|
backingConstraints: GenericRuntimeApiMethod<
|
|
815
|
-
Rv,
|
|
816
793
|
(
|
|
817
794
|
paraId: PolkadotParachainPrimitivesPrimitivesId,
|
|
818
795
|
) => Promise<PolkadotPrimitivesVstagingAsyncBackingConstraints | undefined>
|
|
@@ -823,12 +800,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
823
800
|
*
|
|
824
801
|
* @callname: ParachainHost_scheduling_lookahead
|
|
825
802
|
**/
|
|
826
|
-
schedulingLookahead: GenericRuntimeApiMethod<
|
|
803
|
+
schedulingLookahead: GenericRuntimeApiMethod<() => Promise<number>>;
|
|
827
804
|
|
|
828
805
|
/**
|
|
829
806
|
* Generic runtime api call
|
|
830
807
|
**/
|
|
831
|
-
[method: string]: GenericRuntimeApiMethod
|
|
808
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
832
809
|
};
|
|
833
810
|
/**
|
|
834
811
|
* @runtimeapi: BeefyApi - 0x49eaaf1b548a0cb0
|
|
@@ -839,14 +816,14 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
839
816
|
*
|
|
840
817
|
* @callname: BeefyApi_beefy_genesis
|
|
841
818
|
**/
|
|
842
|
-
beefyGenesis: GenericRuntimeApiMethod<
|
|
819
|
+
beefyGenesis: GenericRuntimeApiMethod<() => Promise<number | undefined>>;
|
|
843
820
|
|
|
844
821
|
/**
|
|
845
822
|
* Return the current active BEEFY validator set
|
|
846
823
|
*
|
|
847
824
|
* @callname: BeefyApi_validator_set
|
|
848
825
|
**/
|
|
849
|
-
validatorSet: GenericRuntimeApiMethod<
|
|
826
|
+
validatorSet: GenericRuntimeApiMethod<() => Promise<SpConsensusBeefyValidatorSet | undefined>>;
|
|
850
827
|
|
|
851
828
|
/**
|
|
852
829
|
* Submits an unsigned extrinsic to report a double voting equivocation. The caller
|
|
@@ -863,7 +840,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
863
840
|
* @param {SpRuntimeOpaqueValue} key_owner_proof
|
|
864
841
|
**/
|
|
865
842
|
submitReportDoubleVotingUnsignedExtrinsic: GenericRuntimeApiMethod<
|
|
866
|
-
Rv,
|
|
867
843
|
(
|
|
868
844
|
equivocationProof: SpConsensusBeefyDoubleVotingProof,
|
|
869
845
|
keyOwnerProof: SpRuntimeOpaqueValue,
|
|
@@ -885,7 +861,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
885
861
|
* @param {SpRuntimeOpaqueValue} key_owner_proof
|
|
886
862
|
**/
|
|
887
863
|
submitReportForkVotingUnsignedExtrinsic: GenericRuntimeApiMethod<
|
|
888
|
-
Rv,
|
|
889
864
|
(
|
|
890
865
|
equivocationProof: SpConsensusBeefyForkVotingProofOpaqueValue,
|
|
891
866
|
keyOwnerProof: SpRuntimeOpaqueValue,
|
|
@@ -907,7 +882,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
907
882
|
* @param {SpRuntimeOpaqueValue} key_owner_proof
|
|
908
883
|
**/
|
|
909
884
|
submitReportFutureBlockVotingUnsignedExtrinsic: GenericRuntimeApiMethod<
|
|
910
|
-
Rv,
|
|
911
885
|
(
|
|
912
886
|
equivocationProof: SpConsensusBeefyFutureBlockVotingProof,
|
|
913
887
|
keyOwnerProof: SpRuntimeOpaqueValue,
|
|
@@ -932,7 +906,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
932
906
|
* @param {SpConsensusBeefyEcdsaCryptoPublic} authority_id
|
|
933
907
|
**/
|
|
934
908
|
generateKeyOwnershipProof: GenericRuntimeApiMethod<
|
|
935
|
-
Rv,
|
|
936
909
|
(setId: bigint, authorityId: SpConsensusBeefyEcdsaCryptoPublic) => Promise<SpRuntimeOpaqueValue | undefined>
|
|
937
910
|
>;
|
|
938
911
|
|
|
@@ -945,14 +918,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
945
918
|
* @param {number | undefined} best_known_block_number
|
|
946
919
|
**/
|
|
947
920
|
generateAncestryProof: GenericRuntimeApiMethod<
|
|
948
|
-
Rv,
|
|
949
921
|
(prevBlockNumber: number, bestKnownBlockNumber?: number | undefined) => Promise<SpRuntimeOpaqueValue | undefined>
|
|
950
922
|
>;
|
|
951
923
|
|
|
952
924
|
/**
|
|
953
925
|
* Generic runtime api call
|
|
954
926
|
**/
|
|
955
|
-
[method: string]: GenericRuntimeApiMethod
|
|
927
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
956
928
|
};
|
|
957
929
|
/**
|
|
958
930
|
* @runtimeapi: MmrApi - 0x91d5df18b0d2cf58
|
|
@@ -963,14 +935,14 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
963
935
|
*
|
|
964
936
|
* @callname: MmrApi_mmr_root
|
|
965
937
|
**/
|
|
966
|
-
mmrRoot: GenericRuntimeApiMethod<
|
|
938
|
+
mmrRoot: GenericRuntimeApiMethod<() => Promise<Result<H256, SpMmrPrimitivesError>>>;
|
|
967
939
|
|
|
968
940
|
/**
|
|
969
941
|
* Return the number of MMR blocks in the chain.
|
|
970
942
|
*
|
|
971
943
|
* @callname: MmrApi_mmr_leaf_count
|
|
972
944
|
**/
|
|
973
|
-
mmrLeafCount: GenericRuntimeApiMethod<
|
|
945
|
+
mmrLeafCount: GenericRuntimeApiMethod<() => Promise<Result<bigint, SpMmrPrimitivesError>>>;
|
|
974
946
|
|
|
975
947
|
/**
|
|
976
948
|
* Generate MMR proof for a series of block numbers. If `best_known_block_number = Some(n)`,
|
|
@@ -981,7 +953,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
981
953
|
* @param {number | undefined} best_known_block_number
|
|
982
954
|
**/
|
|
983
955
|
generateProof: GenericRuntimeApiMethod<
|
|
984
|
-
Rv,
|
|
985
956
|
(
|
|
986
957
|
blockNumbers: Array<number>,
|
|
987
958
|
bestKnownBlockNumber?: number | undefined,
|
|
@@ -1000,7 +971,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1000
971
|
* @param {SpMmrPrimitivesLeafProof} proof
|
|
1001
972
|
**/
|
|
1002
973
|
verifyProof: GenericRuntimeApiMethod<
|
|
1003
|
-
Rv,
|
|
1004
974
|
(
|
|
1005
975
|
leaves: Array<SpMmrPrimitivesEncodableOpaqueLeaf>,
|
|
1006
976
|
proof: SpMmrPrimitivesLeafProof,
|
|
@@ -1022,7 +992,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1022
992
|
* @param {SpMmrPrimitivesLeafProof} proof
|
|
1023
993
|
**/
|
|
1024
994
|
verifyProofStateless: GenericRuntimeApiMethod<
|
|
1025
|
-
Rv,
|
|
1026
995
|
(
|
|
1027
996
|
root: H256,
|
|
1028
997
|
leaves: Array<SpMmrPrimitivesEncodableOpaqueLeaf>,
|
|
@@ -1033,7 +1002,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1033
1002
|
/**
|
|
1034
1003
|
* Generic runtime api call
|
|
1035
1004
|
**/
|
|
1036
|
-
[method: string]: GenericRuntimeApiMethod
|
|
1005
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
1037
1006
|
};
|
|
1038
1007
|
/**
|
|
1039
1008
|
* @runtimeapi: BeefyMmrApi - 0x2a5e924655399e60
|
|
@@ -1044,19 +1013,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1044
1013
|
*
|
|
1045
1014
|
* @callname: BeefyMmrApi_authority_set_proof
|
|
1046
1015
|
**/
|
|
1047
|
-
authoritySetProof: GenericRuntimeApiMethod<
|
|
1016
|
+
authoritySetProof: GenericRuntimeApiMethod<() => Promise<SpConsensusBeefyMmrBeefyAuthoritySet>>;
|
|
1048
1017
|
|
|
1049
1018
|
/**
|
|
1050
1019
|
* Return the next/queued BEEFY authority set proof.
|
|
1051
1020
|
*
|
|
1052
1021
|
* @callname: BeefyMmrApi_next_authority_set_proof
|
|
1053
1022
|
**/
|
|
1054
|
-
nextAuthoritySetProof: GenericRuntimeApiMethod<
|
|
1023
|
+
nextAuthoritySetProof: GenericRuntimeApiMethod<() => Promise<SpConsensusBeefyMmrBeefyAuthoritySet>>;
|
|
1055
1024
|
|
|
1056
1025
|
/**
|
|
1057
1026
|
* Generic runtime api call
|
|
1058
1027
|
**/
|
|
1059
|
-
[method: string]: GenericRuntimeApiMethod
|
|
1028
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
1060
1029
|
};
|
|
1061
1030
|
/**
|
|
1062
1031
|
* @runtimeapi: GrandpaApi - 0xed99c5acb25eedf5
|
|
@@ -1072,7 +1041,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1072
1041
|
*
|
|
1073
1042
|
* @callname: GrandpaApi_grandpa_authorities
|
|
1074
1043
|
**/
|
|
1075
|
-
grandpaAuthorities: GenericRuntimeApiMethod<
|
|
1044
|
+
grandpaAuthorities: GenericRuntimeApiMethod<() => Promise<Array<[SpConsensusGrandpaAppPublic, bigint]>>>;
|
|
1076
1045
|
|
|
1077
1046
|
/**
|
|
1078
1047
|
* Submits an unsigned extrinsic to report an equivocation. The caller
|
|
@@ -1089,7 +1058,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1089
1058
|
* @param {SpRuntimeOpaqueValue} key_owner_proof
|
|
1090
1059
|
**/
|
|
1091
1060
|
submitReportEquivocationUnsignedExtrinsic: GenericRuntimeApiMethod<
|
|
1092
|
-
Rv,
|
|
1093
1061
|
(
|
|
1094
1062
|
equivocationProof: SpConsensusGrandpaEquivocationProof,
|
|
1095
1063
|
keyOwnerProof: SpRuntimeOpaqueValue,
|
|
@@ -1114,7 +1082,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1114
1082
|
* @param {SpConsensusGrandpaAppPublic} authority_id
|
|
1115
1083
|
**/
|
|
1116
1084
|
generateKeyOwnershipProof: GenericRuntimeApiMethod<
|
|
1117
|
-
Rv,
|
|
1118
1085
|
(setId: bigint, authorityId: SpConsensusGrandpaAppPublic) => Promise<SpRuntimeOpaqueValue | undefined>
|
|
1119
1086
|
>;
|
|
1120
1087
|
|
|
@@ -1123,12 +1090,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1123
1090
|
*
|
|
1124
1091
|
* @callname: GrandpaApi_current_set_id
|
|
1125
1092
|
**/
|
|
1126
|
-
currentSetId: GenericRuntimeApiMethod<
|
|
1093
|
+
currentSetId: GenericRuntimeApiMethod<() => Promise<bigint>>;
|
|
1127
1094
|
|
|
1128
1095
|
/**
|
|
1129
1096
|
* Generic runtime api call
|
|
1130
1097
|
**/
|
|
1131
|
-
[method: string]: GenericRuntimeApiMethod
|
|
1098
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
1132
1099
|
};
|
|
1133
1100
|
/**
|
|
1134
1101
|
* @runtimeapi: BabeApi - 0xcbca25e39f142387
|
|
@@ -1139,21 +1106,21 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1139
1106
|
*
|
|
1140
1107
|
* @callname: BabeApi_configuration
|
|
1141
1108
|
**/
|
|
1142
|
-
configuration: GenericRuntimeApiMethod<
|
|
1109
|
+
configuration: GenericRuntimeApiMethod<() => Promise<SpConsensusBabeBabeConfiguration>>;
|
|
1143
1110
|
|
|
1144
1111
|
/**
|
|
1145
1112
|
* Returns the slot that started the current epoch.
|
|
1146
1113
|
*
|
|
1147
1114
|
* @callname: BabeApi_current_epoch_start
|
|
1148
1115
|
**/
|
|
1149
|
-
currentEpochStart: GenericRuntimeApiMethod<
|
|
1116
|
+
currentEpochStart: GenericRuntimeApiMethod<() => Promise<SpConsensusSlotsSlot>>;
|
|
1150
1117
|
|
|
1151
1118
|
/**
|
|
1152
1119
|
* Returns information regarding the current epoch.
|
|
1153
1120
|
*
|
|
1154
1121
|
* @callname: BabeApi_current_epoch
|
|
1155
1122
|
**/
|
|
1156
|
-
currentEpoch: GenericRuntimeApiMethod<
|
|
1123
|
+
currentEpoch: GenericRuntimeApiMethod<() => Promise<SpConsensusBabeEpoch>>;
|
|
1157
1124
|
|
|
1158
1125
|
/**
|
|
1159
1126
|
* Returns information regarding the next epoch (which was already
|
|
@@ -1161,7 +1128,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1161
1128
|
*
|
|
1162
1129
|
* @callname: BabeApi_next_epoch
|
|
1163
1130
|
**/
|
|
1164
|
-
nextEpoch: GenericRuntimeApiMethod<
|
|
1131
|
+
nextEpoch: GenericRuntimeApiMethod<() => Promise<SpConsensusBabeEpoch>>;
|
|
1165
1132
|
|
|
1166
1133
|
/**
|
|
1167
1134
|
* Generates a proof of key ownership for the given authority in the
|
|
@@ -1181,7 +1148,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1181
1148
|
* @param {SpConsensusBabeAppPublic} authority_id
|
|
1182
1149
|
**/
|
|
1183
1150
|
generateKeyOwnershipProof: GenericRuntimeApiMethod<
|
|
1184
|
-
Rv,
|
|
1185
1151
|
(
|
|
1186
1152
|
slot: SpConsensusSlotsSlot,
|
|
1187
1153
|
authorityId: SpConsensusBabeAppPublic,
|
|
@@ -1203,7 +1169,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1203
1169
|
* @param {SpConsensusBabeOpaqueKeyOwnershipProof} key_owner_proof
|
|
1204
1170
|
**/
|
|
1205
1171
|
submitReportEquivocationUnsignedExtrinsic: GenericRuntimeApiMethod<
|
|
1206
|
-
Rv,
|
|
1207
1172
|
(
|
|
1208
1173
|
equivocationProof: SpConsensusSlotsEquivocationProof,
|
|
1209
1174
|
keyOwnerProof: SpConsensusBabeOpaqueKeyOwnershipProof,
|
|
@@ -1213,7 +1178,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1213
1178
|
/**
|
|
1214
1179
|
* Generic runtime api call
|
|
1215
1180
|
**/
|
|
1216
|
-
[method: string]: GenericRuntimeApiMethod
|
|
1181
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
1217
1182
|
};
|
|
1218
1183
|
/**
|
|
1219
1184
|
* @runtimeapi: AuthorityDiscoveryApi - 0x687ad44ad37f03c2
|
|
@@ -1224,12 +1189,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1224
1189
|
*
|
|
1225
1190
|
* @callname: AuthorityDiscoveryApi_authorities
|
|
1226
1191
|
**/
|
|
1227
|
-
authorities: GenericRuntimeApiMethod<
|
|
1192
|
+
authorities: GenericRuntimeApiMethod<() => Promise<Array<SpAuthorityDiscoveryAppPublic>>>;
|
|
1228
1193
|
|
|
1229
1194
|
/**
|
|
1230
1195
|
* Generic runtime api call
|
|
1231
1196
|
**/
|
|
1232
|
-
[method: string]: GenericRuntimeApiMethod
|
|
1197
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
1233
1198
|
};
|
|
1234
1199
|
/**
|
|
1235
1200
|
* @runtimeapi: SessionKeys - 0xab3c0572291feb8b
|
|
@@ -1247,7 +1212,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1247
1212
|
* @callname: SessionKeys_generate_session_keys
|
|
1248
1213
|
* @param {BytesLike | undefined} seed
|
|
1249
1214
|
**/
|
|
1250
|
-
generateSessionKeys: GenericRuntimeApiMethod<
|
|
1215
|
+
generateSessionKeys: GenericRuntimeApiMethod<(seed?: BytesLike | undefined) => Promise<Bytes>>;
|
|
1251
1216
|
|
|
1252
1217
|
/**
|
|
1253
1218
|
* Decode the given public session keys.
|
|
@@ -1258,14 +1223,36 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1258
1223
|
* @param {BytesLike} encoded
|
|
1259
1224
|
**/
|
|
1260
1225
|
decodeSessionKeys: GenericRuntimeApiMethod<
|
|
1261
|
-
Rv,
|
|
1262
1226
|
(encoded: BytesLike) => Promise<Array<[Bytes, SpCoreCryptoKeyTypeId]> | undefined>
|
|
1263
1227
|
>;
|
|
1264
1228
|
|
|
1265
1229
|
/**
|
|
1266
1230
|
* Generic runtime api call
|
|
1267
1231
|
**/
|
|
1268
|
-
[method: string]: GenericRuntimeApiMethod
|
|
1232
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
1233
|
+
};
|
|
1234
|
+
/**
|
|
1235
|
+
* @runtimeapi: RuntimeViewFunction - 0xccd9de6396c899ca
|
|
1236
|
+
**/
|
|
1237
|
+
runtimeViewFunction: {
|
|
1238
|
+
/**
|
|
1239
|
+
* Execute a view function query.
|
|
1240
|
+
*
|
|
1241
|
+
* @callname: RuntimeViewFunction_execute_view_function
|
|
1242
|
+
* @param {FrameSupportViewFunctionsViewFunctionId} query_id
|
|
1243
|
+
* @param {BytesLike} input
|
|
1244
|
+
**/
|
|
1245
|
+
executeViewFunction: GenericRuntimeApiMethod<
|
|
1246
|
+
(
|
|
1247
|
+
queryId: FrameSupportViewFunctionsViewFunctionId,
|
|
1248
|
+
input: BytesLike,
|
|
1249
|
+
) => Promise<Result<Bytes, FrameSupportViewFunctionsViewFunctionDispatchError>>
|
|
1250
|
+
>;
|
|
1251
|
+
|
|
1252
|
+
/**
|
|
1253
|
+
* Generic runtime api call
|
|
1254
|
+
**/
|
|
1255
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
1269
1256
|
};
|
|
1270
1257
|
/**
|
|
1271
1258
|
* @runtimeapi: AccountNonceApi - 0xbc9d89904f5b923f
|
|
@@ -1277,12 +1264,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1277
1264
|
* @callname: AccountNonceApi_account_nonce
|
|
1278
1265
|
* @param {AccountId32Like} account
|
|
1279
1266
|
**/
|
|
1280
|
-
accountNonce: GenericRuntimeApiMethod<
|
|
1267
|
+
accountNonce: GenericRuntimeApiMethod<(account: AccountId32Like) => Promise<number>>;
|
|
1281
1268
|
|
|
1282
1269
|
/**
|
|
1283
1270
|
* Generic runtime api call
|
|
1284
1271
|
**/
|
|
1285
|
-
[method: string]: GenericRuntimeApiMethod
|
|
1272
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
1286
1273
|
};
|
|
1287
1274
|
/**
|
|
1288
1275
|
* @runtimeapi: TransactionPaymentApi - 0x37c8bb1350a9a2a8
|
|
@@ -1295,7 +1282,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1295
1282
|
* @param {number} len
|
|
1296
1283
|
**/
|
|
1297
1284
|
queryInfo: GenericRuntimeApiMethod<
|
|
1298
|
-
Rv,
|
|
1299
1285
|
(uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
|
|
1300
1286
|
>;
|
|
1301
1287
|
|
|
@@ -1306,7 +1292,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1306
1292
|
* @param {number} len
|
|
1307
1293
|
**/
|
|
1308
1294
|
queryFeeDetails: GenericRuntimeApiMethod<
|
|
1309
|
-
Rv,
|
|
1310
1295
|
(uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>
|
|
1311
1296
|
>;
|
|
1312
1297
|
|
|
@@ -1315,19 +1300,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1315
1300
|
* @callname: TransactionPaymentApi_query_weight_to_fee
|
|
1316
1301
|
* @param {SpWeightsWeightV2Weight} weight
|
|
1317
1302
|
**/
|
|
1318
|
-
queryWeightToFee: GenericRuntimeApiMethod<
|
|
1303
|
+
queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
|
|
1319
1304
|
|
|
1320
1305
|
/**
|
|
1321
1306
|
*
|
|
1322
1307
|
* @callname: TransactionPaymentApi_query_length_to_fee
|
|
1323
1308
|
* @param {number} length
|
|
1324
1309
|
**/
|
|
1325
|
-
queryLengthToFee: GenericRuntimeApiMethod<
|
|
1310
|
+
queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
|
|
1326
1311
|
|
|
1327
1312
|
/**
|
|
1328
1313
|
* Generic runtime api call
|
|
1329
1314
|
**/
|
|
1330
|
-
[method: string]: GenericRuntimeApiMethod
|
|
1315
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
1331
1316
|
};
|
|
1332
1317
|
/**
|
|
1333
1318
|
* @runtimeapi: TransactionPaymentCallApi - 0xf3ff14d5ab527059
|
|
@@ -1341,7 +1326,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1341
1326
|
* @param {number} len
|
|
1342
1327
|
**/
|
|
1343
1328
|
queryCallInfo: GenericRuntimeApiMethod<
|
|
1344
|
-
Rv,
|
|
1345
1329
|
(call: PaseoRuntimeRuntimeCallLike, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
|
|
1346
1330
|
>;
|
|
1347
1331
|
|
|
@@ -1353,7 +1337,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1353
1337
|
* @param {number} len
|
|
1354
1338
|
**/
|
|
1355
1339
|
queryCallFeeDetails: GenericRuntimeApiMethod<
|
|
1356
|
-
Rv,
|
|
1357
1340
|
(call: PaseoRuntimeRuntimeCallLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>
|
|
1358
1341
|
>;
|
|
1359
1342
|
|
|
@@ -1363,7 +1346,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1363
1346
|
* @callname: TransactionPaymentCallApi_query_weight_to_fee
|
|
1364
1347
|
* @param {SpWeightsWeightV2Weight} weight
|
|
1365
1348
|
**/
|
|
1366
|
-
queryWeightToFee: GenericRuntimeApiMethod<
|
|
1349
|
+
queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
|
|
1367
1350
|
|
|
1368
1351
|
/**
|
|
1369
1352
|
* Query the output of the current `LengthToFee` given some input.
|
|
@@ -1371,12 +1354,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1371
1354
|
* @callname: TransactionPaymentCallApi_query_length_to_fee
|
|
1372
1355
|
* @param {number} length
|
|
1373
1356
|
**/
|
|
1374
|
-
queryLengthToFee: GenericRuntimeApiMethod<
|
|
1357
|
+
queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
|
|
1375
1358
|
|
|
1376
1359
|
/**
|
|
1377
1360
|
* Generic runtime api call
|
|
1378
1361
|
**/
|
|
1379
|
-
[method: string]: GenericRuntimeApiMethod
|
|
1362
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
1380
1363
|
};
|
|
1381
1364
|
/**
|
|
1382
1365
|
* @runtimeapi: XcmPaymentApi - 0x6ff52ee858e6c5bd
|
|
@@ -1393,7 +1376,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1393
1376
|
* @param {number} xcm_version
|
|
1394
1377
|
**/
|
|
1395
1378
|
queryAcceptablePaymentAssets: GenericRuntimeApiMethod<
|
|
1396
|
-
Rv,
|
|
1397
1379
|
(xcmVersion: number) => Promise<Result<Array<XcmVersionedAssetId>, XcmRuntimeApisFeesError>>
|
|
1398
1380
|
>;
|
|
1399
1381
|
|
|
@@ -1408,7 +1390,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1408
1390
|
* @param {XcmVersionedXcm} message
|
|
1409
1391
|
**/
|
|
1410
1392
|
queryXcmWeight: GenericRuntimeApiMethod<
|
|
1411
|
-
Rv,
|
|
1412
1393
|
(message: XcmVersionedXcm) => Promise<Result<SpWeightsWeightV2Weight, XcmRuntimeApisFeesError>>
|
|
1413
1394
|
>;
|
|
1414
1395
|
|
|
@@ -1425,7 +1406,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1425
1406
|
* @param {XcmVersionedAssetId} asset
|
|
1426
1407
|
**/
|
|
1427
1408
|
queryWeightToAssetFee: GenericRuntimeApiMethod<
|
|
1428
|
-
Rv,
|
|
1429
1409
|
(weight: SpWeightsWeightV2Weight, asset: XcmVersionedAssetId) => Promise<Result<bigint, XcmRuntimeApisFeesError>>
|
|
1430
1410
|
>;
|
|
1431
1411
|
|
|
@@ -1444,7 +1424,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1444
1424
|
* @param {XcmVersionedXcm} message
|
|
1445
1425
|
**/
|
|
1446
1426
|
queryDeliveryFees: GenericRuntimeApiMethod<
|
|
1447
|
-
Rv,
|
|
1448
1427
|
(
|
|
1449
1428
|
destination: XcmVersionedLocation,
|
|
1450
1429
|
message: XcmVersionedXcm,
|
|
@@ -1454,7 +1433,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1454
1433
|
/**
|
|
1455
1434
|
* Generic runtime api call
|
|
1456
1435
|
**/
|
|
1457
|
-
[method: string]: GenericRuntimeApiMethod
|
|
1436
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
1458
1437
|
};
|
|
1459
1438
|
/**
|
|
1460
1439
|
* @runtimeapi: DryRunApi - 0x91b1c8b16328eb92
|
|
@@ -1469,7 +1448,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1469
1448
|
* @param {number} result_xcms_version
|
|
1470
1449
|
**/
|
|
1471
1450
|
dryRunCall: GenericRuntimeApiMethod<
|
|
1472
|
-
Rv,
|
|
1473
1451
|
(
|
|
1474
1452
|
origin: PaseoRuntimeOriginCaller,
|
|
1475
1453
|
call: PaseoRuntimeRuntimeCallLike,
|
|
@@ -1485,7 +1463,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1485
1463
|
* @param {XcmVersionedXcm} xcm
|
|
1486
1464
|
**/
|
|
1487
1465
|
dryRunXcm: GenericRuntimeApiMethod<
|
|
1488
|
-
Rv,
|
|
1489
1466
|
(
|
|
1490
1467
|
originLocation: XcmVersionedLocation,
|
|
1491
1468
|
xcm: XcmVersionedXcm,
|
|
@@ -1495,7 +1472,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1495
1472
|
/**
|
|
1496
1473
|
* Generic runtime api call
|
|
1497
1474
|
**/
|
|
1498
|
-
[method: string]: GenericRuntimeApiMethod
|
|
1475
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
1499
1476
|
};
|
|
1500
1477
|
/**
|
|
1501
1478
|
* @runtimeapi: LocationToAccountApi - 0x9ffb505aa738d69c
|
|
@@ -1508,14 +1485,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1508
1485
|
* @param {XcmVersionedLocation} location
|
|
1509
1486
|
**/
|
|
1510
1487
|
convertLocation: GenericRuntimeApiMethod<
|
|
1511
|
-
Rv,
|
|
1512
1488
|
(location: XcmVersionedLocation) => Promise<Result<AccountId32, XcmRuntimeApisConversionsError>>
|
|
1513
1489
|
>;
|
|
1514
1490
|
|
|
1515
1491
|
/**
|
|
1516
1492
|
* Generic runtime api call
|
|
1517
1493
|
**/
|
|
1518
|
-
[method: string]: GenericRuntimeApiMethod
|
|
1494
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
1519
1495
|
};
|
|
1520
1496
|
/**
|
|
1521
1497
|
* @runtimeapi: GenesisBuilder - 0xfbc577b9d747efd6
|
|
@@ -1536,7 +1512,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1536
1512
|
* @callname: GenesisBuilder_build_state
|
|
1537
1513
|
* @param {BytesLike} json
|
|
1538
1514
|
**/
|
|
1539
|
-
buildState: GenericRuntimeApiMethod<
|
|
1515
|
+
buildState: GenericRuntimeApiMethod<(json: BytesLike) => Promise<Result<[], string>>>;
|
|
1540
1516
|
|
|
1541
1517
|
/**
|
|
1542
1518
|
* Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by
|
|
@@ -1557,7 +1533,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1557
1533
|
* @callname: GenesisBuilder_get_preset
|
|
1558
1534
|
* @param {string | undefined} id
|
|
1559
1535
|
**/
|
|
1560
|
-
getPreset: GenericRuntimeApiMethod<
|
|
1536
|
+
getPreset: GenericRuntimeApiMethod<(id?: string | undefined) => Promise<Bytes | undefined>>;
|
|
1561
1537
|
|
|
1562
1538
|
/**
|
|
1563
1539
|
* Returns a list of identifiers for available builtin `RuntimeGenesisConfig` presets.
|
|
@@ -1567,11 +1543,11 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1567
1543
|
*
|
|
1568
1544
|
* @callname: GenesisBuilder_preset_names
|
|
1569
1545
|
**/
|
|
1570
|
-
presetNames: GenericRuntimeApiMethod<
|
|
1546
|
+
presetNames: GenericRuntimeApiMethod<() => Promise<Array<string>>>;
|
|
1571
1547
|
|
|
1572
1548
|
/**
|
|
1573
1549
|
* Generic runtime api call
|
|
1574
1550
|
**/
|
|
1575
|
-
[method: string]: GenericRuntimeApiMethod
|
|
1551
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
1576
1552
|
};
|
|
1577
1553
|
}
|