Skip to main content
Module

x/polkadot/mod.ts>types.GenericConsensusEngineId

Package publishing for deno.land/x/polkadot
Go to Latest
class types.GenericConsensusEngineId
extends U8aFixed
import { types } from "https://deno.land/x/polkadot@0.2.12/mod.ts";
const { GenericConsensusEngineId } = types;

Constructors

new
GenericConsensusEngineId(registry: Registry, value?: AnyU8a)

Properties

readonly
isAura: boolean
readonly
isBabe: boolean
readonly
isGrandpa: boolean
readonly
isPow: boolean

Methods

extractAuthor(bytes: Bytes, sessionValidators: AccountId[]): AccountId | undefined
toHuman(): string
toRawType(): string
toString(): string