Module

x/polkadot/mod.ts>utilCrypto.secp256k1Compress

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

Parameters

publicKey: Uint8Array
optional
onlyJs: boolean

Returns

Uint8Array