Skip to main content

useContractType() function

Signature:

export declare function useContractType(
contractAddress: RequiredParam<ContractAddress>,
): UseQueryResult<
| "custom"
| "split"
| "edition-drop"
| "edition"
| "marketplace"
| "multiwrap"
| "nft-collection"
| "nft-drop"
| "pack"
| "signature-drop"
| "token-drop"
| "token"
| "vote"
| null,
unknown
>;

Parameters

ParameterTypeDescription
contractAddressRequiredParam<ContractAddress>

Returns:

UseQueryResult<"custom" | "split" | "edition-drop" | "edition" | "marketplace" | "multiwrap" | "nft-collection" | "nft-drop" | "pack" | "signature-drop" | "token-drop" | "token" | "vote" | null, unknown>