Sitelet https://hardhat.org/docs/reference/cheatcodes/environment/get-label
Skip to content

getLabel

function getLabel(address) external returns (string memory);

Retrieves the label for an address if it was previously labeled. If not, it returns the address prefixed with unlabeled:.