Skip to content

ecrecover

ecrecover(msgHash, v, r, s, chainId?): Uint8Array

Parameters

msgHash: Uint8Array

v: bigint

r: Uint8Array

s: Uint8Array

chainId?: bigint

Returns

Uint8Array

Recovered public key

Defined in

node_modules/.pnpm/@ethereumjs+util@9.0.3/node_modules/@ethereumjs/util/dist/esm/signature.d.ts:19