import { bnFromHex } from "https://deno.land/x/polkadot@0.2.37/util/bn/fromHex.ts";
Examples
import { hexToBn } from 'https://deno.land/x/polkadot@0.2.37/util/mod.ts';
hexToBn('0x123480001f'); // => BN(0x123480001f)
import { bnFromHex } from "https://deno.land/x/polkadot@0.2.37/util/bn/fromHex.ts";
import { hexToBn } from 'https://deno.land/x/polkadot@0.2.37/util/mod.ts';
hexToBn('0x123480001f'); // => BN(0x123480001f)