Skip to main content

getErcs() function

Signature:

export declare function getErcs(
contract: RequiredParam<ValidContractInstance | null>,
): {
erc1155:
| Erc1155<
| import("@thirdweb-dev/sdk/dist/declarations/src/evm/types/eips").BaseERC1155
| import("@thirdweb-dev/sdk/dist/declarations/src/evm/types/eips").BaseSignatureMintERC1155
>
| undefined;
erc721:
| Erc721<
import("@thirdweb-dev/sdk/dist/declarations/src/evm/types/eips").BaseERC721
>
| undefined;
erc20:
| Erc20<
| import("@thirdweb-dev/sdk/dist/declarations/src/evm/types/eips").BaseERC20
| import("@thirdweb-dev/sdk/dist/declarations/src/evm/types/eips").BaseSignatureMintERC20
>
| undefined;
};

Parameters

ParameterTypeDescription
contractRequiredParam<ValidContractInstance | null>

Returns:

{ erc1155: Erc1155<import("@thirdweb-dev/sdk/dist/declarations/src/evm/types/eips").BaseERC1155 | import("@thirdweb-dev/sdk/dist/declarations/src/evm/types/eips").BaseSignatureMintERC1155> | undefined; erc721: Erc721<import("@thirdweb-dev/sdk/dist/declarations/src/evm/types/eips").BaseERC721> | undefined; erc20: Erc20<import("@thirdweb-dev/sdk/dist/declarations/src/evm/types/eips").BaseERC20 | import("@thirdweb-dev/sdk/dist/declarations/src/evm/types/eips").BaseSignatureMintERC20> | undefined; }