ThirdwebSDK.getContractList() method
Return all the contracts deployed by the specified address
Example
const contracts = sdk.getContractList("{{wallet_address}}");
Signature:
getContractList(walletAddress: string): Promise<{
address: string;
contractType: "custom" | "edition-drop" | "edition" | "marketplace" | "marketplace-v3" | "multiwrap" | "nft-collection" | "nft-drop" | "pack" | "signature-drop" | "split" | "token-drop" | "token" | "vote";
metadata: () => Promise<any>;
}[]>;
Parameters
Parameter | Type | Description |
---|---|---|
walletAddress | string | the deployed address |
Returns:
Promise<{ address: string; contractType: "custom" | "edition-drop" | "edition" | "marketplace" | "marketplace-v3" | "multiwrap" | "nft-collection" | "nft-drop" | "pack" | "signature-drop" | "split" | "token-drop" | "token" | "vote"; metadata: () => Promise<any>; }[]>