[u8; 68]
Array 244 v393About This Type
Fixed-length array of 68 u8 values.
Always exactly 68 elements. No length prefix needed since the size is known at compile time.
Encoding: 68 elements encoded consecutively, no length prefix.
Fixed-Length Array
- Element Type
- u8
- Length
- 68
- SCALE Encoding
- Fixed-length (68 x element size bytes)
SCALE Encoding
- Rule
- 68 elements encoded consecutively, no length prefix (size known at compile time).
- Size
- 68 bytes
Examples
68-byte array = [u8; 68]
0xxxxxxxxx...68 raw bytes 68 bytes concatenated, no prefixCode Examples
import { TypeRegistry } from "@polkadot/types";
const registry = new TypeRegistry();
// Encode a [u8; 68]
const arr = registry.createType("[u8; 68]", new Uint8Array(68));
console.log("Hex:", arr.toHex());Referenced By (1)
Type Information
- Type ID
- 244
- Kind
- Array
- Runtime
- v393