Tooling
Module SDK
Modules
getVerifier

⚠️ Deprecation Notice

ModuleSDK was developed by Rhinestone and is no longer actively supported. For new projects, we recommend using the Rhinestone SDK instead.

Rhinestone SDK Documentation (opens in a new tab)

getVerifier

Get the address of the email verifier contract used for recovery operations.

Usage

const verifierAddress = await getVerifier({
  client: publicClient
})

Parameters

client

  • Type: PublicClient

The public client instance used to interact with the blockchain.

Returns

verifierAddress

  • Type: Promise<Address>

Returns the address of the email verifier contract.

If the contract call fails, returns the zero address (0x0000000000000000000000000000000000000000).