Web3JS Online
Viem Online
Webhooks, Alerts, and a simple API.
To verify a message signed by a provided address, you can use the verifyMessage utility function from the viem library. Here's an example of how to use it:
Here's the type definition for the verifyMessage function:
The verifyMessage function takes three parameters:
Keep in mind that this utility function can only verify a message that was signed by an Externally Owned Account (EOA). To verify messages from Contract Accounts (& EOA), use the publicClient.verifyMessage action instead.
Output will appear here. You can scroll the text if it becomes too long.