Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / comments/react / useGetDomainSeparator

Function: useGetDomainSeparator()

function useGetDomainSeparator(params, options): UseGetDomainSeparatorResult;

Defined in: packages/sdk/src/comments/react/contract.ts:167

React hook to get the EIP-712 domain separator

Parameters

params

UseGetDomainSeparatorParams = {}

The parameters for getting the domain separator

options

UseGetDomainSeparatorOptions = {}

The options for the query

Returns

UseGetDomainSeparatorResult

The result of the query