function bnToU8aimport { bnToU8a } from "https://dotland.deno.dev/x/polkadot@0.2.35/util/bn/toU8a.ts"; bnToU8a<ExtToBn extends ToBn>(value?: | ExtToBn | BN | bigint | number | null, unnamed 1?): Uint8ArrayExamples import { bnToU8a } from 'https://deno.land/x/polkadot@0.2.35/util/mod.ts'; bnToU8a(new BN(0x1234)); // => [0x12, 0x34] Type ParametersExtToBn extends ToBnParametersoptionalvalue: | ExtToBn | BN | bigint | number | nulloptionalunnamed 1 = [UNSUPPORTED]ReturnsUint8Array