TypeScript SDK

ERC7702.eip712Domain

Calls the "eip712Domain" function on the contract.

Example

import { eip712Domain } from "thirdweb/extensions/erc7702";
const result = await eip712Domain({
contract,
});
function eip712Domain(options: BaseTransactionOptions) : Promise<readonly [`0x${string}`, string, string, bigint, string, `0x${string}`, readonly Array<bigint>]>

Parameters

The options for the eip712Domain function.

Type

let options: { contract: ThirdwebContract<abi> } & T;

Returns

let returnType: Promise<readonly [`0x${string}`, string, string, bigint, string, `0x${string}`, readonly Array<bigint>]>

The parsed result of the function call.