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