Skip to main content
Version: Current

Resource Interface Resolver


_10
pub resource interface Resolver {
_10
}

Provides access to a set of metadata views. A struct or resource (e.g. an NFT) can implement this interface to provide access to the views that it supports.

Functions

getViews()


_10
fun getViews(): [Type]


resolveView()


_10
fun resolveView(_: Type): AnyStruct?