getIsUserVerified
helper function.
Considerations
- Default RPC is
https://worldchain-mainnet.g.alchemy.com/public
- Contract Address is 0x57b930D551e677CC36e2fA036Ae2fe8FdaE0330D.
Implementation
The helper function connects to the World Chain and checks if a given wallet address is verified by querying the Address Book contract.Example Usage
- Returns
true
if the address is verified - Returns
false
if the address is not verified - Throws an error if the verification check fails
React Bindings
For React applications, we provide a hookuseIsUserVerified
that handles the verification check and loading state.