function recoverAddress(digest, signature): string

Returns the recovered address for the private key that was used to sign digest that resulted in signature.

Parameters

ParameterTypeDescription
digestBytesLikeThe digest of the message.
signatureSignatureLikeThe signature.

Returns

string

The address.

Source

address/address.ts:125