Module

x/polkadot/mod.ts>utilCrypto.secp256k1Recover

Package publishing for deno.land/x/polkadot
Go to Latest
function utilCrypto.secp256k1Recover
import { utilCrypto } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts";
const { secp256k1Recover } = utilCrypto;

Parameters

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

Returns

Uint8Array