import { numberToU8a } from "https://deno.land/x/polkadot@0.2.38/util/number/toU8a.ts";
Examples
import { numberToU8a } from 'https://deno.land/x/polkadot@0.2.38/util/mod.ts';
numberToU8a(0x1234); // => [0x12, 0x34]
import { numberToU8a } from "https://deno.land/x/polkadot@0.2.38/util/number/toU8a.ts";
import { numberToU8a } from 'https://deno.land/x/polkadot@0.2.38/util/mod.ts';
numberToU8a(0x1234); // => [0x12, 0x34]