You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/wrapped-keys/src/lib/wrapped-keys.ts
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -320,8 +320,9 @@ export async function signTransactionWithEncryptedKey<T = LitTransaction>({
320
320
* @param pkpSessionSigs - The PKP sessionSigs used to associated the PKP with the generated private key
321
321
* @param litActionIpfsCid - The IPFS CID of the Lit Action to be executed for generating the Wrapped Key. Can't provide this if already provided litActionCode
322
322
* @param litActionCode - The Lit Action code to be executed for generating the Wrapped Key. Can't provide this if already provided litActionIpfsCid
323
-
* @paramunsignedTransaction - The unsigned transaction which will be signed inside the Lit Action. It should be a serialized unsigned transaction
323
+
* @paramserializedTransaction - The unsigned transaction which will be signed inside the Lit Action. It should be a serialized unsigned transaction
324
324
* @param broadcast - Flag used to determine whether the Lit Action should broadcast the signed transaction or only return the signed transaction
325
+
* @param params - Any other params passes to the Lit Action
325
326
* @param litNodeClient - The Lit Node Client used for executing the Lit Action
326
327
*
327
328
* @returns { Promise<string> } - The signed signed transaction or the transaction hash of the broadcasted transaction by the Wrapped Key
@@ -330,8 +331,9 @@ export async function customSignTransactionWithEncryptedKey({
@@ -427,6 +430,7 @@ export async function signMessageWithEncryptedKey({
427
430
* @param litActionIpfsCid - The IPFS CID of the Lit Action to be executed for generating the Wrapped Key. Can't provide this if already provided litActionCode
428
431
* @param litActionCode - The Lit Action code to be executed for generating the Wrapped Key. Can't provide this if already provided litActionIpfsCid
429
432
* @param messageToSign - The unsigned message which will be signed inside the Lit Action
433
+
* @param params - Any other params passes to the Lit Action
430
434
* @param litNodeClient - The Lit Node Client used for executing the Lit Action
431
435
*
432
436
* @returns { Promise<string> } - The signed message by the Wrapped Key
@@ -436,6 +440,7 @@ export async function customSignMessageWithEncryptedKey({
0 commit comments