Signs a typed data object with a given private key according to EIP712.
import { signTypedData } from "thirdweb/utils";signTypedData({ privateKey: "0x...", ...typedData,});
function signTypedData( options: SignTypedDataOptions<typedData, primaryType>,): Hex;
The typed data is passed within options alongside the private key
let options: SignTypedDataOptions<typedData, primaryType>;
let returnType: `0x${string}`;
The signature as a hex string