Variable rawActionFunctionsConst
rawActionFunctions: {
batchGenerateEncryptedKeys: ((__namedParameters: BatchGenerateEncryptedKeysParams) => Promise<{
generateEncryptedPrivateKey: {
ciphertext: string;
dataToEncryptHash: string;
memo: string;
publicKey: string;
};
network: "evm" | "solana";
signMessage?: {
signature: string;
};
}[]>);
exportPrivateKey: ((params: ExportPrivateKeyParams) => Promise<string>);
generateEncryptedEthereumPrivateKey: ((__namedParameters: GenerateEncryptedEthereumPrivateKeyParams) => Promise<{
ciphertext: string;
dataToEncryptHash: string;
publicKey: string;
}>);
generateEncryptedSolanaPrivateKey: ((__namedParameters: GenerateEncryptedSolanaPrivateKeyParams) => Promise<{
ciphertext: string;
dataToEncryptHash: string;
publicKey: string;
}>);
signMessageWithEncryptedEthereumKey: ((pkpAddress: SignMessageWithEncryptedEthereumKeyParams) => Promise<string>);
signMessageWithEncryptedSolanaKey: ((params: SignMessageWithEncryptedSolanaKeyParams) => Promise<string>);
signTransactionWithEncryptedEthereumKey: ((__namedParameters: SignTransactionWithEncryptedEthereumKeyParams) => Promise<string>);
signTransactionWithEncryptedSolanaKey: ((params: SignTransactionWithEncryptedSolanaKeyParams) => Promise<string>);
} = ...
Type declaration
batchGenerateEncryptedKeys: ((__namedParameters: BatchGenerateEncryptedKeysParams) => Promise<{
generateEncryptedPrivateKey: {
ciphertext: string;
dataToEncryptHash: string;
memo: string;
publicKey: string;
};
network: "evm" | "solana";
signMessage?: {
signature: string;
};
}[]>)
- (__namedParameters): Promise<{
generateEncryptedPrivateKey: {
ciphertext: string;
dataToEncryptHash: string;
memo: string;
publicKey: string;
};
network: "evm" | "solana";
signMessage?: {
signature: string;
};
}[]> Parameters
- __namedParameters: BatchGenerateEncryptedKeysParams
Returns Promise<{
generateEncryptedPrivateKey: {
ciphertext: string;
dataToEncryptHash: string;
memo: string;
publicKey: string;
};
network: "evm" | "solana";
signMessage?: {
signature: string;
};
}[]>
exportPrivateKey: ((params: ExportPrivateKeyParams) => Promise<string>)
- (params): Promise<string>
Parameters
- params: ExportPrivateKeyParams
Returns Promise<string>
- Returns a decrypted private key.
generateEncryptedEthereumPrivateKey: ((__namedParameters: GenerateEncryptedEthereumPrivateKeyParams) => Promise<{
ciphertext: string;
dataToEncryptHash: string;
publicKey: string;
}>)
- (__namedParameters): Promise<{
ciphertext: string;
dataToEncryptHash: string;
publicKey: string;
}> Parameters
- __namedParameters: GenerateEncryptedEthereumPrivateKeyParams
Returns Promise<{
ciphertext: string;
dataToEncryptHash: string;
publicKey: string;
}>
generateEncryptedSolanaPrivateKey: ((__namedParameters: GenerateEncryptedSolanaPrivateKeyParams) => Promise<{
ciphertext: string;
dataToEncryptHash: string;
publicKey: string;
}>)
- (__namedParameters): Promise<{
ciphertext: string;
dataToEncryptHash: string;
publicKey: string;
}> Parameters
- __namedParameters: GenerateEncryptedSolanaPrivateKeyParams
Returns Promise<{
ciphertext: string;
dataToEncryptHash: string;
publicKey: string;
}>
signMessageWithEncryptedEthereumKey: ((pkpAddress: SignMessageWithEncryptedEthereumKeyParams) => Promise<string>)
- (pkpAddress): Promise<string>
Parameters
- pkpAddress: SignMessageWithEncryptedEthereumKeyParams
Returns Promise<string>
- Returns a message signed by the Ethers Wrapped key. Or returns errors if any.
signMessageWithEncryptedSolanaKey: ((params: SignMessageWithEncryptedSolanaKeyParams) => Promise<string>)
- (params): Promise<string>
Parameters
- params: SignMessageWithEncryptedSolanaKeyParams
Returns Promise<string>
- Returns a message signed by the Solana Wrapped key. Or returns errors if any.
signTransactionWithEncryptedEthereumKey: ((__namedParameters: SignTransactionWithEncryptedEthereumKeyParams) => Promise<string>)
- (__namedParameters): Promise<string>
Parameters
- __namedParameters: SignTransactionWithEncryptedEthereumKeyParams
Returns Promise<string>
- Returns the transaction hash if broadcast is set as true else returns only the signed transaction. Or returns errors if any.
signTransactionWithEncryptedSolanaKey: ((params: SignTransactionWithEncryptedSolanaKeyParams) => Promise<string>)
- (params): Promise<string>
Parameters
- params: SignTransactionWithEncryptedSolanaKeyParams
Returns Promise<string>
- Returns the transaction signature. Or returns errors if any.
Exports the private key after decrypting and removing the salt from it.