[u8; 53]

Array 225 v393

About This Type

Fixed-length array of 53 u8 values.

Always exactly 53 elements. No length prefix needed since the size is known at compile time.

Encoding: 53 elements encoded consecutively, no length prefix.

Fixed-Length Array

Element Type
u8
Length
53
SCALE Encoding
Fixed-length (53 x element size bytes)

SCALE Encoding

Rule
53 elements encoded consecutively, no length prefix (size known at compile time).
Size
53 bytes

Examples

53-byte array = [u8; 53]
0xxxxxxxxx...
53 raw bytes 53 bytes concatenated, no prefix

Code Examples

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

const registry = new TypeRegistry();

// Encode a [u8; 53]
const arr = registry.createType("[u8; 53]", new Uint8Array(53));
console.log("Hex:", arr.toHex());

Referenced By (2)

Type Information

Type ID
225
Kind
Array
Runtime
v393