Optimism
OPDOMAIN_SEPARATOR
(DOMAIN_SEPARATOR)
view
Use this function in your app
import { readContract } from "thirdweb";
const data = await readContract({ contract, method: "function DOMAIN_SEPARATOR() view returns (bytes32)", params: []})