Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/types/bundle.ts>Option#toU8a

Package publishing for deno.land/x/polkadot
Go to Latest
method Option.prototype.toU8a
Re-export
import { Option } from "https://deno.land/x/polkadot@0.2.29/types/bundle.ts";

Parameters

optional
isBare: boolean

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

Returns

Uint8Array