RuntimeFreezeReason

Variant 421 v393

node_subtensor_runtime::RuntimeFreezeReason

About This Type

Enum type: RuntimeFreezeReason.

A tagged union where the first byte selects which variant is active, followed by that variant's data.

Encoding: 1-byte variant index followed by the selected variant's field data.

Variants (0)

IndexNameFieldsDocs

SCALE Encoding

Rule
1-byte variant index followed by variant-specific field data. 0 possible variants.
Size
variable (1+ bytes)

Code Examples

import { TypeRegistry } from "@polkadot/types";

const registry = new TypeRegistry();

// Encode RuntimeFreezeReason
const value = registry.createType("RuntimeFreezeReason", /* variant */);
console.log("Hex:", value.toHex());

Referenced By (1)

Type Information

Type ID
421
Kind
Variant
Path
node_subtensor_runtime::RuntimeFreezeReason
Runtime
v393