Usage

const report = await nameguard.getSecurePrimaryName("0x...");

Options

You can override the network used for getSecurePrimaryName using the second argument:

const report = await nameguard.getSecurePrimaryName("0x...", {
  network: "...",
});