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

x/polkadot/util-crypto/secp256k1/index.ts>secp256k1Sign

Package publishing for deno.land/x/polkadot
Go to Latest
function secp256k1Sign
import { secp256k1Sign } from "https://deno.land/x/polkadot@0.2.38/util-crypto/secp256k1/index.ts";

Parameters

message: Uint8Array | string
unnamed 1: Partial<Keypair>
optional
hashType: HashType = [UNSUPPORTED]
optional
onlyJs: boolean

Returns

Uint8Array