Skip to content

@ecp.eth/sdk


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

Function: useGetContractVersion()

function useGetContractVersion(params, options): UseGetContractVersionResult;

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

React hook to get the contract version

Parameters

params

UseGetContractVersionParams = {}

The parameters for getting the contract version

options

UseGetContractVersionOptions = {}

The options for the query

Returns

UseGetContractVersionResult

The result of the query