Skip to main content
Module

x/polkadot/mod.ts>utilCrypto.secp256k1Sign

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

Parameters

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

Returns

Uint8Array