import { checkContractWalletSignedTypedData } from "thirdweb/extensions/erc1271";
const isValid = await checkContractWalletSignedTypedData({
contract: myContract,
data: {
primaryType: "EIP712Domain",
domain: {
name: "Example",
version: "1",
chainId: 1,
verifyingContract: myContract.address,
},
});