[u8; 85]

Array 261 v393

About This Type

Fixed-length array of 85 u8 values.

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

Encoding: 85 elements encoded consecutively, no length prefix.

Fixed-Length Array

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

SCALE Encoding

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

Examples

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

Code Examples

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

const registry = new TypeRegistry();

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

Referenced By (1)

Type Information

Type ID
261
Kind
Array
Runtime
v393