ecrecover
ecrecover(
msgHash
,v
,r
,s
,chainId
?):Uint8Array
ECDSA public key recovery from signature.
NOTE: Accepts v === 0 | v === 1
for EIP1559 transactions
Parameters
• msgHash: Uint8Array
• v: bigint
• r: Uint8Array
• s: Uint8Array
• chainId?: bigint
Returns
Uint8Array
Recovered public key
Defined in
node_modules/.pnpm/@ethereumjs+util@9.1.0/node_modules/@ethereumjs/util/dist/esm/signature.d.ts:20