⚠️ Deprecation Notice
ModuleSDK was developed by Rhinestone and is no longer actively supported. For new projects, we recommend using the Rhinestone SDK instead.
getEmailAuthImplementation
Get the address of the email authentication implementation contract used for recovery operations.
Usage
const implementationAddress = await getEmailAuthImplementation({
client: publicClient
})Parameters
client
- Type:
PublicClient
The public client instance used to interact with the blockchain.
Returns
implementationAddress
- Type:
Promise<Address>
Returns the address of the email authentication implementation contract.
If the contract call fails, returns the zero address (0x0000000000000000000000000000000000000000).