DOCS

useMetadata

Get the metadata of this contract

Example

const { data: metadata, isLoading, error } = useMetadata(contract);

Parameters

Returns

a [CustomContractMetadata]([object Object]) object containing the metadata

type ReturnType = UseQueryResult;