import { bnToHex } from "https://deno.land/x/polkadot@0.2.17/util/bn/toHex.ts";
Examples
import BN from 'https://esm.sh/bn.js@5.2.1';
import { bnToHex } from 'https://deno.land/x/polkadot@0.2.17/util/mod.ts';
bnToHex(new BN(0x123456)); // => '0x123456'
Type Parameters
ExtToBn extends ToBn
Parameters
optional
unnamed 1: NumberOptions = [UNSUPPORTED]