Docs

useContractMetadata

Get the metadata of given contract

Example

const { data: contractMetadata, isLoading } =
useContractMetadata(contract);

Parameters

Returns

A Query result object that includes the contract metadata of the deployed contract