Checks whether EIP-155 is enforced by sending a random transaction of legacy type (pre-EIP-155) and parsing the error message.
import { isEIP155Enforced } from "thirdweb/utils";const isEIP155 = await isEIP155Enforced({ chain, client });
function isEIP155Enforced( options: IsEIP155EnforcedOptions,): Promise<boolean>;
The options for checking EIP-155 enforcement.
let options: IsEIP155EnforcedOptions;
let returnType: Promise<boolean>;
A promise that resolves to a boolean indicating whether EIP-155 is enforced.