DOCS

getContract

function getContract<
  TContractType extends
    | "pack"
    | "token"
    | "edition"
    | "split"
    | "vote"
    | "edition-drop"
    | "marketplace"
    | "marketplace-v3"
    | "multiwrap"
    | "nft-collection"
    | "nft-drop"
    | "signature-drop"
    | "token-drop",
>(
  params: GetContractParams<TContractType>,
): Promise<ReturnedContractType<TContractType>>;

Parameters

Returns

type ReturnType = Promise<ReturnedContractType<TContractType>>;