Module

x/polkadot/mod.ts>types.Enum#toU8a

Package publishing for deno.land/x/polkadot
Go to Latest
method types.Enum.prototype.toU8a
import { types } from "https://dotland.deno.dev/x/polkadot@0.2.35/mod.ts";
const { Enum } = types;

Parameters

optional
isBare: boolean

true when the value has none of the type-specific prefixes (internal)

Returns

Uint8Array