Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/util-crypto/bundle.ts>secp256k1Recover

Package publishing for deno.land/x/polkadot
Go to Latest
function secp256k1Recover
import { secp256k1Recover } from "https://deno.land/x/polkadot@0.2.27/util-crypto/bundle.ts";

Parameters

msgHash: HexString | Uint8Array | string
signature: HexString | Uint8Array | string
recovery: number
optional
hashType: HashType = [UNSUPPORTED]
optional
onlyJs: boolean

Returns

Uint8Array