BlakeTwo256

Composite 373 v393

sp_runtime::traits::BlakeTwo256

About This Type

Structured type: BlakeTwo256.

A struct-like type where each field is encoded in declaration order.

Encoding: Fields encoded consecutively in declaration order, no field names or separators.

Fields (0)

#NameType

SCALE Encoding

Rule
0 fields encoded consecutively in declaration order. No field names or delimiters.
Size
sum of field sizes

Code Examples

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

const registry = new TypeRegistry();

// Encode BlakeTwo256 (no fields)
const value = registry.createType("BlakeTwo256", {});
console.log("Hex:", value.toHex());

Type Information

Type ID
373
Kind
Composite
Path
sp_runtime::traits::BlakeTwo256
Runtime
v393