Skip to main content

ThirdwebSDK.getContractList() method

Return all the contracts deployed by the specified address

Signature:

getContractList(walletAddress: string): Promise<{
address: string;
contractType: "custom" | "token" | "split" | "edition" | "edition-drop" | "token-drop" | "vote" | "marketplace" | "pack" | "nft-drop" | "signature-drop" | "multiwrap" | "nft-collection";
metadata: () => Promise<any>;
}[]>;

Parameters

ParameterTypeDescription
walletAddressstringthe deployed address

Returns:

Promise<{ address: string; contractType: "custom" | "token" | "split" | "edition" | "edition-drop" | "token-drop" | "vote" | "marketplace" | "pack" | "nft-drop" | "signature-drop" | "multiwrap" | "nft-collection"; metadata: () => Promise<any>; }[]>