@dedot/chaintypes 0.131.0 → 0.133.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.
Files changed (58) hide show
  1. package/aleph/index.d.ts +2 -0
  2. package/aleph/view-functions.d.ts +5 -0
  3. package/astar/index.d.ts +2 -0
  4. package/astar/view-functions.d.ts +5 -0
  5. package/basilisk/index.d.ts +2 -0
  6. package/basilisk/view-functions.d.ts +5 -0
  7. package/hydration/index.d.ts +2 -0
  8. package/hydration/view-functions.d.ts +5 -0
  9. package/kusama/index.d.ts +2 -0
  10. package/kusama/view-functions.d.ts +5 -0
  11. package/kusama-asset-hub/index.d.ts +2 -0
  12. package/kusama-asset-hub/view-functions.d.ts +5 -0
  13. package/kusama-people/index.d.ts +2 -0
  14. package/kusama-people/view-functions.d.ts +5 -0
  15. package/moonbeam/index.d.ts +2 -0
  16. package/moonbeam/view-functions.d.ts +5 -0
  17. package/package.json +3 -3
  18. package/paseo/index.d.ts +2 -0
  19. package/paseo/view-functions.d.ts +5 -0
  20. package/paseo-asset-hub/index.d.ts +2 -0
  21. package/paseo-asset-hub/view-functions.d.ts +5 -0
  22. package/paseo-hydration/consts.d.ts +49 -133
  23. package/paseo-hydration/errors.d.ts +209 -212
  24. package/paseo-hydration/events.d.ts +141 -158
  25. package/paseo-hydration/index.d.ts +3 -1
  26. package/paseo-hydration/query.d.ts +101 -143
  27. package/paseo-hydration/runtime.d.ts +25 -0
  28. package/paseo-hydration/tx.d.ts +596 -682
  29. package/paseo-hydration/types.d.ts +945 -683
  30. package/paseo-hydration/view-functions.d.ts +5 -0
  31. package/paseo-people/index.d.ts +2 -0
  32. package/paseo-people/view-functions.d.ts +5 -0
  33. package/polkadot/index.d.ts +2 -0
  34. package/polkadot/view-functions.d.ts +5 -0
  35. package/polkadot-asset-hub/index.d.ts +2 -0
  36. package/polkadot-asset-hub/view-functions.d.ts +5 -0
  37. package/polkadot-people/index.d.ts +2 -0
  38. package/polkadot-people/view-functions.d.ts +5 -0
  39. package/substrate/index.d.ts +2 -0
  40. package/substrate/runtime.d.ts +11 -11
  41. package/substrate/types.d.ts +8 -1
  42. package/substrate/view-functions.d.ts +5 -0
  43. package/vara/index.d.ts +2 -0
  44. package/vara/view-functions.d.ts +5 -0
  45. package/westend/errors.d.ts +2 -0
  46. package/westend/index.d.ts +2 -0
  47. package/westend/query.d.ts +2 -0
  48. package/westend/tx.d.ts +12 -0
  49. package/westend/types.d.ts +11 -11
  50. package/westend/view-functions.d.ts +84 -0
  51. package/westend-asset-hub/errors.d.ts +2 -0
  52. package/westend-asset-hub/index.d.ts +2 -0
  53. package/westend-asset-hub/query.d.ts +2 -0
  54. package/westend-asset-hub/tx.d.ts +8 -0
  55. package/westend-asset-hub/types.d.ts +42 -44
  56. package/westend-asset-hub/view-functions.d.ts +82 -0
  57. package/westend-people/index.d.ts +2 -0
  58. package/westend-people/view-functions.d.ts +5 -0
@@ -668,6 +668,31 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
668
668
  **/
669
669
  [method: string]: GenericRuntimeApiMethod<Rv>;
670
670
  };
671
+ /**
672
+ * @runtimeapi: Erc20MappingApi - 0x542334fe4fd7cada
673
+ **/
674
+ erc20MappingApi: {
675
+ /**
676
+ * Get the EVM address of the asset.
677
+ *
678
+ * @callname: Erc20MappingApi_asset_address
679
+ * @param {number} asset_id
680
+ **/
681
+ assetAddress: GenericRuntimeApiMethod<Rv, (assetId: number) => Promise<H160>>;
682
+
683
+ /**
684
+ * Get the asset id corresponding to EVM address. If not found, returns `None`.
685
+ *
686
+ * @callname: Erc20MappingApi_address_to_asset
687
+ * @param {H160} address
688
+ **/
689
+ addressToAsset: GenericRuntimeApiMethod<Rv, (address: H160) => Promise<number | undefined>>;
690
+
691
+ /**
692
+ * Generic runtime api call
693
+ **/
694
+ [method: string]: GenericRuntimeApiMethod<Rv>;
695
+ };
671
696
  /**
672
697
  * @runtimeapi: XcmPaymentApi - 0x6ff52ee858e6c5bd
673
698
  **/