[u8; 87]

Array 263 v393

About This Type

Fixed-length array of 87 u8 values.

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

Encoding: 87 elements encoded consecutively, no length prefix.

Fixed-Length Array

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

SCALE Encoding

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

Examples

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

Code Examples

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

const registry = new TypeRegistry();

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

Referenced By (1)

Type Information

Type ID
263
Kind
Array
Runtime
v393