eth_getEncryptionPublicKey
Requests that the user share their public encryption key. Returns a public encryption key, or rejects if the user denies the request. The public key is computed from entropy associated with the specified user account, using the NaCl implementation of the X25519_XSalsa20_Poly1305
algorithm.
Params
(1)1. Address (required)
The address of the Ethereum account that can decrypt the message.
string
Match pattern:
^0x[0-9,a-f,A-F]{40}$
Result
(EncryptionKey)string