useAppURI
Get App URI
function useAppURI<TContract extends ValidContractInstance>(
contract: RequiredParam<TContract>,
): UseQueryResult<string, unknown>;
Parameters
Returns
a response object that includes the appURI of the contract
type ReturnType = UseQueryResult<string, unknown>;
Example
const {
data: contractMetadata,
isLoading,
error,
} = useAppURI(contract);