Skip to main content
Retrieves the shard information for a given address based on its byte prefix. The function parses the address to extract its byte prefix, then filters the ShardData to find a matching shard entry. If no matching shard is found, it returns null.

Parameters

Returns

Zone | null An object containing the shard information, or null if no

Source

utils/shards.ts:15