@paraspell/sdk 1.1.4 → 1.1.8

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/dist/index.d.ts CHANGED
@@ -116,6 +116,7 @@ declare function getAllAssetsSymbols(node: TNode): string[];
116
116
  declare function hasSupportForAsset(node: TNode, symbol: string): boolean;
117
117
  declare function getAssetDecimals(node: TNode, symbol: string): number | null;
118
118
  declare function getParaId(node: TNode): number;
119
+ declare function getTNode(nodeID: number): "Statemint" | "Acala" | "Astar" | "BifrostPolkadot" | "Bitgreen" | "Centrifuge" | "Clover" | "ComposableFinance" | "Darwinia" | "HydraDX" | "Interlay" | "Kylin" | "Litentry" | "Moonbeam" | "Parallel" | "Statemine" | "Encointer" | "Altair" | "Amplitude" | "Bajun" | "Basilisk" | "BifrostKusama" | "Pioneer" | "Calamari" | "CrustShadow" | "Crab" | "Dorafactory" | "Imbue" | "Integritee" | "InvArchTinker" | "Karura" | "Kico" | "Kintsugi" | "Litmus" | "Mangata" | "Moonriver" | "ParallelHeiko" | "Picasso" | "Pichiu" | "Quartz" | "Robonomics" | "Shiden" | "Turing" | "Equilibrium" | "Unique" | "Crust" | "Efinity" | "Ipci" | undefined;
119
120
 
120
121
  declare const index_getAllAssetsSymbols: typeof getAllAssetsSymbols;
121
122
  declare const index_getAssetDecimals: typeof getAssetDecimals;
@@ -125,6 +126,7 @@ declare const index_getNativeAssets: typeof getNativeAssets;
125
126
  declare const index_getOtherAssets: typeof getOtherAssets;
126
127
  declare const index_getParaId: typeof getParaId;
127
128
  declare const index_getRelayChainSymbol: typeof getRelayChainSymbol;
129
+ declare const index_getTNode: typeof getTNode;
128
130
  declare const index_hasSupportForAsset: typeof hasSupportForAsset;
129
131
  declare namespace index {
130
132
  export {
@@ -136,6 +138,7 @@ declare namespace index {
136
138
  index_getOtherAssets as getOtherAssets,
137
139
  index_getParaId as getParaId,
138
140
  index_getRelayChainSymbol as getRelayChainSymbol,
141
+ index_getTNode as getTNode,
139
142
  index_hasSupportForAsset as hasSupportForAsset,
140
143
  };
141
144
  }
@@ -295,4 +298,4 @@ declare function Builder(api: ApiPromise): GeneralBuilder;
295
298
  declare const getDefaultPallet: (node: TNode) => TPallet;
296
299
  declare const getSupportedPallets: (node: TNode) => TPallet[];
297
300
 
298
- export { Bool, Builder, Extrinsic, ExtrinsicFunction, IPolkadotXCMTransfer, IXTokensTransfer, NODE_NAMES, PolkadotXCMTransferInput, SUPPORTED_PALLETS, TAssetDetails, TAssetJsonMap, TNativeAssetDetails, TNode, TNodeAssets, TPallet, TPalletJsonMap, TPalletMap, TRelayChainType, TScenario, UpdateFunction, XTokensTransferInput, index as assets, index$1 as closeChannels, getAllAssetsSymbols, getAssetDecimals, getAssetId, getAssetsObject, getDefaultPallet, getNativeAssets, getOtherAssets, getParaId, getRelayChainSymbol, getSupportedPallets, hasSupportForAsset, index$2 as openChannels, index$4 as xcmPallet, index$3 as xyk };
301
+ export { Bool, Builder, Extrinsic, ExtrinsicFunction, IPolkadotXCMTransfer, IXTokensTransfer, NODE_NAMES, PolkadotXCMTransferInput, SUPPORTED_PALLETS, TAssetDetails, TAssetJsonMap, TNativeAssetDetails, TNode, TNodeAssets, TPallet, TPalletJsonMap, TPalletMap, TRelayChainType, TScenario, UpdateFunction, XTokensTransferInput, index as assets, index$1 as closeChannels, getAllAssetsSymbols, getAssetDecimals, getAssetId, getAssetsObject, getDefaultPallet, getNativeAssets, getOtherAssets, getParaId, getRelayChainSymbol, getSupportedPallets, getTNode, hasSupportForAsset, index$2 as openChannels, index$4 as xcmPallet, index$3 as xyk };