import { bnToU8a } from "https://deno.land/x/polkadot@0.2.11/util/mod.ts";
Examples
import { bnToU8a } from 'https://deno.land/x/polkadot@0.2.11/util/mod.ts';
bnToU8a(new BN(0x1234)); // => [0x12, 0x34]
import { bnToU8a } from "https://deno.land/x/polkadot@0.2.11/util/mod.ts";
import { bnToU8a } from 'https://deno.land/x/polkadot@0.2.11/util/mod.ts';
bnToU8a(new BN(0x1234)); // => [0x12, 0x34]