Skip to content

Given an EIP-712 typed-data payload and the 65-byte signature produced by signing it, recover the signer's compressed pubkey and matching Ethereum address.

recoverEvmPublicKey(typed, signature): RecoveredKey

Defined in: packages/bitbadgesjs-sdk/src/eip712/recover.ts:33

Given an EIP-712 typed-data payload and the 65-byte signature produced by signing it, recover the signer's compressed pubkey and matching Ethereum address.

Parameters

typed

EIP712TypedData

signature

string

Returns

RecoveredKey

Edit this page on GitHub