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. Signing a random number and posting on Ethereum.
  2. Providing an API for the application user to retrieve the signed message.

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 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.