@dedot/chaintypes 0.194.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 -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 +14 -17
- package/westend-asset-hub/json-rpc.d.ts +3 -3
- package/westend-asset-hub/query.d.ts +293 -418
- package/westend-asset-hub/runtime.d.ts +83 -123
- package/westend-asset-hub/tx.d.ts +918 -1348
- package/westend-asset-hub/view-functions.d.ts +8 -13
- package/westend-people/consts.d.ts +2 -2
- package/westend-people/errors.d.ts +160 -160
- package/westend-people/events.d.ts +93 -186
- package/westend-people/index.d.ts +13 -17
- package/westend-people/json-rpc.d.ts +3 -3
- package/westend-people/query.d.ts +114 -145
- package/westend-people/runtime.d.ts +46 -67
- package/westend-people/tx.d.ts +251 -363
- package/westend-people/view-functions.d.ts +3 -5
package/vara/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
|
AccountId32Like,
|
|
6
6
|
H256,
|
|
@@ -44,7 +44,7 @@ import type {
|
|
|
44
44
|
PalletGearManagerHandleKind,
|
|
45
45
|
} from './types.js';
|
|
46
46
|
|
|
47
|
-
export interface RuntimeApis
|
|
47
|
+
export interface RuntimeApis extends GenericRuntimeApis {
|
|
48
48
|
/**
|
|
49
49
|
* @runtimeapi: BabeApi - 0xcbca25e39f142387
|
|
50
50
|
**/
|
|
@@ -54,21 +54,21 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
54
54
|
*
|
|
55
55
|
* @callname: BabeApi_configuration
|
|
56
56
|
**/
|
|
57
|
-
configuration: GenericRuntimeApiMethod<
|
|
57
|
+
configuration: GenericRuntimeApiMethod<() => Promise<SpConsensusBabeBabeConfiguration>>;
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* Returns the slot that started the current epoch.
|
|
61
61
|
*
|
|
62
62
|
* @callname: BabeApi_current_epoch_start
|
|
63
63
|
**/
|
|
64
|
-
currentEpochStart: GenericRuntimeApiMethod<
|
|
64
|
+
currentEpochStart: GenericRuntimeApiMethod<() => Promise<SpConsensusSlotsSlot>>;
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* Returns information regarding the current epoch.
|
|
68
68
|
*
|
|
69
69
|
* @callname: BabeApi_current_epoch
|
|
70
70
|
**/
|
|
71
|
-
currentEpoch: GenericRuntimeApiMethod<
|
|
71
|
+
currentEpoch: GenericRuntimeApiMethod<() => Promise<SpConsensusBabeEpoch>>;
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
74
|
* Returns information regarding the next epoch (which was already
|
|
@@ -76,7 +76,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
76
76
|
*
|
|
77
77
|
* @callname: BabeApi_next_epoch
|
|
78
78
|
**/
|
|
79
|
-
nextEpoch: GenericRuntimeApiMethod<
|
|
79
|
+
nextEpoch: GenericRuntimeApiMethod<() => Promise<SpConsensusBabeEpoch>>;
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
82
|
* Generates a proof of key ownership for the given authority in the
|
|
@@ -96,7 +96,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
96
96
|
* @param {SpConsensusBabeAppPublic} authority_id
|
|
97
97
|
**/
|
|
98
98
|
generateKeyOwnershipProof: GenericRuntimeApiMethod<
|
|
99
|
-
Rv,
|
|
100
99
|
(
|
|
101
100
|
slot: SpConsensusSlotsSlot,
|
|
102
101
|
authorityId: SpConsensusBabeAppPublic,
|
|
@@ -118,7 +117,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
118
117
|
* @param {SpConsensusBabeOpaqueKeyOwnershipProof} key_owner_proof
|
|
119
118
|
**/
|
|
120
119
|
submitReportEquivocationUnsignedExtrinsic: GenericRuntimeApiMethod<
|
|
121
|
-
Rv,
|
|
122
120
|
(
|
|
123
121
|
equivocationProof: SpConsensusSlotsEquivocationProof,
|
|
124
122
|
keyOwnerProof: SpConsensusBabeOpaqueKeyOwnershipProof,
|
|
@@ -128,7 +126,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
128
126
|
/**
|
|
129
127
|
* Generic runtime api call
|
|
130
128
|
**/
|
|
131
|
-
[method: string]: GenericRuntimeApiMethod
|
|
129
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
132
130
|
};
|
|
133
131
|
/**
|
|
134
132
|
* @runtimeapi: AuthorityDiscoveryApi - 0x687ad44ad37f03c2
|
|
@@ -139,12 +137,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
139
137
|
*
|
|
140
138
|
* @callname: AuthorityDiscoveryApi_authorities
|
|
141
139
|
**/
|
|
142
|
-
authorities: GenericRuntimeApiMethod<
|
|
140
|
+
authorities: GenericRuntimeApiMethod<() => Promise<Array<SpAuthorityDiscoveryAppPublic>>>;
|
|
143
141
|
|
|
144
142
|
/**
|
|
145
143
|
* Generic runtime api call
|
|
146
144
|
**/
|
|
147
|
-
[method: string]: GenericRuntimeApiMethod
|
|
145
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
148
146
|
};
|
|
149
147
|
/**
|
|
150
148
|
* @runtimeapi: TransactionPaymentCallApi - 0xf3ff14d5ab527059
|
|
@@ -158,7 +156,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
158
156
|
* @param {number} len
|
|
159
157
|
**/
|
|
160
158
|
queryCallInfo: GenericRuntimeApiMethod<
|
|
161
|
-
Rv,
|
|
162
159
|
(call: VaraRuntimeRuntimeCallLike, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
|
|
163
160
|
>;
|
|
164
161
|
|
|
@@ -170,7 +167,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
170
167
|
* @param {number} len
|
|
171
168
|
**/
|
|
172
169
|
queryCallFeeDetails: GenericRuntimeApiMethod<
|
|
173
|
-
Rv,
|
|
174
170
|
(call: VaraRuntimeRuntimeCallLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>
|
|
175
171
|
>;
|
|
176
172
|
|
|
@@ -180,7 +176,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
180
176
|
* @callname: TransactionPaymentCallApi_query_weight_to_fee
|
|
181
177
|
* @param {SpWeightsWeightV2Weight} weight
|
|
182
178
|
**/
|
|
183
|
-
queryWeightToFee: GenericRuntimeApiMethod<
|
|
179
|
+
queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
|
|
184
180
|
|
|
185
181
|
/**
|
|
186
182
|
* Query the output of the current `LengthToFee` given some input.
|
|
@@ -188,12 +184,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
188
184
|
* @callname: TransactionPaymentCallApi_query_length_to_fee
|
|
189
185
|
* @param {number} length
|
|
190
186
|
**/
|
|
191
|
-
queryLengthToFee: GenericRuntimeApiMethod<
|
|
187
|
+
queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
|
|
192
188
|
|
|
193
189
|
/**
|
|
194
190
|
* Generic runtime api call
|
|
195
191
|
**/
|
|
196
|
-
[method: string]: GenericRuntimeApiMethod
|
|
192
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
197
193
|
};
|
|
198
194
|
/**
|
|
199
195
|
* @runtimeapi: NominationPoolsApi - 0x17a6bc0d0062aeb3
|
|
@@ -205,7 +201,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
205
201
|
* @callname: NominationPoolsApi_pending_rewards
|
|
206
202
|
* @param {AccountId32Like} who
|
|
207
203
|
**/
|
|
208
|
-
pendingRewards: GenericRuntimeApiMethod<
|
|
204
|
+
pendingRewards: GenericRuntimeApiMethod<(who: AccountId32Like) => Promise<bigint>>;
|
|
209
205
|
|
|
210
206
|
/**
|
|
211
207
|
* Returns the equivalent balance of `points` for a given pool.
|
|
@@ -214,7 +210,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
214
210
|
* @param {number} pool_id
|
|
215
211
|
* @param {bigint} points
|
|
216
212
|
**/
|
|
217
|
-
pointsToBalance: GenericRuntimeApiMethod<
|
|
213
|
+
pointsToBalance: GenericRuntimeApiMethod<(poolId: number, points: bigint) => Promise<bigint>>;
|
|
218
214
|
|
|
219
215
|
/**
|
|
220
216
|
* Returns the equivalent points of `new_funds` for a given pool.
|
|
@@ -223,7 +219,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
223
219
|
* @param {number} pool_id
|
|
224
220
|
* @param {bigint} new_funds
|
|
225
221
|
**/
|
|
226
|
-
balanceToPoints: GenericRuntimeApiMethod<
|
|
222
|
+
balanceToPoints: GenericRuntimeApiMethod<(poolId: number, newFunds: bigint) => Promise<bigint>>;
|
|
227
223
|
|
|
228
224
|
/**
|
|
229
225
|
* Returns the pending slash for a given pool.
|
|
@@ -231,7 +227,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
231
227
|
* @callname: NominationPoolsApi_pool_pending_slash
|
|
232
228
|
* @param {number} pool_id
|
|
233
229
|
**/
|
|
234
|
-
poolPendingSlash: GenericRuntimeApiMethod<
|
|
230
|
+
poolPendingSlash: GenericRuntimeApiMethod<(poolId: number) => Promise<bigint>>;
|
|
235
231
|
|
|
236
232
|
/**
|
|
237
233
|
* Returns the pending slash for a given pool member.
|
|
@@ -239,7 +235,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
239
235
|
* @callname: NominationPoolsApi_member_pending_slash
|
|
240
236
|
* @param {AccountId32Like} member
|
|
241
237
|
**/
|
|
242
|
-
memberPendingSlash: GenericRuntimeApiMethod<
|
|
238
|
+
memberPendingSlash: GenericRuntimeApiMethod<(member: AccountId32Like) => Promise<bigint>>;
|
|
243
239
|
|
|
244
240
|
/**
|
|
245
241
|
* Returns true if the pool with `pool_id` needs migration.
|
|
@@ -254,7 +250,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
254
250
|
* @callname: NominationPoolsApi_pool_needs_delegate_migration
|
|
255
251
|
* @param {number} pool_id
|
|
256
252
|
**/
|
|
257
|
-
poolNeedsDelegateMigration: GenericRuntimeApiMethod<
|
|
253
|
+
poolNeedsDelegateMigration: GenericRuntimeApiMethod<(poolId: number) => Promise<boolean>>;
|
|
258
254
|
|
|
259
255
|
/**
|
|
260
256
|
* Returns true if the delegated funds of the pool `member` needs migration.
|
|
@@ -268,7 +264,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
268
264
|
* @callname: NominationPoolsApi_member_needs_delegate_migration
|
|
269
265
|
* @param {AccountId32Like} member
|
|
270
266
|
**/
|
|
271
|
-
memberNeedsDelegateMigration: GenericRuntimeApiMethod<
|
|
267
|
+
memberNeedsDelegateMigration: GenericRuntimeApiMethod<(member: AccountId32Like) => Promise<boolean>>;
|
|
272
268
|
|
|
273
269
|
/**
|
|
274
270
|
* Returns the total contribution of a pool member including any balance that is unbonding.
|
|
@@ -276,7 +272,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
276
272
|
* @callname: NominationPoolsApi_member_total_balance
|
|
277
273
|
* @param {AccountId32Like} who
|
|
278
274
|
**/
|
|
279
|
-
memberTotalBalance: GenericRuntimeApiMethod<
|
|
275
|
+
memberTotalBalance: GenericRuntimeApiMethod<(who: AccountId32Like) => Promise<bigint>>;
|
|
280
276
|
|
|
281
277
|
/**
|
|
282
278
|
* Total balance contributed to the pool.
|
|
@@ -284,12 +280,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
284
280
|
* @callname: NominationPoolsApi_pool_balance
|
|
285
281
|
* @param {number} pool_id
|
|
286
282
|
**/
|
|
287
|
-
poolBalance: GenericRuntimeApiMethod<
|
|
283
|
+
poolBalance: GenericRuntimeApiMethod<(poolId: number) => Promise<bigint>>;
|
|
288
284
|
|
|
289
285
|
/**
|
|
290
286
|
* Generic runtime api call
|
|
291
287
|
**/
|
|
292
|
-
[method: string]: GenericRuntimeApiMethod
|
|
288
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
293
289
|
};
|
|
294
290
|
/**
|
|
295
291
|
* @runtimeapi: StakingApi - 0x18ef58a3b67ba770
|
|
@@ -301,7 +297,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
301
297
|
* @callname: StakingApi_nominations_quota
|
|
302
298
|
* @param {bigint} balance
|
|
303
299
|
**/
|
|
304
|
-
nominationsQuota: GenericRuntimeApiMethod<
|
|
300
|
+
nominationsQuota: GenericRuntimeApiMethod<(balance: bigint) => Promise<number>>;
|
|
305
301
|
|
|
306
302
|
/**
|
|
307
303
|
* Returns the page count of exposures for a validator `account` in a given era.
|
|
@@ -310,7 +306,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
310
306
|
* @param {number} era
|
|
311
307
|
* @param {AccountId32Like} account
|
|
312
308
|
**/
|
|
313
|
-
erasStakersPageCount: GenericRuntimeApiMethod<
|
|
309
|
+
erasStakersPageCount: GenericRuntimeApiMethod<(era: number, account: AccountId32Like) => Promise<number>>;
|
|
314
310
|
|
|
315
311
|
/**
|
|
316
312
|
* Returns true if validator `account` has pages to be claimed for the given era.
|
|
@@ -319,12 +315,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
319
315
|
* @param {number} era
|
|
320
316
|
* @param {AccountId32Like} account
|
|
321
317
|
**/
|
|
322
|
-
pendingRewards: GenericRuntimeApiMethod<
|
|
318
|
+
pendingRewards: GenericRuntimeApiMethod<(era: number, account: AccountId32Like) => Promise<boolean>>;
|
|
323
319
|
|
|
324
320
|
/**
|
|
325
321
|
* Generic runtime api call
|
|
326
322
|
**/
|
|
327
|
-
[method: string]: GenericRuntimeApiMethod
|
|
323
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
328
324
|
};
|
|
329
325
|
/**
|
|
330
326
|
* @runtimeapi: GearStakingRewardsApi - 0x29ca33476f4108aa
|
|
@@ -335,12 +331,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
335
331
|
*
|
|
336
332
|
* @callname: GearStakingRewardsApi_inflation_info
|
|
337
333
|
**/
|
|
338
|
-
inflationInfo: GenericRuntimeApiMethod<
|
|
334
|
+
inflationInfo: GenericRuntimeApiMethod<() => Promise<PalletGearStakingRewardsInflationInfo>>;
|
|
339
335
|
|
|
340
336
|
/**
|
|
341
337
|
* Generic runtime api call
|
|
342
338
|
**/
|
|
343
|
-
[method: string]: GenericRuntimeApiMethod
|
|
339
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
344
340
|
};
|
|
345
341
|
/**
|
|
346
342
|
* @runtimeapi: GearBuiltinApi - 0xf757f704c8ea14fe
|
|
@@ -352,12 +348,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
352
348
|
* @callname: GearBuiltinApi_query_actor_id
|
|
353
349
|
* @param {bigint} builtin_id
|
|
354
350
|
**/
|
|
355
|
-
queryActorId: GenericRuntimeApiMethod<
|
|
351
|
+
queryActorId: GenericRuntimeApiMethod<(builtinId: bigint) => Promise<H256>>;
|
|
356
352
|
|
|
357
353
|
/**
|
|
358
354
|
* Generic runtime api call
|
|
359
355
|
**/
|
|
360
|
-
[method: string]: GenericRuntimeApiMethod
|
|
356
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
361
357
|
};
|
|
362
358
|
/**
|
|
363
359
|
* @runtimeapi: GearEthBridgeApi - 0xfe1bbc43de74baec
|
|
@@ -369,12 +365,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
369
365
|
* @callname: GearEthBridgeApi_merkle_proof
|
|
370
366
|
* @param {H256} hash
|
|
371
367
|
**/
|
|
372
|
-
merkleProof: GenericRuntimeApiMethod<
|
|
368
|
+
merkleProof: GenericRuntimeApiMethod<(hash: H256) => Promise<PalletGearEthBridgePrimitivesProof | undefined>>;
|
|
373
369
|
|
|
374
370
|
/**
|
|
375
371
|
* Generic runtime api call
|
|
376
372
|
**/
|
|
377
|
-
[method: string]: GenericRuntimeApiMethod
|
|
373
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
378
374
|
};
|
|
379
375
|
/**
|
|
380
376
|
* @runtimeapi: GenesisBuilder - 0xfbc577b9d747efd6
|
|
@@ -394,7 +390,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
394
390
|
* @callname: GenesisBuilder_build_state
|
|
395
391
|
* @param {BytesLike} json
|
|
396
392
|
**/
|
|
397
|
-
buildState: GenericRuntimeApiMethod<
|
|
393
|
+
buildState: GenericRuntimeApiMethod<(json: BytesLike) => Promise<Result<[], string>>>;
|
|
398
394
|
|
|
399
395
|
/**
|
|
400
396
|
* Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by
|
|
@@ -415,7 +411,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
415
411
|
* @callname: GenesisBuilder_get_preset
|
|
416
412
|
* @param {string | undefined} id
|
|
417
413
|
**/
|
|
418
|
-
getPreset: GenericRuntimeApiMethod<
|
|
414
|
+
getPreset: GenericRuntimeApiMethod<(id?: string | undefined) => Promise<Bytes | undefined>>;
|
|
419
415
|
|
|
420
416
|
/**
|
|
421
417
|
* Returns a list of identifiers for available builtin `RuntimeGenesisConfig` presets.
|
|
@@ -425,12 +421,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
425
421
|
*
|
|
426
422
|
* @callname: GenesisBuilder_preset_names
|
|
427
423
|
**/
|
|
428
|
-
presetNames: GenericRuntimeApiMethod<
|
|
424
|
+
presetNames: GenericRuntimeApiMethod<() => Promise<Array<string>>>;
|
|
429
425
|
|
|
430
426
|
/**
|
|
431
427
|
* Generic runtime api call
|
|
432
428
|
**/
|
|
433
|
-
[method: string]: GenericRuntimeApiMethod
|
|
429
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
434
430
|
};
|
|
435
431
|
/**
|
|
436
432
|
* @runtimeapi: Core - 0xdf6acb689907609b
|
|
@@ -441,7 +437,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
441
437
|
*
|
|
442
438
|
* @callname: Core_version
|
|
443
439
|
**/
|
|
444
|
-
version: GenericRuntimeApiMethod<
|
|
440
|
+
version: GenericRuntimeApiMethod<() => Promise<RuntimeVersion>>;
|
|
445
441
|
|
|
446
442
|
/**
|
|
447
443
|
* Execute the given block.
|
|
@@ -449,7 +445,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
449
445
|
* @callname: Core_execute_block
|
|
450
446
|
* @param {SpRuntimeBlock} block
|
|
451
447
|
**/
|
|
452
|
-
executeBlock: GenericRuntimeApiMethod<
|
|
448
|
+
executeBlock: GenericRuntimeApiMethod<(block: SpRuntimeBlock) => Promise<[]>>;
|
|
453
449
|
|
|
454
450
|
/**
|
|
455
451
|
* Initialize a block with the given header and return the runtime executive mode.
|
|
@@ -457,12 +453,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
457
453
|
* @callname: Core_initialize_block
|
|
458
454
|
* @param {Header} header
|
|
459
455
|
**/
|
|
460
|
-
initializeBlock: GenericRuntimeApiMethod<
|
|
456
|
+
initializeBlock: GenericRuntimeApiMethod<(header: Header) => Promise<SpRuntimeExtrinsicInclusionMode>>;
|
|
461
457
|
|
|
462
458
|
/**
|
|
463
459
|
* Generic runtime api call
|
|
464
460
|
**/
|
|
465
|
-
[method: string]: GenericRuntimeApiMethod
|
|
461
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
466
462
|
};
|
|
467
463
|
/**
|
|
468
464
|
* @runtimeapi: Metadata - 0x37e397fc7c91f5e4
|
|
@@ -473,7 +469,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
473
469
|
*
|
|
474
470
|
* @callname: Metadata_metadata
|
|
475
471
|
**/
|
|
476
|
-
metadata: GenericRuntimeApiMethod<
|
|
472
|
+
metadata: GenericRuntimeApiMethod<() => Promise<SpCoreOpaqueMetadata>>;
|
|
477
473
|
|
|
478
474
|
/**
|
|
479
475
|
* Returns the metadata at a given version.
|
|
@@ -484,7 +480,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
484
480
|
* @callname: Metadata_metadata_at_version
|
|
485
481
|
* @param {number} version
|
|
486
482
|
**/
|
|
487
|
-
metadataAtVersion: GenericRuntimeApiMethod<
|
|
483
|
+
metadataAtVersion: GenericRuntimeApiMethod<(version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
|
|
488
484
|
|
|
489
485
|
/**
|
|
490
486
|
* Returns the supported metadata versions.
|
|
@@ -493,12 +489,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
493
489
|
*
|
|
494
490
|
* @callname: Metadata_metadata_versions
|
|
495
491
|
**/
|
|
496
|
-
metadataVersions: GenericRuntimeApiMethod<
|
|
492
|
+
metadataVersions: GenericRuntimeApiMethod<() => Promise<Array<number>>>;
|
|
497
493
|
|
|
498
494
|
/**
|
|
499
495
|
* Generic runtime api call
|
|
500
496
|
**/
|
|
501
|
-
[method: string]: GenericRuntimeApiMethod
|
|
497
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
502
498
|
};
|
|
503
499
|
/**
|
|
504
500
|
* @runtimeapi: BlockBuilder - 0x40fe3ad401f8959a
|
|
@@ -514,7 +510,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
514
510
|
* @param {UncheckedExtrinsicLike} extrinsic
|
|
515
511
|
**/
|
|
516
512
|
applyExtrinsic: GenericRuntimeApiMethod<
|
|
517
|
-
Rv,
|
|
518
513
|
(
|
|
519
514
|
extrinsic: UncheckedExtrinsicLike,
|
|
520
515
|
) => Promise<Result<Result<[], DispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>
|
|
@@ -525,7 +520,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
525
520
|
*
|
|
526
521
|
* @callname: BlockBuilder_finalize_block
|
|
527
522
|
**/
|
|
528
|
-
finalizeBlock: GenericRuntimeApiMethod<
|
|
523
|
+
finalizeBlock: GenericRuntimeApiMethod<() => Promise<Header>>;
|
|
529
524
|
|
|
530
525
|
/**
|
|
531
526
|
* Generate inherent extrinsics. The inherent data will vary from chain to chain.
|
|
@@ -534,7 +529,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
534
529
|
* @param {SpInherentsInherentData} inherent
|
|
535
530
|
**/
|
|
536
531
|
inherentExtrinsics: GenericRuntimeApiMethod<
|
|
537
|
-
Rv,
|
|
538
532
|
(inherent: SpInherentsInherentData) => Promise<Array<UncheckedExtrinsic>>
|
|
539
533
|
>;
|
|
540
534
|
|
|
@@ -546,14 +540,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
546
540
|
* @param {SpInherentsInherentData} data
|
|
547
541
|
**/
|
|
548
542
|
checkInherents: GenericRuntimeApiMethod<
|
|
549
|
-
Rv,
|
|
550
543
|
(block: SpRuntimeBlock, data: SpInherentsInherentData) => Promise<SpInherentsCheckInherentsResult>
|
|
551
544
|
>;
|
|
552
545
|
|
|
553
546
|
/**
|
|
554
547
|
* Generic runtime api call
|
|
555
548
|
**/
|
|
556
|
-
[method: string]: GenericRuntimeApiMethod
|
|
549
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
557
550
|
};
|
|
558
551
|
/**
|
|
559
552
|
* @runtimeapi: TaggedTransactionQueue - 0xd2bc9897eed08f15
|
|
@@ -576,7 +569,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
576
569
|
* @param {H256} block_hash
|
|
577
570
|
**/
|
|
578
571
|
validateTransaction: GenericRuntimeApiMethod<
|
|
579
|
-
Rv,
|
|
580
572
|
(
|
|
581
573
|
source: SpRuntimeTransactionValidityTransactionSource,
|
|
582
574
|
tx: UncheckedExtrinsicLike,
|
|
@@ -589,7 +581,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
589
581
|
/**
|
|
590
582
|
* Generic runtime api call
|
|
591
583
|
**/
|
|
592
|
-
[method: string]: GenericRuntimeApiMethod
|
|
584
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
593
585
|
};
|
|
594
586
|
/**
|
|
595
587
|
* @runtimeapi: OffchainWorkerApi - 0xf78b278be53f454c
|
|
@@ -601,12 +593,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
601
593
|
* @callname: OffchainWorkerApi_offchain_worker
|
|
602
594
|
* @param {Header} header
|
|
603
595
|
**/
|
|
604
|
-
offchainWorker: GenericRuntimeApiMethod<
|
|
596
|
+
offchainWorker: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
|
|
605
597
|
|
|
606
598
|
/**
|
|
607
599
|
* Generic runtime api call
|
|
608
600
|
**/
|
|
609
|
-
[method: string]: GenericRuntimeApiMethod
|
|
601
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
610
602
|
};
|
|
611
603
|
/**
|
|
612
604
|
* @runtimeapi: SessionKeys - 0xab3c0572291feb8b
|
|
@@ -624,7 +616,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
624
616
|
* @callname: SessionKeys_generate_session_keys
|
|
625
617
|
* @param {BytesLike | undefined} seed
|
|
626
618
|
**/
|
|
627
|
-
generateSessionKeys: GenericRuntimeApiMethod<
|
|
619
|
+
generateSessionKeys: GenericRuntimeApiMethod<(seed?: BytesLike | undefined) => Promise<Bytes>>;
|
|
628
620
|
|
|
629
621
|
/**
|
|
630
622
|
* Decode the given public session keys.
|
|
@@ -635,14 +627,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
635
627
|
* @param {BytesLike} encoded
|
|
636
628
|
**/
|
|
637
629
|
decodeSessionKeys: GenericRuntimeApiMethod<
|
|
638
|
-
Rv,
|
|
639
630
|
(encoded: BytesLike) => Promise<Array<[Bytes, SpCoreCryptoKeyTypeId]> | undefined>
|
|
640
631
|
>;
|
|
641
632
|
|
|
642
633
|
/**
|
|
643
634
|
* Generic runtime api call
|
|
644
635
|
**/
|
|
645
|
-
[method: string]: GenericRuntimeApiMethod
|
|
636
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
646
637
|
};
|
|
647
638
|
/**
|
|
648
639
|
* @runtimeapi: GrandpaApi - 0xed99c5acb25eedf5
|
|
@@ -658,7 +649,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
658
649
|
*
|
|
659
650
|
* @callname: GrandpaApi_grandpa_authorities
|
|
660
651
|
**/
|
|
661
|
-
grandpaAuthorities: GenericRuntimeApiMethod<
|
|
652
|
+
grandpaAuthorities: GenericRuntimeApiMethod<() => Promise<Array<[SpConsensusGrandpaAppPublic, bigint]>>>;
|
|
662
653
|
|
|
663
654
|
/**
|
|
664
655
|
* Submits an unsigned extrinsic to report an equivocation. The caller
|
|
@@ -675,7 +666,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
675
666
|
* @param {SpRuntimeOpaqueValue} key_owner_proof
|
|
676
667
|
**/
|
|
677
668
|
submitReportEquivocationUnsignedExtrinsic: GenericRuntimeApiMethod<
|
|
678
|
-
Rv,
|
|
679
669
|
(
|
|
680
670
|
equivocationProof: SpConsensusGrandpaEquivocationProof,
|
|
681
671
|
keyOwnerProof: SpRuntimeOpaqueValue,
|
|
@@ -700,7 +690,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
700
690
|
* @param {SpConsensusGrandpaAppPublic} authority_id
|
|
701
691
|
**/
|
|
702
692
|
generateKeyOwnershipProof: GenericRuntimeApiMethod<
|
|
703
|
-
Rv,
|
|
704
693
|
(setId: bigint, authorityId: SpConsensusGrandpaAppPublic) => Promise<SpRuntimeOpaqueValue | undefined>
|
|
705
694
|
>;
|
|
706
695
|
|
|
@@ -709,12 +698,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
709
698
|
*
|
|
710
699
|
* @callname: GrandpaApi_current_set_id
|
|
711
700
|
**/
|
|
712
|
-
currentSetId: GenericRuntimeApiMethod<
|
|
701
|
+
currentSetId: GenericRuntimeApiMethod<() => Promise<bigint>>;
|
|
713
702
|
|
|
714
703
|
/**
|
|
715
704
|
* Generic runtime api call
|
|
716
705
|
**/
|
|
717
|
-
[method: string]: GenericRuntimeApiMethod
|
|
706
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
718
707
|
};
|
|
719
708
|
/**
|
|
720
709
|
* @runtimeapi: AccountNonceApi - 0xbc9d89904f5b923f
|
|
@@ -726,12 +715,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
726
715
|
* @callname: AccountNonceApi_account_nonce
|
|
727
716
|
* @param {AccountId32Like} account
|
|
728
717
|
**/
|
|
729
|
-
accountNonce: GenericRuntimeApiMethod<
|
|
718
|
+
accountNonce: GenericRuntimeApiMethod<(account: AccountId32Like) => Promise<number>>;
|
|
730
719
|
|
|
731
720
|
/**
|
|
732
721
|
* Generic runtime api call
|
|
733
722
|
**/
|
|
734
|
-
[method: string]: GenericRuntimeApiMethod
|
|
723
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
735
724
|
};
|
|
736
725
|
/**
|
|
737
726
|
* @runtimeapi: TransactionPaymentApi - 0x37c8bb1350a9a2a8
|
|
@@ -744,7 +733,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
744
733
|
* @param {number} len
|
|
745
734
|
**/
|
|
746
735
|
queryInfo: GenericRuntimeApiMethod<
|
|
747
|
-
Rv,
|
|
748
736
|
(uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
|
|
749
737
|
>;
|
|
750
738
|
|
|
@@ -755,7 +743,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
755
743
|
* @param {number} len
|
|
756
744
|
**/
|
|
757
745
|
queryFeeDetails: GenericRuntimeApiMethod<
|
|
758
|
-
Rv,
|
|
759
746
|
(uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>
|
|
760
747
|
>;
|
|
761
748
|
|
|
@@ -764,19 +751,19 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
764
751
|
* @callname: TransactionPaymentApi_query_weight_to_fee
|
|
765
752
|
* @param {SpWeightsWeightV2Weight} weight
|
|
766
753
|
**/
|
|
767
|
-
queryWeightToFee: GenericRuntimeApiMethod<
|
|
754
|
+
queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
|
|
768
755
|
|
|
769
756
|
/**
|
|
770
757
|
*
|
|
771
758
|
* @callname: TransactionPaymentApi_query_length_to_fee
|
|
772
759
|
* @param {number} length
|
|
773
760
|
**/
|
|
774
|
-
queryLengthToFee: GenericRuntimeApiMethod<
|
|
761
|
+
queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
|
|
775
762
|
|
|
776
763
|
/**
|
|
777
764
|
* Generic runtime api call
|
|
778
765
|
**/
|
|
779
|
-
[method: string]: GenericRuntimeApiMethod
|
|
766
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
780
767
|
};
|
|
781
768
|
/**
|
|
782
769
|
* @runtimeapi: GearApi - 0xff8dc88037f26223
|
|
@@ -793,7 +780,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
793
780
|
* @param {bigint} allowance_multiplier
|
|
794
781
|
**/
|
|
795
782
|
calculateReplyForHandle: GenericRuntimeApiMethod<
|
|
796
|
-
Rv,
|
|
797
783
|
(
|
|
798
784
|
origin: H256,
|
|
799
785
|
destination: H256,
|
|
@@ -816,7 +802,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
816
802
|
* @param {bigint | undefined} allowance_multiplier
|
|
817
803
|
**/
|
|
818
804
|
calculateGasInfo: GenericRuntimeApiMethod<
|
|
819
|
-
Rv,
|
|
820
805
|
(
|
|
821
806
|
source: H256,
|
|
822
807
|
kind: PalletGearManagerHandleKind,
|
|
@@ -834,7 +819,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
834
819
|
* @callname: GearApi_gear_run_extrinsic
|
|
835
820
|
* @param {bigint | undefined} max_gas
|
|
836
821
|
**/
|
|
837
|
-
gearRunExtrinsic: GenericRuntimeApiMethod<
|
|
822
|
+
gearRunExtrinsic: GenericRuntimeApiMethod<(maxGas?: bigint | undefined) => Promise<UncheckedExtrinsic>>;
|
|
838
823
|
|
|
839
824
|
/**
|
|
840
825
|
*
|
|
@@ -844,7 +829,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
844
829
|
* @param {bigint | undefined} allowance_multiplier
|
|
845
830
|
**/
|
|
846
831
|
readState: GenericRuntimeApiMethod<
|
|
847
|
-
Rv,
|
|
848
832
|
(programId: H256, payload: BytesLike, allowanceMultiplier?: bigint | undefined) => Promise<Result<Bytes, Bytes>>
|
|
849
833
|
>;
|
|
850
834
|
|
|
@@ -859,7 +843,6 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
859
843
|
* @param {bigint | undefined} allowance_multiplier
|
|
860
844
|
**/
|
|
861
845
|
readStateUsingWasm: GenericRuntimeApiMethod<
|
|
862
|
-
Rv,
|
|
863
846
|
(
|
|
864
847
|
programId: H256,
|
|
865
848
|
payload: BytesLike,
|
|
@@ -877,13 +860,12 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
877
860
|
* @param {bigint | undefined} allowance_multiplier
|
|
878
861
|
**/
|
|
879
862
|
readMetahash: GenericRuntimeApiMethod<
|
|
880
|
-
Rv,
|
|
881
863
|
(programId: H256, allowanceMultiplier?: bigint | undefined) => Promise<Result<H256, Bytes>>
|
|
882
864
|
>;
|
|
883
865
|
|
|
884
866
|
/**
|
|
885
867
|
* Generic runtime api call
|
|
886
868
|
**/
|
|
887
|
-
[method: string]: GenericRuntimeApiMethod
|
|
869
|
+
[method: string]: GenericRuntimeApiMethod;
|
|
888
870
|
};
|
|
889
871
|
}
|