Skip to main content

Overview

Use the Node SDK to sign EIP-712 typed data with your server wallet. Typed data signing is used for permits, order signing, and other structured data that requires a recoverable signature.

Prerequisites

Sign typed data

Call signTypedData on your authenticated DynamicEvmWalletClient with the wallet address and the typed data (viem TypedData format):
The method returns the serialized ECDSA signature as a hex string.

Key shares and password

  • Automatic backup: If you created the wallet with backUpToDynamic: true, you usually do not need to pass externalServerKeyShares.
  • Manual backup: If you created the wallet with backUpToDynamic: false, pass your stored key shares as externalServerKeyShares.
  • Password: Pass password only if the wallet was created with a password.
Example with optional parameters:

Using the Viem wallet client

If you prefer viem’s API, use getWalletClient to get a Viem WalletClient. Its signTypedData method uses the same signing under the hood.

Next steps

Last modified on May 21, 2026