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

x/polkadot/types/bundle.ts>GenericConsensusEngineId

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

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