1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 07:16:36 +01:00
metamask-extension/types/eth-keyring-controller.d.ts
Bernardo Garces Chapero 6ed72d6934
Refactor eth_getEncryptionPublicKey handling (#18319)
* add EncryptionPublicKeyController

* update message-managers package
2023-04-13 09:24:59 +01:00

16 lines
363 B
TypeScript

declare module '@metamask/eth-keyring-controller' {
export class KeyringController {
signMessage: (...any) => any;
signPersonalMessage: (...any) => any;
signTypedMessage: (...any) => any;
getKeyringForAccount: (address: string) => Promise<{
type: string;
}>;
getEncryptionPublicKey: (address: string) => Promise<string>;
}
}