@talismn/balances 0.0.0-pr2075-20250710043243 → 0.0.0-pr2075-20250710071608

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.
@@ -1,8 +1,5 @@
1
1
  export * from "./fetchRuntimeCallResult";
2
2
  export * from "./errors";
3
- export * from "./hasConstantValue";
4
- export * from "./getContantValue";
5
- export * from "./tryGetConstantValue";
6
3
  export * from "./types";
7
4
  export * from "./utils";
8
5
  export * from "./rpcQueryPack";
@@ -2,3 +2,5 @@ import { UnifiedMetadata } from "@talismn/scale";
2
2
  export declare const hasStorageItem: (metadata: UnifiedMetadata, palletName: string, itemName: string) => boolean;
3
3
  export declare const hasStorageItems: (metadata: UnifiedMetadata, palletName: string, itemNames: string[]) => boolean;
4
4
  export declare const hasRuntimeApi: (metadata: UnifiedMetadata, apiName: string, method: string) => boolean;
5
+ export declare const getConstantValue: <T>(metadataRpc: `0x${string}`, pallet: string, constant: string) => T;
6
+ export declare const tryGetConstantValue: <T>(metadataRpc: `0x${string}`, pallet: string, constant: string) => T | null;