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
Parameter
Type
Description
address
string
The blockchain address to be analyzed. The address should start with “0x” followed by the hexadecimal representation.
Returns
Zone | nullAn object containing the shard information, or null if no