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