Skip to main content

META_SHARD_ID

Constant META_SHARD_ID 

Source
pub const META_SHARD_ID: u32 = u32::MAX; // 4_294_967_295u32
👎Deprecated:

Use METACHAIN_SHARD_ID instead

Expand description

Special shard ID for metachain (0xFFFFFFFF).

This value represents u32::MAX and is used throughout the MultiversX protocol to identify operations and data structures that belong to the metachain.

Prefer METACHAIN_SHARD_ID which is the canonical name used across the codebase. Both constants hold the same value (0xFFFF_FFFF).