Module

x/polkadot/types/bundle.ts>Data

Package publishing for deno.land/x/polkadot
Go to Latest
class Data
extends Enum
import { Data } from "https://dotland.deno.dev/x/polkadot@0.2.35/types/bundle.ts";

Constructors

new
Data(registry: Registry, value?:
| Record<string, any>
| Uint8Array
| Enum
| string
)

Properties

readonly
asBlakeTwo256: H256
readonly
asKeccak256: H256
readonly
asRaw: Bytes
readonly
asSha256: H256
readonly
asShaThree256: H256
readonly
encodedLength: number
readonly
isBlakeTwo256: boolean
readonly
isKeccak256: boolean
readonly
isNone: boolean
readonly
isRaw: boolean
readonly
isSha256: boolean
readonly
isShaThree256: boolean

Methods

toU8a(): Uint8Array