checkContractWalletSignature

Checks if a contract wallet signature is valid.

Example

import { checkContractWalletSignature } from "thirdweb/extensions/erc1271";
const isValid = await checkContractWalletSignature({
contract: myContract,
message: "hello world",
signature: "0x...",
});

Parameters

Returns

A promise that resolves with a boolean indicating if the signature is valid.