@polkadot/api-augment 16.5.4 → 17.0.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.
Files changed (51) hide show
  1. package/assetHubKusama/consts.d.ts +140 -53
  2. package/assetHubKusama/errors.d.ts +310 -111
  3. package/assetHubKusama/events.d.ts +420 -149
  4. package/assetHubKusama/query.d.ts +370 -92
  5. package/assetHubKusama/runtime.d.ts +157 -8
  6. package/assetHubKusama/tx.d.ts +690 -600
  7. package/cjs/assetHubKusama/consts.d.ts +140 -53
  8. package/cjs/assetHubKusama/errors.d.ts +310 -111
  9. package/cjs/assetHubKusama/events.d.ts +420 -149
  10. package/cjs/assetHubKusama/query.d.ts +370 -92
  11. package/cjs/assetHubKusama/runtime.d.ts +157 -8
  12. package/cjs/assetHubKusama/tx.d.ts +690 -600
  13. package/cjs/kusama/consts.d.ts +0 -40
  14. package/cjs/kusama/errors.d.ts +25 -151
  15. package/cjs/kusama/events.d.ts +93 -208
  16. package/cjs/kusama/query.d.ts +98 -177
  17. package/cjs/kusama/runtime.d.ts +86 -46
  18. package/cjs/kusama/tx.d.ts +108 -608
  19. package/cjs/packageInfo.js +1 -1
  20. package/cjs/polkadot/consts.d.ts +1 -1
  21. package/cjs/polkadot/errors.d.ts +25 -85
  22. package/cjs/polkadot/events.d.ts +103 -159
  23. package/cjs/polkadot/query.d.ts +108 -172
  24. package/cjs/polkadot/runtime.d.ts +72 -46
  25. package/cjs/polkadot/tx.d.ts +101 -351
  26. package/cjs/substrate/consts.d.ts +12 -3
  27. package/cjs/substrate/errors.d.ts +28 -14
  28. package/cjs/substrate/events.d.ts +66 -1
  29. package/cjs/substrate/query.d.ts +9 -0
  30. package/cjs/substrate/runtime.d.ts +5 -1
  31. package/cjs/substrate/tx.d.ts +81 -2
  32. package/kusama/consts.d.ts +0 -40
  33. package/kusama/errors.d.ts +25 -151
  34. package/kusama/events.d.ts +93 -208
  35. package/kusama/query.d.ts +98 -177
  36. package/kusama/runtime.d.ts +86 -46
  37. package/kusama/tx.d.ts +108 -608
  38. package/package.json +7 -7
  39. package/packageInfo.js +1 -1
  40. package/polkadot/consts.d.ts +1 -1
  41. package/polkadot/errors.d.ts +25 -85
  42. package/polkadot/events.d.ts +103 -159
  43. package/polkadot/query.d.ts +108 -172
  44. package/polkadot/runtime.d.ts +72 -46
  45. package/polkadot/tx.d.ts +101 -351
  46. package/substrate/consts.d.ts +12 -3
  47. package/substrate/errors.d.ts +28 -14
  48. package/substrate/events.d.ts +66 -1
  49. package/substrate/query.d.ts +9 -0
  50. package/substrate/runtime.d.ts +5 -1
  51. package/substrate/tx.d.ts +81 -2
@@ -6,7 +6,7 @@ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
6
6
  import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
7
7
  import type { ParaId } from '@polkadot/types/interfaces/parachains';
8
8
  import type { AccountId32, H160, H256, RuntimeCall, Slot, SlotDuration } from '@polkadot/types/interfaces/runtime';
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
+ import type { AssetHubKusamaRuntimeOriginCaller, AssetsCommonRuntimeApiFungiblesAccessError, CumulusPrimitivesCoreCollationInfo, FrameSupportViewFunctionsViewFunctionDispatchError, FrameSupportViewFunctionsViewFunctionId, PalletReviveEvmApiDebugRpcTypesTrace, PalletReviveEvmApiDebugRpcTypesTracerType, PalletReviveEvmApiRpcTypesDryRunConfig, PalletReviveEvmApiRpcTypesGenBlock, PalletReviveEvmApiRpcTypesGenGenericTransaction, PalletReviveEvmApiRpcTypesTracingConfig, PalletReviveEvmBlockHashReceiptGasInfo, PalletRevivePrimitivesBalanceConversionError, PalletRevivePrimitivesCode, PalletRevivePrimitivesCodeUploadReturnValue, PalletRevivePrimitivesContractAccessError, PalletRevivePrimitivesContractResultExecReturnValue, PalletRevivePrimitivesContractResultInstantiateReturnValue, PalletRevivePrimitivesEthTransactError, PalletRevivePrimitivesEthTransactInfo, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpRuntimeBlock, SpRuntimeBlockLazyBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpSessionRuntimeApiOpaqueGeneratedSessionKeys, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, StagingXcmV5Location, SystemParachainsCommonApisInflationInfo, XcmRuntimeApisAuthorizedAliasesError, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmRuntimeApisTrustedQueryError, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
10
10
  import type { IExtrinsic, Observable } from '@polkadot/types/types';
11
11
  export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
12
12
  export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
@@ -60,6 +60,21 @@ declare module '@polkadot/api-base/types/calls' {
60
60
  **/
61
61
  [key: string]: DecoratedCallBase<ApiType>;
62
62
  };
63
+ /** 0xc1b8f0c037f97de8/ */
64
+ assetHubMigrationApi: {
65
+ /**
66
+ * Returns the block number when the migration ended.
67
+ **/
68
+ migrationEndBlock: AugmentedCall<ApiType, () => Observable<u32>>;
69
+ /**
70
+ * Returns the block number when the migration started.
71
+ **/
72
+ migrationStartBlock: AugmentedCall<ApiType, () => Observable<u32>>;
73
+ /**
74
+ * Generic call
75
+ **/
76
+ [key: string]: DecoratedCallBase<ApiType>;
77
+ };
63
78
  /** 0xdd718d5cc53262d4/ */
64
79
  auraApi: {
65
80
  /**
@@ -128,7 +143,7 @@ declare module '@polkadot/api-base/types/calls' {
128
143
  /**
129
144
  * Check that the inherents are valid. The inherent data will vary from chain to chain.
130
145
  **/
131
- checkInherents: AugmentedCall<ApiType, (block: SpRuntimeBlock | {
146
+ checkInherents: AugmentedCall<ApiType, (block: SpRuntimeBlockLazyBlock | {
132
147
  header?: any;
133
148
  extrinsics?: any;
134
149
  } | string | Uint8Array, data: SpInherentsInherentData | {
@@ -171,7 +186,7 @@ declare module '@polkadot/api-base/types/calls' {
171
186
  /**
172
187
  * Execute the given block.
173
188
  **/
174
- executeBlock: AugmentedCall<ApiType, (block: SpRuntimeBlock | {
189
+ executeBlock: AugmentedCall<ApiType, (block: SpRuntimeBlockLazyBlock | {
175
190
  header?: any;
176
191
  extrinsics?: any;
177
192
  } | string | Uint8Array) => Observable<Null>>;
@@ -205,6 +220,8 @@ declare module '@polkadot/api-base/types/calls' {
205
220
  PolkadotXcm: any;
206
221
  } | {
207
222
  CumulusXcm: any;
223
+ } | {
224
+ Revive: any;
208
225
  } | {
209
226
  Origins: any;
210
227
  } | string | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array, result_xcms_version: u32 | AnyNumber | Uint8Array) => Observable<Result<XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError>>>;
@@ -270,6 +287,17 @@ declare module '@polkadot/api-base/types/calls' {
270
287
  **/
271
288
  [key: string]: DecoratedCallBase<ApiType>;
272
289
  };
290
+ /** 0xc51ff1fa3f5d0cca/ */
291
+ inflation: {
292
+ /**
293
+ * Return the current estimates of the issuance amount.,, This is marked as experimental in light of RFC#89. Nonetheless, its usage is highly, recommended over trying to read-storage, or re-create the onchain logic.
294
+ **/
295
+ experimentalIssuancePredictionInfo: AugmentedCall<ApiType, () => Observable<SystemParachainsCommonApisInflationInfo>>;
296
+ /**
297
+ * Generic call
298
+ **/
299
+ [key: string]: DecoratedCallBase<ApiType>;
300
+ };
273
301
  /** 0x9ffb505aa738d69c/ */
274
302
  locationToAccountApi: {
275
303
  /**
@@ -383,6 +411,10 @@ declare module '@polkadot/api-base/types/calls' {
383
411
  };
384
412
  /** 0x8c403e5c4a9fd442/ */
385
413
  reviveApi: {
414
+ /**
415
+ * Get the account id associated to this H160 address.
416
+ **/
417
+ accountId: AugmentedCall<ApiType, (address: H160 | string | Uint8Array) => Observable<AccountId32>>;
386
418
  /**
387
419
  * Get the H160 address associated to this account id
388
420
  **/
@@ -394,7 +426,7 @@ declare module '@polkadot/api-base/types/calls' {
394
426
  /**
395
427
  * The address of the validator that produced the current block.
396
428
  **/
397
- blockAuthor: AugmentedCall<ApiType, () => Observable<Option<H160>>>;
429
+ blockAuthor: AugmentedCall<ApiType, () => Observable<H160>>;
398
430
  /**
399
431
  * Returns the block gas limit.
400
432
  **/
@@ -411,10 +443,73 @@ declare module '@polkadot/api-base/types/calls' {
411
443
  **/
412
444
  code: AugmentedCall<ApiType, (address: H160 | string | Uint8Array) => Observable<Bytes>>;
413
445
  /**
414
- * Perform an Ethereum call.,, See [`crate::Pallet::dry_run_eth_transact`]
446
+ * Returns the current ETH block.,, This is one block behind the substrate block.
447
+ **/
448
+ ethBlock: AugmentedCall<ApiType, () => Observable<PalletReviveEvmApiRpcTypesGenBlock>>;
449
+ /**
450
+ * Returns the ETH block hash for the given block number.
451
+ **/
452
+ ethBlockHash: AugmentedCall<ApiType, (number: U256 | AnyNumber | Uint8Array) => Observable<Option<H256>>>;
453
+ /**
454
+ * Estimates the amount of gas that a transactions requires.,, This function estimates the gas of the transaction according to the same binary search, algorithm that's implemented in Geth. It stops when with an acceptable error ratio of, 1.5% so that the algorithm terminates early.
455
+ **/
456
+ ethEstimateGas: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | {
457
+ accessList?: any;
458
+ authorizationList?: any;
459
+ blobVersionedHashes?: any;
460
+ blobs?: any;
461
+ chainId?: any;
462
+ from?: any;
463
+ gas?: any;
464
+ gasPrice?: any;
465
+ input?: any;
466
+ maxFeePerBlobGas?: any;
467
+ maxFeePerGas?: any;
468
+ maxPriorityFeePerGas?: any;
469
+ nonce?: any;
470
+ to?: any;
471
+ r_type?: any;
472
+ value?: any;
473
+ } | string | Uint8Array, config: PalletReviveEvmApiRpcTypesDryRunConfig | {
474
+ timestampOverride?: any;
475
+ performBalanceChecks?: any;
476
+ stateOverrides?: any;
477
+ } | string | Uint8Array) => Observable<Result<U256, PalletRevivePrimitivesEthTransactError>>>;
478
+ /**
479
+ * Return the pre-dispatch weight booked for the signed Ethereum transaction payload.
480
+ **/
481
+ ethPreDispatchWeight: AugmentedCall<ApiType, (tx: Bytes | string | Uint8Array) => Observable<Result<SpWeightsWeightV2Weight, PalletRevivePrimitivesEthTransactError>>>;
482
+ /**
483
+ * The details needed to reconstruct the receipt information offchain.,, # Note,, Each entry corresponds to the appropriate Ethereum transaction in the current block.
484
+ **/
485
+ ethReceiptData: AugmentedCall<ApiType, () => Observable<Vec<PalletReviveEvmBlockHashReceiptGasInfo>>>;
486
+ /**
487
+ * Perform an Ethereum call.,, Deprecated use `v2` version instead., See [`crate::Pallet::dry_run_eth_transact`]
415
488
  **/
416
489
  ethTransact: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | {
417
490
  accessList?: any;
491
+ authorizationList?: any;
492
+ blobVersionedHashes?: any;
493
+ blobs?: any;
494
+ chainId?: any;
495
+ from?: any;
496
+ gas?: any;
497
+ gasPrice?: any;
498
+ input?: any;
499
+ maxFeePerBlobGas?: any;
500
+ maxFeePerGas?: any;
501
+ maxPriorityFeePerGas?: any;
502
+ nonce?: any;
503
+ to?: any;
504
+ r_type?: any;
505
+ value?: any;
506
+ } | string | Uint8Array) => Observable<Result<PalletRevivePrimitivesEthTransactInfo, PalletRevivePrimitivesEthTransactError>>>;
507
+ /**
508
+ * Perform an Ethereum call.,, See [`crate::Pallet::dry_run_eth_transact`]
509
+ **/
510
+ ethTransactWithConfig: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | {
511
+ accessList?: any;
512
+ authorizationList?: any;
418
513
  blobVersionedHashes?: any;
419
514
  blobs?: any;
420
515
  chainId?: any;
@@ -429,6 +524,10 @@ declare module '@polkadot/api-base/types/calls' {
429
524
  to?: any;
430
525
  r_type?: any;
431
526
  value?: any;
527
+ } | string | Uint8Array, config: PalletReviveEvmApiRpcTypesDryRunConfig | {
528
+ timestampOverride?: any;
529
+ performBalanceChecks?: any;
530
+ stateOverrides?: any;
432
531
  } | string | Uint8Array) => Observable<Result<PalletRevivePrimitivesEthTransactInfo, PalletRevivePrimitivesEthTransactError>>>;
433
532
  /**
434
533
  * Returns the gas price.
@@ -453,6 +552,14 @@ declare module '@polkadot/api-base/types/calls' {
453
552
  } | {
454
553
  Existing: any;
455
554
  } | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Option<U8aFixed> | null | Uint8Array | U8aFixed | string) => Observable<PalletRevivePrimitivesContractResultInstantiateReturnValue>>;
555
+ /**
556
+ * Returns the block gas limit as calculated from the weights.
557
+ **/
558
+ maxExtrinsicWeightInGas: AugmentedCall<ApiType, () => Observable<U256>>;
559
+ /**
560
+ * Construct the new balance and dust components of this EVM balance.
561
+ **/
562
+ newBalanceWithDust: AugmentedCall<ApiType, (balance: U256 | AnyNumber | Uint8Array) => Observable<Result<ITuple<[u128, u32]>, PalletRevivePrimitivesBalanceConversionError>>>;
456
563
  /**
457
564
  * Returns the nonce of the given `[H160]` address.
458
565
  **/
@@ -471,12 +578,15 @@ declare module '@polkadot/api-base/types/calls' {
471
578
  CallTracer: any;
472
579
  } | {
473
580
  PrestateTracer: any;
581
+ } | {
582
+ ExecutionTracer: any;
474
583
  } | string | Uint8Array) => Observable<Vec<ITuple<[u32, PalletReviveEvmApiDebugRpcTypesTrace]>>>>;
475
584
  /**
476
585
  * Dry run and return the trace of the given call.,, See eth-rpc `debug_traceCall` for usage.
477
586
  **/
478
587
  traceCall: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | {
479
588
  accessList?: any;
589
+ authorizationList?: any;
480
590
  blobVersionedHashes?: any;
481
591
  blobs?: any;
482
592
  chainId?: any;
@@ -495,6 +605,37 @@ declare module '@polkadot/api-base/types/calls' {
495
605
  CallTracer: any;
496
606
  } | {
497
607
  PrestateTracer: any;
608
+ } | {
609
+ ExecutionTracer: any;
610
+ } | string | Uint8Array) => Observable<Result<PalletReviveEvmApiDebugRpcTypesTrace, PalletRevivePrimitivesEthTransactError>>>;
611
+ /**
612
+ * Dry run and return the trace of the given call with additional configuration.,, Like [`Self::trace_call`], but accepts a [`TracingConfig`] that can carry state, overrides and future extensibility. The config must be the **last argument** for, backwards compatibility — see [`TracingConfig`] documentation.
613
+ **/
614
+ traceCallWithConfig: AugmentedCall<ApiType, (tx: PalletReviveEvmApiRpcTypesGenGenericTransaction | {
615
+ accessList?: any;
616
+ authorizationList?: any;
617
+ blobVersionedHashes?: any;
618
+ blobs?: any;
619
+ chainId?: any;
620
+ from?: any;
621
+ gas?: any;
622
+ gasPrice?: any;
623
+ input?: any;
624
+ maxFeePerBlobGas?: any;
625
+ maxFeePerGas?: any;
626
+ maxPriorityFeePerGas?: any;
627
+ nonce?: any;
628
+ to?: any;
629
+ r_type?: any;
630
+ value?: any;
631
+ } | string | Uint8Array, tracer_type: PalletReviveEvmApiDebugRpcTypesTracerType | {
632
+ CallTracer: any;
633
+ } | {
634
+ PrestateTracer: any;
635
+ } | {
636
+ ExecutionTracer: any;
637
+ } | string | Uint8Array, config: PalletReviveEvmApiRpcTypesTracingConfig | {
638
+ stateOverrides?: any;
498
639
  } | string | Uint8Array) => Observable<Result<PalletReviveEvmApiDebugRpcTypesTrace, PalletRevivePrimitivesEthTransactError>>>;
499
640
  /**
500
641
  * 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.
@@ -506,6 +647,8 @@ declare module '@polkadot/api-base/types/calls' {
506
647
  CallTracer: any;
507
648
  } | {
508
649
  PrestateTracer: any;
650
+ } | {
651
+ ExecutionTracer: any;
509
652
  } | string | Uint8Array) => Observable<Option<PalletReviveEvmApiDebugRpcTypesTrace>>>;
510
653
  /**
511
654
  * Upload new code without instantiating a contract from it.,, See [`crate::Pallet::bare_upload_code`].
@@ -539,7 +682,7 @@ declare module '@polkadot/api-base/types/calls' {
539
682
  /**
540
683
  * Generate a set of session keys with optionally using the given seed., The keys should be stored within the keystore exposed via runtime, externalities.,, The seed needs to be a valid `utf8` string.,, Returns the concatenated SCALE encoded public keys.
541
684
  **/
542
- generateSessionKeys: AugmentedCall<ApiType, (seed: Option<Bytes> | null | Uint8Array | Bytes | string) => Observable<Bytes>>;
685
+ generateSessionKeys: AugmentedCall<ApiType, (owner: Bytes | string | Uint8Array, seed: Option<Bytes> | null | Uint8Array | Bytes | string) => Observable<SpSessionRuntimeApiOpaqueGeneratedSessionKeys>>;
543
686
  /**
544
687
  * Generic call
545
688
  **/
@@ -556,7 +699,7 @@ declare module '@polkadot/api-base/types/calls' {
556
699
  **/
557
700
  nominationsQuota: AugmentedCall<ApiType, (balance: u128 | AnyNumber | Uint8Array) => Observable<u32>>;
558
701
  /**
559
- * Returns true if validator `account` has pages to be claimed for the given era.
702
+ * Returns true if a validator `account` has pages to be claimed for the given era.
560
703
  **/
561
704
  pendingRewards: AugmentedCall<ApiType, (era: u32 | AnyNumber | Uint8Array, account: AccountId32 | string | Uint8Array) => Observable<bool>>;
562
705
  /**
@@ -673,7 +816,7 @@ declare module '@polkadot/api-base/types/calls' {
673
816
  **/
674
817
  queryAcceptablePaymentAssets: AugmentedCall<ApiType, (xcm_version: u32 | AnyNumber | Uint8Array) => Observable<Result<Vec<XcmVersionedAssetId>, XcmRuntimeApisFeesError>>>;
675
818
  /**
676
- * Get delivery fees for sending a specific `message` to a `destination`., These always come in a specific asset, defined by the chain.,, # Arguments, * `message`: The message that'll be sent, necessary because most delivery fees are based on the, size of the message., * `destination`: The destination to send the message to. Different destinations may use, different senders that charge different fees.
819
+ * Query delivery fees V2.,, Get delivery fees for sending a specific `message` to a `destination`., These always come in a specific asset, defined by the chain.,, # Arguments, * `message`: The message that'll be sent, necessary because most delivery fees are based on the, size of the message., * `destination`: The destination to send the message to. Different destinations may use, different senders that charge different fees.
677
820
  **/
678
821
  queryDeliveryFees: AugmentedCall<ApiType, (destination: XcmVersionedLocation | {
679
822
  V3: any;
@@ -687,6 +830,12 @@ declare module '@polkadot/api-base/types/calls' {
687
830
  V4: any;
688
831
  } | {
689
832
  V5: any;
833
+ } | string | Uint8Array, asset_id: XcmVersionedAssetId | {
834
+ V3: any;
835
+ } | {
836
+ V4: any;
837
+ } | {
838
+ V5: any;
690
839
  } | string | Uint8Array) => Observable<Result<XcmVersionedAssets, XcmRuntimeApisFeesError>>>;
691
840
  /**
692
841
  * Converts a weight into a fee for the specified `AssetId`.,, # Arguments,, * `weight`: convertible `Weight`., * `asset`: `VersionedAssetId`.