import { numberToHex } from "https://deno.land/x/polkadot@0.2.19/util/mod.ts";
Examples
import { numberToHex } from 'https://deno.land/x/polkadot@0.2.19/util/mod.ts';
numberToHex(0x1234); // => '0x1234'
numberToHex(0x1234, 32); // => 0x00001234
import { numberToHex } from "https://deno.land/x/polkadot@0.2.19/util/mod.ts";
import { numberToHex } from 'https://deno.land/x/polkadot@0.2.19/util/mod.ts';
numberToHex(0x1234); // => '0x1234'
numberToHex(0x1234, 32); // => 0x00001234