useAppURI

Get App URI of the contract

Example

const {
data: contractMetadata,
isLoading,
error,
} = useAppURI(contract);
function useAppURI(
contract: RequiredParam<TContract>,
): UseQueryResult<string, unknown>;

Parameters

The SmartContract instance of the contract to get the appURI of

Type

let contract: RequiredParam<TContract>;

Returns

let returnType: UseQueryResult<string, unknown>;

Query result object that includes the appURI of the contract