Overview
Use the Python 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 produces a recoverable signature.
Prerequisites
Sign Typed Data
Pass the wallet address and a typed data dict in EIP-712 format:
The method returns the serialized ECDSA signature as a hex string (0x...).
With a Password-Protected Wallet
ERC-2612 Permit Example
A common use case is signing ERC-2612 token permits, allowing gasless approvals:
Next Steps
Last modified on September 21, 2026