IThirdwebContract
Methods
contractType
function contractType() external pure returns (bytes32)
Returns the module type of the contract.
Returns
| Name | Type | Description |
|---|---|---|
| _0 | bytes32 | undefined |
contractURI
function contractURI() external view returns (string)
Returns the metadata URI of the contract.
Returns
| Name | Type | Description |
|---|---|---|
| _0 | string | undefined |
contractVersion
function contractVersion() external pure returns (uint8)
Returns the version of the contract.
Returns
| Name | Type | Description |
|---|---|---|
| _0 | uint8 | undefined |
setContractURI
function setContractURI(string _uri) external nonpayable
Sets contract URI for the storefront-level metadata of the contract. Only module admin can call this function.
Parameters
| Name | Type | Description |
|---|---|---|
| _uri | string | undefined |