@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.
- package/aleph/index.d.ts +2 -0
- package/aleph/view-functions.d.ts +5 -0
- package/astar/index.d.ts +2 -0
- package/astar/view-functions.d.ts +5 -0
- package/basilisk/index.d.ts +2 -0
- package/basilisk/view-functions.d.ts +5 -0
- package/hydration/index.d.ts +2 -0
- package/hydration/view-functions.d.ts +5 -0
- package/kusama/index.d.ts +2 -0
- package/kusama/view-functions.d.ts +5 -0
- package/kusama-asset-hub/index.d.ts +2 -0
- package/kusama-asset-hub/view-functions.d.ts +5 -0
- package/kusama-people/index.d.ts +2 -0
- package/kusama-people/view-functions.d.ts +5 -0
- package/moonbeam/index.d.ts +2 -0
- package/moonbeam/view-functions.d.ts +5 -0
- package/package.json +3 -3
- package/paseo/index.d.ts +2 -0
- package/paseo/view-functions.d.ts +5 -0
- package/paseo-asset-hub/index.d.ts +2 -0
- package/paseo-asset-hub/view-functions.d.ts +5 -0
- package/paseo-hydration/consts.d.ts +49 -133
- package/paseo-hydration/errors.d.ts +209 -212
- package/paseo-hydration/events.d.ts +141 -158
- package/paseo-hydration/index.d.ts +3 -1
- package/paseo-hydration/query.d.ts +101 -143
- package/paseo-hydration/runtime.d.ts +25 -0
- package/paseo-hydration/tx.d.ts +596 -682
- package/paseo-hydration/types.d.ts +945 -683
- package/paseo-hydration/view-functions.d.ts +5 -0
- package/paseo-people/index.d.ts +2 -0
- package/paseo-people/view-functions.d.ts +5 -0
- package/polkadot/index.d.ts +2 -0
- package/polkadot/view-functions.d.ts +5 -0
- package/polkadot-asset-hub/index.d.ts +2 -0
- package/polkadot-asset-hub/view-functions.d.ts +5 -0
- package/polkadot-people/index.d.ts +2 -0
- package/polkadot-people/view-functions.d.ts +5 -0
- package/substrate/index.d.ts +2 -0
- package/substrate/runtime.d.ts +11 -11
- package/substrate/types.d.ts +8 -1
- package/substrate/view-functions.d.ts +5 -0
- package/vara/index.d.ts +2 -0
- package/vara/view-functions.d.ts +5 -0
- package/westend/errors.d.ts +2 -0
- package/westend/index.d.ts +2 -0
- package/westend/query.d.ts +2 -0
- package/westend/tx.d.ts +12 -0
- package/westend/types.d.ts +11 -11
- package/westend/view-functions.d.ts +84 -0
- package/westend-asset-hub/errors.d.ts +2 -0
- package/westend-asset-hub/index.d.ts +2 -0
- package/westend-asset-hub/query.d.ts +2 -0
- package/westend-asset-hub/tx.d.ts +8 -0
- package/westend-asset-hub/types.d.ts +42 -44
- package/westend-asset-hub/view-functions.d.ts +82 -0
- package/westend-people/index.d.ts +2 -0
- 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
|
**/
|