Skip to main content

Verify TEE Signature

Application users can verify a message was signed by a TEE using the application address.

Attested API Template Example

The Attested API templates include an example of:

  1. An API for the application user to request a random number signed by the application wallet.
  2. When requested, the application generating a random number, creating and signing a message containing the random number, and returning these to the requesting user.

Verify Message Signed by Application Example

  1. Use the eigenx app info [app-id] CLI command to get the wallet addresses for the app.

  2. Use the app /random API GET /random → \{ randomNumber, timestamp, message, messageHash, signature, signer } to obtain the random number, message, signature, and signer.

  3. Use Verify Signature at https://etherscan.io/verifiedSignatures# to verify that the message is signed by one of the addresses obtained in Step 1.