Skip to main content

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

NameTypeDescription
_0stringundefined

setAppURI

function setAppURI(string _uri) external nonpayable

Lets a contract admin set the URI for app metadata.

Parameters

NameTypeDescription
_uristringundefined

Events

AppURIUpdated

event AppURIUpdated(string prevURI, string newURI)

Parameters

NameTypeDescription
prevURIstringundefined
newURIstringundefined