AppURI
Thirdweb's AppURI
is a contract extension for any contract that wants to add an official App URI that follows the appUri spec
Methods
appURI
function appURI() external view returns (string)
appURI
Returns
Name | Type | Description |
---|---|---|
_0 | string | undefined |
setAppURI
function setAppURI(string _uri) external nonpayable
Lets a contract admin set the URI for app metadata.
Parameters
Name | Type | Description |
---|---|---|
_uri | string | undefined |
Events
AppURIUpdated
event AppURIUpdated(string prevURI, string newURI)
Parameters
Name | Type | Description |
---|---|---|
prevURI | string | undefined |
newURI | string | undefined |