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

x/polkadot/types/interfaces/system/types.ts>NodeRole

Package publishing for deno.land/x/polkadot
Go to Latest
interface NodeRole
implements Enum
import { type NodeRole } from "https://deno.land/x/polkadot@0.2.17/types/interfaces/system/types.ts";

Properties

readonly
isFull: boolean
readonly
isLightClient: boolean
readonly
isAuthority: boolean
readonly
isUnknownRole: boolean
readonly
asUnknownRole: u8
readonly
type:
| "Full"
| "LightClient"
| "Authority"
| "UnknownRole"