@polkadot/api-augment 16.4.8 → 16.5.1
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/assetHubKusama/consts.d.ts +598 -4
- package/assetHubKusama/errors.d.ts +1278 -49
- package/assetHubKusama/events.d.ts +1691 -127
- package/assetHubKusama/query.d.ts +1175 -26
- package/assetHubKusama/runtime.d.ts +211 -8
- package/assetHubKusama/tx.d.ts +6095 -2628
- package/cjs/assetHubKusama/consts.d.ts +598 -4
- package/cjs/assetHubKusama/errors.d.ts +1278 -49
- package/cjs/assetHubKusama/events.d.ts +1691 -127
- package/cjs/assetHubKusama/query.d.ts +1175 -26
- package/cjs/assetHubKusama/runtime.d.ts +211 -8
- package/cjs/assetHubKusama/tx.d.ts +6095 -2628
- package/cjs/kusama/consts.d.ts +46 -104
- package/cjs/kusama/errors.d.ts +113 -121
- package/cjs/kusama/events.d.ts +258 -228
- package/cjs/kusama/query.d.ts +211 -104
- package/cjs/kusama/tx.d.ts +451 -236
- package/cjs/packageInfo.js +1 -1
- package/cjs/polkadot/consts.d.ts +40 -2
- package/cjs/polkadot/errors.d.ts +113 -0
- package/cjs/polkadot/events.d.ts +247 -1
- package/cjs/polkadot/query.d.ts +218 -4
- package/cjs/polkadot/runtime.d.ts +15 -1
- package/cjs/polkadot/tx.d.ts +399 -12
- package/kusama/consts.d.ts +46 -104
- package/kusama/errors.d.ts +113 -121
- package/kusama/events.d.ts +258 -228
- package/kusama/query.d.ts +211 -104
- package/kusama/tx.d.ts +451 -236
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +40 -2
- package/polkadot/errors.d.ts +113 -0
- package/polkadot/events.d.ts +247 -1
- package/polkadot/query.d.ts +218 -4
- package/polkadot/runtime.d.ts +15 -1
- package/polkadot/tx.d.ts +399 -12
|
@@ -4,8 +4,9 @@ import type { Bytes, Null, Option, Result, Text, U256, U8aFixed, Vec, bool, u128
|
|
|
4
4
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
|
|
6
6
|
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
|
7
|
+
import type { ParaId } from '@polkadot/types/interfaces/parachains';
|
|
7
8
|
import type { AccountId32, H160, H256, RuntimeCall, Slot, SlotDuration } from '@polkadot/types/interfaces/runtime';
|
|
8
|
-
import type { AssetHubKusamaRuntimeOriginCaller, AssetsCommonRuntimeApiFungiblesAccessError, CumulusPrimitivesCoreCollationInfo, PalletReviveEvmApiDebugRpcTypesTrace, PalletReviveEvmApiDebugRpcTypesTracerType, PalletReviveEvmApiRpcTypesGenGenericTransaction, PalletRevivePrimitivesCode, PalletRevivePrimitivesCodeUploadReturnValue, PalletRevivePrimitivesContractAccessError, PalletRevivePrimitivesContractResultExecReturnValue, PalletRevivePrimitivesContractResultInstantiateReturnValue, PalletRevivePrimitivesEthTransactError, PalletRevivePrimitivesEthTransactInfo, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight,
|
|
9
|
+
import type { AssetHubKusamaRuntimeOriginCaller, AssetsCommonRuntimeApiFungiblesAccessError, CumulusPrimitivesCoreCollationInfo, FrameSupportViewFunctionsViewFunctionDispatchError, FrameSupportViewFunctionsViewFunctionId, PalletReviveEvmApiDebugRpcTypesTrace, PalletReviveEvmApiDebugRpcTypesTracerType, PalletReviveEvmApiRpcTypesGenGenericTransaction, PalletRevivePrimitivesCode, PalletRevivePrimitivesCodeUploadReturnValue, PalletRevivePrimitivesContractAccessError, PalletRevivePrimitivesContractResultExecReturnValue, PalletRevivePrimitivesContractResultInstantiateReturnValue, PalletRevivePrimitivesEthTransactError, PalletRevivePrimitivesEthTransactInfo, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingXcmV5Location, XcmRuntimeApisAuthorizedAliasesError, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmRuntimeApisTrustedQueryError, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
|
|
9
10
|
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
|
10
11
|
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
|
11
12
|
export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
|
|
@@ -27,30 +28,30 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
27
28
|
/**
|
|
28
29
|
* Returns the size of the liquidity pool for the given asset pair.
|
|
29
30
|
**/
|
|
30
|
-
getReserves: AugmentedCall<ApiType, (asset1:
|
|
31
|
+
getReserves: AugmentedCall<ApiType, (asset1: StagingXcmV5Location | {
|
|
31
32
|
parents?: any;
|
|
32
33
|
interior?: any;
|
|
33
|
-
} | string | Uint8Array, asset2:
|
|
34
|
+
} | string | Uint8Array, asset2: StagingXcmV5Location | {
|
|
34
35
|
parents?: any;
|
|
35
36
|
interior?: any;
|
|
36
37
|
} | string | Uint8Array) => Observable<Option<ITuple<[u128, u128]>>>>;
|
|
37
38
|
/**
|
|
38
39
|
* Provides a quote for [`Pallet::swap_exact_tokens_for_tokens`].,, Note that the price may have changed by the time the transaction is executed., (Use `amount_out_min` to control slippage.)
|
|
39
40
|
**/
|
|
40
|
-
quotePriceExactTokensForTokens: AugmentedCall<ApiType, (asset1:
|
|
41
|
+
quotePriceExactTokensForTokens: AugmentedCall<ApiType, (asset1: StagingXcmV5Location | {
|
|
41
42
|
parents?: any;
|
|
42
43
|
interior?: any;
|
|
43
|
-
} | string | Uint8Array, asset2:
|
|
44
|
+
} | string | Uint8Array, asset2: StagingXcmV5Location | {
|
|
44
45
|
parents?: any;
|
|
45
46
|
interior?: any;
|
|
46
47
|
} | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
|
|
47
48
|
/**
|
|
48
49
|
* Provides a quote for [`Pallet::swap_tokens_for_exact_tokens`].,, Note that the price may have changed by the time the transaction is executed., (Use `amount_in_max` to control slippage.)
|
|
49
50
|
**/
|
|
50
|
-
quotePriceTokensForExactTokens: AugmentedCall<ApiType, (asset1:
|
|
51
|
+
quotePriceTokensForExactTokens: AugmentedCall<ApiType, (asset1: StagingXcmV5Location | {
|
|
51
52
|
parents?: any;
|
|
52
53
|
interior?: any;
|
|
53
|
-
} | string | Uint8Array, asset2:
|
|
54
|
+
} | string | Uint8Array, asset2: StagingXcmV5Location | {
|
|
54
55
|
parents?: any;
|
|
55
56
|
interior?: any;
|
|
56
57
|
} | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, include_fee: bool | boolean | Uint8Array) => Observable<Option<u128>>>;
|
|
@@ -85,6 +86,39 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
85
86
|
**/
|
|
86
87
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
87
88
|
};
|
|
89
|
+
/** 0x12c8e3d4d7e06de0/ */
|
|
90
|
+
authorizedAliasersApi: {
|
|
91
|
+
/**
|
|
92
|
+
* Returns locations allowed to alias into and act as `target`.
|
|
93
|
+
**/
|
|
94
|
+
authorizedAliasers: AugmentedCall<ApiType, (target: XcmVersionedLocation | {
|
|
95
|
+
V3: any;
|
|
96
|
+
} | {
|
|
97
|
+
V4: any;
|
|
98
|
+
} | {
|
|
99
|
+
V5: any;
|
|
100
|
+
} | string | Uint8Array) => Observable<Result<Vec<XcmRuntimeApisAuthorizedAliasesOriginAliaser>, XcmRuntimeApisAuthorizedAliasesError>>>;
|
|
101
|
+
/**
|
|
102
|
+
* Returns whether `origin` is allowed to alias into and act as `target`.
|
|
103
|
+
**/
|
|
104
|
+
isAuthorizedAlias: AugmentedCall<ApiType, (origin: XcmVersionedLocation | {
|
|
105
|
+
V3: any;
|
|
106
|
+
} | {
|
|
107
|
+
V4: any;
|
|
108
|
+
} | {
|
|
109
|
+
V5: any;
|
|
110
|
+
} | string | Uint8Array, target: XcmVersionedLocation | {
|
|
111
|
+
V3: any;
|
|
112
|
+
} | {
|
|
113
|
+
V4: any;
|
|
114
|
+
} | {
|
|
115
|
+
V5: any;
|
|
116
|
+
} | string | Uint8Array) => Observable<Result<bool, XcmRuntimeApisAuthorizedAliasesError>>>;
|
|
117
|
+
/**
|
|
118
|
+
* Generic call
|
|
119
|
+
**/
|
|
120
|
+
[key: string]: DecoratedCallBase<ApiType>;
|
|
121
|
+
};
|
|
88
122
|
/** 0x40fe3ad401f8959a/ */
|
|
89
123
|
blockBuilder: {
|
|
90
124
|
/**
|
|
@@ -171,6 +205,8 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
171
205
|
PolkadotXcm: any;
|
|
172
206
|
} | {
|
|
173
207
|
CumulusXcm: any;
|
|
208
|
+
} | {
|
|
209
|
+
Origins: any;
|
|
174
210
|
} | string | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array, result_xcms_version: u32 | AnyNumber | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>>;
|
|
175
211
|
/**
|
|
176
212
|
* Dry run XCM program
|
|
@@ -223,6 +259,17 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
223
259
|
**/
|
|
224
260
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
225
261
|
};
|
|
262
|
+
/** 0xa2ddb6a58477bf63/ */
|
|
263
|
+
getParachainInfo: {
|
|
264
|
+
/**
|
|
265
|
+
* Retrieve the parachain id used for runtime.
|
|
266
|
+
**/
|
|
267
|
+
parachainId: AugmentedCall<ApiType, () => Observable<ParaId>>;
|
|
268
|
+
/**
|
|
269
|
+
* Generic call
|
|
270
|
+
**/
|
|
271
|
+
[key: string]: DecoratedCallBase<ApiType>;
|
|
272
|
+
};
|
|
226
273
|
/** 0x9ffb505aa738d69c/ */
|
|
227
274
|
locationToAccountApi: {
|
|
228
275
|
/**
|
|
@@ -259,6 +306,53 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
259
306
|
**/
|
|
260
307
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
261
308
|
};
|
|
309
|
+
/** 0x17a6bc0d0062aeb3/ */
|
|
310
|
+
nominationPoolsApi: {
|
|
311
|
+
/**
|
|
312
|
+
* Returns the equivalent points of `new_funds` for a given pool.
|
|
313
|
+
**/
|
|
314
|
+
balanceToPoints: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array, new_funds: u128 | AnyNumber | Uint8Array) => Observable<u128>>;
|
|
315
|
+
/**
|
|
316
|
+
* Returns true if the delegated funds of the pool `member` needs migration.,, Once a pool has successfully migrated to the strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake), the funds of the, member can be migrated from pool account to the member's account. Use, [`migrate_delegation`](pallet_nomination_pools::Call::migrate_delegation), to migrate the funds of the pool member.
|
|
317
|
+
**/
|
|
318
|
+
memberNeedsDelegateMigration: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
|
319
|
+
/**
|
|
320
|
+
* Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain.
|
|
321
|
+
**/
|
|
322
|
+
memberPendingSlash: AugmentedCall<ApiType, (member: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
|
323
|
+
/**
|
|
324
|
+
* Returns the total contribution of a pool member including any balance that is unbonding.
|
|
325
|
+
**/
|
|
326
|
+
memberTotalBalance: AugmentedCall<ApiType, (who: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
|
327
|
+
/**
|
|
328
|
+
* Returns the pending rewards for the member that the AccountId was given for.
|
|
329
|
+
**/
|
|
330
|
+
pendingRewards: AugmentedCall<ApiType, (who: AccountId32 | string | Uint8Array) => Observable<u128>>;
|
|
331
|
+
/**
|
|
332
|
+
* Returns the equivalent balance of `points` for a given pool.
|
|
333
|
+
**/
|
|
334
|
+
pointsToBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array, points: u128 | AnyNumber | Uint8Array) => Observable<u128>>;
|
|
335
|
+
/**
|
|
336
|
+
* Returns the bonded account and reward account associated with the pool_id.
|
|
337
|
+
**/
|
|
338
|
+
poolAccounts: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[AccountId32, AccountId32]>>>;
|
|
339
|
+
/**
|
|
340
|
+
* Total balance contributed to the pool.
|
|
341
|
+
**/
|
|
342
|
+
poolBalance: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
|
343
|
+
/**
|
|
344
|
+
* Returns true if the pool with `pool_id` needs migration.,, This can happen when the `pallet-nomination-pools` has switched to using strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake) but the pool, still has funds that were staked using the older strategy, [TransferStake](pallet_nomination_pools::adapter::TransferStake). Use, [`migrate_pool_to_delegate_stake`](pallet_nomination_pools::Call::migrate_pool_to_delegate_stake), to migrate the pool.
|
|
345
|
+
**/
|
|
346
|
+
poolNeedsDelegateMigration: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<bool>>;
|
|
347
|
+
/**
|
|
348
|
+
* Returns the pending slash for a given pool.
|
|
349
|
+
**/
|
|
350
|
+
poolPendingSlash: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<u128>>;
|
|
351
|
+
/**
|
|
352
|
+
* Generic call
|
|
353
|
+
**/
|
|
354
|
+
[key: string]: DecoratedCallBase<ApiType>;
|
|
355
|
+
};
|
|
262
356
|
/** 0xf78b278be53f454c/ */
|
|
263
357
|
offchainWorkerApi: {
|
|
264
358
|
/**
|
|
@@ -276,12 +370,31 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
276
370
|
**/
|
|
277
371
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
278
372
|
};
|
|
373
|
+
/** 0x04e70521a0d3d2f8/ */
|
|
374
|
+
relayParentOffsetApi: {
|
|
375
|
+
/**
|
|
376
|
+
* Fetch the slot offset that is expected from the relay chain.
|
|
377
|
+
**/
|
|
378
|
+
relayParentOffset: AugmentedCall<ApiType, () => Observable<u32>>;
|
|
379
|
+
/**
|
|
380
|
+
* Generic call
|
|
381
|
+
**/
|
|
382
|
+
[key: string]: DecoratedCallBase<ApiType>;
|
|
383
|
+
};
|
|
279
384
|
/** 0x8c403e5c4a9fd442/ */
|
|
280
385
|
reviveApi: {
|
|
386
|
+
/**
|
|
387
|
+
* Get the H160 address associated to this account id
|
|
388
|
+
**/
|
|
389
|
+
address: AugmentedCall<ApiType, (account_id: AccountId32 | string | Uint8Array) => Observable<H160>>;
|
|
281
390
|
/**
|
|
282
391
|
* Returns the free balance of the given `[H160]` address, using EVM decimals.
|
|
283
392
|
**/
|
|
284
393
|
balance: AugmentedCall<ApiType, (address: H160 | string | Uint8Array) => Observable<U256>>;
|
|
394
|
+
/**
|
|
395
|
+
* The address of the validator that produced the current block.
|
|
396
|
+
**/
|
|
397
|
+
blockAuthor: AugmentedCall<ApiType, () => Observable<Option<H160>>>;
|
|
285
398
|
/**
|
|
286
399
|
* Returns the block gas limit.
|
|
287
400
|
**/
|
|
@@ -294,7 +407,11 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
294
407
|
proofSize?: any;
|
|
295
408
|
} | string, storage_deposit_limit: Option<u128> | null | Uint8Array | u128 | AnyNumber, input_data: Bytes | string | Uint8Array) => Observable<PalletRevivePrimitivesContractResultExecReturnValue>>;
|
|
296
409
|
/**
|
|
297
|
-
*
|
|
410
|
+
* The code at the specified address taking pre-compiles into account.
|
|
411
|
+
**/
|
|
412
|
+
code: AugmentedCall<ApiType, (address: H160 | string | Uint8Array) => Observable<Bytes>>;
|
|
413
|
+
/**
|
|
414
|
+
* Perform an Ethereum call.,, See [`crate::Pallet::dry_run_eth_transact`]
|
|
298
415
|
**/
|
|
299
416
|
ethTransact: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | {
|
|
300
417
|
accessList?: any;
|
|
@@ -321,6 +438,10 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
321
438
|
* Query a given storage key in a given contract.,, Returns `Ok(Some(Vec<u8>))` if the storage value exists under the given key in the, specified account and `Ok(None)` if it doesn't. If the account specified by the address, doesn't exist, or doesn't have a contract then `Err` is returned.
|
|
322
439
|
**/
|
|
323
440
|
getStorage: AugmentedCall<ApiType, (address: H160 | string | Uint8Array, key: U8aFixed | string | Uint8Array) => Observable<Result<Option<Bytes>, PalletRevivePrimitivesContractAccessError>>>;
|
|
441
|
+
/**
|
|
442
|
+
* Query a given variable-sized storage key in a given contract.,, Returns `Ok(Some(Vec<u8>))` if the storage value exists under the given key in the, specified account and `Ok(None)` if it doesn't. If the account specified by the address, doesn't exist, or doesn't have a contract then `Err` is returned.
|
|
443
|
+
**/
|
|
444
|
+
getStorageVarKey: AugmentedCall<ApiType, (address: H160 | string | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Result<Option<Bytes>, PalletRevivePrimitivesContractAccessError>>>;
|
|
324
445
|
/**
|
|
325
446
|
* Instantiate a new contract.,, See `[crate::Pallet::bare_instantiate]`.
|
|
326
447
|
**/
|
|
@@ -336,6 +457,10 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
336
457
|
* Returns the nonce of the given `[H160]` address.
|
|
337
458
|
**/
|
|
338
459
|
nonce: AugmentedCall<ApiType, (address: H160 | string | Uint8Array) => Observable<u32>>;
|
|
460
|
+
/**
|
|
461
|
+
* The address used to call the runtime's pallets dispatchables
|
|
462
|
+
**/
|
|
463
|
+
runtimePalletsAddress: AugmentedCall<ApiType, () => Observable<H160>>;
|
|
339
464
|
/**
|
|
340
465
|
* Traces the execution of an entire block and returns call traces.,, This is intended to be called through `state_call` to replay the block from the, parent block.,, See eth-rpc `debug_traceBlockByNumber` for usage.
|
|
341
466
|
**/
|
|
@@ -344,6 +469,8 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
344
469
|
extrinsics?: any;
|
|
345
470
|
} | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | {
|
|
346
471
|
CallTracer: any;
|
|
472
|
+
} | {
|
|
473
|
+
PrestateTracer: any;
|
|
347
474
|
} | string | Uint8Array) => Observable<Vec<ITuple<[u32, PalletReviveEvmApiDebugRpcTypesTrace]>>>>;
|
|
348
475
|
/**
|
|
349
476
|
* Dry run and return the trace of the given call.,, See eth-rpc `debug_traceCall` for usage.
|
|
@@ -366,6 +493,8 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
366
493
|
value?: any;
|
|
367
494
|
} | string | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | {
|
|
368
495
|
CallTracer: any;
|
|
496
|
+
} | {
|
|
497
|
+
PrestateTracer: any;
|
|
369
498
|
} | string | Uint8Array) => Observable<Result<PalletReviveEvmApiDebugRpcTypesTrace, PalletRevivePrimitivesEthTransactError>>>;
|
|
370
499
|
/**
|
|
371
500
|
* Traces the execution of a specific transaction within a block.,, This is intended to be called through `state_call` to replay the block from the, parent hash up to the transaction.,, See eth-rpc `debug_traceTransaction` for usage.
|
|
@@ -375,6 +504,8 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
375
504
|
extrinsics?: any;
|
|
376
505
|
} | string | Uint8Array, tx_index: u32 | AnyNumber | Uint8Array, config: PalletReviveEvmApiDebugRpcTypesTracerType | {
|
|
377
506
|
CallTracer: any;
|
|
507
|
+
} | {
|
|
508
|
+
PrestateTracer: any;
|
|
378
509
|
} | string | Uint8Array) => Observable<Option<PalletReviveEvmApiDebugRpcTypesTrace>>>;
|
|
379
510
|
/**
|
|
380
511
|
* Upload new code without instantiating a contract from it.,, See [`crate::Pallet::bare_upload_code`].
|
|
@@ -385,6 +516,20 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
385
516
|
**/
|
|
386
517
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
387
518
|
};
|
|
519
|
+
/** 0xccd9de6396c899ca/ */
|
|
520
|
+
runtimeViewFunction: {
|
|
521
|
+
/**
|
|
522
|
+
* Execute a view function query.
|
|
523
|
+
**/
|
|
524
|
+
executeViewFunction: AugmentedCall<ApiType, (query_id: FrameSupportViewFunctionsViewFunctionId | {
|
|
525
|
+
prefix?: any;
|
|
526
|
+
suffix?: any;
|
|
527
|
+
} | string | Uint8Array, input: Bytes | string | Uint8Array) => Observable<Result<Bytes, FrameSupportViewFunctionsViewFunctionDispatchError>>>;
|
|
528
|
+
/**
|
|
529
|
+
* Generic call
|
|
530
|
+
**/
|
|
531
|
+
[key: string]: DecoratedCallBase<ApiType>;
|
|
532
|
+
};
|
|
388
533
|
/** 0xab3c0572291feb8b/ */
|
|
389
534
|
sessionKeys: {
|
|
390
535
|
/**
|
|
@@ -400,6 +545,25 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
400
545
|
**/
|
|
401
546
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
402
547
|
};
|
|
548
|
+
/** 0x18ef58a3b67ba770/ */
|
|
549
|
+
stakingApi: {
|
|
550
|
+
/**
|
|
551
|
+
* Returns the page count of exposures for a validator `account` in a given era.
|
|
552
|
+
**/
|
|
553
|
+
erasStakersPageCount: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<u32>>;
|
|
554
|
+
/**
|
|
555
|
+
* Returns the nominations quota for a nominator with a given balance.
|
|
556
|
+
**/
|
|
557
|
+
nominationsQuota: AugmentedCall<ApiType, (balance: u128 | AnyNumber | Uint8Array) => Observable<u32>>;
|
|
558
|
+
/**
|
|
559
|
+
* Returns true if validator `account` has pages to be claimed for the given era.
|
|
560
|
+
**/
|
|
561
|
+
pendingRewards: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<bool>>;
|
|
562
|
+
/**
|
|
563
|
+
* Generic call
|
|
564
|
+
**/
|
|
565
|
+
[key: string]: DecoratedCallBase<ApiType>;
|
|
566
|
+
};
|
|
403
567
|
/** 0xd2bc9897eed08f15/ */
|
|
404
568
|
taggedTransactionQueue: {
|
|
405
569
|
/**
|
|
@@ -463,6 +627,45 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
463
627
|
**/
|
|
464
628
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
465
629
|
};
|
|
630
|
+
/** 0x2609be83ac4468dc/ */
|
|
631
|
+
trustedQueryApi: {
|
|
632
|
+
/**
|
|
633
|
+
* Returns if the location is a trusted reserve for the asset.,, # Arguments, * `asset`: `VersionedAsset`., * `location`: `VersionedLocation`.
|
|
634
|
+
**/
|
|
635
|
+
isTrustedReserve: AugmentedCall<ApiType, (asset: XcmVersionedAsset | {
|
|
636
|
+
V3: any;
|
|
637
|
+
} | {
|
|
638
|
+
V4: any;
|
|
639
|
+
} | {
|
|
640
|
+
V5: any;
|
|
641
|
+
} | string | Uint8Array, location: XcmVersionedLocation | {
|
|
642
|
+
V3: any;
|
|
643
|
+
} | {
|
|
644
|
+
V4: any;
|
|
645
|
+
} | {
|
|
646
|
+
V5: any;
|
|
647
|
+
} | string | Uint8Array) => Observable<Result<bool, XcmRuntimeApisTrustedQueryError>>>;
|
|
648
|
+
/**
|
|
649
|
+
* Returns if the asset can be teleported to the location.,, # Arguments, * `asset`: `VersionedAsset`., * `location`: `VersionedLocation`.
|
|
650
|
+
**/
|
|
651
|
+
isTrustedTeleporter: AugmentedCall<ApiType, (asset: XcmVersionedAsset | {
|
|
652
|
+
V3: any;
|
|
653
|
+
} | {
|
|
654
|
+
V4: any;
|
|
655
|
+
} | {
|
|
656
|
+
V5: any;
|
|
657
|
+
} | string | Uint8Array, location: XcmVersionedLocation | {
|
|
658
|
+
V3: any;
|
|
659
|
+
} | {
|
|
660
|
+
V4: any;
|
|
661
|
+
} | {
|
|
662
|
+
V5: any;
|
|
663
|
+
} | string | Uint8Array) => Observable<Result<bool, XcmRuntimeApisTrustedQueryError>>>;
|
|
664
|
+
/**
|
|
665
|
+
* Generic call
|
|
666
|
+
**/
|
|
667
|
+
[key: string]: DecoratedCallBase<ApiType>;
|
|
668
|
+
};
|
|
466
669
|
/** 0x6ff52ee858e6c5bd/ */
|
|
467
670
|
xcmPaymentApi: {
|
|
468
671
|
/**
|