File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
packages/lit-client/src/lib/LitClient/types Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,20 @@ export interface NagaLitClient extends BaseLitClient<NagaLitClientContext> {
120120 * @returns Promise resolving to the current client context
121121 */
122122 getContext : ( ) => Promise < NagaLitClientContext > ;
123+ /**
124+ * Utility helpers for interacting with network-level resources
125+ */
126+ utils : {
127+ /**
128+ * Resolves the derived public key for a given derived key identifier
129+ * @example
130+ * ```ts
131+ * import { keccak256, stringToBytes } from 'viem';
132+ * const derivedKeyId = keccak256(stringToBytes(`lit_action_${IPFS_CID}`));
133+ * ```
134+ */
135+ getDerivedKeyId : ( derivedKeyId : string ) => Promise < string > ;
136+ } ;
123137
124138 /**
125139 * Gets chain configuration including Viem config and RPC URL
You can’t perform that action at this time.
0 commit comments