[u8; 36]

Array 208 v393

About This Type

Network endpoint info for a neuron (miner/validator).

Contains the IP address, port, protocol, and version info that other neurons use to connect to this neuron for inference requests.

Common Uses

  • • Discover neuron network endpoints
  • • Monitor validator/miner connectivity
  • • Build subnet topology maps

Fixed-Length Array

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

SCALE Encoding

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

Examples

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

Code Examples

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

const registry = new TypeRegistry();

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

Referenced By (2)

Type Information

Type ID
208
Kind
Array
Runtime
v393