[u8; 70]
Array 246 v393About This Type
Top-level enum of all callable functions across all pallets.
The master call enum used in extrinsics. Each variant corresponds to a pallet, and each pallet variant contains its own call enum. This is what gets SCALE-encoded in transactions.
Encoding: Nested variant: first byte is pallet index, second byte is call index within that pallet.
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 prefixCode 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
- 246
- Kind
- Array
- Runtime
- v393