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

x/polkadot/util/mod.ts>nToHex

Package publishing for deno.land/x/polkadot
Go to Latest
function nToHex
import { nToHex } from "https://deno.land/x/polkadot@0.2.19/util/mod.ts";

Type Parameters

ExtToBn extends ToBn | ToBigInt

Parameters

optional
value:
| BN
| bigint
| number
| null
optional
unnamed 1: NumberOptions = [UNSUPPORTED]

Returns

HexString