[u8; 70]

Array 333 v411

About This Type

Fixed-length array of 70 u8 values.

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

Encoding: 70 elements encoded consecutively, no length prefix.

Fixed-Length Array

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

SCALE Encoding

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

Examples

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

Code Examples

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

const registry = new TypeRegistry();

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

Referenced By (1)

Type Information

Type ID
333
Kind
Array
Runtime
v411